Mapcycle.cfg

From King Arthur's Gold Wiki
Revision as of 16:25, 8 January 2013 by Splittingred (Talk | contribs)

Jump to: navigation, search

Often loaded by the dedicated_autostart.gm file, this script creates the array "mapcycle" with the cycle of maps, separated by semicolons (;).

mapcycle = Rules/CTF/Maps/mapname.png;

It is noteworthy that maps here can be either PNG's (.png), KAG (.kag) files, or gamemonkey scripts (.gm) files. Using a .gm file will allow you to run specific scripts prior to loading the map and during gameplay; however, you will need to call LoadMap in the .gm file. KAG map files will allow you to save entities such as rooms, lanterns, and other items not saveable by the png format.

See also