Basic Modding Help....please

Nogram

Chieftain
Joined
Oct 23, 2010
Messages
1
So I am new to modding in Civ 5, and to be honest I can't seem to get even the most basic mods to work.

I have used the Civ 5 Modders Guide, but I think I am missing something pretty basic.

I am trying some basic mods to get the hang of it and can't even get these to work.

For example....

I want to edit the leader traits. I want to add the french trait to the russian trait, so I code into the Traits xml:

<Row>
<Type>TRAIT_STRATEGIC_RICHES</Type>
<Description>TXT_KEY_TRAIT_STRATEGIC_RICHES</Description>
<ShortDescription>TXT_KEY_TRAIT_STRATEGIC_RICHES_SHORT</ShortDescription>
<CityCultureBonus>2</CityCultureBonus>
</Row>

I then run the "Build Solution" and then "Build the Mod" under the modbuddy.

I go into the game, load up the mod (green checkmark), and nothing.

I have also tried to use the <Update> as best I could tell from the guide.

If anyone could please post me a very simple step by step to see if there is anything I am missing I would appreciate it.

Also if it is not too much to ask could someone please post a simple script that would do what I am trying to do, add the French City Culture Bonus to the Russian civilization. I am not too worried about the text and such yet, just trying to get the mechanics down.

Thanks for any help you can offer.

Nogram.
 
Try this.

<Traits>
<Update>
<Set CityCultureBonus="2"/>
<Where Type="TRAIT_STRATEGIC_RICHES"/>
</Update>
</Traits>


Also remember to set the mod to UpdateDatabase on your xml file under actions in Modbuddy.
 
Back
Top Bottom