git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1568 e016b1c5-ed68-44aa-a2f7-31cac88cffde
671 lines
23 KiB
INI
Executable File
671 lines
23 KiB
INI
Executable File
// standard menu definitions
|
|
|
|
bind ESCAPE "showmenu main" // it all starts here
|
|
|
|
newmenu main
|
|
|
|
menuitem "Multiplayer" "showmenu multiplayer"
|
|
menuitem "Singleplayer" "showmenu singleplayer"
|
|
menuitem "Player Setup" "showmenu setup"
|
|
menuitem "Settings" "showmenu settings"
|
|
menuitem "Demo" "showmenu demo"
|
|
menuitem "Editing" "showmenu editing"
|
|
menuitem "Help" "showmenu help"
|
|
menuitem "About" "showmenu about"
|
|
menuitem "Quit" "quit"
|
|
|
|
// menumdl path anim rotation-speed{0..100} scale{0..100}
|
|
// chmenumdl menuname newpath
|
|
|
|
alias genmapitems [
|
|
alias n (listlen $arg1)
|
|
loop i $n [
|
|
alias mapname (at $arg1 $i)
|
|
menuitem (concat map $mapname)
|
|
alias next (+ $i 1)
|
|
if (= $next $n) [ alias next 0 ] []
|
|
alias nextmap (at $arg1 $next)
|
|
alias (concatword nextmap_ $mapname) $nextmap
|
|
]
|
|
]
|
|
|
|
newmenu maps
|
|
|
|
genmapitems "ac_complex ac_mines ac_depot ac_desert ac_desert2 ac_snow ac_power ac_elevation ac_toxic"
|
|
menuitem "show all.." [showmenu "all maps"]
|
|
|
|
newmenu "all maps"
|
|
menudirlist "packages/maps" "cgz" "map $arg1"
|
|
|
|
newmenu maps_ctf
|
|
|
|
genmapitems "ac_mines ac_depot ac_power ac_elevation ac_toxic"
|
|
menuitem "show all.." [showmenu "all maps"]
|
|
|
|
newmenu setup
|
|
|
|
menuitemtextinput "nickname: " "result $curname" "name $arg1"
|
|
menuitemslider "team: " 0 1 "(curteam)" 1 "CLA RVSF" [team (at [CLA RVSF] $arg1)]
|
|
menuitem "select skin.." [showmenu (at [CLA RVSF] (curteam))]
|
|
menuitem "select weapon.." "showmenu weapons"
|
|
menuitem "select crosshair.." "showmenu crosshairs"
|
|
|
|
newmenu "CLA"
|
|
|
|
menumdl playermodels/CLA/01 all 50 4
|
|
menuitem "Comandante" "skin 0" "chmenumdl cla playermodels/CLA/01 all 50 4"
|
|
menuitem "Psycho" "skin 1" "chmenumdl cla playermodels/CLA/02 all 50 4"
|
|
menuitem "Bomber" "skin 2" "chmenumdl cla playermodels/CLA/03 all 50 4"
|
|
menuitem "Ripper" "skin 3" "chmenumdl cla playermodels/CLA/04 all 50 4"
|
|
|
|
|
|
newmenu "RVSF"
|
|
|
|
menumdl playermodels/RVSF/01 all 50 4
|
|
menuitem "Alpha" "skin 0" "chmenumdl rvsf playermodels/RVSF/01 all 50 4"
|
|
menuitem "Tango" "skin 1" "chmenumdl rvsf playermodels/RVSF/02 all 50 4"
|
|
menuitem "Cobra" "skin 2" "chmenumdl rvsf playermodels/RVSF/03 all 50 4"
|
|
menuitem "Viper" "skin 3" "chmenumdl rvsf playermodels/RVSF/04 all 50 4"
|
|
menuitem "Swat" "skin 4" "chmenumdl rvsf playermodels/RVSF/05 all 50 4"
|
|
menuitem "Police" "skin 5" "chmenumdl rvsf playermodels/RVSF/06 all 50 4"
|
|
|
|
|
|
alias gencrosshairs [
|
|
loop i (listlen $arg1) [
|
|
alias label (at $arg1 $i)
|
|
menuitem $label (concat loadcrosshair $label)
|
|
]
|
|
]
|
|
|
|
newmenu crosshairs
|
|
gencrosshairs "default.png cube.png dot.png dot_wide.png o.png o_dot.png o_x.png star.png wide.png x-dot.png"
|
|
|
|
|
|
newmenu demo
|
|
|
|
menuitem "record demo" "recorddemo"
|
|
menuitem "play demo" [showmenu "play demo"]
|
|
menuitem "stop recording/playback" "stopdemo"
|
|
menuitem "list demos" "listdemos"
|
|
menuitem "getdemo" "getdemo"
|
|
|
|
|
|
newmenu "play demo"
|
|
menudirlist "demos/" "dmo" "demo $arg1"
|
|
|
|
|
|
newmenu multiplayer
|
|
|
|
menuitem "Join Game" "showmenu server"
|
|
menuitem "Join LAN Game" "lanconnect"
|
|
menuitem "Update Servers" "updatefrommaster;showmenu server"
|
|
menuitem "Disconnect" "disconnect"
|
|
menuitem "Vote" "showmenu gamemode"
|
|
menuitem "Chat" "saycommand"
|
|
menuitem "Team Chat" "saycommand %"
|
|
menuitem "Server Operator" "showmenu [server operator]"
|
|
|
|
|
|
newmenu gamemode
|
|
|
|
menuitem "Team Deathmatch" "mode 0; showmenu maps"
|
|
menuitem "Deathmatch" "mode 2; showmenu maps"
|
|
menuitem "Team Survivor" "mode 4; showmenu maps"
|
|
menuitem "Survivor" "mode 3; showmenu maps"
|
|
menuitem "Capture the Flag" "mode 5; showmenu maps_ctf"
|
|
menuitem "Pistol Frenzy" "mode 6; showmenu maps"
|
|
menuitem "Last Swiss Standing" "mode 9; showmenu maps"
|
|
menuitem "One Shot, One Kill" "mode 10; showmenu maps"
|
|
menuitem "Team One Shot, One Kill" "mode 11; showmenu maps"
|
|
|
|
|
|
// bot menus and tools
|
|
|
|
alias tmp_botskill good
|
|
alias tmp_numbots 1
|
|
alias tmp_mode
|
|
alias tmp_botmap
|
|
|
|
alias startbotmatch [
|
|
addnbot (div $tmp_numbots 2) RVSF $tmp_botskill
|
|
if ((> (mod $tmp_numbots 2) 0)) [ alias tmp_numbots (+ $tmp_numbots 1) ] []
|
|
addnbot (div $tmp_numbots 2) CLA $tmp_botskill
|
|
]
|
|
|
|
alias startbotmap [
|
|
if $connected [ disconnect ]
|
|
echo starting botmatch..
|
|
kickallbots
|
|
sleep 5000 startbotmatch
|
|
mode $tmp_mode
|
|
map $tmp_botmap
|
|
]
|
|
|
|
newmenu singleplayer
|
|
|
|
// teamplay note mature yet
|
|
menuitem "Bot Team Deathmatch" "alias tmp_mode 7; showmenu botskill"
|
|
menuitem "Bot Deathmatch" "alias tmp_mode 8; showmenu botskill"
|
|
menuitem "Bot One Shot, One Kill" "alias tmp_mode 12; showmenu botskill"
|
|
menuitem "Empty Map" "mode 0; showmenu maps"
|
|
|
|
newmenu botskill
|
|
|
|
alias showmenu_enemies [ if (= $tmp_mode 7) [ showmenu "team enemies" ] [ showmenu enemies ] ]
|
|
menuitem "best" "alias tmp_botskill best; showmenu_enemies"
|
|
menuitem "good (default)" "alias tmp_botskill good; showmenu_enemies"
|
|
menuitem "medium" "alias tmp_botskill medium; showmenu_enemies"
|
|
menuitem "worse" "alias tmp_botskill worse; showmenu_enemies"
|
|
menuitem "bad" "alias tmp_botskill bad; showmenu_enemies"
|
|
|
|
|
|
alias genenemyitems [
|
|
loop i (listlen $arg1) [
|
|
alias numplayers (at $arg1 $i)
|
|
if (= $arg2 0) [ // DM
|
|
alias numplayers (- $numplayers 1) // don't count yourself as enemy
|
|
if (= $numplayers 1) [
|
|
alias menutext (concat $numplayers enemy)
|
|
] [
|
|
alias menutext (concat $numplayers enemies)
|
|
]
|
|
] [ // TDM
|
|
alias teamsize (div $numplayers 2)
|
|
alias menutext (concatword $teamsize on $teamsize)
|
|
]
|
|
menuitem $menutext (concat "alias tmp_numbots" $numplayers "; showmenu botmaps")
|
|
]
|
|
]
|
|
|
|
newmenu enemies
|
|
genenemyitems "2 3 5 9 17 33" 0
|
|
|
|
newmenu "team enemies"
|
|
genenemyitems "2 4 6 8 16 32" 1
|
|
|
|
|
|
newmenu botmaps
|
|
|
|
alias genbotmaps [
|
|
loop i (listlen $arg1) [
|
|
alias mapname (at $arg1 $i)
|
|
alias menutext (concat map $mapname)
|
|
menuitem $menutext (concat "alias tmp_botmap" $mapname "; startbotmap")
|
|
]
|
|
]
|
|
|
|
genbotmaps "ac_complex ac_mines ac_depot ac_desert ac_desert2 ac_snow ac_power ac_elevation ac_toxic"
|
|
|
|
newmenu "server operator"
|
|
|
|
menuitem "Claim Master" "setmaster 1"
|
|
menuitem "Give Up Master" "setmaster 0"
|
|
menuitem "Claim Admin" "saycommand /setadmin 1 myPassword"
|
|
menuitem "Give Up Admin" "setadmin 0"
|
|
menuitem "" ""
|
|
menuitem "Set Mastermode" "showmenu mastermode"
|
|
menuitem "Change Mode/Map" "showmenu gamemode"
|
|
menuitem "Force Team Change" [showmenu "force team"]
|
|
menuitem "Kick Player" [showmenu "kick player"]
|
|
menuitem "Ban Player" [showmenu "ban player"]
|
|
menuitem "Remove Bans" "removebans"
|
|
menuitem "Give Master" [showmenu "give master"]
|
|
|
|
|
|
newmenu mastermode
|
|
|
|
menuitem "Open" "mastermode 0"
|
|
menuitem "Private" "mastermode 1"
|
|
|
|
|
|
newmenu editing
|
|
|
|
menuitem "Mapmodels..." "showmenu mapmodels"
|
|
menuitem "Entities" "showmenu entities"
|
|
menuitem "Pickups" "showmenu pickups"
|
|
menuitem "Arches and slopes.." "showmenu arches"
|
|
menuitem "Map operations.." "showmenu mapop"
|
|
menuitem "Bots" "showmenu botedit"
|
|
menuitem "help..." "showmenu editkeys"
|
|
|
|
|
|
newmenu editkeys
|
|
|
|
menuitem "toggle edit mode (key E)" "edittoggle"
|
|
menuitem "undo last edit action (key U)" "undo"
|
|
menuitem "copy selection (key C)" "copy"
|
|
menuitem "paste selection (red vertex = upper left, key V)" "paste"
|
|
menuitem "repeat last texture replace" "replace"
|
|
menuitem "delete closest entity (key X)" "delent"
|
|
menuitem "fullbright view (key f7)" "fullbright 1"
|
|
menuitem "recalc light (key f8)" "recalc"
|
|
menuitem "toggle show geometric mipmaps (key f5)" "showmip"
|
|
menuitem "toggle occlusion culling (key f6) "toggleocull"
|
|
menuitem "more..." "showmenu more"
|
|
|
|
|
|
newmenu more
|
|
|
|
menuitem "insert/home/pgup/keyp7 browse through floor/wall/ceiling/" ""
|
|
menuitem " upper textures on your current selection," ""
|
|
menuitem " delete/end/pgup/keyp4 browse backwards" ""
|
|
menuitem "[ and ] move the currently selected floor up and down" ""
|
|
menuitem " O and P do the same for the ceiling" ""
|
|
menuitem "F makes the current selection SOLID, G makes it SPACE" ""
|
|
menuitem "K makes something a corner (slant)" ""
|
|
menuitem ", and . equalize the floor/ceiling ceiling level" ""
|
|
menuitem "H makes the floor a heightfield, I the ceiling" ""
|
|
menuitem "8/9 change the offset of a vertex in a heightfield" ""
|
|
|
|
|
|
newmenu mapmodels
|
|
|
|
menuitem "misc" "showmenu misc"
|
|
menuitem "ladders" "showmenu ladders"
|
|
menuitem "street" "showmenu street"
|
|
menuitem "plants" "showmenu plants"
|
|
menuitem "interior" "showmenu interior"
|
|
menuitem "lights" "showmenu lights"
|
|
menuitem "industrial" "showmenu industrial"
|
|
menuitem "signs" "showmenu signs"
|
|
menuitem "other" "showmenu other"
|
|
|
|
|
|
newmenu misc
|
|
|
|
menuitem "Nothing (clip)" "newent mapmodel 0"
|
|
menuitem "Bridge(8x8)" "newent mapmodel 1"
|
|
|
|
|
|
newmenu ladders
|
|
|
|
menuitem "Ladder(7)" "newent mapmodel 2"
|
|
menuitem "Ladder(8)" "newent mapmodel 3"
|
|
menuitem "Ladder(10)" "newent mapmodel 4"
|
|
menuitem "Ladder(11)" "newent mapmodel 5"
|
|
menuitem "Ladder(15)" "newent mapmodel 6"
|
|
|
|
|
|
newmenu street
|
|
|
|
menuitem "Streetlight" "newent mapmodel 7"
|
|
menuitem "Bench" "newent mapmodel 9"
|
|
menuitem "Dumpster" "newent mapmodel 10"
|
|
menuitem "Roadblock" "newent mapmodel 11"
|
|
menuitem "Roadblock2" "newent mapmodel 12"
|
|
menuitem "Fence" "newent mapmodel 13"
|
|
menuitem "Fencepost" "newent mapmodel 14"
|
|
menuitem "Fencegate" "newent mapmodel 15"
|
|
menuitem "Fencedoor" "newent mapmodel 16"
|
|
|
|
newmenu plants
|
|
|
|
menuitem "Grass1" "newent mapmodel 17"
|
|
menuitem "Grass1_dry" "newent mapmodel 18"
|
|
menuitem "Grass1_snow" "newent mapmodel 19"
|
|
menuitem "Grass2" "newent mapmodel 20"
|
|
menuitem "Grass2_dry" "newent mapmodel 21"
|
|
menuitem "Grass2_snow" "newent mapmodel 22"
|
|
menuitem "Plant1" "newent mapmodel 23"
|
|
menuitem "Plant1_dry" "newent mapmodel 24"
|
|
menuitem "Plant1_snow" "newent mapmodel 25"
|
|
menuitem "Tree" "newent mapmodel 26"
|
|
|
|
newmenu interior
|
|
|
|
menuitem "Chair" "newent mapmodel 27"
|
|
menuitem "Laptop" "newent mapmodel 28"
|
|
menuitem "Picture1" "newent mapmodel 29"
|
|
menuitem "Locker" "newent mapmodel 30"
|
|
|
|
|
|
newmenu lights
|
|
|
|
menuitem "Strahler" "newent mapmodel 31"
|
|
menuitem "Light1" "newent mapmodel 32"
|
|
menuitem "Bulb" "newent mapmodel 33"
|
|
|
|
newmenu industrial
|
|
|
|
menuitem "Barrel" "newent mapmodel 34"
|
|
menuitem "Knocked Over Barrel" "newent mapmodel 35"
|
|
menuitem "Electric meter" "newent mapmodel 36"
|
|
menuitem "Pallette" "newent mapmodel 37"
|
|
menuitem "Gastank" "newent mapmodel 38"
|
|
menuitem "Grate (horizontal)" "newent mapmodel 39"
|
|
menuitem "Grate (vertical)" "newent mapmodel 40"
|
|
menuitem "Wrench" "newent mapmodel 41"
|
|
menuitem "Screw" "newent mapmodel 42"
|
|
menuitem "Hook" "newent mapmodel 52"
|
|
|
|
newmenu signs
|
|
|
|
menuitem "Flammable Sign" "newent mapmodel 43"
|
|
menuitem "Speed Limit Sign" "newent mapmodel 44"
|
|
menuitem "Maintenance Sign" "newent mapmodel 45"
|
|
menuitem "Caution Sign" "newent mapmodel 46"
|
|
menuitem "Biohazard Sign" "newent mapmodel 47"
|
|
|
|
newmenu other
|
|
|
|
menuitem "Cigarette" "newent mapmodel 48"
|
|
menuitem "Can" "newent mapmodel 49"
|
|
menuitem "Fallen Can" "newent mapmodel 50"
|
|
menuitem "Broken Wood" "newent mapmodel 51"
|
|
menuitem "Coffee" "newent mapmodel 53"
|
|
menuitem "Flyer" "newent mapmodel 54"
|
|
menuitem "Poster" "newent mapmodel 55"
|
|
|
|
newmenu entities
|
|
|
|
menuitem spawn_RVSF "newent playerstart 1"
|
|
menuitem spawn_CLA "newent playerstart 0"
|
|
menuitem spawn_ffa "newent playerstart 100"
|
|
menuitem flag_RVSF "newent ctf-flag 1"
|
|
menuitem flag_CLA "newent ctf-flag 0"
|
|
menuitem ladder "newent ladder"
|
|
|
|
newmenu pickups
|
|
|
|
menuitem "Health" "newent health"
|
|
menuitem "Pistol Ammo" "newent clips"
|
|
menuitem "Box of Ammo" "newent ammobox"
|
|
menuitem "Kevlar Vest" "newent armour"
|
|
menuitem "Akimbo" "newent akimbo"
|
|
|
|
newmenu arches
|
|
|
|
menuitem "normal arch" "heightfield 2; arch 0"
|
|
menuitem "arch with sideways curve (delta 1)" "heightfield 2; arch 1"
|
|
menuitem "arch with sideways curve (delta 2)" "heightfield 2; arch 2"
|
|
menuitem "arch with sideways curve (delta 3)" "heightfield 2; arch 3"
|
|
menuitem "arch with sideways curve (delta 4)" "heightfield 2; arch 4"
|
|
menuitem "slope increase 2 left-right" "heightfield 0; slope 2 0"
|
|
menuitem "slope decrease 2 left-right" "heightfield 0; slope -2 0"
|
|
menuitem "slope increase 2 top-bottom" "heightfield 0; slope 0 2"
|
|
menuitem "slope decrease 2 top-bottom" "heightfield 0; slope 0 -2"
|
|
menuitem "slope increase 1 left-right" "heightfield 0; slope 1 0"
|
|
menuitem "slope decrease 1 left-right" "heightfield 0; slope -1 0"
|
|
menuitem "slope increase 1 top-bottom" "heightfield 0; slope 0 1"
|
|
menuitem "slope decrease 1 top-bottom" "heightfield 0; slope 0 -1"
|
|
menuitem "fix heightfield" "slope 0 0"
|
|
menuitem "[ arches make ceiling heighfield, slopes floor ]"
|
|
|
|
|
|
newmenu mapop
|
|
|
|
menuitem "Newmap 128x128 cubes (recommended)" "newmap 7"
|
|
menuitem "Newmap 256x256 cubes" "newmap 8"
|
|
menuitem "Increase mapsize (2x)" "mapenlarge"
|
|
menuitem "Set map title/author" "saycommand /mapmsg "
|
|
|
|
newmenu "weapons"
|
|
|
|
menumdl weapons/assault/menu mapmodel 75 12
|
|
menuitem "MTP-57 Assault Rifle" "nextprimary 5;echo MTP-57 Assault Rifle chosen" "chmenumdl weapons weapons/assault/menu mapmodel 75 12"
|
|
menuitem "A-ARD/10 Submachine Gun" "nextprimary 3;echo A-ARD/10 Submachine Gun chosen" "chmenumdl weapons weapons/subgun/menu mapmodel 75 12"
|
|
menuitem "Precision Tech AD-81 Sniper Rifle" "nextprimary 4;echo Precision Tech AD-81 Sniper Rifle chosen" "chmenumdl weapons weapons/sniper/menu mapmodel 75 12"
|
|
menuitem "V-19 Combat Shotgun" "nextprimary 2;echo V-19 Combat Shotgun chosen" "chmenumdl weapons weapons/shotgun/menu mapmodel 75 12"
|
|
|
|
|
|
//newmenu "secondary"
|
|
//menumdl vwep/semipistol mapmodel 40 60
|
|
//menuitem "Mk-77 Semi-Automatic Pistol" "item 1;echo MTP 57 Semi-Automatic Pistol Chosen"
|
|
|
|
//newmenu "equipment"
|
|
//menumdl vwep/grenade_static mapmodel 40 80
|
|
//menuitem "DR-17 HE-Grenade" "echo DR-17 HE-Grenade chosen" "chmenumdl equipment vwep/grenade_static mapmodel 40 80"
|
|
//menuitem "SN-Tech Kelvar Vest" "echo SN-Tech Kelvar Vest chosen" "chmenumdl equipment pickups/kevlar mapmodel 40 20"
|
|
|
|
newmenu settings
|
|
|
|
menuitem "quick setup.." [showmenu "quick setup"]
|
|
menuitem "keyboard/mouse controls" "showmenu controls"
|
|
menuitem "video settings" "showmenu video"
|
|
menuitem "sound settings" "showmenu sound"
|
|
|
|
|
|
newmenu "quick setup"
|
|
|
|
menuitemtextinput "nickname: " "" "name $arg1"
|
|
menuitemtextinput "screen width: " "$scr_w" "scr_w $arg1"
|
|
menuitemtextinput "screen height: " "$scr_h" "scr_h $arg1"
|
|
menuitemslider "mouse sensitivity: " 2 100 "($sensitivity)" 2 "" "sensitivity $arg1"
|
|
menuitemslider "graphics detail: " 1 4 "(getgfxq)" 1 "low medium good best" "new_gfx_quality $arg1"
|
|
menuitemslider "sound detail: " 1 3 "(getsoundq)" 1 "low medium high" "new_sound_quality $arg1"
|
|
menuitem "OK" "showmenu restart"
|
|
|
|
alias getgfxq [
|
|
if (= $minlod 200) [ result 4 ] [
|
|
if (= $minlod 100) [ result 3 ] [
|
|
if (= $minlod 60) [ result 2 ] [ result 1 ]
|
|
]
|
|
]
|
|
]
|
|
|
|
alias getsoundq [
|
|
if (= $soundchans 64) [ result 3 ] [
|
|
if (= $footsteps 1) [ result 2 ] [ result 1 ]
|
|
]
|
|
]
|
|
|
|
alias new_gfx_quality [
|
|
if (= $arg1 4) [ // highest gfx quality
|
|
fsaa 8
|
|
minlod 200
|
|
fpsrange 100 1000
|
|
watersubdiv 2
|
|
dynlight 16
|
|
waterreflect 1
|
|
dynshadow 40
|
|
lighterror 1
|
|
scorchttl 10000
|
|
bulletholettl 10000
|
|
bloodttl 10000
|
|
gibttl 5000
|
|
shotlinettl 75
|
|
] [
|
|
if (= $arg1 3) [ // high
|
|
fsaa 0
|
|
minlod 100
|
|
fpsrange 60 60
|
|
watersubdiv 2
|
|
dynlight 16
|
|
waterreflect 1
|
|
dynshadow 40
|
|
lighterror 4
|
|
scorchttl 10000
|
|
bulletholettl 10000
|
|
bloodttl 10000
|
|
gibttl 5000
|
|
shotlinettl 75
|
|
] [
|
|
if (= $arg1 2) [ // medium (DEFAULT)
|
|
fsaa 0
|
|
minlod 60
|
|
fpsrange 30 40
|
|
watersubdiv 4
|
|
dynlight 16
|
|
waterreflect 1
|
|
dynshadow 40
|
|
lighterror 4
|
|
scorchttl 10000
|
|
bulletholettl 10000
|
|
bloodttl 10000
|
|
gibttl 5000
|
|
shotlinettl 75
|
|
] [ // low
|
|
fsaa 0
|
|
minlod 25
|
|
fpsrange 20 25
|
|
watersubdiv 16
|
|
dynlight 0
|
|
waterreflect 0
|
|
dynshadow 0
|
|
lighterror 10
|
|
scorchttl 0
|
|
bulletholettl 0
|
|
bloodttl 0
|
|
gibttl 0
|
|
shotlinettl 0
|
|
]
|
|
]
|
|
]
|
|
]
|
|
|
|
alias new_sound_quality [
|
|
if (= $arg1 3) [ // high sound (DEFAULT)
|
|
soundchans 64
|
|
maxsoundsatonce 40
|
|
footsteps 1
|
|
bulletairsound 1
|
|
bulletbouncesound 1
|
|
] [
|
|
if (= $arg1 2) [ // medium
|
|
soundchans 32
|
|
maxsoundsatonce 10
|
|
footsteps 1
|
|
bulletairsound 0
|
|
bulletbouncesound 0
|
|
] [ // low
|
|
soundchans 32
|
|
maxsoundsatonce 5
|
|
footsteps 0
|
|
bulletairsound 0
|
|
bulletbouncesound 0
|
|
]
|
|
]
|
|
]
|
|
|
|
newmenu restart
|
|
menuitem "You need to restart AssaultCube" "quit"
|
|
|
|
|
|
newmenu controls
|
|
|
|
menuitem "Select an action and press ENTER to set a new key-binding"
|
|
menuitem ""
|
|
menuitemkeyinput "forward: " forward
|
|
menuitemkeyinput "left: " left
|
|
menuitemkeyinput "backward: " backward
|
|
menuitemkeyinput "right: " right
|
|
menuitemkeyinput "attack: " attack
|
|
menuitemkeyinput "special action: " altaction
|
|
menuitemkeyinput "jump: " jump
|
|
menuitemkeyinput "crouch: " crouch
|
|
menuitemkeyinput "reload: " reload
|
|
menuitemkeyinput "weapon menu: " "showmenu weapons"
|
|
menuitemkeyinput "next weapon: " "universaldelta 1"
|
|
menuitemkeyinput "previous weapon: " "universaldelta -1"
|
|
menuitemkeyinput "show scores: " showscores
|
|
menuitemkeyinput "chat: " saycommand
|
|
menuitemkeyinput "team chat: " "saycommand %"
|
|
menuitemkeyinput "commandline: " "saycommand /"
|
|
menuitemkeyinput "console output: " toggleconsole
|
|
menuitemkeyinput "screenshot: " screenshot
|
|
menuitemkeyinput "map overview: " toggleshowmap
|
|
menuitemkeyinput "drop CTF flag: " dropflag
|
|
menuitem ""
|
|
menuitemcheckbox "invert mouse: " "$invmouse" "invmouse $arg1"
|
|
menuitemslider "mouse sensitivity: " 2 100 "($sensitivity)" 2 "" "sensitivty $arg1"
|
|
|
|
|
|
newmenu video
|
|
|
|
menuitemtextinput "screen width: " "$scr_w" "scr_w $arg1"
|
|
menuitemtextinput "screen height: " "$scr_h" "scr_h $arg1"
|
|
|
|
alias fsaa_valuemap "0 2 4 8 16"
|
|
menuitemslider "antialiasing (FSAA): " 0 4 "(findlist $fsaa_valuemap $fsaa)" 1 "off 2 4 8 16" "fsaa (at $fsaa_valuemap $arg1)"
|
|
menuitemslider "gamma: " 30 300 "$gamma" 5 "" "gamma $arg1"
|
|
|
|
alias minlod_valuemap "25 60 100 250"
|
|
menuitemslider "minimal level of detail: " 25 250 "(findlist $minlod_valuemap $minlod)" 5 ["low" "decent" "good" "best"] "minlod (at $minlod_valuemap $arg1)"
|
|
menuitemcheckbox "water reflection: " "$waterreflect" "waterreflect $arg1"
|
|
|
|
alias watersubdiv_valuemap "16 8 4 2 1"
|
|
menuitemslider "water subdivision: " 0 4 "(findlist $watersubdiv_valuemap $watersubdiv)" 1 ["lowest quality" "low quality" "medium quality" "high quality" "highest quality"] "watersubdiv (at $watersubdiv_valuemap $arg1)"
|
|
|
|
menuitemcheckbox "dynamic light: " "$dynlight" [ if (= $arg1 1) [ dynlight 16 ] [ dynlight 0 ] ]
|
|
menuitemcheckbox "dynamic player shadows: " "$dynshadow" [ if (= $arg1 1) [ dynshadow 40 ] [ dynshadow 0 ] ]
|
|
menuitemslider "light error: " 1 100 "$lighterror" 5 "" "lighterror $arg1"
|
|
menuitem "fpsrange.." "showmenu fpsrange"
|
|
|
|
newmenu fpsrange
|
|
|
|
menuitem "my 486 0wnz y00 (8-10)" "fpsrange 8 10"
|
|
menuitem "slow machine (20-25)" "fpsrange 20 25"
|
|
menuitem "sensible default (30-40)" "fpsrange 30 40"
|
|
menuitem "fps whore (60-60)" "fpsrange 60 60"
|
|
menuitem "I don't understand LOD (100+)" "fpsrange 100 1000"
|
|
|
|
newmenu about
|
|
|
|
menuitem "AssaultCube v0.94" ""
|
|
menuitem ""
|
|
menuitem " ...help" "showmenu help"
|
|
menuitem " ...credits" "showmenu credits"
|
|
menuitem ""
|
|
menuitem "by 'Rabid Viper Productions'" "showmenu credits"
|
|
menuitem "http://assault.cubers.net" "echo sorry no built-in web browser yet :)"
|
|
menuitem "a cube mod/tc based on the" ""
|
|
menuitem ""
|
|
menuitem "Cube game/engine" ""
|
|
menuitem "by Wouter 'Aardappel' van Oortmerssen" ""
|
|
menuitem "and others" ""
|
|
menuitem "http://www.cubeengine.com/" "echo sorry no built-in web browser yet :)"
|
|
|
|
|
|
newmenu help
|
|
|
|
menuitem "AssaultCube reference" "showmenu reference"
|
|
menuitem "search commands" "saycommand /docfind yourSearchString"
|
|
menuitem "default keys" "showmenu controls"
|
|
menuitem "" ""
|
|
menuitem "..for further information see the README"
|
|
|
|
|
|
newmenu credits
|
|
|
|
menuitem "Arghvark Project Leader, Code" ""
|
|
menuitem "driAn Lead Coder" ""
|
|
menuitem "makkE Lead Artist" ""
|
|
menuitem " Maps, Models, Skins, Animation" ""
|
|
menuitem " Sound, Some Textures, 2D-Art" ""
|
|
menuitem "Nieb Models, Hosting" ""
|
|
menuitem "Mitaman Maps, Resources" ""
|
|
menuitem "Verbal QA, Advisor, Lead Tester" ""
|
|
menuitem "Eihrul Coder, Enet Library, Cube2 backporting"
|
|
menuitem ""
|
|
menuitem "Special thanks to:" ""
|
|
menuitem ""
|
|
menuitem "Aardappel (Engine), Rick (Bots), absinth (AC for Mac)" ""
|
|
menuitem "JCDPC (Laptop Mapmodel), dtd (Hosting), Boeck" ""
|
|
menuitem "DCP (music), ac_stef (bug fixes), RandumIdiot"
|
|
menuitem "Ted Southard (DigitalFlux), Noctua Graphics, Arcitool"
|
|
menuitem "Craig Fortune, 3dcafe, Rohrschach, lemong.fr,"
|
|
menuitem "Mayang.com, Chris Zastrow, imageafter.com (textures)"
|
|
|
|
|
|
newmenu botedit
|
|
|
|
menuitem "addwp" "addwp 0"
|
|
menuitem "addwp autoconnect" "addwp 1"
|
|
menuitem "delwp"
|
|
menuitem "setjumpwp"
|
|
menuitem "unsetjumpwp"
|
|
menuitem "setwpyaw"
|
|
menuitem "addpath1way1"
|
|
menuitem "addpath1way2"
|
|
menuitem "addpath2way1"
|
|
menuitem "addpath2way2"
|
|
menuitem "delpath1way1"
|
|
menuitem "delpath1way2"
|
|
menuitem "delpath2way1"
|
|
menuitem "delpath2way2"
|
|
menuitem "wpvisible 1"
|
|
menuitem "wpflood"
|
|
menuitem "wpclear"
|
|
menuitem "wpsave"
|
|
menuitem "xhairwpsel 1"
|