Skip to content

Instantly share code, notes, and snippets.

@Electroid
Last active December 24, 2015 20:39
Show Gist options
  • Select an option

  • Save Electroid/6859371 to your computer and use it in GitHub Desktop.

Select an option

Save Electroid/6859371 to your computer and use it in GitHub Desktop.
Conquest XML
<?xml version="1.0"?>
<map proto="1.3.0">
<name>Conquest</name>
<version>0.1-Charlie</version>
<objective>Control the capture points!</objective>
<!-- Author/Contributors -->
<authors>
<author>MrM00se</author>
</authors>
<contributors>
<contributor contribution="XML">ElectroidFilms</contributor>
</contributors>
<!-- Teams -->
<teams>
<team color="dark red" max="50">Red</team>
<team color="blue" max="50">Blue</team>
</teams>
<!-- Kits -->
<kits>
<kit name="spawn">
<item slot="0">350</item>
<potion duration="3" amplifier="2">heal</potion>
<potion duration="3" amplifier="1">damage resistance</potion>
</kit>
<kit name="observers">
<potion duration="oo">night vision</potion>
</kit>
</kits>
<!-- Spawns -->
<spawns>
<default kit="observers" yaw="180">
<cylinder base="337,87,148" radius="1" height="1"/>
</default>
<!-- Team Spawns -->
<spawn kit="spawn" team="red" yaw="-90">
<cylinder base="330,87,-22" radius="1" height="1"/>
</spawn>
<spawn kit="spawn" team="blue" yaw="90">
<cylinder base="344,87,-21" radius="1" height="1"/>
</spawn>
</spawns>
<!-- Other Settings -->
<itemremove>
<item>364</item>
<item>iron helmet</item>
<item>iron leggings</item>
<item>iron boots</item>
<item>bow</item>
<item>iron sword</item>
<item>arrow</item>
</itemremove>
<!-- Hill -->
<time result="objectives">15m</time>
<king>
<hills>
<hill name="Center" capture-time="15s" type="variable" ratio="1">
<capture><cylinder base="337.5,83,65" radius="4.5" height="5"/></capture>
<progress><cuboid min="333.5,83,61.5" max="341.5,83,69.5"/></progress>
<!-- Hack -->
<captured><cuboid min="0,0,0" max="0,0,0"/></captured>
</hill>
<hill name="Blue Point" capture-time="15s" type="variable" ratio="1">
<capture><cylinder base="442.5,57,105.5" radius="4.5" height="5"/></capture>
<progress><cuboid min="446.5,57,109.5" max="438.5,47,101.5"/></progress>
<!-- Hack -->
<captured><cuboid min="0,0,0" max="0,0,0"/></captured>
</hill>
<hill name="Red Point" capture-time="15s" type="variable" ratio="1">
<capture><cylinder base="232.5,57,25.5" radius="4.5" height="5"/></capture>
<progress><cuboid min="236.5,57,29.5" max="228.5,57,21.5"/></progress>
<!-- Hack -->
<captured><cuboid min="0,0,0" max="0,0,0"/></captured>
</hill>
</hills>
<wins>
<win team="red">
<all>
<hill>Center</hill>
<hill>Blue Point</hill>
<hill>Red Point</hill>
</all>
</win>
<win team="blue">
<all>
<hill>Center</hill>
<hill>Blue Point</hill>
<hill>Red Point</hill>
</all>
</win>
</wins>
</king>
<!-- Classes -->
<kits>
<kit name="Attacker">
<helmet>iron helmet</helmet>
<leggings>iron leggings</leggings>
<boots>iron boots</boots>
<item slot="0" enchantment="knockback:1">iron sword</item>
<item slot="1" enchantment="arrow damage:2">bow</item>
<item slot="8" amount="64">arrow</item>
<item slot="3" amount="64">364</item>
<potion duration="oo" amplifier="2">speed</potion>
</kit>
<kit name="Defender">
<helmet enchantment="protection environmental:1">iron helmet</helmet>
<leggings enchantment="protection environmental:1">iron leggings</leggings>
<boots enchantment="protection environmental:1">iron boots</boots>
<chestplate enchantment="protection environmental:2">leather chestplate</chestplate>
<item slot="0" enchantment="damage all:2">iron sword</item>
<item slot="1" enchantment="arrow damage:1">bow</item>
<item slot="8" amount="64">arrow</item>
<item slot="35" amount="64">arrow</item>
<item slot="26" amount="64">arrow</item>
<item slot="3" amount="64">364</item>
<potion duration="oo" amplifier="1">speed</potion>
</kit>
</kits>
<!-- Regions -->
<regions>
<apply block="deny-all">
<cuboid min="-oo,-oo,-oo" max="oo,oo,oo"/>
</apply>
<apply kit="Attacker">
<cuboid name="red-attack" min="336.5,89,-25.5" max="336.5,87,-22.5"/>
<cuboid name="blue-attack" min="338.5,89,-16.5" max="338.5,87,-19.5"/>
</apply>
<apply kit="Defender">
<cuboid name="red-defend" min="336.5,89,-19.5" max="336.5,87,-16.5"/>
<cuboid name="blue-defend" min="338.5,89,-22.5" max="338.5,87,-25.5"/>
</apply>
</regions>
<!--Mobs -->
<mobs>
<filter>
<allow>
<spawn>spawner</spawn>
</allow>
</filter>
</mobs>
<!-- Portals -->
<portals>
<!-- red teleports -->
<portal x="@215.5" y="@207" z="@122.5" yaw="@-135">
<region name="red-attack"/>
<region name="red-defender"/>
</portal>
<!-- blue teleports -->
<portal x="@459.5" y="@207" z="@8.5" yaw="@45">
<region name="blue-attack"/>
<region name="blue-defender"/>
</portal>
</portals>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment