Advertisement
Civilization Fanatics' Center  

Welcome to Civilization Fanatics' Center.

You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support.

Go Back   Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization

Notices

Reply
 
Thread Tools
Old May 28, 2009, 05:11 PM   #1
Bahmo
King
 
Bahmo's Avatar
 
Join Date: May 2006
Posts: 822
I need a good tutorial on how to add traits!

I've tried on my own to no avail, and the seach hasn't yielded much. Help would be appreciated.
__________________
Modding: The Ultimate in Replay Value
Bahmo is offline   Reply With Quote
Old May 28, 2009, 05:40 PM   #2
mechaerik
Dry Bones
 
mechaerik's Avatar
 
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,539
http://modiki.civfanatics.com/index.php/Civ4TraitInfos
mechaerik is offline   Reply With Quote
Old May 28, 2009, 09:41 PM   #3
Bahmo
King
 
Bahmo's Avatar
 
Join Date: May 2006
Posts: 822
That is somewhat useful, but it doesn't tell me exactly why mine isn't working. Could it be that I don't have description TXT_KEY files? (In other words, I just type the name in English.)

Edit: Or perhaps it's that the Short Descriptions link to nothing. I'd like to be told for sure, though.
__________________
Modding: The Ultimate in Replay Value

Last edited by Bahmo; May 28, 2009 at 09:45 PM.
Bahmo is offline   Reply With Quote
Old May 28, 2009, 10:00 PM   #4
mechaerik
Dry Bones
 
mechaerik's Avatar
 
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,539
Replacing TXT_KEY files with english or not linking them should work, might be one of those weird errors. Try redoing the trait.
mechaerik is offline   Reply With Quote
Old May 29, 2009, 02:01 PM   #5
Bahmo
King
 
Bahmo's Avatar
 
Join Date: May 2006
Posts: 822
Assuming I do want to add the TXT tags, do they need to be added to one of the existing files, or can I create my own file and put it in the folder?
__________________
Modding: The Ultimate in Replay Value
Bahmo is offline   Reply With Quote
Old May 29, 2009, 04:40 PM   #6
mechaerik
Dry Bones
 
mechaerik's Avatar
 
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,539
You can add your own and put it anywhere in the Text xml folder, even if you make a subfolder in the Text folder.
mechaerik is offline   Reply With Quote
Old May 29, 2009, 05:52 PM   #7
Bahmo
King
 
Bahmo's Avatar
 
Join Date: May 2006
Posts: 822
Cool

Alright, all that is done, but it is still not working! Why?!
__________________
Modding: The Ultimate in Replay Value
Bahmo is offline   Reply With Quote
Old May 29, 2009, 06:04 PM   #8
mechaerik
Dry Bones
 
mechaerik's Avatar
 
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,539
Post the traitinfos then.
mechaerik is offline   Reply With Quote
Old May 29, 2009, 10:45 PM   #9
Bahmo
King
 
Bahmo's Avatar
 
Join Date: May 2006
Posts: 822
Here they are. Sorry to just dump the text on you like this, but I don't have a zip program.

