menus/config updates

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6309 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
Bukz
2011-04-23 18:47:42 +00:00
parent fafd13894e
commit 4eeb474467
6 changed files with 12 additions and 6 deletions
+4 -2
View File
@@ -1,3 +1,5 @@
ingall = 0
kick = [ callvote 0 $arg1 $arg2 ]
ban = [ callvote 1 $arg1 $arg2 ]
removebans = [ callvote 2 $arg1 ]
@@ -5,8 +7,8 @@ mastermode = [ callvote 3 $arg1 ]
autoteam = [ callvote 4 $arg1 ]
forceteam = [ callvote 5 $arg1 ]
forceme = [ forceteam (findcn $curname) ]
ignoreall = [ if $connected [ loop ia 21 [ ignore $ia ] ] ]
unignoreall = [ if $connected [ clearignored ] ]
ignoreall = [ if $connected [ ingall = 1; loop ia 21 [ ignore $ia ]; echo (c 1)NOTE: (c 5)All clients currently on the server were ignored. ] ]
unignoreall = [ if $connected [ ingall = 0; clearignored ]; echo (c 1)NOTE: (c 5)All clients currently on the server were unignored. ]
giveadmin = [ callvote 6 $arg1 ]
map = [ callvote 7 $arg1 $arg2 ]
recorddemo = [ callvote 8 1 ]
+1 -1
View File
@@ -26,7 +26,7 @@ poniesmodeon = 0 // Reduced violence mode.
__gibsgore = 1 // Default value for gibs slider.
dyngamma = 0
old_editbinds = 1
nickhighlight = 5
nickhighlight = 0
survMap = (rnd (listlen $defaultmaps))
survDifficulty = 0
survNumBots = 12
+2
View File
@@ -66,6 +66,8 @@ menuitem "Download demos from the server" [ listdemos; showmenu "Download demo"
newmenu "Download demo"
menuinit [ echo (c 4)Choose the demo number you wish to download, as shown below in the console. ]
menuitem " 9 Download the latest demo..." [ getdemo "" ]
menuitem [] -1
menuitemtextinput "Demo number: " "" [ dldemo = $arg1 ]
menuitem " 2 [ Download ] " [ getdemo $dldemo ]
+2 -2
View File
@@ -108,8 +108,8 @@ newmenu "Survival Mode"
menuitemslider "Map: " 0 28 "$survMap" 1 [ "ac_aqueous" "ac_arabian" "ac_arctic" "ac_arid" "ac_complex" "ac_depot" "ac_desert" "ac_desert2" "ac_desert3" "ac_douze" "ac_edifice" "ac_elevation" "ac_gothic" "ac_iceroad" "ac_industrial" "ac_ingress" "ac_keller" "ac_mines" "ac_outpost" "ac_power" "ac_rattrap" "ac_scaffold" "ac_shine" "ac_snow" "ac_stellar" "ac_sunset" "ac_toxic" "ac_urban" "ac_werk" ] [ survMap = $arg1 ]
menuitemslider "Difficulty: " 0 3 "$survDifficulty" 1 [ "easy" "intermediate" "hard" "impossible" ] [ survDifficulty = $arg1; tmpSurvCtr = 0; loop sdl 4 [ (at $survSetsList $sdl) = (at (at $survDifList $survDifficulty) $tmpSurvCtr); += tmpSurvCtr 1 ] ]
menuitem [] -1
menuitem " Customize" [ showmenu "Survival Mode - Customize" ]
menuitem " Start!" [ survival (at $defaultmaps $survMap) ]
menuitem " Customize" [ showmenu "Survival Mode - Customize" ]
menuitem " Start!" [ survival (at $defaultmaps $survMap) ]
newmenu "Survival Mode - Customize"
menuitemslider "# of bots to spawn on start: " 6 20 "$survNumBots" 1 [] [ survNumBots = $arg1 ]
+2
View File
@@ -23,6 +23,7 @@ menuitem "Change player skin..." [showmenu (at [CLA RVSF] (curteam))] [ __ingam
menuitem "" -1 [__ingamemenu_showmodel "In-game" 0]
menuitem "Set mode/map..." [ showmenu Gamemode ]
// menuitem "Kick/ban player..." [ showmenu kick/ban ] // only noobish vote abusers use this, if you really want it, just uncomment
menuitem "Ignore/Unignore all..." [ if $ingall [ unignoreall ] [ ignoreall ] ]
menuitem "Adjust teams..." [ showmenu "Team adjustment" ]
menuitem "Download a demo..." [ listdemos; showmenu "Download demo" ]
menuitem "Get additional server information" [ showmenu serverinfo ]
@@ -119,6 +120,7 @@ newmenu "Team adjustment"
menuitem "Initiate shuffleteams" [ shuffleteams ]
menuitem "Force a team change" [ showmenu "force team" ]
menuitem "Force yourself to enemy team" [ forceme ]
menuitem "Initiate autoteam" [ showmenu Auto-team ]
newmenu Gamemode
+1 -1
View File
@@ -377,7 +377,7 @@ menuitem "" -1
menuitemcheckbox "Reduced violence mode: " "$poniesmodeon" [ reducedviolencemode $arg1 ]
menuitemcheckbox "Auto weapon reload: " "$autoreload" [ autoreload $arg1 ]
menuitemslider "Gib gore: " 0 4 "$__gibsgore" 1 [ "Off" "Normal" "Good" "Messy" "Unrealistic" ] [ gibsgore $arg1 ]
menuitemslider "Name highlight color: " 0 9 "$nickhighlight" 1 [ " 0green" " 1blue" " 2yellow" " 3red" " 4gray" "white" " 6dark brown" " 7dark red" " 8purple" " 9orange" ] [ nickhighlight = $arg1; HIGHLIGHT = (c $nickhighlight) ]
menuitemslider "Name highlight color: " 0 9 "$nickhighlight" 1 [ " 0green 5(default)" " 1blue" " 2yellow" " 3red" " 4gray" "white" " 6dark brown" " 7dark red" " 8purple" " 9orange" ] [ nickhighlight = $arg1; HIGHLIGHT = (c $nickhighlight) ]
menuitemcheckbox "Hit sound: " "$hitsound" [ hitsound $arg1 ]
menuitemcheckbox "Show scores on death: " "$showscoresondeath" [ showscoresondeath $arg1 ]
menuitem "Change to the enemy team" [ changeteam ]