M MisterBarca Prince Joined May 22, 2006 Messages 536 Jul 27, 2007 #1 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?
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?
Dale Mohawk Games Developer Joined Mar 14, 2002 Messages 7,846 Jul 27, 2007 #2 No, strength is in that file too. Land/sea based: iCombat Air based: iAirCombat
M MisterBarca Prince Joined May 22, 2006 Messages 536 Jul 27, 2007 #3 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
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
Dale Mohawk Games Developer Joined Mar 14, 2002 Messages 7,846 Jul 27, 2007 #4 Try the tutorial forum.
M MisterBarca Prince Joined May 22, 2006 Messages 536 Jul 28, 2007 #5 Dale said: Try the tutorial forum. Click to expand... I found stuff on how to add units, but not how to edit units. The simpler things are neglected? Could you just tell me how to add promotions to a unit, please?
Dale said: Try the tutorial forum. Click to expand... I found stuff on how to add units, but not how to edit units. The simpler things are neglected? Could you just tell me how to add promotions to a unit, please?
Dale Mohawk Games Developer Joined Mar 14, 2002 Messages 7,846 Jul 28, 2007 #6 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>
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>