Quote:
<?xml version="1.0"?>
<!-- Changed For the Ever-expanding Four-Trait mod--place in the "Civilizations" folder of BTS mods -->
<!-- Sid Meier's Civilization 4 -->
<!-- Copyright Firaxis Games 2005 -->
<!-- -->
<!-- Leader Trait Infos -->
<Civ4TraitInfos xmlns="x-schema:CIV4CivilizationsSchema.xml">
<TraitInfos>
<TraitInfo>
<Type>TRAIT_PHILOSOPHICAL</Type>
<Description>TXT_KEY_TRAIT_PHILOSOPHICAL</Description>
<ShortDescription>TXT_KEY_TRAIT_PHILOSOPHICAL_SHOR T</ShortDescription>
<iHealth>0</iHealth>
<iHappiness>0</iHappiness>
<iMaxAnarchy>-1</iMaxAnarchy>
<iUpkeepModifier>0</iUpkeepModifier>
<iLevelExperienceModifier>0</iLevelExperienceModifier>
<iGreatPeopleRateModifier>100</iGreatPeopleRateModifier>
<iGreatGeneralRateModifier>0</iGreatGeneralRateModifier>
<iDomesticGreatGeneralRateModifier>0</iDomesticGreatGeneralRateModifier>
<iMaxGlobalBuildingProductionModifier>0</iMaxGlobalBuildingProductionModifier>
<iMaxTeamBuildingProductionModifier>0</iMaxTeamBuildingProductionModifier>
<iMaxPlayerBuildingProductionModifier>0</iMaxPlayerBuildingProductionModifier>
<ExtraYieldThresholds/>
<TradeYieldModifiers/>
<CommerceChanges/>
<CommerceModifiers/>
<FreePromotions/>
<FreePromotionUnitCombats/>
</TraitInfo>
<TraitInfo>
<Type>TRAIT_AGGRESSIVE</Type>
<Description>TXT_KEY_TRAIT_AGGRESSIVE</Description>
<ShortDescription>TXT_KEY_TRAIT_AGGRESSIVE_SHORT </ShortDescription>
<iHealth>0</iHealth>
<iHappiness>0</iHappiness>
<iMaxAnarchy>-1</iMaxAnarchy>
<iUpkeepModifier>0</iUpkeepModifier>
<iLevelExperienceModifier>0</iLevelExperienceModifier>
<iGreatPeopleRateModifier>0</iGreatPeopleRateModifier>
<iGreatGeneralRateModifier>0</iGreatGeneralRateModifier>
<iDomesticGreatGeneralRateModifier>0</iDomesticGreatGeneralRateModifier>
<iMaxGlobalBuildingProductionModifier>0</iMaxGlobalBuildingProductionModifier>
<iMaxTeamBuildingProductionModifier>0</iMaxTeamBuildingProductionModifier>
<iMaxPlayerBuildingProductionModifier>0</iMaxPlayerBuildingProductionModifier>
<ExtraYieldThresholds/>
<TradeYieldModifiers/>
<CommerceChanges/>
<CommerceModifiers/>
<FreePromotions>
<FreePromotion>
<PromotionType>PROMOTION_COMBAT1</PromotionType>
<bFreePromotion>1</bFreePromotion>
</FreePromotion>
</FreePromotions>
<FreePromotionUnitCombats>
<FreePromotionUnitCombat>
<UnitCombatType>UNITCOMBAT_MELEE</UnitCombatType>
<bFreePromotionUnitCombat>1</bFreePromotionUnitCombat>
</FreePromotionUnitCombat>
<FreePromotionUnitCombat>
<UnitCombatType>UNITCOMBAT_GUN</UnitCombatType>
<bFreePromotionUnitCombat>1</bFreePromotionUnitCombat>
</FreePromotionUnitCombat>
</FreePromotionUnitCombats>
</TraitInfo>
<TraitInfo>
<Type>TRAIT_SPIRITUAL</Type>
<Description>TXT_KEY_TRAIT_SPIRITUAL</Description>
<ShortDescription>TXT_KEY_TRAIT_SPIRITUAL_SHORT</ShortDescription>
<iHealth>0</iHealth>
<iHappiness>0</iHappiness>
<iMaxAnarchy>0</iMaxAnarchy>
<iUpkeepModifier>0</iUpkeepModifier>
<iLevelExperienceModifier>0</iLevelExperienceModifier>
<iGreatPeopleRateModifier>0</iGreatPeopleRateModifier>
<iGreatGeneralRateModifier>0</iGreatGeneralRateModifier>
<iDomesticGreatGeneralRateModifier>0</iDomesticGreatGeneralRateModifier>
<iMaxGlobalBuildingProductionModifier>0</iMaxGlobalBuildingProductionModifier>
<iMaxTeamBuildingProductionModifier>0</iMaxTeamBuildingProductionModifier>
<iMaxPlayerBuildingProductionModifier>0</iMaxPlayerBuildingProductionModifier>
<ExtraYieldThresholds/>
<TradeYieldModifiers/>
<CommerceChanges/>
<CommerceModifiers/>
<FreePromotions/>
<FreePromotionUnitCombats/>
</TraitInfo>
<TraitInfo>
<Type>TRAIT_EXPANSIVE</Type>
<Description>TXT_KEY_TRAIT_EXPANSIVE</Description>
<ShortDescription>TXT_KEY_TRAIT_EXPANSIVE_SHORT</ShortDescription>
<iHealth>2</iHealth>
<iHappiness>0</iHappiness>
<iMaxAnarchy>-1</iMaxAnarchy>
<iUpkeepModifier>0</iUpkeepModifier>
<iLevelExperienceModifier>0</iLevelExperienceModifier>
<iGreatPeopleRateModifier>0</iGreatPeopleRateModifier>
<iGreatGeneralRateModifier>0</iGreatGeneralRateModifier>
<iDomesticGreatGeneralRateModifier>0</iDomesticGreatGeneralRateModifier>
<iMaxGlobalBuildingProductionModifier>0</iMaxGlobalBuildingProductionModifier>
<iMaxTeamBuildingProductionModifier>0</iMaxTeamBuildingProductionModifier>
<iMaxPlayerBuildingProductionModifier>0</iMaxPlayerBuildingProductionModifier>
<ExtraYieldThresholds/>
<TradeYieldModifiers/>
<CommerceChanges/>
<CommerceModifiers/>
<FreePromotions/>
<FreePromotionUnitCombats/>
</TraitInfo>
<TraitInfo>
<Type>TRAIT_INDUSTRIOUS</Type>
<Description>TXT_KEY_TRAIT_INDUSTRIOUS</Description>
<ShortDescription>TXT_KEY_TRAIT_INDUSTRIOUS_SHOR T</ShortDescription>
<iHealth>0</iHealth>
<iHappiness>0</iHappiness>
<iMaxAnarchy>-1</iMaxAnarchy>
<iUpkeepModifier>0</iUpkeepModifier>
<iLevelExperienceModifier>0</iLevelExperienceModifier>
<iGreatPeopleRateModifier>0</iGreatPeopleRateModifier>
<iGreatGeneralRateModifier>0</iGreatGeneralRateModifier>
<iDomesticGreatGeneralRateModifier>0</iDomesticGreatGeneralRateModifier>
<iMaxGlobalBuildingProductionModifier>50</iMaxGlobalBuildingProductionModifier>
<iMaxTeamBuildingProductionModifier>50</iMaxTeamBuildingProductionModifier>
<iMaxPlayerBuildingProductionModifier>50</iMaxPlayerBuildingProductionModifier>
<ExtraYieldThresholds/>
<TradeYieldModifiers/>
<CommerceChanges/>
<CommerceModifiers/>
<FreePromotions/>
<FreePromotionUnitCombats/>
</TraitInfo>
<TraitInfo>
<Type>TRAIT_CREATIVE</Type>
<Description>TXT_KEY_TRAIT_CREATIVE</Description>
<ShortDescription>TXT_KEY_TRAIT_CREATIVE_SHORT</ShortDescription>
<iHealth>0</iHealth>
<iHappiness>0</iHappiness>
<iMaxAnarchy>-1</iMaxAnarchy>
<iUpkeepModifier>0</iUpkeepModifier>
<iLevelExperienceModifier>0</iLevelExperienceModifier>
<iGreatPeopleRateModifier>0</iGreatPeopleRateModifier>
<iGreatGeneralRateModifier>0</iGreatGeneralRateModifier>
<iDomesticGreatGeneralRateModifier>0</iDomesticGreatGeneralRateModifier>
<iMaxGlobalBuildingProductionModifier>0</iMaxGlobalBuildingProductionModifier>
<iMaxTeamBuildingProductionModifier>0</iMaxTeamBuildingProductionModifier>
<iMaxPlayerBuildingProductionModifier>0</iMaxPlayerBuildingProductionModifier>
<ExtraYieldThresholds/>
<TradeYieldModifiers/>
<CommerceChanges>
<iCommerce>0</iCommerce>
<iCommerce>0</iCommerce>
<iCommerce>2</iCommerce>
</CommerceChanges>
<CommerceModifiers/>
<FreePromotions/>
<FreePromotionUnitCombats/>
</TraitInfo>
<TraitInfo>
<Type>TRAIT_FINANCIAL</Type>
<Description>TXT_KEY_TRAIT_FINANCIAL</Description>
<ShortDescription>TXT_KEY_TRAIT_FINANCIAL_SHORT</ShortDescription>
<iHealth>0</iHealth>
<iHappiness>0</iHappiness>
<iMaxAnarchy>-1</iMaxAnarchy>
<iUpkeepModifier>0</iUpkeepModifier>
<iLevelExperienceModifier>0</iLevelExperienceModifier>
<iGreatPeopleRateModifier>0</iGreatPeopleRateModifier>
<iGreatGeneralRateModifier>0</iGreatGeneralRateModifier>
<iDomesticGreatGeneralRateModifier>0</iDomesticGreatGeneralRateModifier>
<iMaxGlobalBuildingProductionModifier>0</iMaxGlobalBuildingProductionModifier>
<iMaxTeamBuildingProductionModifier>0</iMaxTeamBuildingProductionModifier>
<iMaxPlayerBuildingProductionModifier>0</iMaxPlayerBuildingProductionModifier>
<ExtraYieldThresholds>
<iExtraYieldThreshold>0</iExtraYieldThreshold>
<iExtraYieldThreshold>0</iExtraYieldThreshold>
<iExtraYieldThreshold>2</iExtraYieldThreshold>
</ExtraYieldThresholds>
<TradeYieldModifiers/>
<CommerceChanges/>
<CommerceModifiers/>
<FreePromotions/>
<FreePromotionUnitCombats/>
</TraitInfo>
<TraitInfo>
<Type>TRAIT_ORGANIZED</Type>
<Description>TXT_KEY_TRAIT_ORGANIZED</Description>
<ShortDescription>TXT_KEY_TRAIT_ORGANIZED_SHORT</ShortDescription>
<iHealth>0</iHealth>
<iHappiness>0</iHappiness>
<iMaxAnarchy>-1</iMaxAnarchy>
<iUpkeepModifier>-50</iUpkeepModifier>
<iLevelExperienceModifier>0</iLevelExperienceModifier>
<iGreatPeopleRateModifier>0</iGreatPeopleRateModifier>
<iGreatGeneralRateModifier>0</iGreatGeneralRateModifier>
<iDomesticGreatGeneralRateModifier>0</iDomesticGreatGeneralRateModifier>
<iMaxGlobalBuildingProductionModifier>0</iMaxGlobalBuildingProductionModifier>
<iMaxTeamBuildingProductionModifier>0</iMaxTeamBuildingProductionModifier>
<iMaxPlayerBuildingProductionModifier>0</iMaxPlayerBuildingProductionModifier>
<ExtraYieldThresholds/>
<TradeYieldModifiers/>
<CommerceChanges/>
<CommerceModifiers/>
<FreePromotions/>
<FreePromotionUnitCombats/>
</TraitInfo>
<TraitInfo>
<Type>TRAIT_CHARISMATIC</Type>
<Description>TXT_KEY_TRAIT_CHARISMATIC</Description>
<ShortDescription>TXT_KEY_TRAIT_CHARISMATIC_SHOR T</ShortDescription>
<iHealth>0</iHealth>
<iHappiness>1</iHappiness>
<iMaxAnarchy>-1</iMaxAnarchy>
<iUpkeepModifier>0</iUpkeepModifier>
<iLevelExperienceModifier>-25</iLevelExperienceModifier>
<iGreatPeopleRateModifier>0</iGreatPeopleRateModifier>
<iGreatGeneralRateModifier>0</iGreatGeneralRateModifier>
<iDomesticGreatGeneralRateModifier>0</iDomesticGreatGeneralRateModifier>
<iMaxGlobalBuildingProductionModifier>0</iMaxGlobalBuildingProductionModifier>
<iMaxTeamBuildingProductionModifier>0</iMaxTeamBuildingProductionModifier>
<iMaxPlayerBuildingProductionModifier>0</iMaxPlayerBuildingProductionModifier>
<ExtraYieldThresholds/>
<TradeYieldModifiers/>
<CommerceChanges/>
<CommerceModifiers/>
<FreePromotions/>
<FreePromotionUnitCombats/>
</TraitInfo>
<TraitInfo>
<Type>TRAIT_PROTECTIVE</Type>
<Description>TXT_KEY_TRAIT_PROTECTIVE</Description>
<ShortDescription>TXT_KEY_TRAIT_PROTECTIVE_SHORT </ShortDescription>
<iHealth>0</iHealth>
<iHappiness>0</iHappiness>
<iMaxAnarchy>-1</iMaxAnarchy>
<iUpkeepModifier>0</iUpkeepModifier>
<iLevelExperienceModifier>0</iLevelExperienceModifier>
<iGreatPeopleRateModifier>0</iGreatPeopleRateModifier>
<iGreatGeneralRateModifier>0</iGreatGeneralRateModifier>
<iDomesticGreatGeneralRateModifier>0</iDomesticGreatGeneralRateModifier>
<iMaxGlobalBuildingProductionModifier>0</iMaxGlobalBuildingProductionModifier>
<iMaxTeamBuildingProductionModifier>0</iMaxTeamBuildingProductionModifier>
<iMaxPlayerBuildingProductionModifier>0</iMaxPlayerBuildingProductionModifier>
<ExtraYieldThresholds/>
<TradeYieldModifiers/>
<CommerceChanges/>
<CommerceModifiers/>
<FreePromotions>
<FreePromotion>
<PromotionType>PROMOTION_CITY_GARRISON1</PromotionType>
<bFreePromotion>1</bFreePromotion>
</FreePromotion>
<FreePromotion>
<PromotionType>PROMOTION_DRILL1</PromotionType>
<bFreePromotion>1</bFreePromotion>
</FreePromotion>
</FreePromotions>
<FreePromotionUnitCombats>
<FreePromotionUnitCombat>
<UnitCombatType>UNITCOMBAT_ARCHER</UnitCombatType>
<bFreePromotionUnitCombat>1</bFreePromotionUnitCombat>
</FreePromotionUnitCombat>
<FreePromotionUnitCombat>
<UnitCombatType>UNITCOMBAT_GUN</UnitCombatType>
<bFreePromotionUnitCombat>1</bFreePromotionUnitCombat>
</FreePromotionUnitCombat>
</FreePromotionUnitCombats>
</TraitInfo>
<TraitInfo>
<Type>TRAIT_IMPERIALIST</Type>
<Description>TXT_KEY_TRAIT_IMPERIALIST</Description>
<ShortDescription>TXT_KEY_TRAIT_IMPERIALIST_SHOR T</ShortDescription>
<iHealth>0</iHealth>
<iHappiness>0</iHappiness>
<iMaxAnarchy>-1</iMaxAnarchy>
<iUpkeepModifier>0</iUpkeepModifier>
<iLevelExperienceModifier>0</iLevelExperienceModifier>
<iGreatPeopleRateModifier>0</iGreatPeopleRateModifier>
<iGreatGeneralRateModifier>100</iGreatGeneralRateModifier>
<iDomesticGreatGeneralRateModifier>0</iDomesticGreatGeneralRateModifier>
<iMaxGlobalBuildingProductionModifier>0</iMaxGlobalBuildingProductionModifier>
<iMaxTeamBuildingProductionModifier>0</iMaxTeamBuildingProductionModifier>
<iMaxPlayerBuildingProductionModifier>0</iMaxPlayerBuildingProductionModifier>
<ExtraYieldThresholds/>
<TradeYieldModifiers/>
<CommerceChanges/>
<CommerceModifiers/>
<FreePromotions/>
<FreePromotionUnitCombats/>
</TraitInfo>
<TraitInfo>
<Type>TRAIT_SCIENTIFIC</Type>
<Description>TXT_KEY_TRAIT_SCIENTIFIC</Description>
<ShortDescription>TXT_KEY_TRAIT_SCIENTIFIC_SHORT </ShortDescription>
<iHealth>0</iHealth>
<iHappiness>0</iHappiness>
<iMaxAnarchy>-1</iMaxAnarchy>
<iUpkeepModifier>0</iUpkeepModifier>
<iLevelExperienceModifier>0</iLevelExperienceModifier>
<iGreatPeopleRateModifier>0</iGreatPeopleRateModifier>
<iGreatGeneralRateModifier>0</iGreatGeneralRateModifier>
<iDomesticGreatGeneralRateModifier>0</iDomesticGreatGeneralRateModifier>
<iMaxGlobalBuildingProductionModifier>0</iMaxGlobalBuildingProductionModifier>
<iMaxTeamBuildingProductionModifier>0</iMaxTeamBuildingProductionModifier>
<iMaxPlayerBuildingProductionModifier>0</iMaxPlayerBuildingProductionModifier>
<ExtraYieldThresholds/>
<TradeYieldModifiers/>
<CommerceChanges>
<iCommerce>0</iCommerce>
<iCommerce>2</iCommerce>
<iCommerce>0</iCommerce>
</CommerceChanges>
<CommerceModifiers/>
<FreePromotions/>
<FreePromotionUnitCombats/>
</TraitInfo>
<TraitInfo>
<Type>TRAIT_AGRARIAN</Type>
<Description>TXT_KEY_TRAIT_AGRARIAN</Description>
<ShortDescription>TXT_KEY_TRAIT_AGRARIAN_SHORT</ShortDescription>
<iHealth>0</iHealth>
<iHappiness>0</iHappiness>
<iMaxAnarchy>-1</iMaxAnarchy>
<iUpkeepModifier>0</iUpkeepModifier>
<iLevelExperienceModifier>0</iLevelExperienceModifier>
<iGreatPeopleRateModifier>0</iGreatPeopleRateModifier>
<iGreatGeneralRateModifier>0</iGreatGeneralRateModifier>
<iDomesticGreatGeneralRateModifier>0</iDomesticGreatGeneralRateModifier>
<iMaxGlobalBuildingProductionModifier>0</iMaxGlobalBuildingProductionModifier>
<iMaxTeamBuildingProductionModifier>0</iMaxTeamBuildingProductionModifier>
<iMaxPlayerBuildingProductionModifier>0</iMaxPlayerBuildingProductionModifier>
<ExtraYieldThresholds>
<iExtraYieldThreshold>4</iExtraYieldThreshold>
<iExtraYieldThreshold>0</iExtraYieldThreshold>
<iExtraYieldThreshold>0</iExtraYieldThreshold>
</ExtraYieldThresholds>
<TradeYieldModifiers/>
<CommerceChanges/>
<CommerceModifiers/>
<FreePromotions/>
<FreePromotionUnitCombats/>
</TraitInfo>
<TraitInfo>
<Type>TRAIT_CONNIVING</Type>
<Description>TXT_KEY_TRAIT_CONNIVING</Description>
<ShortDescription>TXT_KEY_TRAIT_CONNIVING_SHORT</ShortDescription>
<iHealth>0</iHealth>
<iHappiness>0</iHappiness>
<iMaxAnarchy>-1</iMaxAnarchy>
<iUpkeepModifier>0</iUpkeepModifier>
<iLevelExperienceModifier>0</iLevelExperienceModifier>
<iGreatPeopleRateModifier>0</iGreatPeopleRateModifier>
<iGreatGeneralRateModifier>0</iGreatGeneralRateModifier>
<iDomesticGreatGeneralRateModifier>0</iDomesticGreatGeneralRateModifier>
<iMaxGlobalBuildingProductionModifier>0</iMaxGlobalBuildingProductionModifier>
<iMaxTeamBuildingProductionModifier>0</iMaxTeamBuildingProductionModifier>
<iMaxPlayerBuildingProductionModifier>0</iMaxPlayerBuildingProductionModifier>
<ExtraYieldThresholds/>
<TradeYieldModifiers/>
<CommerceChanges>
<iCommerce>0</iCommerce>
<iCommerce>0</iCommerce>
<iCommerce>0</iCommerce>
<iCommerce>2</iCommerce>
</CommerceChanges>
<CommerceModifiers/>
<FreePromotions/>
<FreePromotionUnitCombats/>
</TraitInfo>
<TraitInfo>
<Type>TRAIT_NAUTICAL</Type>
<Description>TXT_KEY_TRAIT_NAUTICAL</Description>
<ShortDescription>TXT_KEY_TRAIT_NAUTICAL_SHORT</ShortDescription>
<iHealth>0</iHealth>
<iHappiness>0</iHappiness>
<iMaxAnarchy>-1</iMaxAnarchy>
<iUpkeepModifier>0</iUpkeepModifier>
<iLevelExperienceModifier>0</iLevelExperienceModifier>
<iGreatPeopleRateModifier>0</iGreatPeopleRateModifier>
<iGreatGeneralRateModifier>0</iGreatGeneralRateModifier>
<iDomesticGreatGeneralRateModifier>0</iDomesticGreatGeneralRateModifier>
<iMaxGlobalBuildingProductionModifier>0</iMaxGlobalBuildingProductionModifier>
<iMaxTeamBuildingProductionModifier>0</iMaxTeamBuildingProductionModifier>
<iMaxPlayerBuildingProductionModifier>0</iMaxPlayerBuildingProductionModifier>
<ExtraYieldThresholds/>
<TradeYieldModifiers/>
<CommerceChanges/>
<CommerceModifiers/>
<FreePromotions/>
<FreePromotionUnitCombats/>
</TraitInfo>
<TraitInfo>
<Type>TRAIT_RESOURCEFUL</Type>
<Description>TXT_KEY_TRAIT_RESOURCEFUL</Description>
<ShortDescription>TXT_KEY_TRAIT_RESOURCEFUL_SHOR T</ShortDescription>
<iHealth>0</iHealth>
<iHappiness>0</iHappiness>
<iMaxAnarchy>-1</iMaxAnarchy>
<iUpkeepModifier>0</iUpkeepModifier>
<iLevelExperienceModifier>0</iLevelExperienceModifier>
<iGreatPeopleRateModifier>0</iGreatPeopleRateModifier>
<iGreatGeneralRateModifier>0</iGreatGeneralRateModifier>
<iDomesticGreatGeneralRateModifier>0</iDomesticGreatGeneralRateModifier>
<iMaxGlobalBuildingProductionModifier>0</iMaxGlobalBuildingProductionModifier>
<iMaxTeamBuildingProductionModifier>0</iMaxTeamBuildingProductionModifier>
<iMaxPlayerBuildingProductionModifier>0</iMaxPlayerBuildingProductionModifier>
<ExtraYieldThresholds>
<iExtraYieldThreshold>0</iExtraYieldThreshold>
<iExtraYieldThreshold>4</iExtraYieldThreshold>
<iExtraYieldThreshold>0</iExtraYieldThreshold>
</ExtraYieldThresholds>
<TradeYieldModifiers/>
<CommerceChanges/>
<CommerceModifiers/>
<FreePromotions/>
<FreePromotionUnitCombats/>
</TraitInfo>
</TraitInfos>
</Civ4TraitInfos>
Could not having an "ini" file be part of the problem?
__________________
Modding: The Ultimate in Replay Value
Bahmo is offline   Reply With Quote
Old May 29, 2009, 10:55 PM   #10
mechaerik
Dry Bones
 
