# How to change colour of cursor (ultica tileset)

**URL:** <https://discourse.cataclysmdda.org/t/how-to-change-colour-of-cursor-ultica-tileset/25146>\
**Category:** The Toolbox\
**Created:** [November 3, 2020, 6:04am UTC](https://discourse.cataclysmdda.org/t/how-to-change-colour-of-cursor-ultica-tileset/25146 "2020-11-03T06:04:47Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![Valase](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/valase/32/6972_2.png) [@Valase](https://discourse.cataclysmdda.org/u/Valase)\
**Post date:** [November 6, 2020, 5:13am UTC](https://discourse.cataclysmdda.org/t/how-to-change-colour-of-cursor-ultica-tileset/25146/13 "2020-11-06T05:13:44Z")

</div>

> [@Valase](#):
>
> I just realized something before drifting away into my dreams; the tileset is loaded after the mods. This means the problem isn’t that the mod can’t overwrite the tileset, but that **it gets overwritten by the tileset**.

To correct myself here after some testing; it’s not a problem of load order, but actually that a once defined tile cannot be redefined…

Alright, I was really, really close to admit my failure here… nonetheless, I’ve managed to get it working.  
This isn’t the cleanest solution (and I’m pushing the boundaries), but it works.

Here we go:

- Create a new folder inside the data/mods or mods folder, call it however you like (I suggest to name it so you’ll find it again later).
- Inside that folder, create a file called `modinfo.json` (or copy one over from an other mod).
- Copy-paste the following text into that file:

```auto
[
  {
    "type": "MOD_INFO",
    "id": "better_cursor",
    "name": "Ultica cursor replacement",
    "description": "Changes the cursor of the UltiCa tileset.",
    "category": "graphical",
    "dependencies": ["dda"]
  },
  {
    "type": "mod_tileset",
    "compatibility": ["UltimateCataclysm"],
    "tiles-new": [
      {
        "file": "ultica_cursor.png",
        "tiles": [
          { "id": "cursor_season_spring", "fg": 0 },
          { "id": "cursor_season_summer", "fg": 0 },
          { "id": "cursor_season_autumn", "fg": 0 },
          { "id": "cursor_season_winter", "fg": 0 }
        ]
      }
    ]
  }
]

```

- Open the graphic editor of your choise (that supports transparency), create a new image with dimensions of 32 x 32 pixel, design a cursor of your choice and save it as `ultica_cursor.png` into the same folder the modinfo.json sits in.
- (Re-)start your game, create a new world and add in the mod called `Ultica cursor replacement`.
  - Alternatively, you can modify the `mods.json` of an [existing world](http://cddawiki.chezzo.com/cdda_wiki/index.php?title=Mod_manager#Adding_mods_to_an_already_running_world) and add in the `better_cursor` mod.

What this does is replacing the default cursor with **one for every season**.  
This would also allow you to just overwrite it for the winter (as an example) if you remove all entries save for `"cursor_season_winter"`.

While unlikely, it is possible that this hack will at some point cease to function, either because the support for what I’ve done here is dropped or because UltiCa adds seasonal cursors on its own.  
I do hope that at that point we’ll have another way to do this, maybe an overwrite function for tiles…

---

_[View the full topic](https://discourse.cataclysmdda.org/t/how-to-change-colour-of-cursor-ultica-tileset/25146)._
