config updates
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6353 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+2
-2
@@ -24,7 +24,7 @@ genmapitems = [
|
||||
next = (+ $i 1)
|
||||
if (= $next $n) [ next = 0 ] []
|
||||
nextmap = (at $arg1 $next)
|
||||
alias (concatword nextmap_ $listmapname) $nextmap
|
||||
(concatword nextmap_ $listmapname) = $nextmap
|
||||
]
|
||||
]
|
||||
|
||||
@@ -123,7 +123,7 @@ menuitem "No" "showmenu "" "
|
||||
menuitem "" -1
|
||||
menuitemcheckbox "Don't ask next time: " "(= $askquit 0)" "askquit = (= $arg1 0)"
|
||||
|
||||
alias savequit [ if $askquit [ showmenu quit ] [ quit ] ]
|
||||
savequit = [ if $askquit [ showmenu quit ] [ quit ] ]
|
||||
|
||||
// Create additional menus...
|
||||
exec config/menus_bot.cfg
|
||||
|
||||
@@ -5,16 +5,16 @@ newmenu botmaps
|
||||
genbotmaps = [
|
||||
loop i (listlen $arg1) [
|
||||
listmapname = (at $arg1 $i)
|
||||
alias menutext $listmapname (concat map $listmapname)
|
||||
menutext = $listmapname (concat map $listmapname)
|
||||
menuitemmapload $listmapname (concat tmp_botmap "=" $listmapname ";" startbotmap)
|
||||
]
|
||||
]
|
||||
genbotmaps $defaultmaps
|
||||
|
||||
alias tmp_botskill good
|
||||
alias tmp_numbots 1
|
||||
alias tmp_mode
|
||||
alias tmp_botmap
|
||||
tmp_botskill = good
|
||||
tmp_numbots = 1
|
||||
tmp_mode =
|
||||
tmp_botmap =
|
||||
|
||||
// add bots
|
||||
startbotmatch = [
|
||||
@@ -91,7 +91,7 @@ genenemyitems = [
|
||||
teamsize = (div $numplayers 2)
|
||||
menutext = (concatword $teamsize vs $teamsize)
|
||||
]
|
||||
menuitem $menutext (concat "alias tmp_numbots" $numplayers "; showmenu botmaps")
|
||||
menuitem $menutext (concat "tmp_numbots =" $numplayers "; showmenu botmaps")
|
||||
]
|
||||
]
|
||||
|
||||
@@ -159,5 +159,5 @@ menuitemslider "Select/place waypoints by: " 0 1 "($xhairwpsel)" 1 ["Your curren
|
||||
|
||||
newmenu "Delete all waypoints"
|
||||
menuinit [ delallwps = 0 ] // Ensures this menu works correctly.
|
||||
menuitemcheckbox "Yes, delete all waypoints: " "alias delallwps 1" "alias delallwps $arg1"
|
||||
menuitemcheckbox "Yes, delete all waypoints: " "delallwps = 1" "delallwps = $arg1"
|
||||
menuitem "2 [ Apply! ]" [ if $delallwps [ wpclear ] [ showmenu "" ] ]
|
||||
@@ -172,11 +172,11 @@ menuinitselection 1
|
||||
// called by sbconnect
|
||||
newmenu "password required"
|
||||
|
||||
menuinit [ alias sbpwd "";] // Resets the aliases
|
||||
menuinit [ sbpwd = "" ] // Resets the aliases
|
||||
menuitemvar [result $sbmsg]
|
||||
menuitem "You need a password to join it." -1
|
||||
menuitem "" -1
|
||||
menuitemtextinput "Password: " "" "alias sbpwd $arg1" "" 128
|
||||
menuitemtextinput "Password: " "" "sbpwd = $arg1" "" 128
|
||||
menuitem "" -1
|
||||
menuitem "2 [ Connect ] " "echo connecting to $sbdesc ; connect $sbdns $sbport $sbpwd"
|
||||
menuinitselection 3
|
||||
|
||||
@@ -366,7 +366,7 @@ menuitem "Sensible default (30-40 FPS)" [ closemenu "FPS Range"; fpsrange
|
||||
menuitem "FPS whore (60-60 FPS)" [ closemenu "FPS Range"; fpsrange 60 60 ]
|
||||
menuitem "I don't understand LOD (100+ FPS)" [ closemenu "FPS Range"; fpsrange 100 1000 ]
|
||||
|
||||
if (! (checkalias nickhighlight)) [ nickhighlight = 5 ]
|
||||
if (! (checkalias nickhighlight)) [ nickhighlight = 0 ]
|
||||
|
||||
newmenu gameplay
|
||||
|
||||
|
||||
+3
-2
@@ -37,8 +37,9 @@ on_quit_aliases = [
|
||||
tmp_tutsets
|
||||
tmp_wc
|
||||
watchingtutorial
|
||||
addListOnQuit
|
||||
on_quit_aliases
|
||||
alias_list
|
||||
]
|
||||
|
||||
addListOnQuit $on_quit_aliases
|
||||
addOnQuit [ delalias addListOnQuit; delalias on_quit_aliases ]
|
||||
addListOnQuit $on_quit_aliases
|
||||
+1
-1
@@ -430,7 +430,7 @@ cleanshot = [
|
||||
sleep 90 [ loop ros (listlen $cs_sets) [ (at $cs_sets $ros) (at $tmp_old_sets $ros) ] ]
|
||||
]
|
||||
|
||||
slowtoggle = [ if (! (= $arg1 0)) [ slowmove 0; onrelease [ slowmove 1 ] ] [ slowmove 1; onrelease [ slowmove 0 ] ] ]
|
||||
slowtoggle = [ if (!= $arg1 0) [ slowmove 0; onrelease [ slowmove 1 ] ] [ slowmove 1; onrelease [ slowmove 0 ] ] ]
|
||||
|
||||
// Simple claim-admin script for one single-server.
|
||||
// Fill in the 3 aliases below, and uncomment the below line to activate.
|
||||
|
||||
Reference in New Issue
Block a user