Combine tilesets - ampersand55/cddamisc GitHub Wiki
Do you like a specific tileset, but it hasn't been updated in a while and it's missing some sprites? Updating the tileset yourself or creating a custom tileset requires a bit of work, but here's a hack for how to layer tilesets upon each other by converting tilesets to mods, and then loading them in order.
Step-by-step guide
- Copy the folders of the tilesets we want from
\gfx
to\data\mods
. - Go in to the copied mod folder and delete
layering.json
(layering isn't supported in mods). - Rename
tile_config.json
tomod_tileset.json
. - Open
mod_tileset.json
with a text editor and make the following chances:- Wrap it in an array, that is put
[
before the first character and]
after the last character. - Remove the
"tile_info"
field. It's typically located at the top and looks something like this:"tile_info": [ { "pixelscale": 1, "width": 32, "height": 32, "zlevel_height": 0, "iso": false, "retract_dist_min": -1.0, "retract_dist_max": 1.0 } ],
- Add these line where the
"tile_info"
field used to be:
This is the default"type": "mod_tileset", "compatibility": ["UNDEAD_PEOPLE_BASE", "UNDEAD_PEOPLE", "MshockRealXotto", "MSX++DEAD_PEOPLE", "MSXotto+"],
"compatibility"
for tilesets based on MShockXotto/UndeadPeople. If you use another base tileset, you can see it's name/id in the file\gfx\<TILESET NAME>\tileset.txt
.
- Wrap it in an array, that is put
- Create a file named
modinfo.json
in your mod folder and paste this into it:[ { "type": "MOD_INFO", "id": "tileset_any_unique_id_here", "name": "Ultica tiles as a mod", "authors": [ "ampersand55" ], "description": "Adds the tiles from Ultica to be used as a mod.", "category": "graphical", "dependencies": [ "dda" ] } ]
- When you create a new world, add the mods under
GRAPHICAL MODS
with the tilesets with higher priority last. Remember to also create a tileset mod for the tileset you are currently using and put it last.
Notes
I personally use the UndeadPeople version currently maintained by Theawesomeboophis as my main tileset, then MShockXotto+ and UltiCa hosted by I-am-Erk as backups to get e.g. bestial stalker and lashing zombie that's missing in UndeadPeople (as of 2024-11-20).
My graphics mod for UndeadPeople
If this still feel like too much work and you are using UndeadPeople tileset, I've created a tileset mod that adds some of the missing monsters, mainly taken from MShockXotto+. It's currently an ugly unoptimized version that adds individual sprites rather than using a sprite sheet, meaning it loads slower.
Download it from here: