~ubuntu-branches/ubuntu/trusty/redeclipse-data/trusty

« back to all changes in this revision

Viewing changes to data/defaults.cfg

  • Committer: Package Import Robot
  • Author(s): Martin Erik Werner
  • Date: 2012-09-01 21:11:53 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120901211153-8913lu8fs7qukj6y
Tags: 1.3.1-1
* New upstream development snapshot
* XZ compression for orig tarball
* Standards-Version 3.9.3
  - Set final DEP-5 Format: link

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
exec "engine.cfg"
5
5
exec "brush.cfg"
6
6
exec "sounds.cfg"
 
7
exec "usage.cfg"
7
8
 
8
9
// Game Aliases
9
10
mapcomplete     = [ setcomplete $arg1 1; complete $arg1 maps mpz ]; mapcomplete map
11
12
 
12
13
demo            = [ stopdemo; start $arg1 0 0 ]; complete demo . dmo
13
14
 
14
 
edit            = [ start $arg1 1 0 ]; mapcomplete edit
15
 
campaign        = [ start $arg1 2 0 ]; mapcomplete campaign
16
 
deathmatch      = [ start $arg1 3 0 ]; mapcomplete deathmatch; dm = [ deathmatch $arg1 ]; mapcomplete dm
17
 
teamdm          = [ start $arg1 3 2 ]; mapcomplete teamdm; tdm = [ teamdm $arg1 ]; mapcomplete tdm
18
 
capture         = [ start $arg1 4 0]; mapcomplete capture; ctf = [ capture $arg1 ]; mapcomplete ctf
19
 
defend          = [ start $arg1 5 0 ]; mapcomplete defend; dtf = [ defend $arg1 ]; mapcomplete dtf
20
 
bomber          = [ start $arg1 6 0 ]; mapcomplete bomber; bb = [ bomber $arg1 ]; mapcomplete bb
21
 
timetrial       = [ start $arg1 7 0 ]; mapcomplete timetrial; trial = [ timetrial $arg1 ]; mapcomplete trial
22
 
instagib        = [ start $arg1 3 (<< 1 2) ]; mapcomplete instagib; insta = [ instagib $arg1 ]; mapcomplete insta
23
 
medieval        = [ start $arg1 3 (<< 1 3) ]; mapcomplete medieval
24
 
ballistic       = [ start $arg1 3 (<< 1 4) ]; mapcomplete ballistic
25
 
duel            = [ start $arg1 3 (<< 1 5) ]; mapcomplete duel
26
 
survivor        = [ start $arg1 3 (<< 1 6) ]; mapcomplete survivor; lms = [ survivor $arg1 ]; mapcomplete lms
27
 
arena           = [ start $arg1 3 (<< 1 7) ]; mapcomplete arena
 
15
edit            = [ start $arg1 $modeidxediting 0 ]; mapcomplete edit
 
16
campaign        = [ start $arg1 $modeidxcampaign 0 ]; mapcomplete campaign
 
17
deathmatch      = [ start $arg1 $modeidxdeathmatch 0 ]; mapcomplete deathmatch; dm = [ deathmatch $arg1 ]; mapcomplete dm
 
18
teamdm          = [ start $arg1 $modeidxdeathmatch $mutsbitteam ]; mapcomplete teamdm; tdm = [ teamdm $arg1 ]; mapcomplete tdm
 
19
multidm         = [ start $arg1 $modeidxdeathmatch $mutsbitmulti ]; mapcomplete teamdm; mdm = [ multidm $arg1 ]; mapcomplete mdm
 
20
coopdm          = [ start $arg1 $modeidxdeathmatch $mutsbitcoop ]; mapcomplete teamdm; cdm = [ coopdm $arg1 ]; mapcomplete cdm
 
21
capture         = [ start $arg1 $modeidxcapture 0]; mapcomplete capture; ctf = [ capture $arg1 ]; mapcomplete ctf
 
22
defend          = [ start $arg1 $modeidxdefend 0 ]; mapcomplete defend; dtf = [ defend $arg1 ]; mapcomplete dtf
 
23
bomber          = [ start $arg1 $modeidxbomber 0 ]; mapcomplete bomber; bb = [ bomber $arg1 ]; mapcomplete bb
 
24
timetrial       = [ start $arg1 $modeidxtrial 0 ]; mapcomplete timetrial; trial = [ timetrial $arg1 ]; mapcomplete trial
 
25
instagib        = [ start $arg1 $modeidxdeathmatch $mutsbitinstagib ]; mapcomplete instagib; insta = [ instagib $arg1 ]; mapcomplete insta
 
