Galgus
Emperor
- Joined
- Aug 22, 2012
- Messages
- 1,705
I've been trying to make a virtue mod, and in the process I used some xml I'm not familiar with.
The mod isn't working, and while it could be many things I think I may have entered text in the wrong way.
I didn't see anything that seemed relevant in the xml.log: is there anything in particular I should be looking for?
If that isn't the issue, are these valid xml entries, or should I be using a workaroud?
I kind of assumed some of that carries over from Civ 5, but if I'm wrong it would explain the errors.
The mod isn't working, and while it could be many things I think I may have entered text in the wrong way.
I didn't see anything that seemed relevant in the xml.log: is there anything in particular I should be looking for?
Code:
<PlayerPerks>
<Row>
<Type>PLAYERPERK_NH_ENERGY_FROM_CULTURE</Type>
<Help>TXT_KEY_NH_APPLIED_AESTHETICS_HELP</Help>
</Row>
</PlayerPerks>
<Policy_PGP_FreePerk>
<Row>
<PolicyType>POLICY_KNOWLEDGE_7</PolicyType>
[SPOILER][/SPOILER]<FreePlayerPerk>PLAYERPERK_NH_ENERGY_FROM_CULTURE</FreePlayerPerk>
</Row>
</Policy_PGP_FreePerk>
<Language_en_US>
<Update>
<Where Description="TXT_KEY_POLICY_KNOWLEDGE_7" />
<Set Text="Earn extra [ICON_ENERGY] Energy equal to 50% of the [ICON_CULTURE] Culture you generate." />
</Update>
</Language_en_US>
<Language_en_US>
<Row Tag="TXT_KEY_POLICY_KNOWLEDGE_7">
<Text>Applied Aesthetics</Text>
</Row>
</Language_en_US>
<Language_en_US>
<Update>
<Where Description="TXT_KEY_NH_APPLIED_AESTHETICS_NOTIFICATION" />
<Set Text="+{@1_num}[ICON_ENERGY] from Applied Aesthetics."/>
</Update>
</Language_en_US>
If that isn't the issue, are these valid xml entries, or should I be using a workaroud?
Code:
<Policy_CapitalYieldChanges>
<Row>
<PolicyType>POLICY_MIGHT_4</PolicyType>
<YieldType>YIELD_PRODUCTION</YieldType>
<Yield>4</Yield>
</Row>
</Policy_CapitalYieldChanges>
<Policies>
<Update>
<Where Type="POLICY_MIGHT_2" />
<Set GoldFromBarbarianCamps="400"
ResearchFromBarbarianCamps="200" />
</Update>
</Policies>
<Policies>
<Update>
<Where Type="POLICY_MIGHT_1" />
<Set GoldFromBarbarianKills="1000" />
</Update>
</Policies>
I kind of assumed some of that carries over from Civ 5, but if I'm wrong it would explain the errors.