mechaerik's Avatar
 
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,539
If you know how to change file extensions, you could make a copy and change the extension to .zip or so. It won't be compressed, but you would be able to upload it.


Also, what does the "Nautical" trait do? Does it have some python related function that may be malfunctioning?
mechaerik is offline   Reply With Quote
Old May 30, 2009, 06:52 PM   #11
Bahmo
King
 
Bahmo's Avatar
 
Join Date: May 2006
Posts: 822
It gives a production bonus for certain naval units. I might also add a promotion. That's not done, so now, it really doesn't do anything, but I don't see why that would make it malfunction.

Edit: What is it you'd want me to upload?
__________________
Modding: The Ultimate in Replay Value
Bahmo is offline   Reply With Quote
Old May 31, 2009, 04:20 AM   #12
zyphyr
Prince
 
Join Date: Oct 2005
Posts: 461
When you say 'it isn't working', what exactly is/is not happening.

Does the game spit out an error when loading?
If it loads, does whatever leader you have assigned the trait to have it listed?
If it is listed for the leader, is it simply not doing anything in game?
zyphyr is offline   Reply With Quote
Old May 31, 2009, 03:18 PM   #13
Bahmo
King
 
Bahmo's Avatar
 
Join Date: May 2006
Posts: 822
The mod loads, but that's it. The new traits are neither displayed when you choose/look up a leader, nor do they have their effects.
__________________
Modding: The Ultimate in Replay Value
Bahmo is offline   Reply With Quote
Old May 31, 2009, 04:23 PM   #14
mechaerik
Dry Bones
 
