Editing Custom Modes

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
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 <samp>Zero-K/CustomModes</samp>. The game deploys a few of these files, but players can also create their own and share them around to act as presets.
+
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 <code>Zero-K/CustomModes</code>. The game deploys a few of these files, but players can also create their own and share them around to act as presets.
  
 
This system can be used to save and share disabled lists and [[Quick Stat Tweaks]] to create new game modes without going through the work of full modding.
 
This system can be used to save and share disabled lists and [[Quick Stat Tweaks]] to create new game modes without going through the work of full modding.
 
== Sharing Custom Modes ==
 
 
Upload your custom modes via the "Upload new game mode" button here: http://zero-k.info/Mods
 
  
 
== Specification ==
 
== Specification ==
Custom modes are <abbr title="JavaScript Object Notation">JSON</abbr> files that may have the following parameters.
+
Custom modes are json files and may have the following parameters.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 20: Line 16:
 
| description || The tooltip for the mode in the 'Select Custom Mode' menu.
 
| description || The tooltip for the mode in the 'Select Custom Mode' menu.
 
|-
 
|-
| roomType || Optional. Can be Custom, 1v1, Team, <abbr title="free for all">FFA</abbr>, Chicken.
+
| 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 battle room.
+
| 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.
 
| 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.
Line 47: Line 43:
 
}</syntaxhighlight>
 
}</syntaxhighlight>
  
Be careful with the commas in JSON, as they need to be placed after all but the last item in the set.
+
Be careful with the commas in json, as they need to be placed after all but the last item in the set.
  
 
[[Category:Development]]{{Navbox manual}}
 
[[Category:Development]]{{Navbox manual}}

Please note that all contributions to Zero-K are considered to be released under the Creative Commons Attribution-ShareAlike (see Zero-K:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)