From 10d1a073ed57480f1fee267bf49857be8112d897 Mon Sep 17 00:00:00 2001 From: driAn Date: Sun, 12 Nov 2006 17:08:12 +0000 Subject: [PATCH] no message git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@609 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- config/keymap.cfg | 278 +++++------ config/menus.cfg | 1025 ++++++++++++++++++++------------------- config/prefabs.cfg | 3 - source/src/entities.cpp | 2 - 4 files changed, 652 insertions(+), 656 deletions(-) diff --git a/config/keymap.cfg b/config/keymap.cfg index 4c51b99f..c73d95c0 100755 --- a/config/keymap.cfg +++ b/config/keymap.cfg @@ -1,139 +1,139 @@ -// do not modify, use "bind" in autoexec.cfg instead - -keymap -1 MOUSE1 "attack" -keymap -3 MOUSE2 "jump" -keymap -2 MOUSE3 "weapon" -keymap -4 MOUSE4 "weapon 2 3 1" -keymap -5 MOUSE5 "weapon 4 1 2" -keymap 8 BACKSPACE "" -keymap 9 TAB "showscores" -keymap 12 CLEAR "" -keymap 13 RETURN "" -keymap 19 PAUSE "" -keymap 27 ESCAPE "quit" -keymap 32 SPACE "jump" -keymap 33 EXCLAIM "" -keymap 34 QUOTEDBL "" -keymap 35 HASH "" -keymap 36 DOLLAR "" -keymap 38 AMPERSAND "" -keymap 39 QUOTE "" -keymap 40 LEFTPAREN "" -keymap 41 RIGHTPAREN "" -keymap 42 ASTERISK "" -keymap 43 PLUS "" -keymap 44 COMMA "equalize 0" -keymap 45 MINUS "" -keymap 46 PERIOD "equalize 2" -keymap 47 SLASH "" -keymap 48 0 "weapon 0 1 2" -keymap 49 1 "weapon 1 2 4" -keymap 50 2 "weapon 2 1 4" -keymap 51 3 "weapon 3 4 2" -keymap 52 4 "weapon 4 3 2" -keymap 53 5 "" -keymap 54 6 "" -keymap 55 7 "" -keymap 56 8 "vdelta -1" -keymap 57 9 "vdelta 1" -keymap 58 COLON "" -keymap 59 SEMICOLON "" -keymap 60 LESS "" -keymap 61 EQUALS "" -keymap 62 GREATER "" -keymap 63 QUESTION "" -keymap 64 AT "" -keymap 91 LEFTBRACKET "editheight 0 -1" -keymap 92 BACKSLASH "" -keymap 93 RIGHTBRACKET "editheight 0 1" -keymap 94 CARET "" -keymap 95 UNDERSCORE "" -keymap 96 BACKQUOTE "saycommand /" -keymap 97 A "" -keymap 98 B "" -keymap 99 C "copy" -keymap 100 D "delent" -keymap 101 E "edittoggle" -keymap 102 F "solid 1" -keymap 103 G "solid 0" -keymap 104 H "heightfield 0" -keymap 105 I "heightfield 2" -keymap 106 J "" -keymap 107 K "corner" -keymap 108 L "newent light 16" -keymap 109 M "" -keymap 110 N "" -keymap 111 O "editheight 2 -1" -keymap 112 P "editheight 2 1" -keymap 113 Q "" -keymap 114 R "recalc" -keymap 115 S "say :)" -keymap 116 T "saycommand" -keymap 117 U "undo" -keymap 118 V "paste" -keymap 119 W "" -keymap 120 X "delent" -keymap 121 Y "" -keymap 122 Z "" -keymap 127 DELETE "edittex 0 -1" -keymap 256 KP0 "weapon 4 1" -keymap 257 KP1 "" -keymap 258 KP2 "" -keymap 259 KP3 "" -keymap 260 KP4 "edittex 3 -1" -keymap 261 KP5 "" -keymap 262 KP6 "" -keymap 263 KP7 "edittex 3 1" -keymap 264 KP8 "" -keymap 265 KP9 "" -keymap 266 KP_PERIOD "" -keymap 267 KP_DIVIDE "" -keymap 268 KP_MULTIPLY "" -keymap 269 KP_MINUS "conskip 1" -keymap 270 KP_PLUS "conskip -1000" -keymap 271 KP_ENTER "" -keymap 272 KP_EQUALS "" -keymap 273 UP "forward" -keymap 274 DOWN "backward" -keymap 275 RIGHT "right" -keymap 276 LEFT "left" -keymap 277 INSERT "edittex 0 1" -keymap 278 HOME "edittex 1 1" -keymap 279 END "edittex 1 -1" -keymap 280 PAGEUP "edittex 2 1" -keymap 281 PAGEDOWN "edittex 2 -1" -keymap 282 F1 "" -keymap 283 F2 "" -keymap 284 F3 "" -keymap 285 F4 "" -keymap 286 F5 "" -keymap 287 F6 "" -keymap 288 F7 "" -keymap 289 F8 "" -keymap 290 F9 "" -keymap 291 F10 "" -keymap 292 F11 "" -keymap 293 F12 "screenshot" -keymap 294 F13 "" -keymap 295 F14 "" -keymap 296 F15 "" -keymap 300 NUMLOCK "" -keymap 301 CAPSLOCK "" -keymap 302 SCROLLOCK "" -keymap 303 RSHIFT "" -keymap 304 LSHIFT "" -keymap 305 RCTRL "jump" -keymap 306 LCTRL "jump" -keymap 307 RALT "" -keymap 308 LALT "" -keymap 309 RMETA "" -keymap 310 LMETA "" -keymap 311 LSUPER "" -keymap 312 RSUPER "" -keymap 313 MODE "" -keymap 314 COMPOSE "" -keymap 315 HELP "" -keymap 316 PRINT "" -keymap 317 SYSREQ "" -keymap 318 BREAK "" -keymap 319 MENU "" +// do not modify, use "bind" in autoexec.cfg instead + +keymap -1 MOUSE1 "attack" +keymap -3 MOUSE2 "jump" +keymap -2 MOUSE3 "weapon" +keymap -4 MOUSE4 "weapon 2 3 1" +keymap -5 MOUSE5 "weapon 4 1 2" +keymap 8 BACKSPACE "" +keymap 9 TAB "showscores" +keymap 12 CLEAR "" +keymap 13 RETURN "" +keymap 19 PAUSE "" +keymap 27 ESCAPE "quit" +keymap 32 SPACE "jump" +keymap 33 EXCLAIM "" +keymap 34 QUOTEDBL "" +keymap 35 HASH "" +keymap 36 DOLLAR "" +keymap 38 AMPERSAND "" +keymap 39 QUOTE "" +keymap 40 LEFTPAREN "" +keymap 41 RIGHTPAREN "" +keymap 42 ASTERISK "" +keymap 43 PLUS "" +keymap 44 COMMA "equalize 0" +keymap 45 MINUS "" +keymap 46 PERIOD "equalize 2" +keymap 47 SLASH "" +keymap 48 0 "weapon 0 1 2" +keymap 49 1 "weapon 1 2 4" +keymap 50 2 "weapon 2 1 4" +keymap 51 3 "weapon 3 4 2" +keymap 52 4 "weapon 4 3 2" +keymap 53 5 "" +keymap 54 6 "" +keymap 55 7 "" +keymap 56 8 "vdelta -1" +keymap 57 9 "vdelta 1" +keymap 58 COLON "" +keymap 59 SEMICOLON "" +keymap 60 LESS "" +keymap 61 EQUALS "" +keymap 62 GREATER "" +keymap 63 QUESTION "" +keymap 64 AT "" +keymap 91 LEFTBRACKET "editheight 0 -1" +keymap 92 BACKSLASH "" +keymap 93 RIGHTBRACKET "editheight 0 1" +keymap 94 CARET "" +keymap 95 UNDERSCORE "" +keymap 96 BACKQUOTE "saycommand /" +keymap 97 A "" +keymap 98 B "" +keymap 99 C "copy" +keymap 100 D "delent" +keymap 101 E "edittoggle" +keymap 102 F "solid 1" +keymap 103 G "solid 0" +keymap 104 H "heightfield 0" +keymap 105 I "heightfield 2" +keymap 106 J "" +keymap 107 K "corner" +keymap 108 L "newent light 16" +keymap 109 M "" +keymap 110 N "" +keymap 111 O "editheight 2 -1" +keymap 112 P "editheight 2 1" +keymap 113 Q "" +keymap 114 R "recalc" +keymap 115 S "say :)" +keymap 116 T "saycommand" +keymap 117 U "undo" +keymap 118 V "paste" +keymap 119 W "" +keymap 120 X "delent" +keymap 121 Y "" +keymap 122 Z "" +keymap 127 DELETE "edittex 0 -1" +keymap 256 KP0 "weapon 4 1" +keymap 257 KP1 "" +keymap 258 KP2 "" +keymap 259 KP3 "" +keymap 260 KP4 "edittex 3 -1" +keymap 261 KP5 "" +keymap 262 KP6 "" +keymap 263 KP7 "edittex 3 1" +keymap 264 KP8 "" +keymap 265 KP9 "" +keymap 266 KP_PERIOD "" +keymap 267 KP_DIVIDE "" +keymap 268 KP_MULTIPLY "" +keymap 269 KP_MINUS "conskip 1" +keymap 270 KP_PLUS "conskip -1000" +keymap 271 KP_ENTER "" +keymap 272 KP_EQUALS "" +keymap 273 UP "forward" +keymap 274 DOWN "backward" +keymap 275 RIGHT "right" +keymap 276 LEFT "left" +keymap 277 INSERT "edittex 0 1" +keymap 278 HOME "edittex 1 1" +keymap 279 END "edittex 1 -1" +keymap 280 PAGEUP "edittex 2 1" +keymap 281 PAGEDOWN "edittex 2 -1" +keymap 282 F1 "" +keymap 283 F2 "" +keymap 284 F3 "" +keymap 285 F4 "" +keymap 286 F5 "" +keymap 287 F6 "" +keymap 288 F7 "" +keymap 289 F8 "" +keymap 290 F9 "" +keymap 291 F10 "" +keymap 292 F11 "" +keymap 293 F12 "screenshot" +keymap 294 F13 "" +keymap 295 F14 "" +keymap 296 F15 "" +keymap 300 NUMLOCK "" +keymap 301 CAPSLOCK "" +keymap 302 SCROLLOCK "" +keymap 303 RSHIFT "" +keymap 304 LSHIFT "" +keymap 305 RCTRL "jump" +keymap 306 LCTRL "jump" +keymap 307 RALT "" +keymap 308 LALT "" +keymap 309 RMETA "" +keymap 310 LMETA "" +keymap 311 LSUPER "" +keymap 312 RSUPER "" +keymap 313 MODE "" +keymap 314 COMPOSE "" +keymap 315 HELP "" +keymap 316 PRINT "" +keymap 317 SYSREQ "" +keymap 318 BREAK "" +keymap 319 MENU "" diff --git a/config/menus.cfg b/config/menus.cfg index b40ceb9d..a29d3d78 100755 --- a/config/menus.cfg +++ b/config/menus.cfg @@ -1,512 +1,513 @@ -// standard menu definitions - -bind ESCAPE "showmenu main" // it all starts here - -newmenu main - -menuitem "Multiplayer" "showmenu multiplayer" -menuitem "Singleplayer" "showmenu singleplayer" -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 anim 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 "Select Crosshair" "showmenu crosshairs" -menuitem "Set Name" "saycommand /name" - -newmenu skins - -menuitem "CLA Skins" "showmenu cla" -menuitem "RVSF Skins" "showmenu rvsf" - -newmenu "cla" - -menumdl playermodels/terrorist/01 all 50 4 -menuitem "Comandante" "skin 0" "chmenumdl cla playermodels/terrorist/01 all 50 4" -menuitem "Psycho" "skin 1" "chmenumdl cla playermodels/terrorist/02 all 50 4" -menuitem "Bomber" "skin 2" "chmenumdl cla playermodels/terrorist/03 all 50 4" -menuitem "Ripper" "skin 3" "chmenumdl cla playermodels/terrorist/04 all 50 4" - - -newmenu "rvsf" - -menumdl playermodels/counterterrorist/01 all 50 4 -menuitem "Alpha" "skin 0" "chmenumdl rvsf playermodels/counterterrorist/01 all 50 4" -menuitem "Tango" "skin 1" "chmenumdl rvsf playermodels/counterterrorist/02 all 50 4" -menuitem "Cobra" "skin 2" "chmenumdl rvsf playermodels/counterterrorist/03 all 50 4" -menuitem "Viper" "skin 3" "chmenumdl rvsf playermodels/counterterrorist/04 all 50 4" -menuitem "Swat" "skin 4" "chmenumdl rvsf playermodels/counterterrorist/05 all 50 4" -menuitem "Police" "skin 4" "chmenumdl rvsf playermodels/counterterrorist/06 all 50 4" - - -newmenu team - -menumdl playermodels/terrorist/01 all 50 4 -menuitem "Cuban Liberations Army" "team CLA" "chmenumdl team playermodels/terrorist/01 all 50 4" -menuitem "Rabid Viper Special Forces" "team RVSF" "chmenumdl team playermodels/counterterrorist/03 all 50 4" - - - -alias gencrosshairs [ - alias n (listlen $arg1) - loop $n [ - at $arg1 $i - alias label $s - concat loadcrosshair $s - menuitem $label $s - ] -] - -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 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 "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" - - - -// bot menus and tools - -alias tmp_botskill good -alias tmp_numbots 1 -alias tmp_mode -alias tmp_botmap - -alias startbotmatch [ - kickallbots - 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 [ - disconnect - echo starting botmatch.. - 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" - -newmenu botskill - -alias showmenu_enemies [ if (= $tmp_mode 8) [ showmenu enemies ] [ showmenu "team 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 [ - alias n (listlen $arg1) - loop $n [ - at $arg1 $i - alias numplayers $s - if (= $arg2 0) [ // DM - alias numplayers (- $numplayers 1) // don't count yourself as enemy - if (= $numplayers 1) [ - concat $numplayers enemy - ] [ - concat $numplayers enemies - ] - ] [ // TDM - alias teamsize (div $numplayers 2) - concatword $teamsize on $teamsize - ] - alias menutext $s - concat "alias tmp_numbots" $numplayers "; showmenu botmaps" - menuitem $menutext $s - ] -] - -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 [ - 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 master - -menuitem "Master Login" "saycommand /masterlogin " -menuitem "Change Mode/Map" "showmenu gamemode" -menuitem "Kick Player" "showmastermenu 0" -menuitem "Ban Player" "showmastermenu 1" -menuitem "Remove Bans" "mastercommand 2" - - -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/menu mapmodel 75 12 -menuitem "Mtp 57 Assault Rifle" "item 5;echo MK-77 Assault Rifle chosen" "chmenumdl weapons weapons/assault/menu mapmodel 75 12" -menuitem "A-ARD/10 Submachine Gun" "item 3;echo A-ARD/10 Submachine Gun chosen" "chmenumdl weapons weapons/subgun/menu mapmodel 75 12" -menuitem "Precision Tech AD-81 Sniper Rifle" "item 4,echo Precision Tech AD-81 Sniper Rifle chosen" "chmenumdl weapons weapons/sniper/menu mapmodel 75 12" -menuitem "V-19 Combat Shotgun" "item 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 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://action.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" "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)" - -alias master [ showmenu master ] +// standard menu definitions + +bind ESCAPE "showmenu main" // it all starts here + +newmenu main + +menuitem "Multiplayer" "showmenu multiplayer" +menuitem "Singleplayer" "showmenu singleplayer" +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 anim 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 "Select Crosshair" "showmenu crosshairs" +menuitem "Set Name" "saycommand /name" + +newmenu skins + +menuitem "CLA Skins" "showmenu cla" +menuitem "RVSF Skins" "showmenu rvsf" + +newmenu "cla" + +menumdl playermodels/terrorist/01 all 50 4 +menuitem "Comandante" "skin 0" "chmenumdl cla playermodels/terrorist/01 all 50 4" +menuitem "Psycho" "skin 1" "chmenumdl cla playermodels/terrorist/02 all 50 4" +menuitem "Bomber" "skin 2" "chmenumdl cla playermodels/terrorist/03 all 50 4" +menuitem "Ripper" "skin 3" "chmenumdl cla playermodels/terrorist/04 all 50 4" + + +newmenu "rvsf" + +menumdl playermodels/counterterrorist/01 all 50 4 +menuitem "Alpha" "skin 0" "chmenumdl rvsf playermodels/counterterrorist/01 all 50 4" +menuitem "Tango" "skin 1" "chmenumdl rvsf playermodels/counterterrorist/02 all 50 4" +menuitem "Cobra" "skin 2" "chmenumdl rvsf playermodels/counterterrorist/03 all 50 4" +menuitem "Viper" "skin 3" "chmenumdl rvsf playermodels/counterterrorist/04 all 50 4" +menuitem "Swat" "skin 4" "chmenumdl rvsf playermodels/counterterrorist/05 all 50 4" +menuitem "Police" "skin 4" "chmenumdl rvsf playermodels/counterterrorist/06 all 50 4" + + +newmenu team + +menumdl playermodels/terrorist/01 all 50 4 +menuitem "Cuban Liberations Army" "team CLA" "chmenumdl team playermodels/terrorist/01 all 50 4" +menuitem "Rabid Viper Special Forces" "team RVSF" "chmenumdl team playermodels/counterterrorist/03 all 50 4" + + + +alias gencrosshairs [ + alias n (listlen $arg1) + loop $n [ + at $arg1 $i + alias label $s + concat loadcrosshair $s + menuitem $label $s + ] +] + +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 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 "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" + + + +// bot menus and tools + +alias tmp_botskill good +alias tmp_numbots 1 +alias tmp_mode +alias tmp_botmap + +alias startbotmatch [ + kickallbots + 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 [ + disconnect + echo starting botmatch.. + 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" + +newmenu botskill + +alias showmenu_enemies [ if (= $tmp_mode 8) [ showmenu enemies ] [ showmenu "team 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 [ + alias n (listlen $arg1) + loop $n [ + at $arg1 $i + alias numplayers $s + if (= $arg2 0) [ // DM + alias numplayers (- $numplayers 1) // don't count yourself as enemy + if (= $numplayers 1) [ + concat $numplayers enemy + ] [ + concat $numplayers enemies + ] + ] [ // TDM + alias teamsize (div $numplayers 2) + concatword $teamsize on $teamsize + ] + alias menutext $s + concat "alias tmp_numbots" $numplayers "; showmenu botmaps" + menuitem $menutext $s + ] +] + +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 [ + 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 master + +menuitem "Master Login" "saycommand /masterlogin " +menuitem "Change Mode/Map" "showmenu gamemode" +menuitem "Kick Player" "showmastermenu 0" +menuitem "Ban Player" "showmastermenu 1" +menuitem "Remove Bans" "mastercommand 2" + + +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/menu mapmodel 75 12 +menuitem "Mtp 57 Assault Rifle" "item 5;echo MK-77 Assault Rifle chosen" "chmenumdl weapons weapons/assault/menu mapmodel 75 12" +menuitem "A-ARD/10 Submachine Gun" "item 3;echo A-ARD/10 Submachine Gun chosen" "chmenumdl weapons weapons/subgun/menu mapmodel 75 12" +menuitem "Precision Tech AD-81 Sniper Rifle" "item 4,echo Precision Tech AD-81 Sniper Rifle chosen" "chmenumdl weapons weapons/sniper/menu mapmodel 75 12" +menuitem "V-19 Combat Shotgun" "item 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 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://action.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" "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)" + +alias master [ showmenu master ] diff --git a/config/prefabs.cfg b/config/prefabs.cfg index 3a71e764..a02fa01d 100755 --- a/config/prefabs.cfg +++ b/config/prefabs.cfg @@ -1,16 +1,13 @@ // this cfg defines the shapes of heightfield prefabs, i.e. arches and such - // arch of 2xN cubes, i.e. 3 vertices [0..2] // archvertex // vertices not defined have a 0 delta - alias av [ loop $arg1 [ at $arg2 $i archvertex (+ $arg1 1) (+ $i 1) $s ] ] - av 1 "2" av 2 "4 4" av 3 "5 6 5" diff --git a/source/src/entities.cpp b/source/src/entities.cpp index 85f86ba4..5660ae5b 100644 --- a/source/src/entities.cpp +++ b/source/src/entities.cpp @@ -109,8 +109,6 @@ void equipitem(int i, int &v, int t) playsoundc(is.sound); }; -extern void weapon(int gun); - void realpickup(int n, playerent *d) { switch(ents[n].type)