Rush is essentially a racing game mode. A map will define three main regions, a spawn point, start line, and finish line. When players spawn on the map, spectators originally spawn at the spawn-point. Players will then be picked by random one after another until everyone has had their turn. Scores are calculated by the amount of time it takes for a player to complete the course. If a player never passes the start line they will be given a score of 1. Players who do not pass the finish line or die will get a number calculated from their last time. The player with the highest score (shortest time) will win the match.
Rush Element | Description | ||
---|---|---|---|
<rush> </rush>
|
A node containing the rush gamemode settings and regions. | ||
Sub-elements | Value/Children | ||
<time-limit>
|
Required The default amount of time each player will have to complete the course | Number | |
<spawn-point>
|
Required The location where players spawn | Bounded Region | |
<start-line>
|
Required The region a player must enter to start their timer | Bounded Region | |
<finish-line>
|
Required The region a player must enter to end their turn | Bounded Region |
Attribute | Description | Type | Default |
---|---|---|---|
regenerate
|
Reset the map to its original state after each turn. | True/False | true |
countdown
|
The number in seconds a player is given before their turn begins. | Number | 5 |
Example:
<!-- Regenerate the map and have a countdown of 3 seconds -->
<rush regenerate='true' countdown='3'>
<!-- A time limit of 60 seconds -->
<time-limit>60</time-limit>
<!-- The spawn point for spectators -->
<spawn-point yaw="180" pitch="0">
<block>0.5,70,6.5</block>
</spawn-point>
<!-- The start line region -->
<start-line>
<rectangle min="-7,-5" max="7,-3" />
</start-line>
<!-- The finish line region -->
<finish-line>
<rectangle min="-7,-51" max="7,-49" />
</finish-line>
</rush>