26
medieval        = [ start $arg1 $modeidxdeathmatch $mutsbitmedieval ]; mapcomplete medieval
 
27
ballistic       = [ start $arg1 $modeidxdeathmatch $mutsbitballistic ]; mapcomplete ballistic
 
28
duel            = [ start $arg1 $modeidxdeathmatch $mutsbitduel ]; mapcomplete duel
 
29
survivor        = [ start $arg1 $modeidxdeathmatch $mutsbitsurvivor ]; mapcomplete survivor; lms = [ survivor $arg1 ]; mapcomplete lms
 
30
arena           = [ start $arg1 $modeidxdeathmatch $mutsbitarena ]; mapcomplete arena
28
31
 
29
32
delta_game_0 = [ if (iszooming) [ setzoom $arg1 ] [ weapon -1 $arg1 ] ]
30
33
delta_spec_0 = [ followdelta $arg1 ]
61
64
shiftmodscale = 10; setcomplete shiftmodscale 1
62
65
oldfloatspeed = 100
63
66
shiftmod = [
64
 
    if (= $arg1 1) [
 
67
    if $arg1 [
65
68
        oldfloatspeed = $floatspeed
66
69
        floatspeed $shiftfloatspeed
67
70
        modscale = $shiftmodscale
122
125
 
123
126
bind TAB            [ showscores ]
124
127
 
125
 
saytextcommand =    [inputcommand (if (>= $numargs 1) [result $arg1] [result ""]) [say $commandbuffer] "textures/chat" 0 "s"]
126
 
sayteamcommand =    [inputcommand (if (>= $numargs 1) [result $arg1] [result ""])  [sayteam $commandbuffer] (getteamicon) (getteamcolour) 0 "s"]
 
128
saytextcommand =    [inputcommand $arg1 [say $commandbuffer] "textures/chat" 0 "s"]
 
129
sayteamcommand =    [inputcommand $arg1 [sayteam $commandbuffer] (getteamicon) (getteamcolour) 0 "s"]
127
130
 
128
131
bind T              [ saytextcommand ]
129
132
bind RETURN                     [ saytextcommand ]
135
138
bind KP_PLUS        [ mastervol (min (+ $mastervol 5) 255) ]
136
139
bind KP_DIVIDE      [ togglesound ]
137
140
 
138
 
bind PAUSE          [ if (= $gamepaused 1) [ gamepaused 0 ] [ gamepaused 1 ] ]
 
141
bind PAUSE          [ gamepaused (! $gamepaused) ]
139
142
bind PAGEDOWN       [ conskip (- 0 $consize) ]
140
143
bind PAGEUP         [ conskip $consize ]
141
144
 
157
160
bind COMMA          [ showgui loadout ]
158
161
bind PERIOD         [ showgui team ]
159
162
bind F9             [ thirdpersonswitch ]
160
 
bind F10            [ if (= $grabinput 1) [ grabinput 0 ] [ grabinput 1 ] ]
 
163
bind F10            [ grabinput (! $grabinput) ]
161
164
bind F11            [ toggleconsole ]
162
165
bind F12            [ screenshot ]
163
166
 
167
170
editbind F5         [ fullbright 0; patchlight]
168
171
editbind F6         [ fullbright 0; calclight -1 ]
169
172
editbind F7         [ fullbright 0; calclight 1 ]
170
 
editbindvar F8      [ savemap ]
 
173
editbind F8         [ savemap ]
171
174
editbind F9         [ changeoutline 1 ]
172
175
 
173
176
bind 0              [ weapon 0 ]
190
193
editbind 7          [ domodifier 17 ]
191
194
editbind 8          [ domodifier 18 ]
192
195
editbind 9          [ domodifier 19 ]
193
 
editbind C          [ domodifier 9 ]
 
196
 
 
197
editbind K          [ domodifier 9 ]
194
198
 
195
199
editbindvar 0       allfaces
196
 
editbindvar K       blankgeom
197
200
editbindvar M       showmat
198
201
editbindvar O       outline
199
202
 
221
224
 
222
225
gridbindswitch = 0
223
226
togglegrid = [
224
 
    if (= $gridbindswitch 3) [ showpastegrid 0; showcursorgrid 0; showselgrid 0; gridbindswitch = 0 ] [
225
 
        if (= $gridbindswitch 2) [ showpastegrid 0; showcursorgrid 0; showselgrid 1; gridbindswitch = 3 ] [
226
 
            if (= $gridbindswitch 1) [ showpastegrid 0; showcursorgrid 1; showselgrid 0; gridbindswitch = 2 ] [
227
 
                if (= $gridbindswitch 0) [ showpastegrid 1; showcursorgrid 0; showselgrid 0; gridbindswitch = 1 ]
228
 
            ]
229
 
        ]
 
227
    case $gridbindswitch 3 [
 
228
        showpastegrid 0; showcursorgrid 0; showselgrid 0; gridbindswitch = 0
 
229
    ] 2 [
 
230
        showpastegrid 0; showcursorgrid 0; showselgrid 1; gridbindswitch = 3
 
231
    ] 1 [
 
232
        showpastegrid 0; showcursorgrid 1; showselgrid 0; gridbindswitch = 2
 
233
    ] 0 [
 
234
        showpastegrid 1; showcursorgrid 0; showselgrid 0; gridbindswitch = 1
230
235
    ]
231
236
]; setcomplete togglegrid 1
 
237
 
232
238
editbind TAB        [ togglegrid ]
233
239
 
234
240
editbind SPACE      [ cancelsel ]
246
252
editbind U          [ editcut ]
247
253
editbind Z          [ undo; passthroughsel 0 ]
248
254
editbind I          [ redo ]
249
 
editbind H          [ if $hmapedit [ editface 1 -1 ] [ hmapedit 1 ]; blendpaintmode 0 ]        
 
255
editbind H          [ hmapedit (! $hmapedit) ; blendpaintmode 0 ]
250
256
 
251
257
editbind BACKSPACE  [ editdel ]
252
258
 
253
259
editbind G          [ domodifier 1 ] // domodifier 1 -> executes delta_edit_1
254
260
editbind F          [ domodifier 2 ] // etc...
255
261
editbind Q          [ domodifier 3 ]
256
 
editbind R          [ domodifier 4 ] 
 
262
editbind R          [ domodifier 4 ]
257
263
editbind Y          [ domodifier 6 ]
258
264
editbind J          [ gettex ]
259
265
editbind COMMA      [ domodifier 10; onrelease entautoview ]
306
312
entcomplete newent
307
313
entcomplete entfind
308
314
 
309
 
enttypeselect = [     
310
 
  enttypelength = (listlen $enttypelist)
311
 
  next = (mod (+ (indexof $enttypelist (enttype)) $arg1) $enttypelength)
312
 
  if (< $next 0) [ next = (+ $next $enttypelength) ]
313
 
  do [entset @(listsplice (entget) (at $enttypelist $next) 0 1)]
 
315
enttypeselect = [
 
316
    enttypelength = (listlen $enttypelist)
 
317
    next = (mod (+ (indexof $enttypelist (enttype)) $arg1) $enttypelength)
 
318
    if (< $next 0) [ next = (+ $next $enttypelength) ]
 
319
    do [entset @(listsplice (entget) (at $enttypelist $next) 0 1)]
314
320
]
315
321
 
316
322
slime = [
329
335
exec "compass.cfg"
330
336
 
331
337
// people have complained /fov was removed
332
 
fov = [ if (= (isthirdperson) 1) [ thirdpersonfov $arg1 ] [ firstpersonfov $arg1 ] ]; setcomplete fov 1
 
338
fov = [[@(? (isthirdperson) third first)personfov] $arg1]; setcomplete fov 1
333
339
coop = [ edit $arg1 ]; setcomplete coop 1
334
340
texturecull = [ compactvslots 1 ]; setcomplete texturecull 1
335
 
name = [ 
336
 
    setinfo $arg1 (if (>= $numargs 2) [result $arg2] [result -1]) -1
337
 
]; setcomplete name 1
 
341
name = [setinfo $arg1 (? (> $numargs 1) $arg2 -1) -1]; setcomplete name 1
338
342
colour = [ setinfo (getname) $arg1 -1 ]; setcomplete colour 1
 
343
setmaster = [ setpriv $arg1 ]; setcomplete setmaster 1
339
344
 
340
345
oldshowhud = 0; oldshowconsole = 0
341
 
oldscreenshot = [ if (= $arg1 1) [ oldshowhud = $showhud; oldshowconsole = $showconsole; showhud 0; showconsole 0 ] [ showhud $oldshowhud; showconsole $oldshowconsole ] ]
 
346
oldscreenshot = [
 
347
    if (= $arg1 1) [
 
348
        oldshowhud = $showhud; oldshowconsole = $showconsole; showhud 0; showconsole 0
 
349
    ] [showhud $oldshowhud; showconsole $oldshowconsole]
 
350
]
342
351
takescreenshot = [ oldscreenshot 1; sleep 1 [ screenshot "screenshot"; oldscreenshot 0 ] ]; setcomplete takescreenshot 1
343
352
 
344
353
// sauer rotation aliases