mechaerik's Avatar
 
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,539
This is a little obvious, but did you edit the LeaderHeadInfos?
mechaerik is offline   Reply With Quote
Old May 31, 2009, 11:47 PM   #15
Bahmo
King
 
Bahmo's Avatar
 
Join Date: May 2006
Posts: 822
Indeed I did, although not all of them, just a few to test the mod.

Edit: Would you like me to post that, too?

Also, you have not answered whether maybe not having a custom ini may be the problem!
__________________
Modding: The Ultimate in Replay Value
Bahmo is offline   Reply With Quote
Old Jun 01, 2009, 04:56 PM   #16
mechaerik
Dry Bones
 
mechaerik's Avatar
 
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,539
I don't think so, but you can just copy one from another mod and rename it if you want to try it.
mechaerik is offline   Reply With Quote
Old Jun 01, 2009, 09:33 PM   #17
Bahmo
King
 
Bahmo's Avatar
 
Join Date: May 2006
Posts: 822
Failure here, too. Here's an interesting question. For whatever reason, my laptop does not allow me to modify and save files in the program folders. I found a way around it, in the form of doing them somewhere else and then copying them into the folders, but could that be responsible for a malfunction?

Edit: I did another experiment, where I spliced the stuff into another mod, which had a bunch of errors at the start. Apparently, my new text file may be part of the problem, so I'll post it now.

