Difference between revisions of "Custom Modes"
Jump to navigation
Jump to search
GoogleFrog (talk | contribs) (Created page with "{| class="wikitable" |- ! Key !! Usage |- | name || This is required to display the mode in the mode list. Bad things will happen if there is a clash. |- | description || The...") |
GoogleFrog (talk | contribs) |
||
Line 1: | Line 1: | ||
+ | Custom modes are mods, maps, or just a set of Adv Options that can be selected when hosting the game or in the battle room via 'Select Custom Mode' in Adv Options. Each custom mode is defined by a file in <nowiki>Zero-K/CustomModes</nowiki>. The game deploys a few of these files, but players can also create their own and share them around to act as presets. | ||
+ | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 17: | Line 19: | ||
| hideFromHostMenu || Optional boolean. This is used to hide a mode from the Game Type menu while hosting. | | hideFromHostMenu || Optional boolean. This is used to hide a mode from the Game Type menu while hosting. | ||
|- | |- | ||
− | | options || Optional | + | | options || Optional table of Adv Option values. All the keys can be found [https://github.com/ZeroK-RTS/Zero-K/blob/master/ModOptions.lua here]. |
|} | |} | ||
+ | |||
+ | [[Category:Development]]{{Navbox manual}} |
Revision as of 17:13, 9 November 2020
Custom modes are mods, maps, or just a set of Adv Options that can be selected when hosting the game or in the battle room via 'Select Custom Mode' in Adv Options. Each custom mode is defined by a file in Zero-K/CustomModes. The game deploys a few of these files, but players can also create their own and share them around to act as presets.
Key | Usage |
---|---|
name | This is required to display the mode in the mode list. Bad things will happen if there is a clash. |
description | The tooltip for the mode in the 'Select Custom Mode' menu. |
roomType | Optional. Can be Custom, 1v1, Team, FFA, Chicken. |
map | Optional. Use this to set the map. The text must match exactly, as is written below the minimap in the battleroom. |
game | Optional. Set a mutator or game. It should match game name exactly, as is shown left of the map when the game is selected. |
rapidTag | Optional. Set a rapid tag. Modes that use base Zero-K should set this to "zk:stable". |
hideFromHostMenu | Optional boolean. This is used to hide a mode from the Game Type menu while hosting. |
options | Optional table of Adv Option values. All the keys can be found here. |
The images and links on this page may be broken at the moment. The cache on this page points to the test wiki.
Please purge the cache to try to restore images and fix those links. This will work only if the page is not on the test server (where this box should appear for now even when cache purging is not needed), which may lack the actual images. This page thinks that it resides on test.zero-k.info right now. |