]> git.jsancho.org Git - lugaru.git/blob - DEVTOOLS.txt
Mention devtools option in man page
[lugaru.git] / DEVTOOLS.txt
1 Lugaru Developer Tools
2 ======================
3
4 Activation
5 ----------
6
7 - Pass --devtools option to the binary for these to work
8 - Or add the following to your config.txt:
9
10     Devtools:
11     1
12
13 Key bindings
14 ------------
15
16 Note: dev keys must be pressed as if on a QWERTY keyboard.
17
18 General
19 ~~~~~~~
20
21 ~ = console (map mapname, save mapname, quit)
22 tab = minimap
23
24 super+z = restart level
25 shift+k = win level
26
27 alt+h = give 2000 health
28 alt+j = toggle snow/grass/desert
29 alt+c = toggle cameramode
30 alt+b = slow motion (with motion blur that might work)
31 alt+n = ragdoll
32 alt+x = change weapon of nearby player (main player if ctrl is pressed)
33 alt+f = spontaneously combust
34 alt+o = change enemy's skin (main player if ctrl is pressed)
35 alt+shift+o = change enemy's type (rabbit/wolf) (main player if ctrl is pressed)
36 alt+i = explode nearby head
37 alt+shift+i = explode nearby enemy
38
39 Map editor
40 ~~~~~~~~~~
41
42 alt+m = toggle editor mode
43 m = place object
44 p = place enemy
45 shift-p = place waypoint
46 delete = delete most recently made object
47 shift-delete = delete most recently made player
48 up/down = change size of next object
49 control+up/down = change tilt of next object
50 left/right = change rotation of next object
51 shift+left/right = change type of next object
52
53 control+p = make/connect pathfind waypoint
54 period/comma = select pathfind waypoints
55 shift+comma = delete pathfind waypoint
56
57 Console commands
58 ----------------
59
60 f is floating point, i is integer, b is boolean, str is string.
61
62 Map mapname where mapname is the name of a map in the maps folder
63 Save mapname where mapname is an unused filename
64 Cellar door, rambo, kungfu, white, brown, black = change skins
65
66 Tintr f = red clothes color from 0 to 1
67 Tintg f = green clothes color from 0 to 1
68 Tintb f = blue clothes color from 0 to 1
69 Tint f f f = r,g,b clothes colors from 0 to 1
70 Noclothes = remove all clothes
71 Clothes str = add clothes str.png
72
73 Included clothes include:
74 Shirt
75 LongSleeve
76 EarWrap
77 FootWrap
78 Pants
79 FancyPants
80 Scar
81 Headband
82 LeatherWristLeft
83 LeatherWristRight
84 LeatherArmor
85 LeatherPants
86
87 Skybox = toggle skybox (i.e. turn off to get fog)
88 Sky Tint f f f =  r,g,b colors from 0 to 1 for the sky
89 Sky Light f f f =  r,g,b colors from 0 to 1 for the lighting
90
91 Speed f = set player speed
92 Strength f = set player power
93 Power f = set player power
94 Protection f f f = set high,medium,low resistance to blunt attacks
95 Armor f f f = set high,medium,low resistance to sharp attacks
96
97 slomo f = set the slomo speed
98 slofreq i = set the slomo sound frequency
99
100 tutorial b = toggle tutorial mode on/off
101 hostile b = toggle hostility
102
103 type active/sitting/sitting wall/sleeping/dead1/dead2/dead3/dead4 = set initial state
104 path keepwalking/pause = determine whether enemies walk through the next pathpoint or pause briefly
105
106 mapkilleveryone = set the map objective to kill everyone
107 mapgosomewhere = set the map objective to go somewhere
108 mapkillsomeone = set the map objective to kill a specific enemy
109 mapkillmost = set the map objective to kill everyone but one
110
111 hs f i str = set the size, type, and text for a hotspot
112 (type 0 = static, display text
113 type 1-10 = attached to player 1-10, display text
114 type 11-20 = attached to player 1-10, must kill to win
115 type -1 = win if approached)
116
117 dhs = delete last hotspot
118
119 dialogue str = load the dialogue str.txt and enter directing mode (fly around, press numpad 1-10 to change their head target, press 1-10 for who is saying each line and to go to next line)
120
121 ddialogue = delete last dialogue
122
123 play i = play dialogue #i
124
125 immobile = make immobile; this can increase fps
126 mobile = make mobile
127
128 proportion f f f f = set head, body, arm and leg proportion (1 is default)
129
130 viewdistance x= set the far clipping plane (1 is default)
131 fadestart x= set what fraction of the viewdistance an object must pass to begin fading (1 is default)
132
133 funnybunny = set player to rabbit
134 wolfieisgod = set player to wolf
135
136 quit = quit