C2G: Difference between revisions

229 bytes added ,  10 October
Mention of tools > 127 and better example of level ktools
(Remove incorrect info; modify assertion of undiscovered features)
(Mention of tools > 127 and better example of level ktools)
 
Line 135: Line 135:
  2564 tools =
  2564 tools =


Note that tool codes > 16 will be reduced to a value <= 16, and key counts > 9 will be reduced to 9.
Note that tool codes between 17 and 127 will be reduced to a value <= 16. Codes from 128 to 257 produce [[negative items | strange results]]. Key counts > 9 will be reduced to 9.


=== Timed levelset ===
=== Timed levelset ===
Line 318: Line 318:
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:
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>
  <nowiki>[COM]</nowiki>
followed, on subsequent lines, by the C2G parameters.
followed, on subsequent lines, by the C2G parameters. For example, this will cause all players to start the level with fire boots and flippers.
<nowiki>
[COM]
flags ktools | flags = 1027 tools =</nowiki>


== Reference ==
== Reference ==