]> git.jsancho.org Git - lugaru.git/blobdiff - Docs/DEVTOOLS.txt
Devtools: Remove obsolete skin cmds, fix docs
[lugaru.git] / Docs / DEVTOOLS.txt
index 5685038295aaccc091476a9c6dbfbb970ada16b1..9e7f9731479eeb180e8ddc1f6557d68e9f7102a8 100644 (file)
@@ -27,40 +27,46 @@ Note: dev keys must be pressed as if on a QWERTY keyboard.
 General
 ~~~~~~~
 
-~ = console (map mapname, save mapname, quit)
-tab = minimap
+~ = console (see "Console commands" section)
+alt+m = toggle editor mode (see "Map editor" section)
 
-super+z = restart level
-shift+k = win level
+alt+k = restart challenge
+shift+k = skip challenge
 
-alt+h = give 2000 health
-alt+j = toggle snow/grass/desert
-alt+c = toggle cameramode
-alt+b = slow motion (with motion blur that might work)
+alt+h = give 200000 health and reset damage
+alt+j = toggle snow/grass/desert environment
+alt+c = toggle camera mode
+alt+v = toggle freeze
+alt+b = toggle slow motion
 alt+n = ragdoll
-alt+x = change weapon of nearby player (main player if ctrl is pressed)
-alt+f = spontaneously combust
-alt+o = change enemy's skin (main player if ctrl is pressed)
-alt+shift+o = change enemy's type (rabbit/wolf) (main player if ctrl is pressed)
+alt+x = change weapon of nearby player [mod: ctrl]
+alt+u = change yaw (rotation around Z axis) [mod: ctrl]
+alt+f = put nearby player on fire [mod: ctrl]
+alt+t = change player skin [mod: ctrl]
+alt+shift+t = change player type (rabbit/wolf) [mod: ctrl]
 alt+i = explode nearby head
-alt+shift+i = explode nearby enemy
+alt+shift+i = explode nearby player
 
+* Where noted, the ctrl modifier applies the change to the main player,
+  otherwise to the nearest player.
 
-Map editor:
+Map editor (alt+m)
+~~~~~~~~~~~~~~~~~~
 
-alt+m = toggle editor mode
 o = place object
-p = place enemy
-shift+p = place waypoint
+p = place player
 delete = delete closest object
 shift+delete = delete closest player
-up/down = change size of next object
-control+up/down = change tilt of next object
-left/right = change rotation of next object
+
 shift+left/right = change type of next object
+up/down = change size of next object
+left/right = change yaw (rotation around Z axis) of next object
+ctrl+up/down = change pitch (tilt) of next object
+shift+ctrl+up/down = change map radius
 
-control+p = make/connect pathfind waypoint
-period/comma = select pathfind waypoints
+shift+p = place waypoint
+ctrl+p = make/connect pathfind waypoint
+comma/period = select prev/next pathfind waypoints
 shift+comma = delete pathfind waypoint
 
 
@@ -81,7 +87,7 @@ save (string) - saves the state of the current map.
 Character attributes
 ~~~~~~~~~~~~~~~~~~~~
 
-wolfieisgod - sets the player to a wolf. You gain all of the speed, strength,
+wolfie - sets the player to a wolf. You gain all of the speed, strength,
     durability, and attacks of a wolf.
 funnybunny - sets the player to a rabbit.
 size (float) - changes the overall size of your character.
@@ -118,9 +124,8 @@ cellophane - makes everyone invisible, except for the shadows.
 Character appearance
 ~~~~~~~~~~~~~~~~~~~~
 
-cellar door, rambo, kungfu, white, brown, black - changes your skin to the
-    respective outfit. Note: this command is a little glitchy sometimes. You
-    may have to enter it multiple times before it changes.
+lizardwolf, darko - changes your skin to the respective easter egg texture.
+    Normal skins are available via the ctrl+alt+t hotkey.
 tintr (float) - sets the redness of your clothes.
     This only affects the color of future clothes, so you must set it in
     advance. It must be a value from 0 to 1.
@@ -154,15 +159,17 @@ clothes (string) - adds clothes to your character.
     folder of type ".png". You may add any png file in that folder and use it
     with the clothes command. See Decal Editing to create such files.
 clothesnear - does the same for the character nearest to you.
+clotheslist - lists the clothes of the main player (and their tint).
+clotheslistnear - does the same for the character nearest to you.
 
 Skybox
 ~~~~~~
 
 skybox - toggles skybox on and off.
-sky tint (float) (float) (float) - sets the color tint of the sky.
+skytint (float) (float) (float) - sets the color tint of the sky.
     Each floating point value corresponds to a red, green, or blue value,
     respectively, between 0 and 1.
-sky light (float) (float) (float) - sets the color of the lighting of the sky.
+skylight (float) (float) (float) - sets the color of the lighting of the sky.
     Each floating point value corresponds to a red, green, or blue value,
     respectively, between 0 and 1.
 
@@ -211,6 +218,26 @@ dhs - deletes the last hotspot.
     the map file (make sure to change the byte before the string to the number
     of its characters).
 
+Dialogs
+~~~~~~~
+
+dialog (int) (string) - loads the "string.txt" dialog with type "int" and enter
+    directing mode: Fly around, press numpad 1-10 to change the players' head
+    target, press 1-10 to define who is saying the current line and move on to
+    the next line. The type argument can be one of:
+        0-9 = player index, activates when "attacking" them
+        10+ = "special", activates automatically when in range; player ID is
+              the module of the type (e.g. type 18 would be special, player 8)
+        40-49 = some other thing, someone really needs to cleanup this logic :)
+fixdialog (int) (string) - replaces the dialog of given index by the one
+    described in the "string.txt" file.
+ddialog (int) - deletes given dialog (if no argument or -1, deletes the last
+    dialog). Does not work when actually playing a dialog.
+fixtype (int) (int) - fixes the type (2nd arg) of the given dialog (1st arg).
+play (int) - plays given dialog.
+fixrotation - when playing a dialog, sets the in-dialog yaw of the current
+    participant to its out-of-dialog yaw value.
+
 Graphics
 ~~~~~~~~