blob: b66ec7a2eadcfbf4b9f3118b1383c49a52fe5c9d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
|
// these default settings get executed whenever "config.cfg" is not available
// do not modify anything below, instead change settings in game, or add to autoexec.cfg
name "Anonymous"
invmouse 0 // 1 for flightsim mode
sensitivity 3 // similar number to quake
fov 100 // 90 is default in other games
musicvol 60 // set higher if you want (max 255)
soundvol 255 // sounds average volume is actually set per sound, average 100
gamma 100 // set to your liking, 100 = default
fullbrightmodels 60 // make player models a bit easier to see
// console
consize 5 // console is 5 lines
miniconsize 5 // mini-console is 5 lines
miniconwidth 40 // mini-console is 40% of screen width
fullconsize 75 // full console is 75% of screen height
miniconfilter 0x300 // display chat and team chat in mini-console
confilter (&~ 0x2FFF $miniconfilter) // don't display other player frags or mini-console stuff in console
fullconfilter 0xFFFF // display all messages in full console
// WASD
bind W forward
bind A left
bind S backward
bind D right
bind UP "forward"
bind DOWN "backward"
bind RIGHT "right"
bind LEFT "left"
// new style weapon binds
bind 0 "setweapon FI"
bind 1 "setweapon SG"
bind 2 "setweapon CG"
bind 3 "setweapon RL"
bind 4 "setweapon RI"
bind 5 "setweapon GL"
bind 6 "setweapon PI"
bind 7 "setweapon FI"
bind SPACE "jump"
bind MOUSE2 "jump"
bind MOUSE1 "attack"
bind MOUSE3 "weapon"
specbind MOUSE1 "nextfollow"
specbind MOUSE2 "nextfollow -1"
specbind MOUSE3 "follow"
specbind SPACE "follow"
bind TAB "showscores"
bind T "saycommand"
bind Y "sayteamcommand"
bind BACKQUOTE "saycommand /"
bind SLASH "saycommand /"
bind I taunt
bind E edittoggle
bind KP_MINUS "conskip 5"
bind KP_PLUS "conskip -1000"
bindvarquiet F1 paused
bindvarquiet PAUSE paused
bind F11 "toggleconsole"
bind F12 "screenshot"
bind INSERT "addbot"
bind DELETE "delbot"
hudgun 1
//////////////////////////////////
// universal scrollwheel + modifier commands:
defaultmodifier = 0
modifier = $defaultmodifier
domodifier = [ modifier = $arg1; onrelease [ modifier = $defaultmodifier ] ]
universaldelta = [
do [delta_@(if $editing [ result edit ] [ result game ])_@modifier @arg1]
]
bind MOUSE4 [ universaldelta 1 ] // also used for editing, see below
bind MOUSE5 [ universaldelta -1 ]
//////////////////////////////////
delta_game_0 = [ if (= $arg1 1) [ weapon 2 3 5 4 1 6 0 ] [ weapon 4 1 6 2 3 5 0 ] ]
//zfov = 120
//delta_game_1 = [
// zfov = (+ $zfov (* $arg1 (div $zfov -5)))
// if (< $zfov 10) [ zfov = 10 ]
// if (> $zfov 120) [ zfov = 120 ]
// fov $zfov
//]
//bind G [ domodifier 1 ]
bind G [ togglezoom ]
bind Z [ togglezoom ]
//////////////////////////////////
// Sauerbraten Editing related bindings
// found in autoexec.cfg in your sauerbraten directory
editbind SPACE [ cancelsel ]
editbind MOUSE1 [ editdrag ]
editbind MOUSE3 [ selcorners ]
editbind MOUSE2 [ editextend ]
editbind J [ gotosel ]
editbind KP_ENTER [ entselect insel ]
editbind N [ selentfindall ]
editbind LSHIFT [ editcut ]
editbindmod LCTRL [ passthrough ]
editbind DELETE [ editdel ]
editbind T [ saycommand ]
editbind X [ editflip ]
editbind C [ editcopy ]
editbind V [ editpaste ]
editbind O [ domodifier 15 ] // vSlot: offset H
editbind P [ domodifier 16 ] // vSlot: offset V
editbindvar 5 hidehud
editbindvar 6 entselsnap
editbindvar 7 outline
editbindvar 8 wireframe
bindvar 9 thirdperson allowthirdperson
editbindvar 0 allfaces
editbind K calclight
editbindvar L fullbright
editbindvar M showmat
editbind PERIOD selentedit
editbind F2 showtexgui
editbind F3 [if (cleargui 1) [] [showentgui]]
editbind F4 [if (cleargui 1) [] [showgui mapmodels]]
editbind F5 savemap
editbind F6 [ notepad (mapcfgname) ]
editbind F9 [echo (getseltex) : (gettexname (getseltex))] // echo texture info
// commands below are used with scroll wheel (and universaldelta).
// if you have no scroll wheel or don't want to use it,
// you can either change the binds of universaldelta
// ex: bind MOUSE4 [ universaldelta 1 ]
// bind MOUSE5 [ universaldelta -1 ]
// can be changed to:
// bind PAGEUP [ universaldelta 1 ]
// bind PAGEDOWN [ universaldelta -1 ]
// so that the PAGEUP and PAGEDOWN key act just like a scroll wheel
//
// or you can rebind all the commands to seperate keys
// ex: bind T [ domodifier 6 ]
// can be changed to:
// bind HOME [ edittex 1 ]
// bind END [ edittex -1 ]
editbind G [ domodifier 1 ] // domodifier 1 -> executes delta_edit_1
editbind F [ domodifier 2 ] // etc...
editbind Q [ domodifier 3 ]
editbind R [ domodifier 4 ]
editbind Y [ domodifier 6 ]
editbind B [ domodifier 9 ]
editbind COMMA [ domodifier 10; onrelease entautoview ]
delta_edit_0 = [
editfacewentpush $arg1 1 // Fill and Empty cube
]
delta_edit_1 = [ nodebug [ gridpower (+ $arg1 $gridpower) ] ]
delta_edit_2 = [ editfacewentpush $arg1 0 ] // push face/corners selected
delta_edit_3 = [ editfacewentpush $arg1 2 ] // push corner pointed at by cursor
delta_edit_5 = [ entproperty 0 $arg1 ] // and the others
delta_edit_6 = [ edittex $arg1 ] // change textures
delta_edit_10 = [ entautoview $arg1 ]
editbind 1 [ domodifier 11 ]
editbind 2 [ domodifier 12 ]
editbind 3 [ domodifier 13 ]
editbind 4 [ domodifier 14 ]
delta_edit_11 = [ entproperty 0 (* $arg1 $multiplier) ]
delta_edit_12 = [ entproperty 1 (* $arg1 $multiplier) ]
delta_edit_13 = [ entproperty 2 (* $arg1 $multiplier) ]
delta_edit_14 = [ entproperty 3 (* $arg1 $multiplier) ]
delta_edit_15 = [ vdelta [voffset (* $arg1 $multiplier2) 0] ] // vSlot: offset H
delta_edit_16 = [ vdelta [voffset 0 (* $arg1 $multiplier2)] ] // vSlot: offset V
delta_edit_17 = [ vdelta [vrotate $arg1] ] // vSlot: rotate
delta_edit_18 = [ vdelta [vscale (if (< $arg1 0) 0.5 2)] ] // vSlot: scale
//editbind LALT [multiplier = 10;onrelease [multiplier = 1]]
//editbind RALT [multiplier2 = 32;onrelease [multiplier2 = 16]]
multiplier = 1
multiplier2 = 16
|