Onionsoilder
Reaver
- Joined
- Mar 19, 2007
- Messages
- 3,173
Alright, so I'm playing a mod that uses Minor Tribes(essentially the equivalent of Always War until you discover Writing). Now really a bad thing in and of itself. However, on Monarch and above, the A.I. starts with Archers. Now, Babylon is my neighbor.
...
I'll just let you think about that for a moment.
Now only does Hammy have Archers, while I only have Warriors, his Archers get +50% against melee units. Meaning it's essentially 4.5
(with a first strike, mind you) against my 3
warrior after all of the combat modifiers. There was nothing I could do, or have done differently. I lost the game.
Basically, I want to make sure that doesn't happen next game. I want to change the Bowman's +50% against Melee units to a +50% defense against Melee units. Now, I pulled up the Unit Infos XML and I'm looking at the bowman section right now, and it says:
<UnitCombatMods>
<UnitCombatMod>
<UnitCombatType>UNITCOMBAT_MELEE</UnitCombatType>
<iUnitCombatMod>50</iUnitCombatMod>
</UnitCombatMod>
</UnitCombatMods>
Now, I'm guessing this is the part that gives it +50% against melee. What I want to know, is how to change this to defense. Is it just
<UnitCombatType>UNITDEFENSE_MELEE</UnitCombatType>
or something else?
...
I'll just let you think about that for a moment.
Now only does Hammy have Archers, while I only have Warriors, his Archers get +50% against melee units. Meaning it's essentially 4.5


Basically, I want to make sure that doesn't happen next game. I want to change the Bowman's +50% against Melee units to a +50% defense against Melee units. Now, I pulled up the Unit Infos XML and I'm looking at the bowman section right now, and it says:
<UnitCombatMods>
<UnitCombatMod>
<UnitCombatType>UNITCOMBAT_MELEE</UnitCombatType>
<iUnitCombatMod>50</iUnitCombatMod>
</UnitCombatMod>
</UnitCombatMods>
Now, I'm guessing this is the part that gives it +50% against melee. What I want to know, is how to change this to defense. Is it just
<UnitCombatType>UNITDEFENSE_MELEE</UnitCombatType>
or something else?