I have a perfectly good working Civ right now, but when I try to create my own trait the whole civ won't load.
I can change the leader trait from any of the default traits to the next, but something is fail about trying to make my own. This is true even when I simply try to duplicate a trait that does exist.
Here's my Traits.xml code:
And my Leader code:
Notice that I'm only trying to copy the Art of War trait. My goal at this point is to get it working, then I will modify the values later.
Thanks anyone!
I can change the leader trait from any of the default traits to the next, but something is fail about trying to make my own. This is true even when I simply try to duplicate a trait that does exist.
Here's my Traits.xml code:
Code:
<GameData>
<Traits>
<Row>
<Type>TRAIT_TRAIT_POWER_WISDOM_COURAGE</Type>
<Description>TXT_KEY_TRAIT_PWC</Description>
<ShortDescription>TXT_KEY_TRAIT_PWC_SHORT</ShortDescription>
</Row>
<Row>
<Type>TRAIT_TRAIT_POWER_WISDOM_COURAGE</Type>
<GreatGeneralRateModifier>100</GreatGeneralRateModifier>
<GreatGeneralExtraBonus>20</GreatGeneralExtraBonus>
</Row>
</Traits>
</GameData>
And my Leader code:
Code:
<Leader_Traits>
<Row>
<LeaderType>LEADER_HYRULE_KING</LeaderType>
<TraitType>TRAIT_TRAIT_POWER_WISDOM_COURAGE</TraitType>
</Row>
</Leader_Traits>
Notice that I'm only trying to copy the Art of War trait. My goal at this point is to get it working, then I will modify the values later.
Thanks anyone!