Oberon4278
Chieftain
- Joined
- Dec 8, 2005
- Messages
- 28
Hi, I've got ModBuddy downloaded but I'm finding the lack of documentation pretty discouraging. (Okay, I'm actually pretty pissed off at the lack of documentation. Is this seriously how a world class game studio operates?) I'd like to change the Aztec's Eagle Warrior to Eagle Scout, have it replace the Scout instead of Warrior, and make the Aztecs start the game with an Eagle Scout instead of a Warrior. Here's the default XML for the Eagle Warrior:
So presumably I need to change PromotionClass, some UnitAiInfos, ReplacesUnitType and UpgradeUnit. However, I don't know what to change these values to. I could guess; "UNIT_RANGER" seems like a pretty good guess for what a scout upgrades to, but I have a hard time believing that everyone who makes mods is just doing guesswork.
I did poke around the normal game files to try to find a list of standard units so I can see their attributes, but I didn't have much luck.
Code:
<Units>
<Row UnitType="UNIT_AZTEC_EAGLE_WARRIOR" BaseMoves="2" Cost="65" BaseSightRange="2" ZoneOfControl="true" Domain="DOMAIN_LAND" FormationClass="FORMATION_CLASS_LAND_COMBAT" Name="LOC_UNIT_AZTEC_EAGLE_WARRIOR_NAME" Description="LOC_UNIT_AZTEC_EAGLE_WARRIOR_DESCRIPTION" PurchaseYield="YIELD_GOLD" PromotionClass="PROMOTION_CLASS_MELEE" Combat="28" TraitType="TRAIT_CIVILIZATION_UNIT_AZTEC_EAGLE_WARRIOR"/>
</Units>
<UnitAiInfos>
<Row UnitType="UNIT_AZTEC_EAGLE_WARRIOR" AiType="UNITAI_COMBAT"/>
<Row UnitType="UNIT_AZTEC_EAGLE_WARRIOR" AiType="UNITAI_EXPLORE"/>
<Row UnitType="UNIT_AZTEC_EAGLE_WARRIOR" AiType="UNITTYPE_MELEE"/>
<Row UnitType="UNIT_AZTEC_EAGLE_WARRIOR" AiType="UNITTYPE_LAND_COMBAT"/>
</UnitAiInfos>
<UnitReplaces>
<Row CivUniqueUnitType="UNIT_AZTEC_EAGLE_WARRIOR" ReplacesUnitType="UNIT_WARRIOR"/>
</UnitReplaces>
<UnitUpgrades>
<Row Unit="UNIT_AZTEC_EAGLE_WARRIOR" UpgradeUnit="UNIT_SWORDSMAN"/>
</UnitUpgrades>
So presumably I need to change PromotionClass, some UnitAiInfos, ReplacesUnitType and UpgradeUnit. However, I don't know what to change these values to. I could guess; "UNIT_RANGER" seems like a pretty good guess for what a scout upgrades to, but I have a hard time believing that everyone who makes mods is just doing guesswork.
I did poke around the normal game files to try to find a list of standard units so I can see their attributes, but I didn't have much luck.