Trying to figure this out is reminding me why I gave up programming. Everything has to be
exactly right to work and no one can tell you what exactly right is, because no one has done what you're trying to do before. I think I understand what to do for adding simple tags like PRONE_TO_RAGE but I barely understand how tissue and material definitions work with normal creatures so doing this via creature variation is a pain in the nads.
Here's a wild stab at Sabertooth creatures. I want to:
- Increase creature size 150%
- Add Tusks
- Add Tusk material (ivory)
- Add Tusk attack
Adding creature size is available from the Giant Creature variation:
[CV_NEW_TAG:CHANGE_BODY_SIZE_PERC:150]
Elephants have tusks, so I can borrow the tags from them. It looks like the important ones are:
[BODY:QUADRUPED_NECK:...:2TUSKS...]
[BODY_DETAIL_PLAN:STANDARD_MATERIALS]
[USE_MATERIAL_TEMPLATE:IVORY:TOOTH_TEMPLATE]
[STATE_NAME:ALL_SOLID:ivory]
[STATE_ADJ:ALL_SOLID:ivory]
[BODY_DETAIL_PLAN:STANDARD_TISSUES]
[USE_TISSUE_TEMPLATE:IVORY:IVORY_TEMPLATE]
[TISSUE_NAME:ivory:NP]
In an ideal world it would be enough to do:
[CV_NEW_TAG:2TUSKS]
but that sounds implausible. Maybe I should replace "BODY:" with "BODY:2TUSKS:"?
The way some of the other variant creatures are set up, it looks like the materials should go like:
[GO_TO_TAG:BODY_DETAIL_PLAN:STANDARD_MATERIALS]
[CV_NEW_TAG:USE_MATERIAL_TEMPLATE:IVORY:TOOTH_TEMPLATE]
[CV_NEW_TAG:STATE_NAME:ALL_SOLID:ivory]
[CV_NEW_TAG:STATE_ADJ:ALL_SOLID:ivory]
[GO_TO_TAG:BODY_DETAIL_PLAN:STANDARD_TISSUES]
[CV_NEW_TAG:USE_TISSUE_TEMPLATE:IVORY:IVORY_TEMPLATE]
[CV_NEW_TAG:TISSUE_NAME:ivory:NP]
And finally, there's already a creature variation for adding tusk attacks. [APPLY_CREATURE_VARIATION:TUSK_ATTACK]
Then probably borrow some of the lines from Giant animal that erase pet value and so forth.
And still, I'm not sure if that would really accomplish anything.