Quote:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- This is an addition to the Expanded Traits mod for Beyond the Sword -->
<Civ4GameText xmlns="http://www.firaxis.com">

<TEXT>
<Tag>TXT_KEY_TRAIT_SCIENTIFIC</Tag>
<English>Scientific</English>
<French>
<Text>Scientifique</Text>
<Gender>Male</Gender>
<Plural>0</Plural>
</French>
<German>
<Text>Scientifisch:scientifisches</Text>
<Gender>Male:Neuter</Gender>
<Plural>0:0</Plural>
</German>
<Italian>
<Text>Scientifico:Scientifica</Text>
<Gender>Male:Female</Gender>
<Plural>0</Plural>
</Italian>
<Spanish>
<Text>Scientifico:Scientifica</Text>
<Gender>Male:Female</Gender>
<Plural>0</Plural>
</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_KEY_TRAIT_AGRARIAN</Tag>
<English>Agrarian</English>
<French>
<Text>Agrarian</Text>
<Gender>Male</Gender>
<Plural>0</Plural>
</French>
<German>
<Text>Agrarian:Agrarian</Text>
<Gender>Male:Neuter</Gender>
<Plural>0:0</Plural>
</German>
<Italian>
<Text>Agrarian:Agrarian</Text>
<Gender>Male:Female</Gender>
<Plural>0</Plural>
</Italian>
<Spanish>
<Text>Agrarian:Agrarian</Text>
<Gender>Male:Female</Gender>
<Plural>0</Plural>
</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_KEY_TRAIT_CONNIVING</Tag>
<English>Conniving</English>
<French>
<Text>Conniving</Text>
<Gender>Male</Gender>
<Plural>0</Plural>
</French>
<German>
<Text>Conniving:Conniving</Text>
<Gender>Male:Neuter</Gender>
<Plural>0:0</Plural>
</German>
<Italian>
<Text>Conniving:Conniving</Text>
<Gender>Male:Female</Gender>
<Plural>0</Plural>
</Italian>
<Spanish>
<Text>Conniving:Conniving</Text>
<Gender>Male:Female</Gender>
<Plural>0</Plural>
</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_KEY_TRAIT_NAUTICAL</Tag>
<English>Nautical</English>
<French>
<Text>Nautical</Text>
<Gender>Male</Gender>
<Plural>0</Plural>
</French>
<German>
<Text>Nautical:Nautical</Text>
<Gender>Male:Neuter</Gender>
<Plural>0:0</Plural>
</German>
<Italian>
<Text>Nautical:Nautical</Text>
<Gender>Male:Female</Gender>
<Plural>0</Plural>
</Italian>
<Spanish>
<Text>Nautical:Nautical</Text>
<Gender>Male:Female</Gender>
<Plural>0</Plural>
</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_KEY_TRAIT_RESOURCEFUL</Tag>
<English>Resourceful</English>
<French>
<Text>Resourceful</Text>
<Gender>Male</Gender>
<Plural>0</Plural>
</French>
<German>
<Text>Resourceful:Resourceful</Text>
<Gender>Male:Neuter</Gender>
<Plural>0:0</Plural>
</German>
<Italian>
<Text>Resourceful:Resourceful</Text>
<Gender>Male:Female</Gender>
<Plural>0</Plural>
</Italian>
<Spanish>
<Text>Resourceful:Resourceful</Text>
<Gender>Male:Female</Gender>
<Plural>0</Plural>
</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_KEY_TRAIT_SCIENTIFIC_SHORT</Tag>
<English>Sci</English>
<French>Sci</French>
<German>Sci</German>
<Italian>Sci</Italian>
<Spanish>Sci</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_KEY_TRAIT_AGRARIAN_SHORT</Tag>
<English>Agr</English>
<French>Agr</French>
<German>Agr</German>
<Italian>Agr</Italian>
<Spanish>Agr</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_KEY_TRAIT_CONNIVING_SHORT</Tag>
<English>Con</English>
<French>Con</French>
<German>Con</German>
<Italian>Con</Italian>
<Spanish>Con</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_KEY_TRAIT_NAUTICAL_SHORT</Tag>
<English>Nau</English>
<French>Nau</French>
<German>Nau</German>
<Italian>Nau</Italian>
<Spanish>Nau</Spanish>
</TEXT>
<TEXT>
<Tag>TXT_KEY_TRAIT_RESOURCEFUL_SHORT</Tag>
<English>Res</English>
<French>Res</French>
<German>Res</German>
<Italian>Res</Italian>
<Spanish>Res</Spanish>
</TEXT>

