-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathinfection.xml
232 lines (232 loc) · 8.24 KB
/
infection.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<map proto="1.4.2" game="Infection">
<objective>Survive against the Zombies for 7 minutes!</objective>
<teams>
<team id="human-team" color="gold" plural="true" min="4" max="80" max-overfill="80">Humans</team>
<team id="zombie-team" color="dark green" show-name-tags="false" plural="true" min="1" max="20" max-overfill="20">Zombies</team>
</teams>
<time result="human-team">7m</time>
<blitz>
<lives>999</lives>
<broadcastLives>false</broadcastLives>
</blitz>
<respawn auto="true"/>
<kits>
<!-- Give adventure mode above height limit to prevent block glitching -->
<kit id="adventure-kit" force="true">
<game-mode>adventure</game-mode>
</kit>
<kit id="survival-kit" force="true">
<game-mode>survival</game-mode>
</kit>
<!-- Glowing after 3m (for 5s), 4m (for 10s), 5m (for 15s), 6m (for oo) -->
<give filter="glowing-effect-give-5s">
<kit force="true">
<effect duration="5" amplifier="1">glowing</effect>
</kit>
</give>
<give filter="glowing-effect-give-10s">
<kit force="true">
<effect duration="10" amplifier="1">glowing</effect>
</kit>
</give>
<give filter="glowing-effect-give-15s">
<kit force="true">
<effect duration="15" amplifier="1">glowing</effect>
</kit>
</give>
<give filter="glowing-effect-give-oo">
<kit force="true">
<effect duration="oo" amplifier="1">glowing</effect>
</kit>
</give>
<!-- Give double jump when zombies are released to prevent movement -->
<give filter="give-double-jump-filter">
<kit id="give-double-jump" force="true">
<double-jump recharge-time="7s"/>
</kit>
</give>
<kit id="zombie-switch-kit" force="true">
<team-switch team="zombie-team"/>
</kit>
<kit id="zombie-kit">
<helmet locked="true" material="skull item" damage="2"/>
<chestplate locked="true" unbreakable="true" material="leather chestplate"/>
<leggings locked="true" unbreakable="true" material="leather leggings"/>
<boots locked="true" unbreakable="true" material="leather boots"/>
<item slot="0" unbreakable="true" material="stone sword" name="`2`lInfection Sword"/>
<item slot="1" unbreakable="true" material="wood pickaxe" name="`2Zombie Pickaxe"/>
<item slot="2" amount="16">vine</item>
<item slot="3" amount="8">cobblestone</item>
<double-jump recharge-time="7s"/>
<effect duration="5" amplifier="1">increase damage</effect>
</kit>
<kit id="zombie-kit-start">
<helmet locked="true" material="skull item" damage="2"/>
<chestplate locked="true" unbreakable="true" material="leather chestplate"/>
<leggings locked="true" unbreakable="true" material="leather leggings"/>
<boots locked="true" unbreakable="true" material="leather boots"/>
<item slot="0" unbreakable="true" material="stone sword" name="`2`lInfection Sword"/>
<item slot="1" unbreakable="true" material="wood pickaxe" name="`2Zombie Pickaxe"/>
<item slot="2" amount="16">vine</item>
<item slot="3" amount="8">cobblestone</item>
<effect duration="10" amplifier="100">weakness</effect>
<effect duration="10" amplifier="100">slow</effect>
<effect duration="10" amplifier="129">jump</effect>
<effect duration="10" amplifier="1">blindness</effect>
</kit>
<kit id="human-kit">
<helmet locked="true" unbreakable="true" material="chainmail helmet"/>
<chestplate locked="true" unbreakable="true" material="chainmail chestplate"/>
<leggings locked="true" unbreakable="true" material="chainmail leggings"/>
<boots locked="true" unbreakable="true" material="iron boots"/>
<item slot="0" unbreakable="true" material="iron sword"/>
<item slot="1" unbreakable="true" material="bow"/>
<item slot="2" material="arrow" amount="64"/>
</kit>
</kits>
<broadcasts>
<alert after="1s">The Zombies are released after 10 seconds!</alert>
<alert after="10s">The Zombies are released!</alert>
<tip after="3s" filter="only-humans">You are a Human, You must survive for as long as possible against the waves of Zombies. If you die, you become a Zombie!</tip>
<tip after="3s" filter="only-zombies">You are a Zombie, You must kill all of the Humans to win!</tip>
<tip after="20s" every="2m">Zombies are able to double-jump every 7 seconds.</tip>
</broadcasts>
<damage>
<deny>
<attacker>
<filter id="before-10s"/>
</attacker>
</deny>
<deny>
<all>
<cause>fall</cause>
<team>zombie-team</team>
</all>
</deny>
</damage>
<filters>
<team id="only-humans">human-team</team>
<team id="only-zombies">zombie-team</team>
<not id="before-10s">
<time id="after-10s">11s</time>
</not>
<countdown duration="10s" message="Zombies will be released in {0}">
<all>
<time>1s</time>
<match-running/>
</all>
</countdown>
<!-- Give glow effect -->
<all id="glowing-effect-give-5s">
<team>human-team</team>
<time>3m</time>
<match-running/>
</all>
<all id="glowing-effect-give-10s">
<team>human-team</team>
<time>4m</time>
<match-running/>
</all>
<all id="glowing-effect-give-15s">
<team>human-team</team>
<time>5m</time>
<match-running/>
</all>
<all id="glowing-effect-give-oo">
<team>human-team</team>
<time>6m</time>
<match-running/>
</all>
<!-- Glow effect countdowns -->
<countdown duration="15s" message="Humans will glow for 5 seconds in {0}">
<all>
<time>2m46s</time>
<match-running/>
</all>
</countdown>
<countdown duration="15s" message="Humans will glow for 10 seconds in {0}">
<all>
<time>3m46s</time>
<match-running/>
</all>
</countdown>
<countdown duration="15s" message="Humans will glow for 15 seconds in {0}">
<all>
<time>4m46s</time>
<match-running/>
</all>
</countdown>
<countdown duration="15s" message="Humans will glow forever in {0}">
<all>
<time>5m46s</time>
<match-running/>
</all>
</countdown>
<all id="give-double-jump-filter">
<time>10s</time>
<team>zombie-team</team>
</all>
</filters>
<regions>
<negative id="below-height-limit">
<region id="height-limit"/>
</negative>
<apply block="never" kit="adventure-kit" message="You may not build above the maximum build height!" region="height-limit"/>
<apply kit="survival-kit" region="below-height-limit"/>
</regions>
<itemremove>
<item>arrow</item>
<item>leather helmet</item>
<item>leather chestplate</item>
<item>leather leggings</item>
<item>leather boots</item>
<item>chainmail chestplate</item>
<item>chainmail leggings</item>
<item>chainmail boots</item>
<item>chainmail helmet</item>
<item>skull item</item>
<item>stone sword</item>
<item>iron sword</item>
<item>armor stand</item>
<item>bow</item>
<item>iron boots</item>
<item>wood pickaxe</item>
<item>vine</item>
<item>cobblestone</item>
</itemremove>
<hunger>
<depletion>off</depletion>
</hunger>
<kill-rewards>
<kill-reward>
<kit>
<effect duration="5" amplifier="2">regeneration</effect>
</kit>
<filter>
<all>
<team>human-team</team>
<kill-streak count="1" repeat="true"/>
</all>
</filter>
</kill-reward>
</kill-rewards>
<crafting>
<disable>shield</disable>
</crafting>
<timelock>on</timelock>
<include src="tutorial.xml"/>
<tutorial>
<stage title="Zombies">
<message>
<line>`fAs a `2`lZombie`f, you have to kill all the `6Humans`f!</line>
<line>`fThe other `2Zombies `fare on your team!</line>
</message>
</stage>
<stage title="Humans">
<message>
<line>`fAs a `6`lHuman`f, you have to survive for `b`l7 minutes`f against the `2Zombie`f horde.</line>
<line>`fIf you die, you join the `2Zombie`f horde!</line>
</message>
</stage>
</tutorial>
</map>