Skip to content

Instantly share code, notes, and snippets.

@niwaniwa
Last active August 29, 2015 14:17
Show Gist options
  • Save niwaniwa/91374538900f784f4df3 to your computer and use it in GitHub Desktop.
Save niwaniwa/91374538900f784f4df3 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<map proto="1.3.3">
<name>Infinite Road 2</name>
<version>1.0.1</version>
<objective>Grab the wool from the enemy's wool room and place it on your victory monument.</objective>
<!-- 制作 -->
<authors>
<author>kokekokko990</author>
</authors>
<!-- 制作協力 -->
<contributors>
<contributor>alt013</contributor>
<contributor>kuma__</contributor>
<contributor>SiruVa</contributor>
<contributor>tossy_XD</contributor>
</contributors>
<!-- teams -->
<teams>
<team color="blue" max="35">Blue Team</team>
<team color="dark_red" max="35">Red Team</team>
</teams>
<!-- kit -->
<include src="Infinite Road 2/kit.xml"/>
<!-- item remove -->
<include src="Infinite Road 2/etc.xml"/>
<!-- toolrepair -->
<toolrepair>
<item>IRON_SWORD</item>
</toolrepair>
<!-- spawn -->
<spawns>
<spawn team="blue" yaw="0" kit="blue">
<cuboid min="1,56,1" max="-1,56,-1"/>
</spawn>
<spawn team="dark_red" yaw="-180" kit="red">
<cuboid min="1,56,209" max="-1,56,211"/>
</spawn>
<default yaw="90">
<cuboid min="-1,139,106" max="2,139,102"/>
</default>
</spawns>
<!-- filters -->
<filters>
<filter name="only-blue">
<team>BLUE</team>
</filter>
<filter name="only-red">
<team>DARK_RED</team>
</filter>
<filter name="allow-block" parents="deny-break">
<allow>
<block>wool</block>
<block>iron block</block>
</allow>
</filter>
<filter name="woolrome-chest">
<not>
<block>chest</block>
</not>
</filter>
<filter name="deny-block">
<any>
<not>
<block>TNT</block>
</not>
<not>
<block>Dispenser</block>
</not>
<not>
<block>Piston_Sticky_Base</block>
</not>
<not>
<block>Piston_Base</block>
</not>
</any>
</filter>
<filter name="time">
<elapsed min="15m"/>
</filter>
</filters>
<regions>
<union name="all-base">
<union name="blue-base">
<cylinder base="0,0,0" radius="20" height="255"/>
</union>
<union name="red-base">
<cylinder base="0,0,210" radius="20" height="255"/>
</union>
</union>
<union name="all-wool">
<union name="blue-wool">
<union name="magenta-wool">
<cylinder base="-69,0,278" radius="12" height="255"/>
</union>
<union name="lime-wool">
<cylinder base="69,0,278" radius="12" height="255"/>
</union>
</union>
<union name="red-wool">
<union name="pink-wool">
<cylinder base="69,0,-68" radius="12" height="255"/>
</union>
<union name="lightblue-wool">
<cylinder base="-69,0,-68" radius="12" height="255"/>
</union>
</union>
</union>
<negative name="outside">
<union name="game-arena">
<cylinder base="0,52,0" radius="66" height="255"/>
<cylinder base="0,52,210" radius="66" height="255"/>
<cylinder base="0,52,105" radius="66" height="255"/>
<cylinder base="0,55,150" radius="66" height="255"/>
<cylinder base="0,55,60" radius="66" height="255"/>
<!-- Blue -->
<cylinder base="0,45,0" radius="53" height="255"/>
<!-- red -->
<cylinder base="0,45,210" radius="53" height="255"/>
<!-- wool room -->
<region name="all-wool"/>
<rectangle min="65,251" max="42,274"/>
<rectangle min="-65,251" max="-42,274"/>
<rectangle min="65,-41" max="42,-64"/>
<rectangle min="-65,-41" max="-42,-64"/>
<cylinder base="-69,0,278" radius="15" height="255"/>
<cylinder base="69,0,278" radius="15" height="255"/>
<cylinder base="69,0,-68" radius="15" height="255"/>
<cylinder base="-69,0,-68" radius="15" height="255"/>
</union>
</negative>
<!-- apply -->
<!-- block -->
<apply block="woolrome-chest" message="You may not modify chest.">
<region name="all-wool"/>
</apply>
<apply block-break="allow-block" message="You may not modify base.">
<region name="all-base"/>
</apply>
<apply block-place="deny-all" message="You may not modify base.">
<region name="all-base"/>
</apply>
<apply block="only-blue" message="You may not modify enemy wool room.">
<region name="blue-wool"/>
</apply>
<apply block="only-red" message="You may not modify enemy wool room.">
<region name="red-wool"/>
</apply>
<apply block="deny-all" message="You may not modify outside.">
<region name="outside"/>
</apply>
<apply block-place="deny-block" message="You may not modify.">
<region name="game-arena"/>
</apply>
<!-- Player Rulues -->
<apply enter="only-blue" message="Don't enter the enemy spawn.">
<region name="blue-base"/>
</apply>
<apply enter="only-red" message="Don't enter the enemy spawn.">
<region name="red-base" />
</apply>
<apply enter="only-red" message="Don't enter the enemy Wool room.">
<region name="red-wool"/>
</apply>
<apply enter="only-blue" message="Don't enter the enemy Wool room.">
<region name="blue-wool"/>
</apply>
<apply enter="time" kit="HEAL2">
<region name="all-base"/>
<region name="all-wool"/>
</apply>
</regions>
<!-- Capture the Wool (CTW) -->
<wools>
<wool team="blue" color="Lime">
<block location="1,57,-13"/>
</wool>
<wool team="blue" color="Magenta">
<block location="-1,58,-13"/>
</wool>
<wool team="dark_red" color="Pink">
<block location="-1,57,223"/>
</wool>
<wool team="dark_red" color="Light Blue">
<block location="1,58,223"/>
</wool>
</wools>
<blockdrops>
<!-- iron block -->
<rule>
<region>
<cylinder base="0,0,0" radius="20" height="255"/>
<cylinder base="0,0,210" radius="20" height="255"/>
</region>
<filter>
<block>iron block</block>
</filter>
<drops>
<item amount="1">iron block</item>
</drops>
<replacement>iron block</replacement>
<wrongtool>true</wrongtool>
<direct>true</direct>
</rule>
<!-- Light Blue -->
<rule>
<region>
<block>-69,71,-68</block>
</region>
<filter>
<block>wool</block>
</filter>
<drops>
<item damage="3" amount="1">wool</item>
</drops>
<replacement>wool:3</replacement>
<wrongtool>true</wrongtool>
<direct>true</direct>
</rule>
<!-- Pink -->
<rule>
<region>
<block>69,71,-68</block>
</region>
<filter>
<block>wool</block>
</filter>
<drops>
<item damage="6" amount="1">wool</item>
</drops>
<replacement>wool:6</replacement>
<wrongtool>true</wrongtool>
<direct>true</direct>
</rule>
<!-- Lime -->
<rule>
<region>
<block>69,71,278</block>
</region>
<filter>
<block>wool</block>
</filter>
<drops>
<item damage="5" amount="1">wool</item>
</drops>
<replacement>wool:5</replacement>
<wrongtool>true</wrongtool>
<direct>true</direct>
</rule>
<!-- Magenta -->
<rule>
<region>
<block>-69,71,278</block>
</region>
<filter>
<block>wool</block>
</filter>
<drops>
<item damage="2" amount="1">wool</item>
</drops>
<replacement>wool:2</replacement>
<wrongtool>true</wrongtool>
<direct>true</direct>
</rule>
</blockdrops>
<maxbuildheight>90</maxbuildheight>
<include src="tutorial.xml"/>
<!-- tutorial -->
<tutorial>
<stage title="Capture the Wool (CTW)">
<message>
<line>This map is a `a`lCapture the Wool`r(CTW) map.</line>
<line>
The objective is to grab the wool on the other team's side and return it to your base.
</line>
</message>
<message lang="ja_JP">
<line>このマップは`a`lCapture the Wool`r(CTW)マップです。</line>
<line>他チームの羊毛ルームから羊毛を奪取して拠点に持ち帰る事が目標になります。</line>
</message>
</stage>
<stage title="Observer spawn">
<title lang="ja_JP">観戦者スポーン</title>
<message>
<line>This is `bObserver `r spawn.</line>
<line>Let's watch a signboard well</line>
</message>
<message lang="ja_JP">
<line>ここは`b観戦者`rスポーンです。</line>
<line>よく看板を見ましょう。</line>
</message>
<teleport>
<point yaw="90" pitch="30">8,141,104</point>
</teleport>
</stage>
<stage title="Blue team spawn">
<title lang="ja_JP">青チームスポーン</title>
<message>
<line>This is `9Blue `rteam spawn.</line>
<line>There are two pedestals, and a color is written on a signboard each.</line>
</message>
<message lang="ja_JP">
<line>ここは`9青チーム`rスポーンです</line>
<line>台座は二つあり、それぞれ看板に羊毛の色が書いてあります。</line>
</message>
<teleport>
<point yaw="-180">0,56,4</point>
</teleport>
</stage>
<stage title="Red team spawn">
<title lang="ja_JP">赤チームスポーン</title>
<message>
<line>This is `cRed `rteam spawn.</line>
</message>
<message lang="ja_JP">
<line>ここは`c赤チーム`rスポーンです</line>
</message>
<teleport>
<point yaw="0">0,56,206</point>
</teleport>
</stage>
<stage title="Red team wool room">
<title lang="ja_JP">赤チーム羊毛部屋</title>
<message>
<line>There is two wool room. It is placed in right and left each.</line>
</message>
<message lang="ja_JP">
<line>一つのチームに二つの羊毛部屋があります。それぞれ左右に配置されています。</line>
</message>
<teleport>
<point yaw="0">0,106,200</point>
</teleport>
</stage>
<stage title="Blue team wool room">
<title lang="ja_JP">青チーム羊毛部屋</title>
<message>
<line>`9Blue `rteam wool room</line>
</message>
<message lang="ja_JP">
<line>`9青`rチーム羊毛部屋</line>
</message>
<teleport>
<point yaw="180">0,106,14</point>
</teleport>
</stage>
<stage title="Other specifications">
<title lang="ja_JP">その他の仕様</title>
</stage>
<stage title="Pottion effect">
<title lang="ja_JP">ポーション効果</title>
<message>
<line>A base and the wool room are given the effect of the reproduction power by progress at time.</line>
</message>
<message lang="ja_JP">
<line>拠点、および羊毛部屋は時間経過により再生力の効果が付与されます。</line>
</message>
</stage>
</tutorial>
<!-- 多言語化 -->
<include src="Infinite Road 2/locale.xml"/>
</map>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment