Register     Password recovery
username Username:
password Password:
The Mystic Island

Script for map The Mystic Island

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

Invasion game - 2v4 AABBBB. Few customized units (2-3). ~ The Mystic Island is open ~
<script>
  <setup>
    <action type="customizeRuleset" elementId="0">
      <update property="building.resourceProduction" elementId="1" resourceId="1" value="75"/>
    </action>
    <action type="customizeRuleset" elementId="12">
      <update property="unit.price" resourceId="1" value="450"/>
    </action>
    <action type="customizeRuleset" elementId="2">
      <update property="unit.defense" value="4"/>
    </action>
    <action type="copyMetaUnit" basedOn="6" id="10001" name="Island King"/>
    <action type="customizeRuleset" elementId="10001">
      <update property="unit.clipName" value="MedievalKing"/>
      <update property="unit.mover" moverId="1"/>
      <update property="unit.defense" value="13"/>
      <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="2"/>
      <update property="unit.secondaryMovementPoints" value="1"/>
      <update property="unit.buildingDefenseBonuses" buildingId="2" value="5"/>
      <update property="unit.buildingDefenseBonuses" buildingId="3" value="7"/>
      <update property="unit.weapon.minDamage" value="10"/>
      <update property="unit.weapon.maxDamage" value="10"/>
      <update property="building.buildsUnits" elementId="3" unitId="10001" value="0"/>
      <update property="building.buildsUnits" elementId="5" unitId="10001" value="0"/>
    </action>
    <action type="copyMetaUnit" basedOn="6" id="10100" name="Prince"/>
    <action type="customizeRuleset" elementId="10100">
      <update property="unit.clipName" value="MedievalPrince"/>
      <update property="unit.mover" moverId="1"/>
      <update property="unit.defense" value="12"/>
      <update property="unit.health" value="14"/>
      <update property="unit.price" resourceId="1" value="1000"/>
      <update property="unit.repairs" value="3"/>
      <update property="unit.weapon.attackingBonus" value="3"/>
      <update property="unit.buildingDefenseBonuses" buildingId="2" value="5"/>
      <update property="unit.buildingDefenseBonuses" buildingId="3" value="7"/>
      <update property="unit.weapon.minDamage" value="9"/>
      <update property="unit.weapon.maxDamage" value="9"/>
      <update property="unit.secondaryMovementPoints" value="2"/>
      <update property="building.buildsUnits" elementId="3" unitId="10100" value="0"/>
      <update property="building.buildsUnits" elementId="5" unitId="10100" 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="0"/>
    </action>
    <action type="copyMetaUnit" basedOn="17" id="10030" name="Caravelle"/>
    <action type="customizeRuleset" elementId="10030">
      <update property="unit.clipName" value="MedievalCog2"/>
      <update property="unit.defense" value="9"/>
      <update property="unit.price" resourceId="1" value="800"/>
      <update property="unit.slots" value="8"/>
      <update property="unit.primaryMovementPoints" value="5"/>
      <update property="unit.repairs" value="2"/>
      <update property="unit.weapon.minRange" value="1"/>
      <update property="unit.weapon.maxRange" value="3"/>
      <update property="unit.weapon.attackingBonus" value="1"/>
      <update property="unit.weapon.targetDefensePenalty" value="10"/>
      <update property="unit.terrainDefenseBonuses" terrainId="7" value="1"/>
      <update property="unit.weapon.unitBonuses" unitId="13" value="-2"/>
      <update property="unit.weapon.unitBonuses" unitId="14" value="-2"/>
    </action>
    <action type="customizeRuleset" elementId="17">
      <update property="unit.weapon.unitBonuses" unitId="10030" value="5"/>
    </action>
    <action type="customizeRuleset" elementId="19">
      <update property="unit.weapon.unitBonuses" unitId="10030" value="-1"/>
      <update property="unit.price" resourceId="1" value="1000"/>
    </action>
  </setup>
  <trigger name="startGameTriggerbro" 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="2"/>
    <action type="setTeam" playerOrder="4" team="2"/>
    <action type="setTeam" playerOrder="5" team="2"/>
    <action type="setTeam" playerOrder="6" team="2"/>
  </trigger>
  <trigger name="King spawns" noOfTimesAllowedToInvoke="1">
    <condition type="startGame"/>
    <action type="createUnit" metaUnitId="10001" x="30" y="33" name="" playerOrder="1" health="15" vicinity="1"/>
    <action type="createUnit" metaUnitId="10001" x="41" y="31" name="" playerOrder="2" health="15" vicinity="1"/>
  </trigger>
  <trigger name="Rangers dpawns" noOfTimesAllowedToInvoke="1">
    <condition type="startGame"/>
    <action type="createUnit" metaUnitId="10008" x="31" y="34" name="" playerOrder="1" health="11" vicinity="1"/>
    <action type="createUnit" metaUnitId="10008" x="42" y="32" name="" playerOrder="2" health="11" vicinity="1"/>
  </trigger>
  <trigger name="Rangers dpawns 2" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="0"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="1"/>
    <action type="createUnit" metaUnitId="10008" x="32" y="32" name="" playerOrder="1" health="11" vicinity="1"/>
    <action type="createUnit" metaUnitId="10008" x="39" y="31" name="" playerOrder="2" health="11" vicinity="1"/>
  </trigger>
  <trigger name="Prince spawns" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="1"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="2"/>
    <action type="createUnit" metaUnitId="10100" x="34" y="32" name="" playerOrder="1" health="14" vicinity="1"/>
    <action type="createUnit" metaUnitId="10100" x="37" y="32" name="" playerOrder="2" health="14" vicinity="1"/>
  </trigger>
  <trigger name="Prince spawns 2" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="1"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="10"/>
    <action type="createUnit" metaUnitId="10100" x="34" y="32" name="" playerOrder="1" health="14" vicinity="1"/>
    <action type="createUnit" metaUnitId="10100" x="37" y="32" name="" playerOrder="2" health="14" vicinity="1"/>
  </trigger>
  <trigger name="Prince spawns 3" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="1"/>
    <condition type="turnStarted"/>
    <condition type="roundsPassed" rounds="20"/>
    <action type="createUnit" metaUnitId="10100" x="34" y="32" name="" playerOrder="1" health="14" vicinity="1"/>
    <action type="createUnit" metaUnitId="10100" x="37" y="32" name="" playerOrder="2" health="14" vicinity="1"/>
  </trigger>
  <trigger name="startGameTrigger" noOfTimesAllowedToInvoke="1">
    <condition type="startGame"/>
    <action type="destroyUnit" x="2" y="24"/>
    <action type="createUnit" metaUnitId="10030" x="2" y="24" name="" playerOrder="6" health="10" vicinity="1">
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
    </action>
    <action type="destroyUnit" x="6" y="15"/>
    <action type="createUnit" metaUnitId="10030" x="6" y="15" name="" playerOrder="6" health="10" vicinity="1">
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
    </action>
    <action type="destroyUnit" x="10" y="9"/>
    <action type="createUnit" metaUnitId="10030" x="10" y="9" name="" playerOrder="6" health="10" vicinity="1">
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
    </action>
    <action type="destroyUnit" x="18" y="5"/>
    <action type="createUnit" metaUnitId="10030" x="18" y="5" name="" playerOrder="6" health="10" vicinity="1">
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
    </action>
    <action type="destroyUnit" x="47" y="2"/>
    <action type="createUnit" metaUnitId="10030" x="47" y="2" name="" playerOrder="3" health="10" vicinity="1">
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
    </action>
    <action type="destroyUnit" x="56" y="6"/>
    <action type="createUnit" metaUnitId="10030" x="56" y="6" name="" playerOrder="3" health="10" vicinity="1">
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
    </action>
    <action type="destroyUnit" x="61" y="9"/>
    <action type="createUnit" metaUnitId="10030" x="61" y="9" name="" playerOrder="3" health="10" vicinity="1">
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
    </action>
    <action type="destroyUnit" x="66" y="18"/>
    <action type="createUnit" metaUnitId="10030" x="66" y="18" name="" playerOrder="3" health="10" vicinity="1">
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
    </action>
    <action type="destroyUnit" x="67" y="49"/>
    <action type="createUnit" metaUnitId="10030" x="67" y="49" name="" playerOrder="4" health="10" vicinity="1">
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
    </action>
    <action type="destroyUnit" x="62" y="56"/>
    <action type="createUnit" metaUnitId="10030" x="62" y="56" name="" playerOrder="4" health="10" vicinity="1">
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
    </action>
    <action type="destroyUnit" x="54" y="61"/>
    <action type="createUnit" metaUnitId="10030" x="54" y="61" name="" playerOrder="4" health="10" vicinity="1">
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
    </action>
    <action type="destroyUnit" x="49" y="64"/>
    <action type="createUnit" metaUnitId="10030" x="49" y="64" name="" playerOrder="4" health="10" vicinity="1">
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
    </action>
    <action type="destroyUnit" x="22" y="63"/>
    <action type="createUnit" metaUnitId="10030" x="22" y="63" name="" playerOrder="5" health="10" vicinity="1">
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
    </action>
    <action type="destroyUnit" x="11" y="61"/>
    <action type="createUnit" metaUnitId="10030" x="11" y="61" name="" playerOrder="5" health="10" vicinity="1">
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
    </action>
    <action type="destroyUnit" x="7" y="57"/>
    <action type="createUnit" metaUnitId="10030" x="7" y="57" name="" playerOrder="5" health="10" vicinity="1">
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
    </action>
    <action type="destroyUnit" x="4" y="46"/>
    <action type="createUnit" metaUnitId="10030" x="4" y="46" name="" playerOrder="5" health="10" vicinity="1">
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
      <cargoUnit metaUnitId="1" health="10" name=""/>
    </action>
  </trigger>
  <trigger name="More gold sir !" noOfTimesAllowedToInvoke="1">
    <condition type="isPlayerTurn" playerOrder="0"/>
    <condition type="turnStarted"/>
    <action type="addResource" playerOrder="1" metaResourceId="1" amount="1375"/>
    <action type="addResource" playerOrder="2" metaResourceId="1" amount="1375"/>
    <action type="addResource" playerOrder="3" metaResourceId="1" amount="1000"/>
    <action type="addResource" playerOrder="4" metaResourceId="1" amount="1000"/>
    <action type="addResource" playerOrder="5" metaResourceId="1" amount="1000"/>
    <action type="addResource" playerOrder="6" metaResourceId="1" amount="1000"/>
  </trigger>
</script>