39 lines
869 B
INI
39 lines
869 B
INI
// Game specific config stuff goes here
|
|
|
|
// Scoreboard Options
|
|
defvarp showscore 0 1 1
|
|
defvarp showkills 0 1 1
|
|
defvarp showdeaths 0 0 1
|
|
defvarp showip 0 0 1
|
|
defvarp sbtransparent 0 1 1
|
|
|
|
nextspecmode = [
|
|
if $specmode [
|
|
specmode (mod (+ $specmode 1) 3)
|
|
] [
|
|
specmode (? (>= (getfollow) 0) 2 1)
|
|
]
|
|
]
|
|
|
|
defvarp zoomtoggle 0 0 1
|
|
dozoom = [if $zoomtoggle [zoom (? $zoom -1 1)] [zoom 1 ; onrelease [zoom -1]]]
|
|
|
|
sayteamcommand = [inputcommand $arg1 [sayteam $commandbuf] "[team]"]
|
|
|
|
mapcomplete = [complete $arg1 media/map ogz]
|
|
mapcomplete map
|
|
|
|
modenames = "edit rdm pdm rtdm ptdm rctf pctf"
|
|
|
|
loop i (listlen $modenames) [
|
|
mname = (at $modenames $i)
|
|
alias $mname [if (mode @i) [if (> $numargs 0) [map $arg1] [map]]]
|
|
mapcomplete $mname
|
|
]
|
|
|
|
demo = [stopdemo; if (mode -1) [map $arg1]]
|
|
complete demo . dmo
|
|
|
|
allowedittoggle = [result 1]
|
|
|