Cheats
The cheat commands will be useful for you to test your map while creating it. Changes made with these commands won't be incorporated in the next version of your map when saved with -smic.
-
-slideSpeed (ss) ‹speed›This command defines a new slide speed for your hero, which will stay the same whatever the slide terrains on which the unit will be. The speed is denominated in points per second according to coordinates. Cf the map in the editor.Examples-slideSpeed 500
-ss -200
-ss 0 -
-normalSlideSpeed (nss)This command cancels the definition of a slide speed with "slideSpeed" command, and make it become normal again, in function of slide terrains on which the hero will be.Examples-normalSlideSpeed
-nss -
-walkSpeed (ws) ‹speed›This command defines a new walk speed for your hero, which will stay the same whatever the walk terrains on which the unit will be. The speed is denominated in points per second according to coordinates. Cf the map in the editor. Warning, minimum of 0 and maximum of 522.Examples-walkSpeed 300
-ws 0 -
-normalWalkSpeed (nws)This command cancels the definition of a walk speed with "walkSpeed" command, and make it become normal again, in function of walk terrains on which the hero will be.Examples-normalWalkSpeed
-nws -
-teleport (t)This commands allows you to activate the teleportation of your hero at the next right click, targetting the clicked point.Examples-teleport
-t -
-revive (r)Simply revives your hero at the checkpoint of the current level.Examples-revive
-r -
-reviveTo (rto) ‹Pcolor›Revives your hero to the place of an other hero and with the same facing angle as him. The target hero is specified with the color of the player he belongs to. He must be alive for the teleportation to work.Examples-reviveTo red
-rto tl -
-getInfiniteMeteors (gim)Puts in your inventory a meteor that doesn't disapear after being used. This meteor has a very big range and can be put on the ground.Examples-getInfiniteMeteors
-gim -
-deleteInfiniteMeteors (dim)Removes the infinite meteor from your inventory if you have one. It works in both cases you typed the command "giveInfiniteMeteors" and you picked up the infinite meteor on the ground.Examples-deleteInfiniteMeteors
-dim -
-endLevel (el)Brings you to the next level, like if someone would reach the checkpoint. Works only if the current level is not the last one.Examples-endLevel
-el -
-goToLevel (gotl) ‹levelId›Brings you to the specified level, knowing the first level is number 0. Every hero is revived. Works only if the specified level isn't the current one.Examples-goToLevel 4
-gotl 1 -
-viewAll (va)Displays the whole map.Examples-viewAll
-va -
-hideAll (ha)Puts the map view back to normal, which means display only the zones supposed to be revealed by previous levels and the current one.Examples-hideAll
-ha -
-setGodMode (setgm) ‹boolean status›Enable or disable the god mode for your hero. If it is enabled, your hero won't die anymore, except with "kill" command.Examples-setGodMode off
-setgm 0
-setgm true -
-setGodModeKills (setgmk) ‹boolean status›Enable or disable the "god mode kills" for your hero. If it is enabled and with condition of god mode to be enabled too, the monsters will be killed by your hero. Warning, killed monsters aren't removed from the map. Just restart the levels to make them be alive again.Examples-setGodModeKills on
-setgmk 1
-setgmk false -
-setGravity (setg) ‹real gravity›Allows you to modify the gravity according to the entered number. The gravity is used for jumps in function of the difference in height of the terrain while sliding. A negative gravity makes the hero fall while a positive gravity makes him rise. A normal gravity is about -45. The gravity is not saved when saving ingame modifications. If you want to definitely change the gravity, you have to do it with the JNGP : in the trigger editor, "Slide and Check Terrain Triggers" folder, "Gravity" trigger. Change the value "-45" in the "set gravity = -45 * SLIDE_PERIOD" line.Examples-setGravity 0
-setg -30.5 -
-getGravity (getg)Displays the current gravity.Examples-getGravity
-getg -
-setHeight (seth) ‹real height›Modifies the height of your hero according to the entered real number. If the height is higher than 1, the different terrain types are ignored. The hero doesn't slide anymore, he doesn't die anymore on the death terrains. The gravity has no influence on the hero when changing his height with "setHeight". For the game to get a normal behaviour again, put a height 0.Examples-setHeight 400
-seth 0