configuration files to allow the map-pack

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4196 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
RandumKiwi
2009-02-26 00:04:12 +00:00
parent 5524b0fbf5
commit 4138d9d0fb
5 changed files with 29 additions and 17 deletions
+2
View File
@@ -31,3 +31,5 @@ alias scopesens [ *f $sensitivity $scopesensscale ]
//bind lalt "melee"
alias askquit 1
alias mappackinstalled 0 // By default, map-pack is not installed. This alias is here so that AC doesn't complain.
// When mappack is installed, this changes to 1.
+12 -4
View File
@@ -8,7 +8,7 @@ menuitem "Settings" "showmenu settings"
menuitem "Demo" [ showmenu "Play demo" ]
menuitem "Editing" "showmenu editing"
menuitem "Help" "showmenu help"
menuitem "About" "showmenu about"
menuitem "About" "menu_about"
menuitem "Quit" "savequit"
@@ -28,7 +28,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_arctic ac_complex ac_depot ac_desert ac_desert2 ac_desert3 ac_douze ac_elevation ac_gothic ac_keller ac_mines ac_power ac_scaffold ac_shine ac_snow ac_sunset ac_toxic ac_urban ac_wasteland"
alias defaultmaps "ac_arctic ac_complex ac_depot ac_desert ac_desert2 ac_desert3 ac_douze ac_elevation ac_gothic ac_keller ac_mines ac_power ac_scaffold ac_shine ac_snow ac_sunset ac_toxic ac_urban"
genmapitems $defaultmaps
menuitem "" -1
menuitem "Show all maps..." [ showmenu "all maps" ]
@@ -120,8 +120,8 @@ menuitem "Nieb Map: ac_desert2, ac_desert3, plus mapmodels, 2D-art and hostin
menuitem "Archangel Map: ac_urban." -1
menuitem "Mr.Floppy Map: ac_keller, plus textures." -1
menuitem "DogDancing Map: ac_shine, ac_scaffold, textures." -1
menuitem "R4zor Map: ac_sunset, ac_wasteland, ac_gothic." -1
menuitem "Halo Map: ac_arctic, ac_wasteland." -1
menuitem "R4zor Map: ac_sunset, ac_gothic." -1
menuitem "Halo Map: ac_arctic." -1
menuitem "" -1
menuitem "Special thanks" -1
menuitem "----------------" -1
@@ -182,3 +182,11 @@ exec config/menus_bot.cfg
exec config/menus_edit.cfg
exec config/menus_settings.cfg
exec config/menus_multiplayer.cfg
// Menu-specific stuff for the map-pack.
exec config/menus_mappack.cfg
alias menu_about [ if (= $mappackinstalled 0) [ showmenu about ] [ showmenu "Map-pack: About" ] ]
alias menu_maps [ if (= $mappackinstalled 0) [ showmenu maps ] [ showmenu "Map-pack: Maps" ] ]
alias menu_maps_flags [ if (= $mappackinstalled 0) [ showmenu maps_flags ] [ showmenu "Map-pack: Flag maps" ] ]
+1 -1
View File
@@ -64,7 +64,7 @@ alias startbotmap [
alias emptymap [
afterdisconnect [
mode 0
showmenu maps
menu_maps
]
]
+2
View File
@@ -0,0 +1,2 @@
// This file is for the AssaultCube map-pack.
// It is blank because the AssaultCube map-pack is not installed.
+12 -12
View File
@@ -93,18 +93,18 @@ menuitem "Initiate autoteam" "showmenu Auto-team"
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_flags"
menuitem "Hunt the Flag" "mode 13; showmenu maps"
menuitem "Keep the Flag" "mode 15; showmenu maps_flags"
menuitem "Team Keep the Flag" "mode 14; showmenu maps_flags"
menuitem "Pistol Frenzy" "mode 6; showmenu maps"
menuitem "Last Swiss Standing" "mode 9; showmenu maps"
menuitem "One Shot, One Kill" "mode 10; showmenu maps"
menuitem "Team One Shot, One Kill" "mode 11; showmenu maps"
menuitem "Team Deathmatch" "mode 0; menu_maps"
menuitem "Deathmatch" "mode 2; menu_maps"
menuitem "Team Survivor" "mode 4; menu_maps"
menuitem "Survivor" "mode 3; menu_maps"
menuitem "Capture the Flag" "mode 5; menu_maps_flags"
menuitem "Hunt the Flag" "mode 13; menu_maps"
menuitem "Keep the Flag" "mode 15; menu_maps_flags"
menuitem "Team Keep the Flag" "mode 14; menu_maps_flags"
menuitem "Pistol Frenzy" "mode 6; menu_maps"
menuitem "Last Swiss Standing" "mode 9; menu_maps"
menuitem "One Shot, One Kill" "mode 10; menu_maps"
menuitem "Team One Shot, One Kill" "mode 11; menu_maps"
newmenu Mastermode