Register     Password recovery
username Username:
password Password:
For the Kingdom Lords

Script for map For the Kingdom Lords

Too confusing? Check out scripting manual
Start a game on this map
View map

5 Lords against 1 invader - Customized game - Realistic map. The Orcs have gathering a lot of troops. And are now ready for a huge invasion... The Kingdom will be invaded soon ! Prepare your defense Lords of the Kingdom ! Objectives : RED KING MUST SURVIVE. If he is killed : Purple win. EVERY TROLL MASTERS MUST SURVIVE. If 1 is killed : Purple Lose. Moreover : If a purple unit move to the red castle : The kingdom lose. And if a Lord unit move to purple castle : Lords win ! Invader : You Will have Orcs and Trolls. They can't use Heal. But they are very strong. Only Smart Orcs can use heal, and he have a fire attack. Let's kill these misbeliever humans ! Lords : You Will have 1 King, 1 customized Ranger and 1 scout horse. Defend your bases from this huge invasion ! You will need teamplay and to use deep strategies to win this ! And coordinate your attack to kill theses powerful Orcs ! (All customized units will spawn ingame !) Both sides will have renforts ingame. If a lord lost his Fort, he will have somes new units closer red. To prepare a new defensive point. After 32 rounds purple is defeated ! - Have Fun -
<script>
  <setup>
    <action type="customizeRuleset" elementId="0">
      <update property="building.resourceProduction" elementId="2" resourceId="1" value="150"/>
      <update property="building.resourceProduction" elementId="3" resourceId="1" value="200"/>
      <update property="building.resourceProduction" elementId="9" resourceId="1" value="350"/>
    </action>
    <action type="customizeRuleset" elementId="1">
      <update property="building.buildsUnits" elementId="3" unitId="1" value="0"/>
    </action>
    <action type="customizeRuleset" elementId="14">
      <update property="unit.primaryMovementPoints" value="3"/>
    </action>
    <action type="customizeRuleset" elementId="45">
      <update property="unit.primaryMovementPoints" value="3"/>
      <update property="unit.secondaryMovementPoints" value="3"/>
      <update property="unit.price" resourceId="1" value="300"/>
    </action>
    <action type="customizeRuleset" elementId="18">
      <update property="unit.defense" value="8"/>
      <update property="unit.price" resourceId="1" value="500"/>
      <update property="unit.weapon.minDamage" value="7"/>
      <update property="unit.weapon.maxDamage" value="7"/>
      <update property="unit.weapon.attackingBonus" value="5"/>
      <update property="unit.weapon.unitBonuses" unitId="16" value="0"/>
    </action>
    <action type="customizeRuleset" elementId="19">
      <update property="building.buildsUnits" elementId="8" unitId="19" value="0"/>
      <update property="unit.weapon.attackingBonus" value="1"/>
    </action>
    <action type="copyMetaUnit" basedOn="8" id="10007" name="Scout"/>
    <action type="customizeRuleset" elementId="10007">
      <update property="unit.clipName" value="MedievalKnight2"/>
      <update property="unit.price" resourceId="1" value="850"/>
      <update property="unit.visionPoints" value="4"/>
      <update property="unit.health" value="12"/>
      <update property="unit.repairs" value="2"/>
      <update property="unit.primaryMovementPoints" value="6"/>
      <update property="unit.secondaryMovementPoints" value="4"/>
      <update property="unit.weapon.minDamage" value="6"/>
      <update property="unit.weapon.maxDamage" value="6"/>
      <update property="unit.weapon.attackingBonus" value="3"/>
      <update property="unit.defense" value="10"/>
      <update property="unit.weapon.targetDefensePenalty" value="15"/>
      <update property="building.buildsUnits" elementId="3" unitId="10007" value="0"/>
      <update property="building.buildsUnits" elementId="4" unitId="10007" value="0"/>
    </action>
    <action type="copyMetaUnit" basedOn="9" id="10008" name="Ranger"/>
    <action type="customizeRuleset" elementId="10008">
      <update property="unit.clipName" value="MedievalArcher2"/>
      <update property="unit.blocks" unitId="10008" value="0"/>
      <update property="unit.health" value="11"/>
      <update property="unit.repairs" value="1"/>
      <update property="unit.price" resourceId="1" value="800"/>
      <update property="unit.secondaryMovementPoints" value="2"/>
      <update property="unit.primaryMovementPoints" value="2"/>
      <update property="unit.defense" value="3"/>
      <update property="unit.weapon.usage" value="default"/>
      <update property="unit.weapon.minDamage" value="5"/>
      <update property="unit.weapon.maxDamage" value="5"/>
      <update property="unit.weapon.attackingBonus" value="3"/>
      <update property="unit.weapon.targetDefensePenalty" value="5"/>
      <update property="building.buildsUnits" elementId="1" unitId="10008" value="0"/>
      <update property="building.buildsUnits" elementId="2" unitId="10008" value="1"/>
    </action>
    <action type="copyMetaUnit" basedOn="6" id="10001" name="Berserk"/>
    <action type="customizeRuleset" elementId="10001">
      <update property="unit.clipName" value="MedievalOgre"/>
      <update property="unit.blocks" unitId="10001" value="0"/>
      <update property="unit.defense" value="9"/>
      <update property="unit.health" value="25"/>
      <update property="unit.repairs" value="1"/>
      <update property="unit.weapon.minDamage" value="8"/>
      <update property="unit.weapon.maxDamage" value="8"/>
      <update property="unit.price" resourceId="1" value="800"/>
      <update property="unit.secondaryMovementPoints" value="1"/>
      <update property="unit.weapon.attackingBonus" value="5"/>
      <update property="building.buildsUnits" elementId="1" unitId="10001" value="0"/>
      <update property="building.buildsUnits" elementId="2" unitId="10001" value="0"/>
      <update property="building.buildsUnits" elementId="3" unitId="10001" value="0"/>
      <update property="building.buildsUnits" elementId="4" unitId="10001" value="0"/>
      <update property="building.buildsUnits" elementId="5" unitId="10001" value="0"/>
      <update property="building.buildsUnits" elementId="6" unitId="10001" value="0"/>
      <update property="building.buildsUnits" elementId="7" unitId="10001" value="0"/>
      <update property="building.buildsUnits" elementId="8" unitId="10001" value="0"/>
      <update property="building.buildsUnits" elementId="9" unitId="10001" value="1"/>
      <update property="building.buildsUnits" elementId="21" unitId="10001" value="0"/>
    </action>
    <action type="copyMetaUnit" basedOn="2" id="10020" name="Smart Orc"/>
    <action type="customizeRuleset" elementId="10020">
      <update property="unit.clipName" value="MedievalDwarf"/>
      <update property="unit.blocks" unitId="10020" value="0"/>
      <update property="unit.weapon.minDamage" value="9"/>
      <update property="unit.weapon.maxDamage" value="9"/>
      <update property="unit.defense" value="9"/>
      <update property="unit.health" value="16"/>
      <update property="unit.repairs" value="3"/>
      <update property="unit.price" resourceId="1" value="900"/>
      <update property="unit.secondaryMovementPoints" value="2"/>
      <update property="unit.weapon.attackingBonus" value="3"/>
      <update property="building.buildsUnits" elementId="1" unitId="10020" value="0"/>
      <update property="building.buildsUnits" elementId="2" unitId="10020" value="0"/>
      <update property="building.buildsUnits" elementId="3" unitId="10020" value="0"/>
      <update property="building.buildsUnits" elementId="4" unitId="10020" value="0"/>
      <update property="building.buildsUnits" elementId="5" unitId="10020" value="0"/>
      <update property="building.buildsUnits" elementId="6" unitId="10020" value="0"/>
      <update property="building.buildsUnits" elementId="7" unitId="10020" value="0"/>
      <update property="building.buildsUnits" elementId="8" unitId="10020" value="0"/>
      <update property="building.buildsUnits" elementId="9" unitId="10020" value="0"/>
      <update property="building.buildsUnits" elementId="21" unitId="10020" value="0"/>
    </action>
    <action type="copyMetaUnit" basedOn="6" id="10002" name="The King"/>
    <action type="customizeRuleset" elementId="10002">
      <update property="unit.weapon.minDamage" value="10"/>
      <update property="unit.weapon.maxDamage" value="10"/>
      <update property="unit.clipName" value="MedievalKing"/>
      <update property="unit.blocks" unitId="10002" value="0"/>
      <update property="unit.defense" value="12"/>
      <update property="unit.health" value="15"/>
      <update property="unit.price" resourceId="1" value="1000"/>
      <update property="unit.repairs" value="3"/>
      <update property="unit.weapon.attackingBonus" value="1"/>
      <update property="unit.secondaryMovementPoints" value="2"/>
      <update property="unit.buildingDefenseBonuses" buildingId="2" value="5"/>
      <update property="unit.buildingDefenseBonuses" buildingId="3" value="7"/>
      <update property="building.buildsUnits" elementId="1" unitId="10002" value="0"/>
      <update property="building.buildsUnits" elementId="2" unitId="10002" value="0"/>
      <update property="building.buildsUnits" elementId="3" unitId="10002" value="0"/>
      <update property="building.buildsUnits" elementId="4" unitId="10002" value="0"/>
      <update property="building.buildsUnits" elementId="5" unitId="10002" value="0"/>
      <update property="building.buildsUnits" elementId="6" unitId="10002" value="0"/>
      <update property="building.buildsUnits" elementId="7" unitId="10002" value="0"/>
      <update property="building.buildsUnits" elementId="8" unitId="10002" value="0"/>
      <update property="building.buildsUnits" elementId="9" unitId="10002" value="0"/>
      <update property="building.buildsUnits" elementId="21" unitId="10002" value="0"/>
    </action>
    <action type="copyMetaUnit" basedOn="6" id="10003" name="Heavy Infantry"/>
    <action type="customizeRuleset" elementId="10003">
      <update property="unit.clipName" value="MedievalHeavyInfantry"/>
      <update property="unit.price" resourceId="1" value="800"/>
      <update property="unit.primaryMovementPoints" value="4"/>
      <update property="unit.visionPoints" value="4"/>
      <update property="unit.defense" value="11"/>
      <update property="unit.repairs" value="2"/>
      <update property="unit.weapon.minDamage" value="10"/>
      <update property="unit.weapon.maxDamage" value="10"/>
      <update property="unit.weapon.attackingBonus" value="3"/>
      <update property="unit.health" value="13"/>
      <update property="unit.repairsOnBuildings" buildingId="1" value="2"/>
      <update property="unit.repairsOnBuildings" buildingId="2" value="2"/>
      <update property="unit.repairsOnBuildings" buildingId="3" value="3"/>
      <update property="unit.repairsOnBuildings" buildingId="4" value="2"/>
      <update property="unit.repairsOnBuildings" buildingId="5" value="3"/>
      <update property="unit.repairsOnBuildings" buildingId="6" value="2"/>
      <update property="unit.repairsOnBuildings" buildingId="7" value="2"/>
      <update property="unit.repairsOnBuildings" buildingId="21" value="2"/>
      <update property="unit.repairsOnBuildings" buildingId="8" value="2"/>
      <update property="unit.repairsOnBuildings" buildingId="9" value="2"/>
      <update property="unit.weapon.targetDefensePenalty" value="10"/>
      <update property="unit.buildingDefenseBonuses" buildingId="2" value="5"/>
      <update property="unit.buildingDefenseBonuses" buildingId="3" value="6"/>
      <update property="unit.terrainDefenseBonuses" terrainId="4" value="4"/>
      <update property="building.buildsUnits" elementId="1" unitId="10003" value="0"/>
      <update property="building.buildsUnits" elementId="2" unitId="10003" value="0"/>
      <update property="building.buildsUnits" elementId="3" unitId="10003" value="1"/>
      <update property="building.buildsUnits" elementId="4" unitId="10003" value="0"/>
      <update property="building.buildsUnits" elementId="5" unitId="10003" value="0"/>
      <update property="building.buildsUnits" elementId="6" unitId="10003" value="0"/>
      <update property="building.buildsUnits" elementId="7" unitId="10003" value="0"/>
      <update property="building.buildsUnits" elementId="8" unitId="10003" value="0"/>
      <update property="building.buildsUnits" elementId="21" unitId="10003" value="0"/>
    </action>
    <action type="copyMetaUnit" basedOn="6" id="10005" name="TROLL"/>
    <action type="customizeRuleset" elementId="10005">
      <update property="unit.clipName" value="MedievalDwarfMaster"/>
      <update property="unit.price" resourceId="1" value="1000"/>
      <update property="unit.blocks" unitId="10005" value="0"/>
      <update property="unit.defense" value="7"/>
      <update property="unit.health" value="66"/>
      <update property="unit.repairs" value="0"/>
      <update property="unit.weapon.attackingBonus" value="3"/>
      <update property="building.buildsUnits" elementId="1" unitId="10005" value="0"/>
      <update property="building.buildsUnits" elementId="2" unitId="10005" value="0"/>
      <update property="building.buildsUnits" elementId="3" unitId="10005" value="0"/>
      <update property="building.buildsUnits" elementId="4" unitId="10005" value="0"/>
      <update property="building.buildsUnits" elementId="5" unitId="10005" value="0"/>
      <update property="building.buildsUnits" elementId="6" unitId="10005" value="0"/>
      <update property="building.buildsUnits" elementId="7" unitId="10005" value="0"/>
      <update property="building.buildsUnits" elementId="8" unitId="10005" value="0"/>
      <update property="building.buildsUnits" elementId="21" unitId="10005" value="0"/>
    </action>
    <action type="copyMetaUnit" basedOn="6" id="10009" name="TROLL MASTER"/>
    <action type="customizeRuleset" elementId="10009">
      <update property="unit.clipName" value="MedievalDwarfMaster"/>
      <update property="unit.price" resourceId="1" value="1200"/>
      <update property="unit.blocks" unitId="10009" value="0"/>
      <update property="unit.weapon.minDamage" value="10"/>
      <update property="unit.weapon.maxDamage" value="10"/>
      <update property="unit.defense" value="8"/>
      <update property="unit.health" value="99"/>
      <update property="unit.repairs" value="0"/>
      <update property="unit.weapon.defendingBonus" value="-1"/>
      <update property="unit.weapon.attackingBonus" value="1"/>
      <update property="building.buildsUnits" elementId="1" unitId="10009" value="0"/>
      <update property="building.buildsUnits" elementId="2" unitId="10009" value="0"/>
      <update property="building.buildsUnits" elementId="3" unitId="10009" value="0"/>
      <update property="building.buildsUnits" elementId="4" unitId="10009" value="0"/>
      <update property="building.buildsUnits" elementId="5" unitId="10009" value="0"/>
      <update property="building.buildsUnits" elementId="6" unitId="10009" value="0"/>
      <update property="building.buildsUnits" elementId="7" unitId="10009" value="0"/>
      <update property="building.buildsUnits" elementId="8" unitId="10009" value="0"/>
      <update property="building.buildsUnits" elementId="21" unitId="10009" value="0"/>
      <update property="unit.repairsOnBuildings" buildingId="1" value="1"/>
      <update property="unit.repairsOnBuildings" buildingId="2" value="1"/>
      <update property="unit.repairsOnBuildings" buildingId="3" value="1"/>
      <update property="unit.repairsOnBuildings" buildingId="4" value="1"/>
      <update property="unit.repairsOnBuildings" buildingId="5" value="1"/>
      <update property="unit.repairsOnBuildings" buildingId="6" value="1"/>
      <update property="unit.repairsOnBuildings" buildingId="7" value="1"/>
      <update property="unit.repairsOnBuildings" buildingId="21" value="1"/>
      <update property="unit.repairsOnBuildings" buildingId="8" value="1"/>
      <update property="unit.repairsOnBuildings" buildingId="9" value="1"/>
    </action>
  </setup>
  <trigger name="startGameTriggerer" noOfTimesAllowedToInvoke="1">
    <condition type="startGame"/>
    <action type="setTeam" playerOrder="1" team="1"/>
    <action type="setTeam" playerOrder="2" team="1"/>
    <action type="setTeam" playerOrder="3" team="1"/>
    <action type="setTeam" playerOrder="4" team="1"/>
    <action type="setTeam" playerOrder="5" team="1"/>
    <action type="setTeam" playerOrder="6" team="2"/>
  </trigger>
  <trigger name="startGameTrigger" noOfTimesAllowedToInvoke="1">
    <condition type="startGame"/>
    <action type="createUnit" metaUnitId="10009" x="67" y="14" name="TROLL MASTER" playerOrder="6" health="99" vicinity="1"/>
    <action type="createUnit" metaUnitId="10009" x="25" y="60" name="TROLL MASTER" playerOrder="6" health="99" vicinity="1"/>
    <action type="createUnit" metaUnitId="10002" x="25" y="23" name="RED KING" playerOrder="1" health="15" vicinity="1"/>
    <action type="createUnit" metaUnitId="10002" x="43" y="11" name="The King" playerOrder="2" health="15" vicinity="1"/>
    <action type="createUnit" metaUnitId="10002" x="49" y="25" name="The King" playerOrder="3" health="15" vicinity="1"/>
    <action type="createUnit" metaUnitId="10002" x="36" y="42" name="The King" playerOrder="4" health="15" vicinity="1"/>
    <action type="createUnit" metaUnitId="10002" x="13" y="40" name="The King" playerOrder="5" health="15" vicinity="1"/>
    <action type="createUnit" metaUnitId="10008" x="42" y="11" name="Ranger" playerOrder="2" health="11" vicinity="1"/>
    <action type="createUnit" metaUnitId="10008" x="48" y="25" name="Ranger" playerOrder="3" health="11" vicinity="1"/>
    <action type="createUnit" metaUnitId="10008" x="35" y="41" name="Ranger" playerOrder="4" health="11" vicinity="1"/>
    <action type="createUnit" metaUnitId="10008" x="12" y="39" name="Ranger" playerOrder="5" health="11" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="64" y="7" name="Berserk" playerOrder="6" health="20" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="67" y="27" name="Berserk" playerOrder="6" health="20" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="49" y="60" name="Berserk" playerOrder="6" health="20" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="0" y="49" name="Berserk" playerOrder="6" health="20" vicinity="1"/>
    <action type="createUnit" metaUnitId="10020" x="55" y="43" name="Smart Orc" playerOrder="6" health="16" vicinity="1"/>
    <action type="createUnit" metaUnitId="10020" x="42" y="63" name="Smart Orc" playerOrder="6" health="16" vicinity="1"/>
    <action type="createUnit" metaUnitId="10020" x="70" y="18" name="Smart Orc" playerOrder="6" health="16" vicinity="1"/>
    <action type="createUnit" metaUnitId="10020" x="65" y="7" name="Smart Orc" playerOrder="6" health="16" vicinity="1"/>
    <action type="createUnit" metaUnitId="10020" x="15" y="61" name="Smart Orc" playerOrder="6" health="16" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="14" y="11" name="" playerOrder="6" health="20" vicinity="1"/>
  </trigger>
  <trigger name="RED KILLED" noOfTimesAllowedToInvoke="1">
    <condition type="unitKilled" unitName="RED KING"/>
    <action type="triggerWin" playerOrder="6"/>
  </trigger>
  <trigger name="PURPLE KILLED" noOfTimesAllowedToInvoke="1">
    <condition type="unitKilled" unitName="TROLL MASTER"/>
    <action type="triggerLoss" playerOrder="6"/>
  </trigger>
  <trigger name="Castle captured1" noOfTimesAllowedToInvoke="1">
    <condition type="unitOnArea" playerOrder="6" metaUnitIds="">
      <location x="25" y="23"/>
    </condition>
    <action type="triggerLoss" playerOrder="1"/>
    <action type="triggerLoss" playerOrder="2"/>
    <action type="triggerLoss" playerOrder="3"/>
    <action type="triggerLoss" playerOrder="4"/>
    <action type="triggerLoss" playerOrder="5"/>
  </trigger>
  <trigger name="Castle captured2" noOfTimesAllowedToInvoke="1">
    <condition type="unitOnArea" playerOrder="1" metaUnitIds="">
      <location x="55" y="43"/>
    </condition>
    <action type="triggerLoss" playerOrder="6"/>
  </trigger>
  <trigger name="End of the Game" noOfTimesAllowedToInvoke="1">
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="32"/>
    <action type="triggerLoss" playerOrder="6"/>
  </trigger>
  <trigger name="wave_spawzrn" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="6"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="4"/>
    <action type="createUnit" metaUnitId="10005" x="56" y="5" name="" playerOrder="6" health="30" vicinity="1"/>
    <action type="createUnit" metaUnitId="10005" x="13" y="55" name="" playerOrder="6" health="30" vicinity="1"/>
    <action type="createUnit" metaUnitId="10005" x="14" y="12" name="" playerOrder="6" health="30" vicinity="1"/>
  </trigger>
  <trigger name="Berserk spawny" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="6"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="7"/>
    <action type="createUnit" metaUnitId="10005" x="56" y="9" name="Berseker" playerOrder="6" health="25" vicinity="1"/>
    <action type="createUnit" metaUnitId="10005" x="61" y="23" name="Berseker" playerOrder="6" health="25" vicinity="1"/>
    <action type="createUnit" metaUnitId="10005" x="45" y="53" name="Berseker" playerOrder="6" health="25" vicinity="1"/>
    <action type="createUnit" metaUnitId="10005" x="13" y="53" name="Berseker" playerOrder="6" health="25" vicinity="1"/>
  </trigger>
  <trigger name="Troll spawnyp" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="6"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="11"/>
    <action type="createUnit" metaUnitId="10005" x="56" y="11" name="TROLL" playerOrder="6" health="30" vicinity="1"/>
    <action type="createUnit" metaUnitId="10005" x="61" y="23" name="TROLL" playerOrder="6" health="30" vicinity="1"/>
    <action type="createUnit" metaUnitId="10005" x="45" y="53" name="TROLL" playerOrder="6" health="30" vicinity="1"/>
    <action type="createUnit" metaUnitId="10005" x="13" y="53" name="TROLL" playerOrder="6" health="30" vicinity="1"/>
  </trigger>
  <trigger name="wave_sppmawnsy" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="6"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="13"/>
    <action type="createUnit" metaUnitId="10005" x="55" y="42" name="" playerOrder="6" health="33" vicinity="1"/>
    <action type="createUnit" metaUnitId="45" x="54" y="42" name="" playerOrder="6" health="10" vicinity="1"/>
  </trigger>
  <trigger name="wave_sppmawnsy" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="6"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="20"/>
    <action type="createUnit" metaUnitId="10005" x="55" y="42" name="" playerOrder="6" health="66" vicinity="1"/>
    <action type="createUnit" metaUnitId="45" x="54" y="42" name="" playerOrder="6" health="10" vicinity="1"/>
  </trigger>
  <trigger name="wave_spadfwnsyepe" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="1"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="8"/>
    <action type="createUnit" metaUnitId="17" x="33" y="4" name="Renforts" playerOrder="2" health="10" vicinity="1">
      <cargoUnit metaUnitId="5" health="10" name=""/>
      <cargoUnit metaUnitId="4" health="10" name=""/>
      <cargoUnit metaUnitId="10008" health="11" name=""/>
    </action>
  </trigger>
  <trigger name="wave_spawkknsyrree" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="1"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="8"/>
    <action type="createUnit" metaUnitId="17" x="40" y="30" name="Renforts" playerOrder="3" health="10" vicinity="1">
      <cargoUnit metaUnitId="5" health="10" name=""/>
      <cargoUnit metaUnitId="4" health="10" name=""/>
      <cargoUnit metaUnitId="10008" health="11" name=""/>
    </action>
  </trigger>
  <trigger name="waveqhg_hree" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="1"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="8"/>
    <action type="createUnit" metaUnitId="17" x="38" y="32" name="Renforts" playerOrder="4" health="10" vicinity="1">
      <cargoUnit metaUnitId="5" health="10" name=""/>
      <cargoUnit metaUnitId="4" health="10" name=""/>
      <cargoUnit metaUnitId="10008" health="11" name=""/>
    </action>
  </trigger>
  <trigger name="wave_kuspawnsyrree" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="1"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="8"/>
    <action type="createUnit" metaUnitId="17" x="14" y="29" name="Renforts" playerOrder="5" health="10" vicinity="1">
      <cargoUnit metaUnitId="5" health="10" name=""/>
      <cargoUnit metaUnitId="4" health="10" name=""/>
      <cargoUnit metaUnitId="10008" health="11" name=""/>
    </action>
  </trigger>
  <trigger name="wavkjfwnsyepe" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="1"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="17"/>
    <action type="createUnit" metaUnitId="10003" x="30" y="15" name="Renforts" playerOrder="2" health="13" vicinity="1"/>
    <action type="createUnit" metaUnitId="10008" x="29" y="16" name="Renforts" playerOrder="2" health="11" vicinity="1"/>
    <action type="createUnit" metaUnitId="4" x="30" y="14" name="Renforts" playerOrder="2" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="4" x="31" y="16" name="Renforts" playerOrder="2" health="10" vicinity="1"/>
  </trigger>
  <trigger name="wave_spawjknsyrree" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="1"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="17"/>
    <action type="createUnit" metaUnitId="10003" x="30" y="21" name="Renforts" playerOrder="3" health="13" vicinity="1"/>
    <action type="createUnit" metaUnitId="10008" x="29" y="20" name="Renforts" playerOrder="3" health="11" vicinity="1"/>
    <action type="createUnit" metaUnitId="4" x="31" y="20" name="Renforts" playerOrder="3" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="4" x="30" y="22" name="Renforts" playerOrder="3" health="10" vicinity="1"/>
  </trigger>
  <trigger name="wavgfeq_hree" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="1"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="17"/>
    <action type="createUnit" metaUnitId="10003" x="29" y="26" name="Renforts" playerOrder="4" health="13" vicinity="1"/>
    <action type="createUnit" metaUnitId="10008" x="27" y="25" name="Renforts" playerOrder="4" health="11" vicinity="1"/>
    <action type="createUnit" metaUnitId="4" x="29" y="25" name="Renforts" playerOrder="4" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="4" x="28" y="27" name="Renforts" playerOrder="4" health="10" vicinity="1"/>
  </trigger>
  <trigger name="wave_spawve" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="1"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="17"/>
    <action type="createUnit" metaUnitId="10003" x="22" y="28" name="Renforts" playerOrder="5" health="13" vicinity="1"/>
    <action type="createUnit" metaUnitId="10008" x="23" y="26" name="Renforts" playerOrder="5" health="11" vicinity="1"/>
    <action type="createUnit" metaUnitId="4" x="23" y="28" name="Renforts" playerOrder="5" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="4" x="21" y="27" name="Renforts" playerOrder="5" health="10" vicinity="1"/>
  </trigger>
  <trigger name="Ranger def" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="1"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="13"/>
    <action type="createUnit" metaUnitId="10008" x="26" y="24" name="" playerOrder="1" health="11" vicinity="1"/>
    <action type="createUnit" metaUnitId="10008" x="37" y="25" name="" playerOrder="2" health="11" vicinity="1"/>
    <action type="createUnit" metaUnitId="10008" x="38" y="28" name="" playerOrder="3" health="11" vicinity="1"/>
    <action type="createUnit" metaUnitId="10008" x="28" y="34" name="" playerOrder="4" health="11" vicinity="1"/>
    <action type="createUnit" metaUnitId="10008" x="24" y="33" name="" playerOrder="5" health="11" vicinity="1"/>
  </trigger>
  <trigger name="Heavy def" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="1"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="12"/>
    <action type="createUnit" metaUnitId="10003" x="26" y="24" name="" playerOrder="1" health="13" vicinity="1"/>
    <action type="createUnit" metaUnitId="10003" x="26" y="22" name="" playerOrder="2" health="13" vicinity="1"/>
    <action type="createUnit" metaUnitId="10003" x="26" y="23" name="" playerOrder="3" health="13" vicinity="1"/>
    <action type="createUnit" metaUnitId="10003" x="25" y="24" name="" playerOrder="4" health="13" vicinity="1"/>
    <action type="createUnit" metaUnitId="10003" x="24" y="23" name="" playerOrder="5" health="13" vicinity="1"/>
  </trigger>
  <trigger name="2nd scout" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="1"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="10"/>
    <action type="createUnit" metaUnitId="10007" x="26" y="24" name="" playerOrder="1" health="12" vicinity="1"/>
    <action type="createUnit" metaUnitId="10007" x="30" y="15" name="" playerOrder="2" health="12" vicinity="1"/>
    <action type="createUnit" metaUnitId="10007" x="30" y="21" name="" playerOrder="3" health="12" vicinity="1"/>
    <action type="createUnit" metaUnitId="10007" x="29" y="26" name="" playerOrder="4" health="12" vicinity="1"/>
    <action type="createUnit" metaUnitId="10007" x="22" y="28" name="" playerOrder="5" health="12" vicinity="1"/>
  </trigger>
  <trigger name="Start scout" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="1"/>
    <condition type="turnStarted"/>
    <action type="createUnit" metaUnitId="10007" x="30" y="15" name="" playerOrder="2" health="12" vicinity="1"/>
    <action type="createUnit" metaUnitId="10007" x="30" y="21" name="" playerOrder="3" health="12" vicinity="1"/>
    <action type="createUnit" metaUnitId="10007" x="29" y="26" name="" playerOrder="4" health="12" vicinity="1"/>
    <action type="createUnit" metaUnitId="10007" x="22" y="28" name="" playerOrder="5" health="12" vicinity="1"/>
  </trigger>
  <trigger name="SMRTORC" noOfTimesAllowedToInvoke="0">
    <condition type="isPlayerTurn" playerOrder="6"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="5"/>
    <action type="createUnit" metaUnitId="10020" x="55" y="43" name="Smart Orc" playerOrder="6" health="16" vicinity="1"/>
  </trigger>
  <trigger name="SMARTORC2" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="6"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="10"/>
    <action type="createUnit" metaUnitId="10020" x="55" y="43" name="Smart Orc" playerOrder="6" health="16" vicinity="1"/>
  </trigger>
  <trigger name="SMARTORC3" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="6"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="15"/>
    <action type="createUnit" metaUnitId="10020" x="55" y="43" name="Smart Orc" playerOrder="6" health="16" vicinity="1"/>
  </trigger>
  <trigger name="SMTORC4" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="6"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="20"/>
    <action type="createUnit" metaUnitId="10020" x="55" y="43" name="Smart Orc" playerOrder="6" health="16" vicinity="1"/>
  </trigger>
  <trigger name="SmartOrc5" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="6"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="25"/>
    <action type="createUnit" metaUnitId="10020" x="55" y="43" name="Smart Orc" playerOrder="6" health="16" vicinity="1"/>
  </trigger>
  <trigger name="Ship land help" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="6"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="8"/>
    <action type="createUnit" metaUnitId="18" x="67" y="46" name="" playerOrder="6" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="18" x="33" y="61" name="" playerOrder="6" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="17" x="48" y="39" name="" playerOrder="6" health="10" vicinity="1"/>
  </trigger>
  <trigger name="Late game ship" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="6"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="13"/>
    <action type="createUnit" metaUnitId="16" x="0" y="0" name="" playerOrder="6" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="16" x="1" y="0" name="" playerOrder="6" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="16" x="0" y="1" name="" playerOrder="6" health="10" vicinity="1"/>
  </trigger>
  <trigger name="Late game ships" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="6"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="14"/>
    <action type="createUnit" metaUnitId="17" x="0" y="0" name="Renforts" playerOrder="6" health="10" vicinity="1">
      <cargoUnit metaUnitId="3" health="10" name=""/>
      <cargoUnit metaUnitId="4" health="10" name=""/>
      <cargoUnit metaUnitId="5" health="10" name=""/>
    </action>
    <action type="createUnit" metaUnitId="17" x="1" y="0" name="Renforts" playerOrder="6" health="10" vicinity="1">
      <cargoUnit metaUnitId="3" health="10" name=""/>
      <cargoUnit metaUnitId="4" health="10" name=""/>
      <cargoUnit metaUnitId="5" health="10" name=""/>
    </action>
    <action type="createUnit" metaUnitId="17" x="0" y="1" name="Renforts" playerOrder="6" health="10" vicinity="1">
      <cargoUnit metaUnitId="3" health="10" name=""/>
      <cargoUnit metaUnitId="4" health="10" name=""/>
      <cargoUnit metaUnitId="5" health="10" name=""/>
    </action>
  </trigger>
  <trigger name="Late game ship Galley" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="6"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="15"/>
    <action type="createUnit" metaUnitId="18" x="0" y="1" name="Renforts" playerOrder="6" health="10" vicinity="1">
      <cargoUnit metaUnitId="1" health="10" name=""/>
    </action>
  </trigger>
  <trigger name="Castle capturedP2" noOfTimesAllowedToInvoke="1">
    <condition type="unitOnArea" playerOrder="6" metaUnitIds="">
      <location x="43" y="11"/>
    </condition>
    <action type="createUnit" metaUnitId="10008" x="30" y="15" name="" playerOrder="2" health="13" vicinity="1"/>
    <action type="createUnit" metaUnitId="10003" x="30" y="15" name="" playerOrder="2" health="11" vicinity="1"/>
    <action type="createUnit" metaUnitId="6" x="30" y="15" name="" playerOrder="2" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="5" x="30" y="15" name="" playerOrder="2" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="4" x="30" y="15" name="" playerOrder="2" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="3" x="30" y="15" name="" playerOrder="2" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="11" x="30" y="15" name="" playerOrder="2" health="10" vicinity="1"/>
  </trigger>
  <trigger name="Castle capturedP3" noOfTimesAllowedToInvoke="1">
    <condition type="unitOnArea" playerOrder="6" metaUnitIds="">
      <location x="49" y="25"/>
    </condition>
    <action type="createUnit" metaUnitId="10008" x="30" y="21" name="" playerOrder="3" health="13" vicinity="1"/>
    <action type="createUnit" metaUnitId="10003" x="30" y="21" name="" playerOrder="3" health="11" vicinity="1"/>
    <action type="createUnit" metaUnitId="6" x="30" y="21" name="" playerOrder="3" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="5" x="30" y="21" name="" playerOrder="3" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="4" x="30" y="21" name="" playerOrder="3" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="3" x="30" y="21" name="" playerOrder="3" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="11" x="30" y="21" name="" playerOrder="3" health="10" vicinity="1"/>
  </trigger>
  <trigger name="Castle capturedP4" noOfTimesAllowedToInvoke="1">
    <condition type="unitOnArea" playerOrder="6" metaUnitIds="">
      <location x="36" y="42"/>
    </condition>
    <action type="createUnit" metaUnitId="10008" x="29" y="26" name="" playerOrder="4" health="13" vicinity="1"/>
    <action type="createUnit" metaUnitId="10003" x="29" y="26" name="" playerOrder="4" health="11" vicinity="1"/>
    <action type="createUnit" metaUnitId="6" x="29" y="26" name="" playerOrder="4" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="5" x="29" y="26" name="" playerOrder="4" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="4" x="29" y="26" name="" playerOrder="4" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="3" x="29" y="26" name="" playerOrder="4" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="11" x="29" y="26" name="" playerOrder="4" health="10" vicinity="1"/>
  </trigger>
  <trigger name="Castle capturedP5" noOfTimesAllowedToInvoke="1">
    <condition type="unitOnArea" playerOrder="6" metaUnitIds="">
      <location x="13" y="40"/>
    </condition>
    <action type="createUnit" metaUnitId="10008" x="22" y="28" name="" playerOrder="5" health="13" vicinity="1"/>
    <action type="createUnit" metaUnitId="10003" x="22" y="28" name="" playerOrder="5" health="11" vicinity="1"/>
    <action type="createUnit" metaUnitId="6" x="22" y="28" name="" playerOrder="5" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="5" x="22" y="28" name="" playerOrder="5" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="4" x="22" y="28" name="" playerOrder="5" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="3" x="22" y="28" name="" playerOrder="5" health="10" vicinity="1"/>
    <action type="createUnit" metaUnitId="11" x="22" y="28" name="" playerOrder="5" health="10" vicinity="1"/>
  </trigger>
  <trigger name="A TIP" noOfTimesAllowedToInvoke="6">
    <condition type="turnStarted"/>
    <action type="showDialogue" playerOrder="0">
      <row icon="char6" name="Welcome to the kingdom">Hello ! This game is customized.
Humans, you have to play very defensive ! If the RED KING die, the humans lose the game.
Purple will have strong units. And if 1 of the TROLL MASTER is killed, purple lose.
Both teams will have renforts units ingame.
Have fun !</row>
    </action>
  </trigger>
</script>