please help me switch a civs traits

Joined
Jan 22, 2006
Messages
301
i dont want to create a new civ. i just want to switch the traits of an existing one, for example, make the greeks philosophical and industrial instead of philosophical and agressive. is there a very simple number i can change in the code somewhere to do that. at 45 i am quite programming illiterate, so please, if someone can give me just a few simple step by step instructions as to where to look and what numbers to alter, i would be very appreciative.
 
1) Open up Civ4Leaderheadinfos.xml
For the default installation, it will be in either:
C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Assets\XML\Civilizations

or, if you have Warlords and want to change it for that as well:
C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Warlords\Assets\XML\Civilizations

2) Use find to jump to the entry for the leader you're looking for (just search for alexander, in this case)

3) Scroll down to where you see the <traits> tag with two traits underneath.

4) Change 'em.

Edit: I tried to show an example of what it should look like, but I can't get the spaces to show up correctly. Bleh. You're looking to change something that reads
<TraitType>TRAIT_AGGRESSIVE</TraitType>

into:
<TraitType>TRAIT_INDUSTRIOUS</TraitType>

5) Play one difficulty level higher than normal if you're going with Phi/Ind, because its going to be a cakewalk.

Also: If you want to switch between this and unmodified civ, you should read some of the tutorials for modding, and put this in its own mod folder so that you don't mess with the original files (and therefore don't have to go back and restore them or reinstall to return to regular civ).
 
thanks, i that is exactly the kind of detailed, simple explanation i was looking for. you should get a job as a technical writer. even i think i can follow this.
 
nope. i couldnt quite do it. i went into civilizations, and the civ leader head info, and saw alexander and his trait info, but dont know how to change it. i tried notepad but then when i went into civ leader head info, it was blank. how do it erase the old trait and type in the new one. can anyone help me. thanks
 
Notepad should work.. Try again, if not. Try a freeware program like Notepad++

Thats what I use. Check here for download http://notepad-plus.sourceforge.net/uk/site.htm

the trait tag should look like this:

Code:
		          <Traits>
				<Trait>
				<TraitType>TRAIT_PHILOSOPHICAL</TraitType>
					<bTrait>1</bTrait>
				</Trait>
				<Trait>
					<TraitType>TRAIT_AGGRESSIVE</TraitType>
					<bTrait>1</bTrait>
				</Trait>
			  </Traits>

and you should change it to look like this :

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


Hope you can get it working.
Splinter13
 
thanks

i did it. the new notepad helped. apparantly one cant make a civ both philosopical and industrious however. oh well. but i was able to alter the trait to philosopical and financial successfully. so now i can alter the traits somewhat. thanks to all.
 
I don't see any reason why you shouldn't be able to. Make sure the tag is spelled correctly; its TRAIT_INDUSTRIOUS, not trait_industrial.

Edit: Edited for posterity >:3
 
Back
Top Bottom