git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@347 e016b1c5-ed68-44aa-a2f7-31cac88cffde
468 lines
16 KiB
INI
Executable File
468 lines
16 KiB
INI
Executable File
// standard menu definitions
|
|
|
|
bind ESCAPE "showmenu main" // it all starts here
|
|
|
|
newmenu main
|
|
|
|
menuitem "Multiplayer" "showmenu multiplayer"
|
|
menuitem "Bots" "showmenu bots"
|
|
menuitem "Team/Player Setup" "showmenu setup"
|
|
menuitem "Load Map" "showmenu maps"
|
|
menuitem "Options" "showmenu options"
|
|
menuitem "Editing" "showmenu editing"
|
|
menuitem "About/Credits/Help" "showmenu about"
|
|
menuitem "Quit" "quit"
|
|
|
|
// menumdl path frame range rotation-speed{0..100} scale{0..100}
|
|
// chmenumdl menuname newpath
|
|
|
|
alias genmapitems [
|
|
alias n (listlen $arg1)
|
|
loop $n [
|
|
at $arg1 $i
|
|
alias mapname $s
|
|
concat map $s
|
|
menuitem $s
|
|
alias next (+ $i 1)
|
|
if (= $next $n) [ alias next 0 ] []
|
|
at $arg1 $next
|
|
alias nextmap $s
|
|
concatword nextmap_ $mapname
|
|
alias $s $nextmap
|
|
]
|
|
]
|
|
|
|
newmenu maps
|
|
|
|
genmapitems "ac_complex ac_mines ac_depot ac_desert"
|
|
|
|
newmenu maps_ctf
|
|
|
|
genmapitems "ac_mines ac_depot"
|
|
|
|
newmenu setup
|
|
|
|
menuitem "Select Team" "showmenu team"
|
|
menuitem "Select Skins" "showmenu skins"
|
|
menuitem "Select Weapon" "showmenu weapons"
|
|
menuitem "Set Name" "saycommand /name"
|
|
|
|
newmenu skins
|
|
|
|
menuitem "CLA Skins" "showmenu cla"
|
|
menuitem "RVSF Skins" "showmenu rvsf"
|
|
|
|
newmenu "cla"
|
|
|
|
menumdl playermodels/terrorist/01/menu 0 197 50 5
|
|
menuitem "Comandante" "skin 0" "chmenumdl cla playermodels/terrorist/01/menu 0 197 50 5"
|
|
menuitem "Psycho" "skin 1" "chmenumdl cla playermodels/terrorist/02/menu 0 197 50 5"
|
|
menuitem "Bomber" "skin 2" "chmenumdl cla playermodels/terrorist/03/menu 0 197 50 5"
|
|
menuitem "Ripper" "skin 3" "chmenumdl cla playermodels/terrorist/04/menu 0 197 50 5"
|
|
|
|
|
|
newmenu "rvsf"
|
|
|
|
menumdl playermodels/counterterrorist/01/menu 0 197 50 5
|
|
menuitem "Alpha" "skin 0" "chmenumdl rvsf playermodels/counterterrorist/01/menu 0 197 50 5"
|
|
menuitem "Tango" "skin 1" "chmenumdl rvsf playermodels/counterterrorist/02/menu 0 197 50 5"
|
|
menuitem "Cobra" "skin 2" "chmenumdl rvsf playermodels/counterterrorist/03/menu 0 197 50 5"
|
|
menuitem "Viper" "skin 3" "chmenumdl rvsf playermodels/counterterrorist/04/menu 0 197 50 5"
|
|
menuitem "Swat" "skin 4" "chmenumdl rvsf playermodels/counterterrorist/05/menu 0 197 50 5"
|
|
menuitem "Police" "skin 5" "chmenumdl rvsf playermodels/counterterrorist/06/menu 0 197 50 5"
|
|
|
|
|
|
newmenu team
|
|
|
|
menumdl playermodels/terrorist/01/menu 0 197 50 5
|
|
menuitem "Cuban Liberations Army" "team CLA" "chmenumdl team playermodels/terrorist/01/menu 0 197 50 5"
|
|
menuitem "Rabid Viper Special Forces" "team RVSF" "chmenumdl team playermodels/counterterrorist/03/menu 0 197 50 5"
|
|
|
|
|
|
newmenu multiplayer
|
|
|
|
menuitem "Join Game" "servermenu"
|
|
menuitem "Update Servers" "updatefrommaster"
|
|
menuitem "Vote" "showmenu gamemode"
|
|
menuitem "Disconnect" "disconnect"
|
|
|
|
|
|
newmenu gamemode
|
|
|
|
menuitem "Team Deathmatch" "mode 0; showmenu maps"
|
|
menuitem "Team Survivor" "mode 4; showmenu maps"
|
|
menuitem "Capture the Flag" "mode 5; showmenu maps_ctf"
|
|
menuitem "Deathmatch" "mode 2; showmenu maps"
|
|
menuitem "Deathmatch Arena (LMS)" "mode 3; showmenu maps"
|
|
|
|
|
|
// bot menus and tools
|
|
|
|
alias tmp_botskill good
|
|
alias tmp_numbots 1
|
|
alias tmp_botmap
|
|
|
|
alias startbotmatch [
|
|
kickallbots
|
|
addnbot $tmp_numbots RVSF $tmp_botskill
|
|
]
|
|
|
|
alias startbotmap [
|
|
disconnect
|
|
mode 7
|
|
echo starting botmatch..
|
|
sleep 5000 startbotmatch
|
|
map $tmp_botmap
|
|
]
|
|
|
|
newmenu bots
|
|
|
|
menuitem "Start Botmatch" "showmenu botskill"
|
|
|
|
|
|
newmenu botskill
|
|
|
|
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"
|
|
|
|
|
|
newmenu enemies
|
|
|
|
alias genenemyitems [
|
|
alias n (listlen $arg1)
|
|
loop $n [
|
|
at $arg1 $i
|
|
alias numenemies $s
|
|
if (= $numenemies 1) [
|
|
concat $numenemies enemy
|
|
] [
|
|
concat $numenemies enemies
|
|
]
|
|
alias menutext $s
|
|
concat "alias tmp_numbots" $numenemies "; showmenu botmaps"
|
|
menuitem $menutext $s
|
|
]
|
|
]
|
|
|
|
genenemyitems "1 2 4 8 16 32"
|
|
|
|
|
|
newmenu botmaps
|
|
|
|
alias genbotmaps [
|
|
alias n (listlen $arg1)
|
|
loop $n [
|
|
at $arg1 $i
|
|
alias mapname $s
|
|
concat map $mapname
|
|
alias menutext $s
|
|
concat "alias tmp_botmap" $mapname "; startbotmap"
|
|
menuitem $menutext $s
|
|
]
|
|
]
|
|
|
|
genbotmaps "ac_complex ac_mines ac_depot ac_desert"
|
|
|
|
|
|
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 "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"
|
|
|
|
bind B "showmenu weapons"
|
|
|
|
//newmenu items
|
|
//menubg "textures/makke/menu.jpg"
|
|
|
|
//menuitem "Primary Weapon" "showmenu primary"
|
|
//menuitem "Secondary Weapon" "showmenu secondary"
|
|
//menuitem "Equipment" "showmenu equipment"
|
|
|
|
newmenu "weapons"
|
|
|
|
menumdl weapons/assault/world 0 1 75 5
|
|
menuitem "Mtp 57 Assault Rifle" "item 5;echo MK-77 Assault Rifle chosen" "chmenumdl weapons weapons/assault/menu 0 1 75 5"
|
|
menuitem "A-ARD/10 Submachine Gun" "item 3;echo A-ARD/10 Submachine Gun chosen" "chmenumdl weapons weapons/subgun/menu 0 1 75 5"
|
|
menuitem "Precision Tech AD-81 Sniper Rifle" "item 4,echo Precision Tech AD-81 Sniper Rifle chosen" "chmenumdl weapons weapons/sniper/menu 0 1 75 5"
|
|
menuitem "V-19 Combat Shotgun" "item 2;echo V-19 Combat Shotgun chosen" "chmenumdl weapons weapons/shotgun/menu 0 1 75 5
|
|
"
|
|
|
|
//newmenu "secondary"
|
|
//menumdl vwep/semipistol 0 1 40 60
|
|
//menuitem "Mk-77 Semi-Automatic Pistol" "item 1;echo MTP 57 Semi-Automatic Pistol Chosen"
|
|
|
|
//newmenu "equipment"
|
|
//menumdl vwep/grenade_static 0 1 40 80
|
|
//menuitem "DR-17 HE-Grenade" "echo DR-17 HE-Grenade chosen" "chmenumdl equipment vwep/grenade_static 0 1 40 80"
|
|
//menuitem "SN-Tech Kelvar Vest" "echo SN-Tech Kelvar Vest chosen" "chmenumdl equipment pickups/kevlar 0 1 40 20"
|
|
|
|
newmenu options
|
|
|
|
menuitem "tweak minlod.. (higher = less popup, possibly lower fps)" "showmenu minlod"
|
|
menuitem "tweak fpsrange.. (higher = possibly more popup)" "showmenu fpsrange"
|
|
menuitem "tweak water subdivision.." "showmenu watersubdiv"
|
|
menuitem "turn dynamic light/shadows off" "dynlight 0"
|
|
menuitem "tweak gamma.." "showmenu gamma"
|
|
|
|
newmenu gamma
|
|
|
|
menuitem "gamma 50"
|
|
menuitem "gamma 60"
|
|
menuitem "gamma 70"
|
|
menuitem "gamma 80"
|
|
menuitem "gamma 90"
|
|
menuitem "gamma 100"
|
|
menuitem "gamma 110"
|
|
menuitem "gamma 120"
|
|
menuitem "gamma 130"
|
|
menuitem "gamma 140"
|
|
menuitem "gamma 150"
|
|
|
|
newmenu minlod
|
|
|
|
menuitem "minimum (25)" "minlod 25"
|
|
menuitem "decent (60)" "minlod 60"
|
|
menuitem "good (100)" "minlod 100"
|
|
menuitem "fps be damned (250)" "minlod 250"
|
|
|
|
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 watersubdiv
|
|
|
|
menuitem "subdivision 1 (insane polygon wastage)" "watersubdiv 1"
|
|
menuitem "subdivision 2 (high quality)" "watersubdiv 2"
|
|
menuitem "subdivision 4 (medium quality)" "watersubdiv 4"
|
|
menuitem "subdivision 8 (low quality)" "watersubdiv 8"
|
|
menuitem "subdivision 16 (my 486 can do water too)" "watersubdiv 16"
|
|
|
|
|
|
newmenu about
|
|
|
|
menuitem "ActionCube v.0.9" ""
|
|
menuitem ""
|
|
menuitem " ...help" "showmenu help"
|
|
menuitem " ...credits" "showmenu credits"
|
|
menuitem ""
|
|
menuitem "by 'Rabid Viper Productions'" "showmenu credits"
|
|
menuitem "http://actioncube.sprintf.org" "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" "echo ..yes, the uber-coder"
|
|
menuitem "http://www.cubeengine.com/" "echo sorry no built-in web browser yet :)"
|
|
|
|
|
|
|
|
newmenu help
|
|
|
|
menuitem "r - reload Gun" ""
|
|
menuitem "right mouse button - use scope" ""
|
|
menuitem "Mousewheel Up/Down - cycle weapons" ""
|
|
menuitem ""
|
|
menuitem "b - Outfit Menu" ""
|
|
menuitem "" ""
|
|
menuitem "-for further information read readme.html-"
|
|
|
|
newmenu credits
|
|
|
|
menuitem "Arghvark Project Leader" ""
|
|
menuitem " Concept, Coding" ""
|
|
menuitem "Verbal QA, Advisor, Lead Tester" ""
|
|
menuitem "driAn Lead Coder, Webdesign" ""
|
|
menuitem "makkE Lead Artist" ""
|
|
menuitem " Maps, Models, Skins, Animation" ""
|
|
menuitem " Sound, some Textures, 2D-Art" ""
|
|
menuitem "Nieb Models, Hosting" ""
|
|
menuitem "Mitaman Maps,Ressources" ""
|
|
menuitem "Rick Bots, Win32-Compiling" ""
|
|
menuitem ""
|
|
menuitem "Thanks to:" ""
|
|
menuitem "Wouter van Oortmersson (Engine), DCP (Music)," ""
|
|
menuitem "JCDPC (Laptop Model, Company), dtd (Hosting), Boeck" ""
|
|
menuitem "Ted Southard (DigitalFlux), Noctua Graphics, Arcitool,"
|
|
menuitem "Craig Fortune, 3dcafe, Rohrschach, lemong.fr,"
|
|
menuitem "Mayang.com, Chris Zastrow, imageafter.com (textures)" |