New Damage Deff (Solved)

Started by ilikegoodfood, February 03, 2018, 01:35:55 PM

Previous topic - Next topic

ilikegoodfood

I have been trying to finalize the vanilla properties for a new creature I'm creating.
The creature has a powerful venom in its Bite attack, so I have gone through all of the, as far as I can find, required XMLs and made my own to add the appropriate fields. The game is no longer providing any errors, but the creature won't use the attack either.

I made a new Damage Def, using "Bite" as the parent, that applies the poison to the target, just like Toxic Bite does, created a new hediff for the poison, added a Tool Capacity so that the creature could reference the attack and a maneuver for it to use and log the attack.

Are there any XMLs that I am missing, or does this require C# and an assembly?

Thank you for your help.

EDIT: Stupid me, the error wasn't that it didn't use the attack, but that it only uses it rarely, and my test colonists are dying too quickly.
I just ran it though a whole bunch of one-on-one battles and it did eventually use it.
I'm locking this thread, if I can, so as to prevent people trying to fix what is already fixed.