</Civ4GameText>
Apparently, the comment about the mod in the second line has incorrect syntax. I can't see why, exactly; that looks about like a valid commend to me. The other errors perhaps had to do with the fact that I didn't include the old traits here in the new file, but I have my doubts, as Warlords (which I looked at to make this) didn't do that, either. Any help?
__________________
Modding: The Ultimate in Replay Value

Last edited by Bahmo; Jun 01, 2009 at 09:45 PM.
Bahmo is offline   Reply With Quote
Old Jun 02, 2009, 11:19 AM   #18
mechaerik
Dry Bones
 
mechaerik's Avatar
 
Join Date: Oct 2008
Location: Los Angeles
Posts: 5,539
If you use Notepad++, it would be easier to see errors, because the tags are clearly identified and it points out errors in Red.
mechaerik is offline   Reply With Quote
Old Jun 02, 2009, 11:51 PM   #19
Bahmo
King
 
Bahmo's Avatar
 
Join Date: May 2006
Posts: 822
Well, I don't have that program. Recall that in its own mod, this file wasn't read at all; the mod just loaded without it.
__________________
Modding: The Ultimate in Replay Value
Bahmo is offline   Reply With Quote
Old Jun 03, 2009, 01:01 AM   #20
phungus420
Deity
 
phungus420's Avatar
 
