A comprehensive guide on creating maps and game modes for Atlas.
<results>
The results module can be used to determine how and when a match should end, and how the winner should be decided.
Scenarios are what course Atlas will take to determine a winner of a match. There are currently only 2 supported scenario results.
<!-- Red will win 50% of the time the check is performed. (Check is performed 20 times a second) -->
<win scenario="team" team="red">
<sometimes />
</win>
Name | Description |
objectives | The objectives result type will choose the winner based on which team has the most objectives. This can also result in a match tie. |
team | The team result type will reward the win to the team specified. |
<win>
The win element is used to specify when and how a competitor should win the match.
<results>
<!-- Match will end with the team who has the most objectives after 11 minutes. -->
<win scenario="objectives">
<time>11m</time>
</win>
</results>
Attribute | Description | Type | Default |
scenario | The scenario that should be executed if the check passes. | End Scenarioteam ,objectives | objectives |
check | Check that should be ran in order for the result to execute. This can either be in ID form, or as a nested XML tag in the syntax of a check. | Check | |
places | This attribute determines how many win places will be displayed and how many places of winners will receive some type of reward. This only works with the objectives result type and it is possible for multiple teams to score in the same place. | Number (Without Decimal) | 1 |