Skip to content

Instantly share code, notes, and snippets.

@oafMH

oafMH/map.xml Secret

Created September 29, 2022 16:02
Show Gist options
  • Save oafMH/870ed9c4266c71e89c5c16465cd24892 to your computer and use it in GitHub Desktop.
Save oafMH/870ed9c4266c71e89c5c16465cd24892 to your computer and use it in GitHub Desktop.
its the xml of my map
<?xml version="1.0"?>
<map proto="1.4.2">
<name>Purple Haze</name>
<version>1.0.1</version>
<phase>development</phase>
<objective>Capture the most flags in 10m to win!</objective>
<gamemode>ctf</gamemode>
<gamemode>rage</gamemode>
<time result="score" overtime="1m" max-overtime="2m">10m</time>
<authors>
<author uuid="bb2c7f64-5aa1-452c-a6da-515862f033cb" /> <!-- Witmoos -->
<author uuid="924c4e61-57b6-4931-afdb-6525b2ed34c0" /> <!-- OAF6 -->
</authors>
<contributors>
<contributor uuid="6863869b-4b8c-4445-b778-a8e016775ae4" contribution="Feedback"/> <!-- Cazadorian -->
<contributor uuid="834704b6-94d2-4f4f-abc6-fe2e1f085837" contribution="XML"/> <!-- Alternqtive -->
</contributors>
<score>
<mercy>3</mercy>
</score>
<rage/>
<teams>
<team id="orange" color="gold" max="12">Orange</team>
<team id="purple" color="dark purple" max="12">Purple</team>
</teams>
<spawns>
<default kit="default-kit">
<region yaw="0">
<cylinder base="-15.5,77,-60.5" radius="3" height="0"/>
</region>
</default>
<spawn team="orange" kit="orange-kit">
<region yaw="-90">
<point>-81.5,20,-10.5</point>
</region>
</spawn>
<spawn team="purple" kit="purple-kit">
<region yaw="90">
<point>50.5,20,-10.5</point>
</region>
</spawn>
</spawns>
<kits>
<kit id="default-kit">
<effect>night vision</effect>
</kit>
<kit id="spawn-kit" parents="default-kit">
<clear/>
<item slot="0" name="`r`lMoosey's Shank" unbreakable="true" enchantment="damage all:10">stone sword</item>
<item slot="1" unbreakable="true" name="`r`lOaf's Bow" enchantment="arrow damage:10;damage all:10" material="bow"/>
<item slot="2" amount="3" material="arrow"/>
<chestplate material="leather chestplate" team-color="true" unbreakable="true"/>
<leggings material="leather leggings" team-color="true" unbreakable="true"/>
<boots material="leather boots" team-color="true" unbreakable="true"/>
<effect duration="1s" amplifier="255">regeneration</effect>
<effect duration="1s" amplifier="255">damage resistance</effect>
<effect>speed</effect>
<game-mode>adventure</game-mode>
</kit>
<kit id="orange-kit" parents="spawn-kit">
<helmet material="stained glass" locked="true" damage="1" enchantment="protection environmental:4"/>
</kit>
<kit id="purple-kit" parents="spawn-kit">
<helmet material="stained glass" locked="true" damage="10" enchantment="protection environmental:4"/>
</kit>
</kits>
<kill-reward>
<item amount="3" material="arrow"/>
</kill-reward>
<toolrepair>
<tool>stone sword</tool>
<tool>bow</tool>
</toolrepair>
<itemremove>
<item>stained glass</item>
<item>leather chestplate</item>
<item>leather leggings</item>
<item>leather boots</item>
<item>arrow</item>
</itemremove>
<hunger>
<depletion>off</depletion>
</hunger>
<disabledamage>
<damage>fall</damage>
</disabledamage>
<gamerules>
<doDaylightCycle>false</doDaylightCycle>
</gamerules>
<respawn delay="2.5s"/>
<filters>
<team id="only-orange">orange</team>
<team id="only-purple">purple</team>
</filters>
<regions>
<union id="jump-pads">
<union id="orange-pads">
<cuboid id="orange-behind" min="-94,15,-9" max="-97,15.5,-12"/> <!-- Y -->
<cuboid id="orange-top" min="-80,31,-9" max="-81,31.5,-12"/> <!-- +X -->
<cuboid id="orange-mid" min="-41,21,-9" max="-42,21.5,-12"/> <!-- +X -->
<cuboid id="orange-west" min="-54,21,-21" max="-50,21.5,-22"/> <!-- -Z -->
<cuboid id="orange-east" min="-54,21,1" max="-50,21.5,-0"/> <!-- +Z -->
<cuboid id="orange-west-flag" min="-66,27,-32" max="-65,27.5,-29"/> <!-- -X -->
<cuboid id="orange-west-mid" min="-40,27,-47" max="-39,27.5,-44"/> <!-- +X -->
<cuboid id="orange-east-flag" min="-66,27,8" max="-65,27.5,11"/> <!-- -X -->
<cuboid id="orange-east-mid" min="-40,27,23" max="-39,27.5,26"/> <!-- +X -->
</union>
<union id="purple-pads">
<cuboid id="purple-behind" min="63,15,-12" max="66,15.5,-9"/> <!-- Y -->
<cuboid id="purple-top" min="49,31,-12" max="50,31.5,-9"/> <!-- -X -->
<cuboid id="purple-mid" min="10,21,-12" max="11,21.5,-9"/> <!-- -X -->
<cuboid id="purple-west" min="23,21,0" max="19,21.5,1"/> <!-- +Z -->
<cuboid id="purple-east" min="19,21,-21" max="23,21.5,-22"/> <!-- -Z -->
<cuboid id="purple-west-flag" min="34,27,8" max="35,27.5,11"/> <!-- +X -->
<cuboid id="purple-west-mid" min="9,27,26" max="8,27.5,23"/> <!-- -X -->
<cuboid id="purple-east-flag" min="34,27,-32" max="35,27.5,-29"/> <!-- +X -->
<cuboid id="purple-east-mid" min="9,27,-44" max="8,27.5,-47"/> <!-- -X -->
</union>
<union id="middle-pads">
<cuboid id="mid-main" min="-14,21,-9" max="-17,21.5,-12"/> <!-- -x -->
<cuboid id="north-to-mid" min="-17,32,-40" max="-14,32.5,-41"/> <!-- +x -->
<cuboid id="south-to-mid" min="-14,32,19" max="-17,32.5,20"/> <!-- -x +y -->
<cuboid id="mid-to-orange" min="-25,37,-9" max="-26,37.5,-12"/> <!-- +x +y -->
<cuboid id="mid-to-purple" min="-5,37,-9" max="-6,37.5,-12"/> <!-- +x +y -->
</union>
</union>
<!-- Orange Pads -->
<apply velocity="@0,2.2,0" region="orange-behind"/>
<apply velocity="@3,0.6,0" region="orange-top"/>
<apply velocity="@2.3,0.7,0" region="orange-mid"/>
<apply velocity="@0,1.1,-2.3" region="orange-west"/>
<apply velocity="@0,1.1,2.3" region="orange-east"/>
<apply velocity="@-3.2,1.4,0" region="orange-west-flag"/>
<apply velocity="@3,1.1,0" region="orange-west-mid"/>
<apply velocity="@-3.2,1.4,0" region="orange-east-flag"/>
<apply velocity="@3,1.1,0" region="orange-east-mid"/>
<!-- Purple Pads -->
<apply velocity="@0,2.2,0" region="purple-behind"/>
<apply velocity="@-3,0.6,0" region="purple-top"/>
<apply velocity="@-2.3,0.7,0" region="purple-mid"/>
<apply velocity="@0,1.1,2.3" region="purple-west"/>
<apply velocity="@0,1.1,-2.3" region="purple-east"/>
<apply velocity="@3.2,1.4,0" region="purple-west-flag"/>
<apply velocity="@-3,1.1,0" region="purple-west-mid"/>
<apply velocity="@3.2,1.4,0" region="purple-east-flag"/>
<apply velocity="@-3,1.1,0" region="purple-east-mid"/>
<!-- Mid Pads -->
<apply velocity="@0,3.1,0" region="mid-main"/>
<apply velocity="@0,1.1,2.8" region="north-to-mid"/>
<apply velocity="@0,1.1,-2.8" region="south-to-mid"/>
<apply velocity="@-5.7,0.9,0" region="mid-to-orange"/>
<apply velocity="@5.7,0.9,0" region="mid-to-purple"/>
<apply block="never" region="everywhere"/>
</regions>
<flags flag-proximity-metric="none" net-proximity-metric="none">
<flag id="orange-flag" name="Orange Flag" owner="orange" color="orange" pickup-filter="only-purple">
<post recover-time="15s" respawn-time="5" yaw="-90">-86.5,31,-10.5</post>
</flag>
<net points="1" flag="orange-flag" return="purple-flag">
<region>
<cylinder base="55.5,30,-10.5" radius="2" height="3"/>
</region>
</net>
<flag id="purple-flag" name="Purple Flag" owner="purple" color="purple" pickup-filter="only-orange">
<post recover-time="15s" respawn-time="5" yaw="90">55.5,31,-10.5</post>
</flag>
<net points="1" flag="purple-flag" return="orange-flag">
<region>
<cylinder base="-86.5,30,-10.5" radius="2" height="3"/>
</region>
</net>
</flags>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment