I did a XML and I can activate the mod. In the properties the Action of the mod is correct, but later this doesn't work when I play. The mod I have made only changes the strenght of some units in the expansion Gods & Kings. The XML contains the next:
I don't know if this needs SQL; anyway that I don't know how to works SQL.
Code:
<?xml version="1.0" encoding="utf-16"?>
<!-- Created by ModBuddy on 7/6/2012 4:32:14 PM -->
<GameData>
<Units>
<Update>
<Where Type="UNIT_MISSILE_CRUISER"/>
<Set Combat="75"/>
</Update>
<Update>
<Where Type="UNIT_BATTLESHIP"/>
<Set Combat="80"/>
<Set RangedCombat="100"/>
</Update>
<Update>
<Where Type="UNIT_FRIGATE"/>
<Set Combat="30"/>
<Set RangedCombat="32"/>
</Update>
<Update>
<Where Type="UNIT_SHIPOFTHELINE"/>
<Set Combat="30"/>
<Set RangedCombat="35"/>
</Update>
<Update>
<Where Type="UNIT_DESTROYER"/>
<Set Combat="60"/>
</Update>
<Update>
<Where Type="UNIT_SUBMARINE"/>
<Set Combat="45"/>
<Set RangedCombat="60"/>
</Update>
<Update>
<Where Type="UNIT_NUCLEAR_SUBMARINE"/>
<Set Combat="55"/>
<Update>
<Where Type="UNIT_INFANTRY"/>
<Set Combat="65"/>
</Update>
<Update>
<Where Type="UNIT_TANK"/>
<Set Combat="75"/>
</Update>
<Update>
<Where Type="UNIT_MARINE"/>
<Set Combat="75"/>
</Update>
<Update>
<Where Type="UNIT_PARATROOPER"/>
<Set Combat="75"/>
</Update>
<Update>
<Where Type="UNIT_PRIVATEER"/>
<Set Combat="30"/>
</Update>
<Update>
<Where Type="UNIT_DUTCH_SEA_BEGGAR"/>
<Set Combat="30"/>
</Update>
<Update>
<Where Type="UNIT_HELICOPTER_GUNSHIP"/>
<Set Combat="80"/>
</Update>
<Update>
<Where Type="UNIT_CAVALRY"/>
<Set Combat="38"/>
</Update>
<Update>
<Where Type="UNIT_RUSSIAN_COSSACK"/>
<Set Combat="38"/>
</Update>
<Update>
<Where Type="UNIT_AUSTRIAN_HUSSAR"/>
<Set Combat="38"/>
</Update>
</Units>
</GameData>
I don't know if this needs SQL; anyway that I don't know how to works SQL.