Civilizations and Their Attributes

Peter Principle

Chieftain
Joined
Sep 18, 2008
Messages
19
I looked in C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Assets\XML\Civilizations\ at all the xml files there and I couldn't find the place that determines the characteristics of a civilization (aggressive, philosophical, etc.). Where are these characteristics located?
 
I looked in C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Assets\XML\Civilizations\ at all the xml files there and I couldn't find the place that determines the characteristics of a civilization (aggressive, philosophical, etc.). Where are these characteristics located?

Look approx 1/3 of the way down in the LeaderHeadInfos file:
Spoiler :

<VassalRefuseAttitudeThreshold>ATTITUDE_PLEASED</VassalRefuseAttitudeThreshold>
<iVassalPowerModifier>20</iVassalPowerModifier>
<iFreedomAppreciation>10</iFreedomAppreciation>
<FavoriteCivic>CIVIC_REPRESENTATION</FavoriteCivic>
<FavoriteReligion>NONE</FavoriteReligion>
<Traits>
<Trait>
<TraitType>TRAIT_IMPERIALIST</TraitType>
<bTrait>1</bTrait>
</Trait>
<Trait>
<TraitType>TRAIT_INDUSTRIOUS</TraitType>
<bTrait>1</bTrait>
</Trait>
</Traits>
<Flavors>
<Flavor>
<FlavorType>FLAVOR_MILITARY</FlavorType>
<iFlavor>2</iFlavor>
</Flavor>
<Flavor>
<FlavorType>FLAVOR_PRODUCTION</FlavorType>
<iFlavor>5</iFlavor>
</Flavor>
</Flavors>
<ContactRands>
<ContactRand>
<ContactType>CONTACT_RELIGION_PRESSURE</ContactType>
<iContactRand>250</iContactRand>
</ContactRand>
 
Awesome, thanks! I must be blind, lol.

What do the numbers represent?

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

And if I want to have a civ with more than two traits, do I just put another trait entry in there like this?

<Traits>

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

<Trait>
<TraitType>TRAIT_AGGRESSIVE</TraitType>
<bTrait>1</bTrait>
</Trait>

<Trait>
<TraitType>TRAIT_ORGANIZED</TraitType>
<bTrait>1</bTrait>
</Trait>


</Traits>
 
Yes. The numbers on the <bTrait> are booleens. That means that the trait is either on (1) or off (0). Booleens are used for on or off functions.
 
Back
Top Bottom