Bay 12 Games Forum
Dwarf Fortress => DF Modding => Topic started by: Relicspread on May 18, 2023, 03:25:58 pm
-
Making a custom entity with creatures that are not using layered sprites. I am able to find information on assigning different sprites to different castes and children, corpses etc are also not a problem since I can just copy the text from other creatures. But is there any way of giving separate sprites to different jobs, like miners, soldiers and so on?
-
I'm fairly sure you can. If you look at the layered creature graphics raws, you'll see that it does some selectors based on profession to do things like use specific colors of clothing if the clothing isn't dyed. I'd expect that to work for non-layered creature graphics too.
-
I've done it in my mod (Fantastic Fantasy Fortress). Have a look at the halfling/lizardfolk/orc graphics, I uploaded it to DFFD in the last couple of days
Only these professions work: STONEWORKER, MINER, MERCHANT, METALSMITH, FARMER, ENGINEER, CRAFTSMAN, WOODWORKER, JEWELER, RANGER, STANDARD, FISHERY_WORKER, CHILD and NONE. This definitely works in my mod
While you can't do soldier graphics, you can do a layer for if they are wielding a weapon. You'll see that underneath the profession graphics in my files