]> git.jsancho.org Git - lugaru.git/blobdiff - Docs/DEVTOOLS.txt
Maps: Fix hardcoded usage of FurBW.jpg
[lugaru.git] / Docs / DEVTOOLS.txt
index 46916a012fc7d14db1db03025afedb0a64000dca..cfb823200ae9a041eafd25c26712bfcea74bf0a1 100644 (file)
@@ -87,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.
@@ -160,6 +160,8 @@ 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
 ~~~~~~
@@ -217,6 +219,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
 ~~~~~~~~