adding extra traits issues in Civ 5

SturmVogel

Chieftain
Joined
Jul 25, 2012
Messages
1
Location
Seattle
new to Civilization 5 but not .xml or .ini

my problem, after adding the traits and saving when I start the game the modded leader is simply not there. I have looked around to see if anyone else has had a problem like this but all I can find is that the added traits simply are not shown in the description but still work any way.. this would be nice if it was my issue because I can live with it only showing 1 trait but having the ones I added secretly lol
but its not and I have no clue why its doing that.. kinda went over kill on the first test with 4 traits, started the game.. and the leader was not there on the selection screen, not even a glitched "unknown /desctiption" thing.. just gone! removed the extra 3 and left it at its base 1 trait and bam.. leader is back and selectable :dubious:
 
for some reason you cannot have multiple traits for one leader, it causes the glitching problem you are speaking of and i had the same issue myself. HOWEVER you can give multiple benefits to one trait. i have added 5 traits so far that have multiple benefits. here is my traits.xml code so you can see what ive done:

Code:
<GameData>
	<Traits>
		<Row>
			<Type>TRAIT_WILL_OF_THE_SCARLETT_EMPRESS</Type>
			<Description>TXT_KEY_TRAIT_WILL_OF_THE_SCARLETT_EMPRESS</Description>
			<ShortDescription>TXT_KEY_TRAIT_WILL_OF_THE_SCARLETT_EMPRESS_SHORT</ShortDescription>
			<CapitalBuildingModifier>20</CapitalBuildingModifier>
			<PlotBuyCostModifier>-33</PlotBuyCostModifier>
			<GreatGeneralRateModifier>33</GreatGeneralRateModifier>
			<GreatGeneralExtraBonus>15</GreatGeneralExtraBonus>
			<AbleToAnnexCityStates>true</AbleToAnnexCityStates>
		</Row>
		<Row>
			<Type>TRAIT_REVELRY_IN_SIN</Type>
			<Description>TXT_KEY_TRAIT_REVELRY_IN_SIN</Description>
			<ShortDescription>TXT_KEY_TRAIT_REVELRY_IN_SIN_SHORT</ShortDescription>
			<CityUnhappinessModifier>100</CityUnhappinessModifier>
			<PopulationUnhappinessModifier>-50</PopulationUnhappinessModifier>
			<GoldenAgeDurationModifier>50</GoldenAgeDurationModifier>
			<GoldenAgeMoveChange>1</GoldenAgeMoveChange>
			<GoldenAgeCombatModifier>10</GoldenAgeCombatModifier>
		</Row>
		<Row>
			<Type>TRAIT_SILVER_TONGUED</Type>
			<Description>TXT_KEY_TRAIT_SILVER_TONGUED</Description>
			<ShortDescription>TXT_KEY_TRAIT_SILVER_TONGUED_SHORT</ShortDescription>
			<CityStateFriendshipModifier>100</CityStateFriendshipModifier>
			<CityCultureBonus>2</CityCultureBonus>
			<GreatPersonGiftInfluence>90</GreatPersonGiftInfluence>
			<DOFGreatPersonModifier>10</DOFGreatPersonModifier>
		</Row>
		<Row>
			<Type>TRAIT_ANCESTRAL_BLESSINGS</Type>
			<Description>TXT_KEY_TRAIT_ANCESTRAL_BLESSINGS</Description>
			<ShortDescription>TXT_KEY_TRAIT_ANCESTRAL_BLESSINGS_SHORT</ShortDescription>
			<BonusReligiousBelief>true</BonusReligiousBelief>
			<FreeBuilding>BUILDING_NAERALITH_ANCESTRAL_BLESSINGS</FreeBuilding>
		</Row>
		<Row>
			<Type>TRAIT_LIVE_OFF_THE_LAND</Type>
			<Description>TXT_KEY_TRAIT_LIVE_OFF_THE_LAND</Description>
			<ShortDescription>TXT_KEY_TRAIT_LIVE_OFF_THE_LAND_SHORT</ShortDescription>
			<CityUnhappinessModifier>-75</CityUnhappinessModifier>
			<PopulationUnhappinessModifier>50</PopulationUnhappinessModifier>
			<FreeBuilding>BUILDING_NAERALITH_LIVE_OFF_THE_LAND</FreeBuilding>
		</Row>
		<Row>
			<Type>TRAIT_MENTALISM_MASTERY</Type>
			<Description>TXT_KEY_TRAIT_MENTALISM_MASTERY</Description>
			<ShortDescription>TXT_KEY_TRAIT_MENTALISM_MASTERY_SHORT</ShortDescription>
			<FreeBuilding>BUILDING_NAERALITH_MENTALISM_MASTERY</FreeBuilding>
		</Row>
	</Traits>
	<Trait_FreePromotionUnitCombats>
		<Row>
			<TraitType>TRAIT_LIVE_OFF_THE_LAND</TraitType>
			<UnitCombatType>UNITCOMBAT_MELEE</UnitCombatType>
			<PromotionType>PROMOTION_IGNORE_TERRAIN_COST</PromotionType>
		</Row>
		<Row>
			<TraitType>TRAIT_LIVE_OFF_THE_LAND</TraitType>
			<UnitCombatType>UNITCOMBAT_ARCHER</UnitCombatType>
			<PromotionType>PROMOTION_IGNORE_TERRAIN_COST</PromotionType>
		</Row>
		<Row>
			<TraitType>TRAIT_LIVE_OFF_THE_LAND</TraitType>
			<UnitCombatType>UNITCLASS_SETTLER</UnitCombatType>
			<PromotionType>PROMOTION_IGNORE_TERRAIN_COST</PromotionType>
		</Row>
		<Row>
			<TraitType>TRAIT_LIVE_OFF_THE_LAND</TraitType>
			<UnitCombatType>UNITCLASS_WORKER</UnitCombatType>
			<PromotionType>PROMOTION_IGNORE_TERRAIN_COST</PromotionType>
		</Row>
		<Row>
			<TraitType>TRAIT_LIVE_OFF_THE_LAND</TraitType>
			<UnitCombatType>UNITCOMBAT_RECON</UnitCombatType>
			<PromotionType>PROMOTION_SURVIVALISM_1</PromotionType>
		</Row>
	</Trait_FreePromotionUnitCombats>
	<BuildingClasses>
		<Row>
			<Type>BUILDINGCLASS_TRAIT_BUILDING</Type>
			<DefaultBuilding>BUILDING_NAERALITH_LIVE_OFF_THE_LAND</DefaultBuilding>
			<Description>TXT_KEY_BUILDING_TRAIT_BUILDING</Description>
		</Row>
	</BuildingClasses>
	<Buildings>
		<Row>
			<Type>BUILDING_NAERALITH_LIVE_OFF_THE_LAND</Type>
			<BuildingClass>BUILDINGCLASS_TRAIT_BUILDING</BuildingClass>
			<Cost>-1</Cost>
			<PrereqTech>TECH_AGRICULTURE</PrereqTech>
			<Help>TXT_KEY_BUILDING_NAERALITH_LIVE_OFF_THE_LAND_HELP</Help>
			<Description>TXT_KEY_BUILDING_NAERALITH_LIVE_OFF_THE_LAND</Description>
			<Civilopedia>TXT_KEY_BUILDING_NAERALITH_LIVE_OFF_THE_LAND_DESC</Civilopedia>
			<Quote>TXT_KEY_BUILDING_NAERALITH_LIVE_OFF_THE_LAND_QUOTE</Quote>
			<ArtDefineTag>MONUMENT</ArtDefineTag>
			<NukeImmune>true</NukeImmune>
			<HurryCostModifier>-1</HurryCostModifier>
			<MinAreaSize>-1</MinAreaSize>
			<IconAtlas>NAERALITH_CIV_ATLAS</IconAtlas>
			<NeverCapture>true</NeverCapture>
			<PortraitIndex>6</PortraitIndex>
		</Row>
		<Row>
			<Type>BUILDING_NAERALITH_MENTALISM_MASTERY</Type>
			<BuildingClass>BUILDINGCLASS_TRAIT_BUILDING</BuildingClass>
			<Cost>-1</Cost>
			<PrereqTech>TECH_AGRICULTURE</PrereqTech>
			<Help>TXT_KEY_BUILDING_NAERALITH_MENTALISM_MASTERY_HELP</Help>
			<Description>TXT_KEY_BUILDING_NAERALITH_MENTALISM_MASTERY</Description>
			<Civilopedia>TXT_KEY_BUILDING_NAERALITH_MENTALISM_MASTERY_DESC</Civilopedia>
			<Quote>TXT_KEY_BUILDING_NAERALITH_MENTALISM_MASTERY_QUOTE</Quote>
			<ArtDefineTag>MONUMENT</ArtDefineTag>
			<SpecialistType>SPECIALIST_NAERALITH_NOBLE</SpecialistType>
			<SpecialistCount>1</SpecialistCount>
			<NukeImmune>true</NukeImmune>
			<HurryCostModifier>-1</HurryCostModifier>
			<MinAreaSize>-1</MinAreaSize>
			<NoOccupiedUnhappiness>true</NoOccupiedUnhappiness>
			<IconAtlas>NAERALITH_CIV_ATLAS</IconAtlas>
			<NeverCapture>true</NeverCapture>
			<PortraitIndex>8</PortraitIndex>
		</Row>
		<Row>
			<Type>BUILDING_NAERALITH_ANCESTRAL_BLESSINGS</Type>
			<BuildingClass>BUILDINGCLASS_TRAIT_BUILDING</BuildingClass>
			<Cost>-1</Cost>
			<PrereqTech>TECH_AGRICULTURE</PrereqTech>
			<Help>TXT_KEY_BUILDING_NAERALITH_ANCESTRAL_BLESSINGS_HELP</Help>
			<Description>TXT_KEY_BUILDING_NAERALITH_ANCESTRAL_BLESSINGS</Description>
			<Civilopedia>TXT_KEY_BUILDING_NAERALITH_ANCESTRAL_BLESSINGS_DESC</Civilopedia>
			<Quote>TXT_KEY_BUILDING_NAERALITH_ANCESTRAL_BLESSINGS_QUOTE</Quote>
			<ArtDefineTag>MONUMENT</ArtDefineTag>
			<NukeImmune>true</NukeImmune>
			<GreatPeopleRateModifier>50</GreatPeopleRateModifier>
			<HurryCostModifier>-1</HurryCostModifier>
			<MinAreaSize>-1</MinAreaSize>
			<IconAtlas>NAERALITH_CIV_ATLAS</IconAtlas>
			<NeverCapture>true</NeverCapture>
			<PortraitIndex>12</PortraitIndex>
		</Row>
	</Buildings>
	<Building_TerrainYieldChanges>
		<Row>
			<BuildingType>BUILDING_NAERALITH_LIVE_OFF_THE_LAND</BuildingType>
			<TerrainType>TERRAIN_PLAINS</TerrainType>
			<YieldType>YIELD_FOOD</YieldType>
			<Yield>1</Yield>
		</Row>
		<Row>
			<BuildingType>BUILDING_NAERALITH_LIVE_OFF_THE_LAND</BuildingType>
			<TerrainType>TERRAIN_DESERT</TerrainType>
			<YieldType>YIELD_FOOD</YieldType>
			<Yield>1</Yield>
		</Row>
		<Row>
			<BuildingType>BUILDING_NAERALITH_LIVE_OFF_THE_LAND</BuildingType>
			<TerrainType>TERRAIN_TUNDRA</TerrainType>
			<YieldType>YIELD_FOOD</YieldType>
			<Yield>1</Yield>
		</Row>
		<Row>
			<BuildingType>BUILDING_NAERALITH_ANCESTRAL_BLESSINGS</BuildingType>
			<TerrainType>TERRAIN_DESERT</TerrainType>
			<YieldType>YIELD_FOOD</YieldType>
			<Yield>1</Yield>
		</Row>
		<Row>
			<BuildingType>BUILDING_NAERALITH_ANCESTRAL_BLESSINGS</BuildingType>
			<TerrainType>TERRAIN_DESERT</TerrainType>
			<YieldType>YIELD_FAITH</YieldType>
			<Yield>1</Yield>
		</Row>
	</Building_TerrainYieldChanges>
	<Building_FeatureYieldChanges>
		<Row>
			<BuildingType>BUILDING_NAERALITH_ANCESTRAL_BLESSINGS</BuildingType>
			<FeatureType>TERRAIN_FLOOD_PLAINS</FeatureType>
			<YieldType>YIELD_PRODUCTION</YieldType>
			<Yield>1</Yield>
		</Row>
		<Row>
			<BuildingType>BUILDING_NAERALITH_ANCESTRAL_BLESSINGS</BuildingType>
			<FeatureType>TERRAIN_FLOOD_PLAINS</FeatureType>
			<YieldType>YIELD_FOOD</YieldType>
			<Yield>-1</Yield>
		</Row>
		<Row>
			<BuildingType>BUILDING_NAERALITH_ANCESTRAL_BLESSINGS</BuildingType>
			<FeatureType>TERRAIN_OASIS</FeatureType>
			<YieldType>YIELD_PRODUCTION</YieldType>
			<Yield>1</Yield>
		</Row>
	</Building_FeatureYieldChanges>
	<Building_LocalResourceOrs>
		<Row>
			<BuildingType>BUILDING_NAERALITH_MENTALISM_MASTERY</BuildingType>
			<ResourceType>RESOURCE_NAERALITH_FRAEYALILLIES</ResourceType>
		</Row>
	</Building_LocalResourceOrs>
	<Building_ResourceCultureChanges>
		<Row>
			<BuildingType>BUILDING_NAERALITH_MENTALISM_MASTERY</BuildingType>
			<ResourceType>RESOURCE_NAERALITH_FRAEYALILLIES</ResourceType>
			<CultureChange>2</CultureChange>
		</Row>
	</Building_ResourceCultureChanges>
	<Building_ResourceYieldChanges>
		<Row>
			<BuildingType>BUILDING_NAERALITH_MENTALISM_MASTERY</BuildingType>
			<ResourceType>RESOURCE_NAERALITH_FRAEYALILLIES</ResourceType>
			<YieldType>YIELD_GOLD</YieldType>
			<Yield>2</Yield>
		</Row>
	</Building_ResourceYieldChanges>
	<Trait_SpecialistYieldChanges>
		<Row>
			<TraitType>TRAIT_MENTALISM_MASTERY</TraitType>
			<SpecialistType>SPECIALIST_NAERALITH_NOBLE</SpecialistType>
			<YieldType>YIELD_NAERALITH_PIGMENTS</YieldType>
			<Yield>1</Yield>
		</Row>
		<Row>
			<TraitType>TRAIT_MENTALISM_MASTERY</TraitType>
			<SpecialistType>SPECIALIST_NAERALITH_NOBLE</SpecialistType>
			<YieldType>YIELD_GOLD</YieldType>
			<Yield>1</Yield>
		</Row>
		<Row>
			<TraitType>TRAIT_REVELRY_IN_SIN</TraitType>
			<SpecialistType>SPECIALIST_NAERALITH_PRIEST</SpecialistType>
			<YieldType>YIELD_SCIENCE</YieldType>
			<Yield>1</Yield>
		</Row>
		<Row>
			<TraitType>TRAIT_REVELRY_IN_SIN</TraitType>
			<SpecialistType>SPECIALIST_NAERALITH_PRIEST</SpecialistType>
			<YieldType>YIELD_FAITH</YieldType>
			<Yield>1</Yield>
		</Row>
	</Trait_SpecialistYieldChanges>
</GameData>[U][/U]

i hope that helps! good luck!
 
Back
Top Bottom