View Full Version : How can i change leader traits?


Warlord2007
Mar 15, 2007, 01:18 PM
New to civ4 and warlords.I have had the game for awhile but keep getting the "low memory allocation" crash, so i stop playing. Now i started up again and like the mods and maps.I would like to change my leader's traits.
I'd love to be roosevelt with IND-Phi..(wounders and great people)
Also is it possible to add a thrid or fourth trait to a leader??

I'm not computer savy so youll have to be very detailed.
I've downloaded a scrptable_leader_trait
Installed it in my warlord mod folder and loaded it but Have NO idea how it works?? ANY HELP????

Sto
Mar 15, 2007, 02:17 PM
You can edit "CIV4LeaderHeadInfos.xml" located in the "Warlords\Assets\XML\Civilizations" folder with notepad or notepad ++ :

Be carefull , if you play without MOD , do not change the original file but put a copy of it in "C:\Documents and Settings\<user name>\My documents\My Games\Warlords\CustomAssets\xml\civilizations" . the game will take in count your change .

<Traits>
<Trait>
<TraitType>TRAIT_PHILOSOPHICAL</TraitType>
<bTrait>1</bTrait>
</Trait>
<Trait>
<TraitType>TRAIT_INDUSTRIOUS</TraitType>
<bTrait>1</bTrait>
</Trait>
</Traits>



You can add or change any trait you want per leader , just following the syntax .

If you want , i've also compilated The Lopez's scriptable leader trait MOD COMP and associate it with These map scripts (http://forums.civfanatics.com/showthread.php?t=151629) . There is description of how to use the MOD in the first post . ( If you want more details about the scripts and the MOD ... do not hesitate to ask in the "full of resources thread" )

Tcho ! :)

Gaius Octavius
Mar 21, 2007, 08:31 PM
Hello there, Warlord2007! As Sto said, you can change the existing traits, give leaders more than two, or create entirely new traits. I've never actually created new traits, but I have heard that it's not too hard. Changing existing ones, or creating new leaders with existing traits is probably easiest if you're just starting out. Simply copy and paste a leader's info and change what you want.

You are very wise to pick the Industrious / Philosophical combination--it's extremely powerful. This is in fact why it is not in the game; it was determined by playtesting to be too powerful. But that doesn't stop us modders from doing as we like! There is, in fact, another modded leader that has this: Jefferson Davis in the CSA mod. I think there is also a mod that gives every trait to a leader, for sort of an "uber-civ". You may want to look at these as a guide for future coding.

Happy modding!

Apep
Apr 16, 2007, 11:52 AM
I followed the instructions for change/adding leader traits, but it doesn't show in the leader selection screen before you start a game. Is that normal? How do I know if it worked btw the trait I added was charismatic.