Difference between revisions of "Mapcycle.cfg"
From King Arthur's Gold Wiki
m (Furai moved page MapCycle.cfg to Mapcycle.cfg without leaving a redirect: No more capital letters in Beta.) |
|||
Line 1: | Line 1: | ||
− | Often loaded by the [[ | + | Often loaded by the [[autoconfig.cfg]] file, this script creates the array "mapcycle" with the cycle of maps, separated by semicolons (;). |
− | + | Here an example of loading a few maps: | |
<syntaxhighlight lang="actionscript" enclose="div"> | <syntaxhighlight lang="actionscript" enclose="div"> | ||
− | mapcycle = Rules/ | + | mapcycle = Rules/WAR/Maps/mapname.png; Rules/WAR/Maps/nameofmap.png; |
</syntaxhighlight> | </syntaxhighlight> | ||
− | It is noteworthy that maps here can be either PNG's (.png) | + | It is noteworthy that maps here can be either PNG's (.png) or KAG (.kag) files. KAG map files will allow you to save entities and other 'happenings' not saveable by the png format. |
− | For example, a Map cycle with two maps that are initialized in . | + | For example, a Map cycle with two maps that are initialized in .kag files would look like this: |
<syntaxhighlight lang="actionscript" enclose="div"> | <syntaxhighlight lang="actionscript" enclose="div"> | ||
− | mapcycle = Rules/ | + | mapcycle = Rules/WAR/Maps/mapname.kag; Rules/WAR/Maps/nameofmap.kag; |
</syntaxhighlight> | </syntaxhighlight> | ||
= See also = | = See also = | ||
− | * [[ | + | * [[autoconfig.cfg]] |
− | + | ||
* [[map game files]] | * [[map game files]] | ||
[[Category:Modding]] | [[Category:Modding]] |
Revision as of 13:40, 25 August 2013
Often loaded by the autoconfig.cfg file, this script creates the array "mapcycle" with the cycle of maps, separated by semicolons (;).
Here an example of loading a few maps:
mapcycle = Rules/WAR/Maps/mapname.png; Rules/WAR/Maps/nameofmap.png;
It is noteworthy that maps here can be either PNG's (.png) or KAG (.kag) files. KAG map files will allow you to save entities and other 'happenings' not saveable by the png format.
For example, a Map cycle with two maps that are initialized in .kag files would look like this:
mapcycle = Rules/WAR/Maps/mapname.kag; Rules/WAR/Maps/nameofmap.kag;