1
DF Modding / Re: [MODDING] CREATURE & ENTITY QUESTIONS THREAD
« on: March 04, 2020, 05:06:08 pm »
How can I make a civ more warlike?
March 6, 2024: Dwarf Fortress 50.12 has been released.
News: February 3, 2024: The February '24 Report is up.
News: February 4, 2021: Dwarf Fortress Talk #28 has been posted.
News: November 21, 2018: A new Threetoe story has been posted.
Forum Guidelines
How do I extract creature raws from world.dat?
As long as you have saves set to not be compressed, they're just in there in text format. Open the file with notepad++ or another word processor that handles programming and search for "[CREATURE:" without the quotes. That should bring up the first generated creature and then call up the beginning of the definitions of each subsequent one.
Bumping this up, since there's a lot of civ-related questions. The front page needs to be updated somewhat (it still has outdated info on pets and livestock), but most of it still holds true, at least as far as settlement and biomes are concerned. What are the new changes that need to be added? Also, has anyone figured out how to make dark fortresses not cause worldgen crashes?
It worked! Thanks man, your a lifesaver!
Updated code:Spoiler (click to show/hide)
In what game mode did it work (World Gen, Arena, Adventure, Fortress?). I've started playing around with it myself... it doesn't seem to spread in world gen like you would expect it too, but I bet it should at least work in Arena and probably Fortress and Adventure mode as well (assuming you can get a vampire immigrant).
Other fun testing: I gave a SPECIALATTACK_INTERACTION to hydra megabeasts that allowed them to grant secrets through bites. Their names gain the corresponding title ('water wounded' in the case of this, which are basically a copy-paste of spellcraft's water warriors). The XML export recognized the affected historical figures as having the interaction active, but not the secret knowledge. So you can't completely spread secret knowledge this way, but you could presumably get a vampire/werebeast style curse spread maintained with something that originated as a secret.
Has anyone tried vampire-necromancers (a vampire curse that also gives raise dead abilities appropriate for building towers), or necromancer-vampires (necromancer secrets that also come with the need to suck blood)? I wonder if they starve once they are in a tower since they have no living population to feed on.
I'm trying to create a strain of vampire with the ability to spread through bites like a ghoul, but it isn't working for some reason. Is there anything I'm missing / doing wrong?I don't actually see the line from ghouls for infectious attacks? Try adding:Spoiler (click to show/hide)
[CE_SPECIAL_ATTACK_INTERACTION:INTERACTION:VAMPIRE_INFECTIOUS_MI:BP:BY_CATEGORY:TOOTH:START:0:ABRUPT]
Edit: The CE_SPECIAL_ATTACK_INTERACTION is a new token added for ghouls... I don't know if it will behave in worldgen properly like werecurses or vampires. Worldgen might not even realize that vampires need to attack with a bite to feed.