Map/Config Rotation: Difference between revisions
From Armagetron Advanced
No edit summary |
No edit summary |
||
| (6 intermediate revisions by 6 users not shown) | |||
| Line 1: | Line 1: | ||
''Tank Program sez''' | ''Tank Program sez''' | ||
Yesterday morning I | Yesterday morning I committed some code to CVS (head) that allows for the rotation of maps and or configs through a cycle at the end of a round, match, or not at all. The config items are ROTATION_TYPE, MAP_ROTATION, CONFIG_ROTATION. ROTATION_TYPE is either 0, 1, or 2. 0 is disabled, 1 is round and, 2 is match based rotation. MAP_ROTATION is a semi-colon deliminated list of maps or configs, depending on variable name. So, for MAP_ROTATION, | ||
<pre> | <pre> | ||
| Line 13: | Line 13: | ||
Please note in both lists the ending semi-colon, as it is necessary. | Please note in both lists the ending semi-colon, as it is necessary. | ||
file1.cfg and file2.cfg must be in the config/ directory. | |||
[[Category:Administration]] | |||
Latest revision as of 17:21, 23 August 2021
Tank Program sez'
Yesterday morning I committed some code to CVS (head) that allows for the rotation of maps and or configs through a cycle at the end of a round, match, or not at all. The config items are ROTATION_TYPE, MAP_ROTATION, CONFIG_ROTATION. ROTATION_TYPE is either 0, 1, or 2. 0 is disabled, 1 is round and, 2 is match based rotation. MAP_ROTATION is a semi-colon deliminated list of maps or configs, depending on variable name. So, for MAP_ROTATION,
MAP_ROTATION fullpath/name.xml;original/map-1.0.1.xml; and then for CONFIG_ROTATION we have CONFIG_ROTATION file1.cfg;file2.cfg;
Please note in both lists the ending semi-colon, as it is necessary.
file1.cfg and file2.cfg must be in the config/ directory.
