]> git.jsancho.org Git - lugaru.git/blob - DEVTOOLS.txt
66a8cd2662ba66c38078eff0ae100cb5b6821171
[lugaru.git] / DEVTOOLS.txt
1 Lugaru
2 Set debug to 1 in config.txt
3 In the mac version you can find it in /User/~YourUserName~/Library/ApplicationSupport/Lugaru/Data/config.txt
4 In the windows version you can find it in C:/users/yourusername/appdata/roaming/lugaru/config.txt
5 In the linux version you can find it in ~/.config/lugaru/config.txt
6 Keys
7 ~ = console (map mapname, save mapname, quit)
8 tab = minimap
9
10 super+z = restart level
11 shift+k = win level
12
13 alt+h = give 2000 health
14 alt+j = toggle snow/grass/desert
15 alt+c = toggle cameramode
16 alt+b = slow motion (with motion blur that might work)
17 alt+n = ragdoll
18 alt+x = change weapon of nearby player (main player if ctrl is pressed)
19 alt+f = spontaneously combust
20 alt+o = change enemy's skin (main player if ctrl is pressed)
21 alt+shift+o = change enemy's type (rabbit/wolf) (main player if ctrl is pressed)
22 alt+i = explode nearby head
23 alt+shift+i = explode nearby enemy
24
25
26 Map editor:
27
28 alt+m = toggle editor mode
29 m = place object
30 p = place enemy
31 shift+p = place waypoint
32 delete = delete most recently made object
33 shift+delete = delete most recently made player
34 up/down = change size of next object
35 control+up/down = change tilt of next object
36 left/right = change rotation of next object
37 shift+left/right = change type of next object
38
39 control+p = make/connect pathfind waypoint
40 period/comma = select pathfind waypoints
41 shift+comma = delete pathfind waypoint
42
43
44 The Console Commands
45
46 Mapping
47 map (string) loads the specified map. The string corresponds to the filename of a map in the Maps folder, located in Lugaru's Data folder.
48 save (string) saves the state of the current map. The string corresponds to the filename that the map will be saved under in the Maps folder, located in Lugaru's Data folder. Caution: this command will overwrite other maps with the same name without prompting you.
49
50 Character Attributes
51 wolfieisgod sets the player to a wolf. You gain all of the speed, strength, durability, and attacks of a wolf.
52 funnybunny sets the player to a rabbit.
53 size (floating point) changes the overall size of your character. The value is based on 1, that is, 1.5 is 50% larger.
54 proportion (floating point) (floating point) (floating point) (floating point) changes the proportions of your character. The four floating point values correspond to the proportions of the character's head, body, arm and leg respectively. Each value is based on 1, that is, 1.5 is 50% larger.
55 speed (floating point) sets your running speed. Each value is based on 1, that is, 1.5 is 50% faster.
56 strength (floating point) set your attack strength. Each value is based on 1; that is, 1.5 is 50% stronger.
57 power (floating point) sets the amount of health you have. Each value is based on 1; that is, 1.5 is 50% healthier.
58 protection (floating point) (floating point) (floating point) sets your armor strength in terms of blunt resistance. Each floating point corresponds to the strength of your high, medium, or low resistance, respectively. Each value is based on 1; that is, 1.5 is 50% more durable.
59 armor (floating point) (floating point) (floating point) sets your armor strength in terms of sharp attacks. Each floating point corresponds to the strength of your high, medium, or low resistance, respectively. Each value is based on 1; that is, 1.5 is 50% more durable.
60 immobile makes character immobile. May gain some FPS in dialogue levels.
61 mobile cancels 'immobile'.
62 allimmobile does as name suggests. May be used when you are done with a dialogue level.
63 armorreset, protectionreset reset the value of the armor and protection settings for your character.
64 armornear, protectionnear, proportionnear, sizenear apply the changes to the character nearest to you instead of you.
65 cellophane makes everyone invisible, except for the shadows.
66
67 Character Appearance
68 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.
69 tintr (floating point) 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.
70 tintg (floating point) sets the greenness 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.
71 tintb (floating point) sets the blueness 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.
72 tint (floating point) (floating point) (floating point) sets the collor of your clothes. This only affects the color of future clothes, so you must set it in advance. Each floating point corresponds to red, green, and blue, respectively. Each value must be a number from 0 to 1.
73 noclothes removes all of your clothes.
74 noclothesnear same, applied to the character nearest to you.
75 clothes (string) adds clothes to your character. The string can be one of the following:
76 shirt
77 longsleeve
78 earwrap
79 footwrap
80 pants
81 fancypants
82 scar
83 headband
84 leatherwristleft
85 leatherwristright
86 leatherarmor
87 leatherpants
88 fire
89 Actually, these names come from the files in your Data/Lugaru/Textures 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.
90 clothesnear does the same for the character nearest to you.
91
92 Sky
93 skybox toggles skybox on and off.
94 sky tint (floating point) (floating point) (floating point) sets the color tint of the sky. Each floating point value corresponds to a red, green, or blue value, respectively, between 0 and 1.
95 sky light (floating point) (floating point) (floating point) 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.
96
97 Miscellaneous Map
98 tutorial (boolean) toggles tutorial mode on/off for the current map.
99 hostile (boolean) toggles whether or not characters on the map are hostile.
100 type (string) sets the initial state of the next character. The possible values are listed below:
101 active
102 sitting
103 sitting wall
104 sleeping
105 dead1
106 dead2
107 dead3
108 dead4
109 path keepwalking or path pause determines whether enemies walk through the next pathpoint or pause briefly.
110
111 Map Objectives
112 mapkilleveryone makes objective of the map to kill everyone
113 mapgosomewhere makes objective of the map to go somewhere
114 mapkillsomeone makes objective of the map to kill a specific enemy
115 mapkillmost makes objective of the map to kill everyone but one
116
117 Hotspots
118 hs (size) (type) (string) creates a hotspot underneath you. The three arguments correspond to the size, type, and text of the hotspot, respectively. See below for the explanations of each type integer.
119 type 0 = static, display text
120 type 1-10 = attached to player 1-10, display text
121 type 11-20 = attached to player 1-10, must kill to win
122 type -1 = win if approached
123 dhs deletes the last hotspot.
124 An example is "hs 15.0 0 sdf". Note that hotspots are very buggy, especially those not of type 0. Quitting and restarting Lugaru, then creating a hotspot in a simple map first, can help. You may have to fiddle around with this. Some strings may be randomly rejected, but if you know how to hex-edit, you can change them directly in the map file (make sure to change the byte before the string to the number of its characters).
125
126 Graphics
127 viewdistance (floating point) sets the far clipping plane. In other words, it controls how far you can see before the fog obscures it. Its value is based on 1, that is, 1.5 is 50% farther.
128 fadestart (floating point) sets what fraction of the viewdistance an object must pass to begin fading. In other words, it controls how far an object has to be before it starts becoming transparent. Its value is based on 1, that is, 1.5 is 50% farther.
129
130 Miscellaneous
131 quit quits Lugaru.
132 slomo (floating point) Toggles slow motion on or off. If it's turning on, the gamespeed is controlled by the floating point value. The value is based on 1, that is, 0.5 is 50% slower than normal game speed.
133 slofreq (integer) sets the slow motion sound frequency
134 The following commands have unknown effects metal, sizemin, fixrotation, fixtype.