Skip to content

Instantly share code, notes, and snippets.

@Electroid
Created October 21, 2013 03:26
Show Gist options
  • Select an option

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

Select an option

Save Electroid/7078212 to your computer and use it in GitHub Desktop.
Pursuit of Happiness XML
<?xml version="1.0"?>
<map proto="1.3.0">
<name>Pursuit of Happiness</name>
<version>1.0</version>
<objective>Capture the wool.</objective>
<authors>
<author>MrM00se</author>
<author>MinimalCow</author>
<author>Mk325</author>
<author>RastaLulz</author>
<author>Oversoul96</author>
<author>Eum3</author>
<author>GabeIsAwesome199</author>
</authors>
<contributors>
<contributor contribution="XML">ElectroidFilms</contributor>
</contributors>
<teams>
<team color="dark red" max="12">Red Team</team>
<team color="blue" max="12">Blue Team</team>
</teams>
<kits>
<!-- Need to Code -->
</kits>
<wools>
<wool team="red" color="orange">
<block>113,12,-367</block>
</wool>
<wool team="red" color="lime">
<block>117,12,-367</block>
</wool>
<wool team="blue" color="yellow">
<block>-31,12,-367</block>
</wool>
<wool team="blue" color="purple">
<block>-35,12,-367</block>
</wool>
</wools>
<spawns>
<!-- Need to Code -->
</spawns>
<filters>
<filter name="only-red" parents="deny-players deny-world">
<allow><team>red</team></allow>
</filter>
<filter name="only-blue" parents="deny-players deny-world">
<allow><team>blue</team></allow>
</filter>
<filter name="deny-void">
<deny><void/></deny>
</filter>
<filter name="allow-iron" parents="deny-all">
<allow><block>42</block></allow>
</filter>
</filters>
<regions>
<union name="red-wool-rooms"> <!-- Red Defends -->
<rectangle name="lime-wool-room" min="-56.5,-322.5" max="-67.5,-333.5"/>
<rectangle name="yellow-wool-room" min="-56.5,-399.5" max="-67.5,-410.5"/>
</union>
<union name="blue-wool-rooms"> <!-- Blue Defends -->
<rectangle name="purple-wool-room" min="150.5,-399.5" max="139.5,-410.5"/>
<rectangle name="yellow-wool-room" min="139.5,-333.5" max="150.5,-322.5"/>
</union>
<rectangle name="red-spawn-area" min="103.5,-372.5" max="127.5,-360.5"/>
<rectangle name="blue-spawn-area" min="-20.5,-372.5" max="-44.5,-360.5"/>
<!-- Complicated Center Union -->
<rectangle name="center-all" min="54.5,-350.5" max="28.5,-382.5"/>
<union name="center-build">
<rectangle min="52,5,-350.5" max="30.5,-361.5"/>
<rectangle min="52,5,-382.5" max="30.5,-371.5"/>
<rectangle min="43.5,-391.5" max="39.5,-383.5"/>
<rectangle min="43.5,-349.5" max="39.5,-341.5"/>
<rectangle min="39.5,-370.5" max="43.5,-362.5"/>
<rectangle min="61.5,-335.5" max="53.5,-349.5"/>
<rectangle min="53.5,-383.5" max="61.5,-397.5"/>
</union>
<coplement name="center-void">
<region name="center-all"/>
<region name="center-build"/>
</coplement>
<apply enter="only-red" message="You cannot enter your own wool room!">
<region name="red-wool-rooms"/>
</apply>
<apply block="only-red" use="only-red" message="You cannot modify your own wool room!">
<region name="red-wool-rooms"/>
</apply>
<apply enter="only-blue" message="You cannot enter your own wool room!">
<region name="blue-wool-rooms"/>
</apply>
<apply block="only-blue" use="only-blue" message="You cannot modify your own wool room!">
<region name="blue-wool-rooms"/>
</apply>
<apply block="deny-void" message="You may not build in the void!">
<negative><region name="center-void"/></negative>
</apply>
<apply block="allow-iron">
<region name="red-spawn-area"/>
<region name="blue-spawn-area"/>
</apply>
</regions>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment