colobot-data/help/generic/E/cheats.txt

57 lines
3.0 KiB
Plaintext

\b;Cheats
Great, you have found this secret page. We hope you will use informations contained here only for other than cheating purposes. Like testing the game or recording a cool video about Colobot.
\b;Console
You can open the console by pressing the \key;\c;~\n;\norm; button on your keyboard. Press \key;\c;ENTER\n;\norm; to hide it or pass one of the commands below.
\t;Missions
o \c;winmission \n;Immediately win the current mission
o \c;lostmission \n;Immediately lose the current mission
o \c;allmission \n;All missions are unlocked
o \c;showsoluce \n;Unlock solution to the current mission
\t;Gameplay
o \c;allresearch \n;All researches are done
o \c;allbuildings \n;All buildings are enabled
o \c;all \n;\c;allbuildings\n; + \c;allresearch\n;
o \c;fullenergy \n;Restore energy in the currently selected bot
o \c;fullshield \n;Restore shield in the currently selected object
o \c;fullrange \n;Flying reactor is cold
o \c;fullpower \n;\c;fullenergy\n; + \c;fullshield\n; + \c;fullrange\n;
o \c;selectinsect \n;You can select and control aliens
o \c;fly \n;You can fly even if flying is disabled in the current mission
o \c;invradar \n;Mini-map works like you would have built a \l;radar\u object\radar;
o \c;addfreezer \n;Flying reactor heats more slowly
o \c;addhusky \n;You take less damage than usual
o \c;nolimit \n;You can fly higher
o \c;trainerpilot \n;You can drive robots which could be previously controlled only by programs
o \c;noclip \n;You can pass through objects
o \c;clip \n;Disable \c;noclip\n;
o \c;speed \n;Set the speed of the game to the given number, for example \c;speed 2\n; - two times faster, \c;speed 0.5\n; - two times slower
\t;Debug
o \c;showstat \n;Show debug statistics on the screen
o \c;debugmode \n;Enable debug mode (useful for the game developers)
\t;Aesthetic
o \c;photo1 \n;Free camera, you can change angle with \key;\c;+\n;\norm; and \key;\c;-\n;\norm; keys, type again to set it off
o \c;photo2 \n;Same as \c;photo1\n;, except it hides interface, type again to set it off
\b;CBOT
There are hidden commands in CBOT that are not even highlighted in the editor. They are considered cheating, so do not use them for "legal" programs. It should be fine to use them for level creation though if there is no other way.
o \c;\l;produce\u cbot\produce; \n;Immediately creates an object
\t;Level Controller functions
Numbers mean order of parameters.
o \c;delete \n;Damages the object, \c;1\n;: object's ID, \c;2\n;: magnifyDamage multiplier, without \c;2\n; the object explodes
o \c;setbuild \n;Sets buildings bitmask, \c;1\n;: new bitmask
o \c;setresearchenable \n;Sets researches bitmask, \c;1\n;: new bitmask
o \c;setresearchdone \n;Sets done researches bitmask, \c;1\n;: new bitmask
o \c;getbuild \n;Returns buildings bitmask
o \c;getresearchenable \n;Returns researches bitmask
o \c;getresearchdone \n;Returns done researches bitmask
o \c;playmusic \n;Plays music, \c;1\n;: file name, \c;2\n;: repeat
o \c;stopmusic \n;Stops music