Trait Builder

topsecret

Believer
Supporter
Joined
Feb 11, 2010
Messages
6,008
Location
At the Foot of the Cross
This is a Trait Builder.
Click the buttons to modify the values, like Health changes the free health given to every city if you have the trait.
Click Copy when finished and paste the code into "Civ4TraitInfos", under "Civ4 BtS Mod Directory\Assets\XML\Civilizations\"
To add the Trait to a leader, Click the CIV4LeaderHeadInfos file, find the leader you want to add the trait to, find the <Traits> and change:
Code:
				<Trait>				
					<TraitType>TRAIT_ORIGINAL_TRAIT</TraitType>
					<bTrait>1</bTrait>			
				</Trait>

to:
Code:
				<Trait>				
					<TraitType>TRAIT_YOUR_TRAIT</TraitType>
					<bTrait>1</bTrait>			
				</Trait>
Please post any bugs here.

Press F4 to change between fullscreen and normal size!

Press Escape to close the program.

Screenshot:
screenshot102_T1x.png


Spoiler :
Update Log:
v0.1 - Original
v0.2 - Reset Button Added
v0.3 - Big UI update - Current Update
 
Congrats to your first own program :).

You might want to add a reset button to set everything back to default, and you need a check for invalid values, so that no one can put floating point values or text values into the integer tags, etc.
 
Congrats to your first own program :).

You might want to add a reset button to set everything back to default, and you need a check for invalid values, so that no one can put floating point values or text values into the integer tags, etc.

Thanks ;)
I'll add the reset button soon, but the others might wait until I know more code :D
 
While I prefer the ole school XML edit, it looks like a nice program and I'm sure many people will find use for it. Congrats! ;)

I made so people who are new to XML can use it :D
Thanks for the encouragment :)
 
Back
Top Bottom