C2G: Difference between revisions

717 bytes added ,  19 September 2019
More info
No edit summary
(More info)
Line 186: Line 186:
map "Normal.c2m"</nowiki>
map "Normal.c2m"</nowiki>
In the example above, Normal.c2m will be level 9.
In the example above, Normal.c2m will be level 9.
=== Speed ===
C2G scripting can be used to modify the game at which the speed is played. To do this, the following line must be added before calling the map:
<nowiki> 1 speed =</nowiki>
The number determines the speed, with 1 is normal speed; the upper limit is unknown. This flag will apply for all future levels; in order to restore normal speed, the flag must be called again before a later level.


=== Blocking flags ===
=== Blocking flags ===
Line 205: Line 211:
50 highspeed = continue replay | silent | flags =</nowiki>
50 highspeed = continue replay | silent | flags =</nowiki>
added to the beginning of the file (after the set name) will cause the game to automatically replay the recorded solutions for all levels in the set, in extremely high speed. This can be used to quickly verify that all levels are solvable and have recorded replays.
added to the beginning of the file (after the set name) will cause the game to automatically replay the recorded solutions for all levels in the set, in extremely high speed. This can be used to quickly verify that all levels are solvable and have recorded replays.
== Comments box ==
Certain C2G scripts, notably ktools and speed can be placed inside a [[C2M|specific level file]]'s comments field, and will apply to the level itself. To do this, the comments field must contain the following line:
<nowiki>[COM]</nowiki>
followed, on subsequent lines, by the C2G parameters.


[[Category:File formats]]
[[Category:File formats]]