Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save Electroid/6805483 to your computer and use it in GitHub Desktop.
Green Hill Zone XML.xml
<?xml version="1.0"?>
<map proto="1.3.0">
<name>Green Hill Zone</name>
<version>1.0.0</version>
<objective>Capture and hold all three points to win.</objective>
<authors>
<author>pepsidawg00</author>
</authors>
<contributors>
<contributor contribution="XML">Dinner1111</contributor>
</contributors>
<teams>
<team max="32" color="gold">Orange Team</team>
<team max="32" color="dark purple">Purple Team</team>
</teams>
<kits>
<kit name="spawn">
<item slot="0">iron sword</item>
<item slot="1" damage="-3000">bow</item>
<item slot="2" enchantment="durability:3;dig speed:2">iron pickaxe</item>
<item slot="3" damage="8261">potion</item>
<item slot="8" amount="64">cooked beef</item>
<item slot="28" amount="32">arrow</item>
<chestplate damage="-3000">chain chestplate</chestplate>
</kit>
<kit name="p-spawn" parents="spawn">
<helmet color="8B0A91" damage="-3000">leather helmet</helmet>
<leggings color="8B0A91" damage="-3000">leather leggings</leggings>
<boots color="8B0A91" damage="-3000">leather boots</boots>
</kit>
<kit name="o-spawn" parents="spawn">
<helmet color="FF9214" damage="-3000">leather helmet</helmet>
<leggings color="FF9214" damage="-3000">leather leggings</leggings>
<boots color="FF9214" damage="-3000">leather boots</boots>
</kit>
</kits>
<spawns>
<spawn team="purple" kit="p-spawn" yaw="-150">
<cylinder name="p-spawn" center="149,10,86" radius="2" height="1"/>
</spawn>
<spawn team="orange" kit="o-spawn" yaw="-30">
<cylinder name="o-spawn" center="149,10,162" radius="2" height="1"/>
</spawn>
</spawns>
<default yaw="-90">
<cuboid min="150,35,123" max="152,35,125"/>
</default>
</spawns>
<filters>
<filter name="no-purple" block="deny-all">
<not><team>purple</team></not>
</filter>
<filter name="no-orange" block="deny-all">
<not><team>orange</team></not>
</filter>
<filter name="only-iron" block-break="deny-all">
<block>iron block</block>
</filter>
</filters>
<regions>
<apply block-break="only-iron" block-place="deny-all">
<rectangle name="playable" min="125,8" max="198,240"/>
</apply>
<apply block="no-purple" enter="no-purple">
<circle center="149,162" radius="5"/>
</apply>
<apply block="no-orange" enter="no-orange">
<circle center="149,86" radius="5"/>
</apply>
<apply velocity="@-.5,@2.3,@0">
<cuboid min="182,15,123" max="179,15,125"/>
</apply>
</regions>
<playable>
<region name="playable"/>
</playable>
<toolrepair>
<tool>iron sword</tool>
<tool>bow</tool>
<tool>iron pickaxe</tool>
</toolrepair>
<itemremove>
<item>cooked beef</item>
<item>374</item>
<item>leather helmet</item>
<item>chain chestplate</item>
<item>leather leggings</item>
<item>leather boots</item>
</itemremove>
<killreward>
<item amount="1" damage="8261">potion</item>
</killreward>
<timelock>on</timelock>
<disabledamage>
<damage>fall</damage>
</disabledamage>
<king>
<hills>
<hill name="Point A" capture-time="15s" type="variable" ratio="1">
<capture><cuboid min="184,23,27" max="178,30,33"/></capture>
<progress><cuboid min="184,22,27" max="178,22,33"/></progress>
<captured><cuboid min="177,32,34" max="185,32,26"/></captured>
</hill>
<hill name="Point B" capture-time="20s" type="variable" ratio="1">
<capture><cuboid min="156,35,119" max="146,35,129"/></capture>
<progress><cuboid min="156,34,119" max="146,34,129"/></progress>
<captured><cuboid min="157,44,118" max="145,44,130"/></captured>
</hill>
<hill name="Point C" capture-time="15s" type="variable" ratio="1">
<capture><cuboid min="185,22,215" max="184,22,221"/></capture>
<progress><cuboid min="185,23,215" max="184,30,221"/></progress>
<captured><cuboid min="185,32,222" max="177,32,214"/></captured>
</hill>
</hills>
<wins>
<win team="orange">
<all>
<hill>Point A</hill>
<hill>Point B</hill>
<hill>Point C</hill>
</all>
</win>
<win team="purple">
<all>
<hill>Point A</hill>
<hill>Point B</hill>
<hill>Point C</hill>
</all>
</win>
</wins>
</king>
<time result="objectives">15m</time>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment