From ff17406d0302c7774ba1d7eb865ff3ba404511f3 Mon Sep 17 00:00:00 2001 From: RandumKiwi Date: Wed, 19 May 2010 10:50:43 +0000 Subject: [PATCH] Update editing menus -> Helmet git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4928 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- config/menus.cfg | 4 ++-- config/menus_edit.cfg | 5 +++-- config/securemaps.cfg | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/config/menus.cfg b/config/menus.cfg index 3b917a49..a0d89339 100755 --- a/config/menus.cfg +++ b/config/menus.cfg @@ -32,7 +32,7 @@ alias genmapitems [ newmenu maps // Add maps to the below list to include them in the normal map menu (also for botmaps). // Don't add ac_depot_classic to the maps list. -alias defaultmaps "ac_aqueous ac_arabian ac_arctic ac_arid ac_complex ac_depot ac_desert ac_desert2 ac_desert3 ac_douze ac_elevation ac_gothic ac_iceroad ac_keller ac_mines ac_power ac_rattrap ac_scaffold ac_shine ac_snow ac_sunset ac_toxic ac_urban ac_werk" +alias defaultmaps "ac_aqueous ac_arabian ac_arctic ac_arid ac_complex ac_depot ac_desert ac_desert2 ac_desert3 ac_douze ac_elevation ac_gothic ac_iceroad ac_keller ac_mines ac_outpost ac_power ac_rattrap ac_scaffold ac_shine ac_snow ac_sunset ac_toxic ac_urban ac_werk" genmapitems $defaultmaps menuitem "" -1 if (&& $mappack_version (listlen $mappack_maps)) [menuitem (concatword "Map-pack (version " $mappack_version ") maps...") [showmenu "mappack maps"]]; @@ -44,7 +44,7 @@ menudirlist "packages/maps" "cgz" "map $arg1" newmenu maps_flags // Add maps to the below list to include them in the CTF, KTF & TKTF map menu. Maps should contain flags here. -alias ctfmaps "ac_aqueous ac_arabian ac_arid ac_depot ac_desert3 ac_douze ac_elevation ac_gothic ac_iceroad ac_keller ac_mines ac_power ac_shine ac_sunset ac_urban ac_werk" +alias ctfmaps "ac_aqueous ac_arabian ac_arid ac_depot ac_desert3 ac_douze ac_elevation ac_gothic ac_iceroad ac_keller ac_mines ac_outpost ac_power ac_shine ac_sunset ac_urban ac_werk" genmapitems $ctfmaps menuitem "" -1 if (&& $mappack_version (listlen $mappack_flagmaps)) [menuitem (concatword "Map-pack (version " $mappack_version ") maps...") [showmenu "mappack flag maps"]]; diff --git a/config/menus_edit.cfg b/config/menus_edit.cfg index 02473f1e..2cdaa8d4 100644 --- a/config/menus_edit.cfg +++ b/config/menus_edit.cfg @@ -79,6 +79,7 @@ menuitem "Health" "newent health" menuitem "Pistol Magazine" "newent pistol" menuitem "Box of Ammo" "newent ammobox" menuitem "Kevlar Vest" "newent armour" +menuitem "Helmet" "newent helmet" menuitem "Akimbo" "newent akimbo" menuitem "Grenades" "newent grenades" @@ -128,10 +129,10 @@ menuitem "Change watercolour" [ showmenu "Water colour" ] menuitem "Print entity stats" "entstats" menuitem "Select the next closest entity" "nextclosestent" menuitemcheckbox "Show mapmodel clippings: " "$showmodelclipping" "showmodelclipping $arg1" -menuitemslider "Select only these entities: " 0 13 "$_closestenttypestatus" 1 "All Light Playerstart Pistol Ammobox Grenades Health Armour Akimbo Mapmodel Ladder CTF-flag Sound Clip" "_closestentslider $arg1" +menuitemslider "Select only these entities: " 0 14 "$_closestenttypestatus" 1 "All Light Playerstart Pistol Ammobox Grenades Health Armour Akimbo Mapmodel Ladder CTF-flag Sound Clip Helmet" "_closestentslider $arg1" // "closestenttype" slider... -alias _closestentslider [ closestenttype (at ["" light playerstart pistol ammobox grenades health armour akimbo mapmodel ladder ctf-flag sound clip] $arg1); alias _closestenttypestatus $arg1 ] +alias _closestentslider [ closestenttype (at ["" light playerstart pistol ammobox grenades health armour akimbo mapmodel ladder ctf-flag sound clip helmet] $arg1); alias _closestenttypestatus $arg1 ] // Map-message edit/creation menu alias menumapmsg [ if (= (strcmp (getmapmsg) "Untitled Map by Unknown") 1) [ showmenu "Create a map message" ] [ showmenu "Edit a map message" ] ] diff --git a/config/securemaps.cfg b/config/securemaps.cfg index a485c92b..feb2b2db 100644 --- a/config/securemaps.cfg +++ b/config/securemaps.cfg @@ -15,6 +15,7 @@ securemap ac_gothic securemap ac_iceroad securemap ac_keller securemap ac_mines +securemap ac_outpost securemap ac_power securemap ac_rattrap securemap ac_scaffold