r/DwarfFortressModding • • Jan 27 '25

Mod Making tutorial? (Sprites +)

Hello,

Is there a good tutorial for making new mods for DF? Specifically adding new objects and their sprites to the game?

I've found the sprite sheets for existing assets, not sure if I'd be able to add my sprites to them, or if I make a new sprite sheet altogether. I imagine I can just follow the scheme of the txt files for the vanilla to make my own custom stuff with unique items names.

Specifically, I'd like to add various other kinds of furniture to the game, like beds with 4posts, cupboards, etc, and half-walls.

I'll be using GIMP to make the sprites themselves. I know the game has a limited color palette. Do I need to ensure these colors are the ones I use in GIMP, or will the game replace with closer colors or something.

Thanks in advance.

3 Upvotes

3 comments sorted by

View all comments

Show parent comment

3

u/chipathingy Jan 28 '25

It makes sense when you realise that a lot of the hard coded stuff is really really old, and is probably buried under lines of code. The buildings (e.g. table or bed) all have specific behaviour attached to them as well

There are some exceptions, some more recent stuff is in the raws like the soap workshop. Maybe the altar too?

Creatures have always been raw defined and moddable

Yeah it's easy to make decorative buildings but unless they have a reaction attached to them theyre just decoration. Workshops can also have impassable tiles which is probably what they use for the fence.