Please help with basic traits mod

bkwrm79

Prince
Joined
Nov 17, 2003
Messages
391
I feel really stupid, as I made a couple traits mods for vanilla Civ4, but now I can't figure out what I did. I remember visiting this section of the board and getting the help I needed that time though, so I decided to come back.

I know how to set up the folder structure eg C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Warlords\Mods\My Celtic OCC Mod\Assets\XML\Civilizations

However, when I look at my vanilla mods, I also see a file with the name of the mod and then "Configuration Settings." How do I create that?

My plan is to make the Celts Philosophical and Industrious, and give the Gallic Swordsman Woodsman I (keeping Guerrilla I as well).

Thanks for any help!

Edited to add: I'm also having trouble finding the file that contains free promotions.
 
There is no file that contains free promotions. All promotions come from CIV4PromotionInfos.xml. You'll need to however do the following:

1) Edit unitinfos.xml and find the gallic warrior. Under the promotions, add:
Code:
			<FreePromotions>
				<FreePromotion>
					<PromotionType>PROMOTION_GUERILLA1</PromotionType>
					<bFreePromotion>1</bFreePromotion>
				</FreePromotion>
				<FreePromotion>
					<PromotionType>PROMOTION_WOODSMAN1</PromotionType>
					<bFreePromotion>1</bFreePromotion>
				</FreePromotion>
			</FreePromotions>

2) Open Civ4Leadheadinfos.xml and find Brennus. Under <Traits> edit it to:
Code:
			<Traits>
				<Trait>
					<TraitType>TRAIT_PHILOSOPHICAL</TraitType>
					<bTrait>1</bTrait>
				</Trait>
				<Trait>
					<TraitType>TRAIT_INDUSTRIOUS</TraitType>
					<bTrait>1</bTrait>
				</Trait>
			</Traits>

Save both files in your mod folder under the correct directory structure, start the game and choose the mode. This will make Celts have the traits you want and the UU with an additional free promotion.
 
Thanks Ocedius! That's very helpful.

Sorry my post was confusing. I think you already figured it out - your advice seems to be exactly what I was asking for. Just in case:

I am making a mod for Warlords. I know some stuff because I did something similar for vanilla, but I can't remember it all.

The other question I asked regards the Configuration Settings File. But I tried just doing what you said, and it seems to be working perfectly, so I guess that must get created automatically.

I love Phil/Ind, whether it's overpowered or not. :) And playing a One City Challenge I need some sort of edge.

Thanks again.
 
Back
Top Bottom