Join Date: Mar 2003
Posts: 6,296
If I were you I'd start over. And try to add a single trait first, get that to work and then move on to adding others. Much easier to debug and begin working on things if you focus on a single addition rather then go for a whole slew of additions. Also makes it much harder for those of us trying to help you to focus on what the issue could be with so many different additions.
__________________
Do not PM me with questions about modding. I will not answer. If you want help with something, start a thread on it, or post in a related existing thread.
phungus420 is offline   Reply With Quote
Reply

Bookmarks

Go Back Civilization Fanatics' Forums > CIVILIZATION IV > Civ4 - Creation & Customization > I need a good tutorial on how to add traits!

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[TUTORIAL] MY Add a Civ Tutorial Charcoal Civ4 - Modding Tutorials & Reference 357 May 02, 2013 01:54 PM
Tutorial: How to add a new leader in the game frenchman Civ3 - Tutorials, Reference, & Guides 48 Jun 20, 2012 08:36 AM
How do I add my own new traits? Cía Civ4 - Creation & Customization 1 Aug 04, 2008 04:35 AM
I propose to create a tutorial : how to add a new civ in the game frenchman Civ3 - Creation & Customization 8 Jul 23, 2004 05:55 AM


Advertisement

All times are GMT -6. The time now is 05:26 AM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
This site is copyright © Civilization Fanatics' Center.
Support CFC: Amazon.com | Amazon UK | Amazon DE | Amazon CA | Amazon FR