• Our friends from AlphaCentauri2.info are in need of technical assistance. If you have experience with the LAMP stack and some hours to spare, please help them out and post here.

How do I change unit strength stats in Warlords?

MisterBarca

Prince
Joined
May 22, 2006
Messages
536
In the XML folder, I found a "Civ4UnitInfos" file, but I only found the numbers for the cost, not strength. Is the strength number in another file?
 
No, strength is in that file too.

Land/sea based: iCombat
Air based: iAirCombat
 
I found it. Thanks!

One more favor: How do I add promotions? Thanks.

Perhaps it's better if you can direct me to a guide on how to edit units overall :cool:
 
Try the tutorial forum. :)
 
No probs. lol.

Near the bottom of a unit's definition in Civ4UnitInfos.xml is the following (no promotion shows as <FreePromotions/>).

Code:
			<FreePromotions>
				<FreePromotion>
					<PromotionType>PROMOTION_AMPHIBIOUS</PromotionType>
					<bFreePromotion>1</bFreePromotion>
				</FreePromotion>
			</FreePromotions>
 
Back
Top Bottom