~ubuntu-branches/ubuntu/trusty/sauerbraten-data/trusty

« back to all changes in this revision

Viewing changes to data/defaults.cfg

  • Committer: Bazaar Package Importer
  • Author(s): Bruno "Fuddl" Kleinert
  • Date: 2008-06-28 10:58:08 UTC
  • mfrom: (1.1.4 upstream) (3.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080628105808-qjjjg12cwhw406lv
Tags: 0.0.20080620-1
* New upstream release
* Update debian/copyright
* Update debian/rules to remove the executable bit from some more plain text
  files

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 
14
14
gamma 100          // set to your liking, 100 = default
15
15
 
 
16
fullbrightmodels 50 // make player models a bit easier to see
 
17
 
 
18
// console
 
19
 
 
20
consize 5            // mini-console is 5 lines
 
21
fullconsize 75       // full console is 75% of screen
 
22
confilter 0xFFF      // don't display other player frags in mini-console
 
23
fullconfilter 0xFFFF // display all messages in full console
16
24
 
17
25
// WASD
18
26
 
26
34
bind RIGHT "right"
27
35
bind LEFT "left"
28
36
 
29
 
bind 0 "weapon 0 1 2"
30
 
bind 1 "weapon 1 2 4"
31
 
bind 2 "weapon 2 1 4"
32
 
bind 3 "weapon 3 4 2"
33
 
bind 4 "weapon 4 3 2"
34
 
bind 5 "weapon 5 3 1"
35
 
bind 6 "weapon 6 2 4"
 
37
// old style weapon binds
 
38
//bind 0 "weapon 0 1 2"
 
39
//bind 1 "weapon 1 2 4"
 
40
//bind 2 "weapon 2 1 4"
 
41
//bind 3 "weapon 3 4 2"
 
42
//bind 4 "weapon 4 3 2"
 
43
//bind 5 "weapon 5 3 1"
 
44
//bind 6 "weapon 6 2 4"
 
45
 
 
46
// new style weapon binds
 
47
bind 0 "setweapon 0"
 
48
bind 1 "setweapon 1"
 
49
bind 2 "setweapon 2"
 
50
bind 3 "setweapon 3"
 
51
bind 4 "setweapon 4"
 
52
bind 5 "setweapon 5"
 
53
bind 6 "setweapon 6"
36
54
 
37
55
bind SPACE "jump"
38
56
bind MOUSE2 "jump"
39
57
bind MOUSE1 "attack"
40
58
bind MOUSE3 "weapon"
 
59
specbind MOUSE1 "nextfollow"
 
60
specbind MOUSE2 "nextfollow -1"
 
61
specbind MOUSE3 "follow"
 
62
specbind SPACE "follow"
41
63
 
42
64
bind R repammo
43
65
 
44
66
bind TAB "showscores"
45
67
 
46
68
bind T "saycommand"
 
69
sayteamcommand = [inputcommand "" [sayteam $commandbuf] "[team]"]
 
70
bind Y "sayteamcommand"
47
71
bind BACKQUOTE "saycommand /"
48
72
bind SLASH "saycommand /"
49
73
 
78
102
regencapture = [ mode 14; map $arg1 ] 
79
103
asn          = [ mode 15; map $arg1 ]
80
104
instaasn     = [ mode 16; map $arg1 ]
 
105
ctf          = [ mode 17; map $arg1 ]
 
106
instactf     = [ mode 18; map $arg1 ]
81
107
 
82
108
mapcomplete = [ complete $arg1 packages/base ogz ]
83
109
mapcomplete map
93
119
mapcomplete regencapture
94
120
mapcomplete asn
95
121
mapcomplete instaasn
 
122
mapcomplete ctf
 
123
mapcomplete instactf
96
124
complete importcube packages/cube cgz
97
125
complete demo . dmo
98
126
 
114
142
 
115
143
delta_game_0 = [ if (= $arg1 1) [ weapon 2 3 5 ] [ weapon 4 1 5 ] ]
116
144
 
117
 
zfov = 120
118
 
delta_game_1 = [
119
 
  zfov = (+ $zfov (* $arg1 (div $zfov -5)))
120
 
  if (< $zfov 10)  [ zfov = 10 ]
121
 
  if (> $zfov 120) [ zfov = 120 ]
122
 
  fov $zfov
123
 
]
124
 
 
125
 
bind G [ domodifier 1 ]
126
 
 
 
145
//zfov = 120
 
146
//delta_game_1 = [
 
147
//  zfov = (+ $zfov (* $arg1 (div $zfov -5)))
 
148
//  if (< $zfov 10)  [ zfov = 10 ]
 
149
//  if (> $zfov 120) [ zfov = 120 ]
 
150
//  fov $zfov
 
151
//]
 
152
 
 
153
//bind G [ domodifier 1 ]
 
154
 
 
155
togglezoom = [ zoom (if (= $zoom 1) -1 1) ]
 
156
 
 
157
bind G [ togglezoom ]
127
158
 
128
159
//////////////////////////////////
129
160
// Sauerbraten Editing related bindings
130
161
// found in autoexec.cfg in your sauerbraten directory
131
162
 
132
 
editbind SPACE  [ cancelsel; passthroughsel 0 ] // meh.. will need to make better fix
 
163
editbind SPACE  [ cancelsel ]
133
164
editbind MOUSE1 [ editdrag ]
134
165
editbind MOUSE3 [ selcorners ]
135
166
editbind MOUSE2 [ editextend ]
136
167
 
137
168
editbind KP_ENTER [ entselect insel ]
138
169
editbind N        [ entselect insel ]
139
 
editbind M        [ selentfindall ]
 
170
editbind B        [ selentfindall ]
140
171
 
141
172
editbind    LSHIFT  [ editcut ]
142
 
editbindmod LCTRL   [ hmapctrl ]
 
173
editbindmod LCTRL   [ hmapedit ]
143
174
editbindmod LALT    [ passthrough ]
144
175
editbindmod RALT    [ passthrough ]
145
176
editbind BACKSPACE  [ editdel ]
 
177
editbind DELETE     [ editdel ]
146
178
 
 
179
editbind T [ saycommand ]
147
180
editbind X [ editflip ]
148
181
editbind C [ editcopy ]
149
182
editbind V [ editpaste ]
150
 
editbind Z [ undo; passthroughsel 0] 
 
183
editbind Z [ undo; passthroughsel 0]
151
184
editbind U [ undo; passthroughsel 0]
152
185
editbind I [ redo ]
153
 
editbind H [ hmapedit ( ! $hmapedit ) ]
 
186
editbind H [ if $hmapedit [ editface 1 -1 ] [ hmapedit 1 ] ]
 
187
 
 
188
editbindvar 5 hidehud
 
189
editbindvar 6 entselsnap
 
190
editbindvar 7 outline
 
191
editbindvar 8 wireframe
 
192
bindvar 9 thirdperson
 
193
editbindvar 0 allfaces
 
194
editbind K calclight
 
195
editbindvar L fullbright
 
196
editbindvar M showmat
 
197
 
 
198
editbind PERIOD selentedit
 
199
 
 
200
editbind F2 showtexgui
 
201
editbind F3 [ cleargui; showentgui ]
 
202
editbind F4 [ showgui mapmodels ]
 
203
editbind F5 savemap
 
204
editbind F6 [ notepad (mapcfgname) ]
154
205
 
155
206
// commands below are used with scroll wheel (and universaldelta).
156
207
// if you have no scroll wheel or don't want to use it,
172
223
editbind G [ domodifier 1 ] // domodifier 1 -> executes delta_edit_1
173
224
editbind F [ domodifier 2 ] // etc...
174
225
editbind Q [ domodifier 3 ]
175
 
editbind R [ domodifier 4 ] 
 
226
editbind R [ domodifier 4 ]
176
227
editbind Y [ domodifier 6 ]
177
228
editbind B [ domodifier 9; brushcopy = 0; ]
178
229
editbind J [ domodifier 9; brushcopy = 0; ]
188
239
delta_edit_9 = [ selectbrush $arg1 ] // change heightmap brushes
189
240
delta_edit_10 = [ entautoview $arg1 ]
190
241
 
191
 
 
192
 
entcomplete = [ listcomplete $arg1 "light mapmodel playerstart envmap particles sound spotlight shells bullets rockets riflerounds grenades cartridges health healthboost greenarmour yellowarmour quaddamage teleport teledest monster carrot jumppad base respawnpoint box barrel platform elevator" ]
 
242
editbind 1 [ domodifier 11 ]
 
243
editbind 2 [ domodifier 12 ]
 
244
editbind 3 [ domodifier 13 ]
 
245
editbind 4 [ domodifier 14 ]
 
246
 
 
247
delta_edit_11 = [ entproperty 0 (* $arg1 $multiplier) ]
 
248
delta_edit_12 = [ entproperty 1 (* $arg1 $multiplier) ]
 
249
delta_edit_13 = [ entproperty 2 (* $arg1 $multiplier) ]
 
250
delta_edit_14 = [ entproperty 3 (* $arg1 $multiplier) ]
 
251
 
 
252
multiplier = 1
 
253
 
 
254
 
 
255
entcomplete = [ listcomplete $arg1 $enttypelist ]
193
256
entcomplete newent
194
257
entcomplete entfind
195
258
 
196
 
listcomplete editmat "air water clip glass noclip lava aiclip"
 
259
listcomplete editmat "air water clip glass noclip lava aiclip death"
197
260
air = [ editmat air ]
198
261
water = [ editmat water ]
199
262
clip = [ editmat clip ]
201
264
noclip = [ editmat noclip ]
202
265
lava = [ editmat lava ]
203
266
aiclip = [ editmat aiclip ]
204
 
 
205
 
editbindvar 6 entselsnap
206
 
editbindvar 7 outline
207
 
editbindvar 8 wireframe
208
 
bindvar 9 thirdperson
209
 
editbindvar 0 allfaces
210
 
editbindvar L fullbright
211
 
 
212
 
editbind PERIOD selentedit
213
 
 
214
 
editbind F3 [ cleargui; showentgui ]
215
 
editbind F2 showtexgui
216
 
editbind F5 savemap
 
267
death = [ editmat death ]
 
268