Raised This Month: $ Target: $400
 0% 

[L4D] Change Maps by Campaign (Menu)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Downtown1
Veteran Member
Join Date: Mar 2004
Old 01-05-2009 , 17:08   [L4D] Change Maps by Campaign (Menu)
Reply With Quote #1

Hey guys, I got tired of using the built-in change level menu since it takes forever to scroll to the VS maps and even then there's way too many options to choose .. unfortunately it has to be at the top level .

Code:
	"L4D Change Campaign"
	{
		"(VS) Blood Harvest"
		{
			"cmd"	"sm_map #1"
			"admin"	"sm_map"
			"1"
			{
				"type"	"list"
				"title"	"(VS) Blood Harvest"

				"1"	"l4d_vs_farm01_hilltop"
				"1."	"Hilltop"
				"2"	"l4d_vs_farm02_traintunnel"
				"2."	"Train Tunnel"
				"3"	"l4d_vs_farm03_bridge"
				"3."	"Bridge"
				"4"	"l4d_vs_farm04_barn"
				"4."	"Barn"
				"5"	"l4d_vs_farm05_cornfield"
				"5."	"Cornfield"
			}
		}

		"(Versus) Dead Air"
		{
			"cmd"	"sm_map #1"
			"admin"	"sm_map"
			"1"
			{
				"type"	"list"
				"title"	"(Versus) Dead Air"

				"1"	"l4d_vs_airport01_greenhouse"
				"1."	"Greenhouse"
				"2"	"l4d_vs_airport02_offices"
				"2."	"Offices"
				"3"	"l4d_vs_airport03_garage"
				"3."	"Parking Garage"
				"4"	"l4d_vs_airport04_terminal"
				"4."	"Flight Terminal"
				"5"	"l4d_vs_airport05_runway"
				"5."	"Runway"
			}
		}

		"(Versus) Death Toll"
		{
			"cmd"	"sm_map #1"
			"admin"	"sm_map"
			"1"
			{
				"type"	"list"
				"title"	"(Versus) Death Toll"

				"1"	"l4d_vs_smalltown01_caves"
				"1."	"Caves"
				"2"	"l4d_vs_smalltown02_drainage"
				"2."	"Drainage"
				"3"	"l4d_vs_smalltown03_ranchhouse"
				"3."	"Ranch House"
				"4"	"l4d_vs_smalltown04_mainstreet"
				"4."	"Main St."
				"5"	"l4d_vs_smalltown05_houseboat"
				"5."	"Boat House"
			}
		}

		"(VS) No Mercy"
		{
			"cmd"	"sm_map #1"
			"admin"	"sm_map"
			"1"
			{
				"type"	"list"
				"title"	"(VS) No Mercy"

				"1"	"l4d_vs_hospital01_apartment"
				"1."	"Apartment"
				"2"	"l4d_vs_hospital02_subway"
				"2."	"Subway"
				"3"	"l4d_vs_hospital03_sewers"
				"3."	"Sewers"
				"4"	"l4d_vs_hospital04_interior"
				"4."	"Interior Hospital"
				"5"	"l4d_vs_hospital05_rooftop"
				"5."	"Rooftop"
			}
		}

		"(Coop) Blood Harvest"
		{
			"cmd"	"sm_map #1"
			"admin"	"sm_map"
			"1"
			{
				"type"	"list"
				"title"	"(Coop) Blood Harvest"

				"1"	"l4d_farm01_hilltop"
				"1."	"Hilltop"
				"2"	"l4d_farm02_traintunnel"
				"2."	"Train Tunnel"
				"3"	"l4d_farm03_bridge"
				"3."	"Bridge"
				"4"	"l4d_farm04_barn"
				"4."	"Barn"
				"5"	"l4d_farm05_cornfield"
				"5."	"Corn Field"
			}
		}

		"(Coop) Dead Air"
		{
			"cmd"	"sm_map #1"
			"admin"	"sm_map"
			"1"
			{
				"type"	"list"
				"title"	"(Coop) Dead Air"

				"1"	"l4d_airport01_greenhouse"
				"1."	"Greenhouse"
				"2"	"l4d_airport02_offices"
				"2."	"Offices"
				"3"	"l4d_airport03_garage"
				"3."	"Parking Garage"
				"4"	"l4d_airport04_terminal"
				"4."	"Flight Terminal"
				"5"	"l4d_airport05_runway"
				"5."	"Runway"
			}
		}

		"(Coop) Death Toll"
		{
			"cmd"	"sm_map #1"
			"admin"	"sm_map"
			"1"
			{
				"type"	"list"
				"title"	"(Coop) Death Toll"

				"1"	"l4d_smalltown01_caves"
				"1."	"Caves"
				"2"	"l4d_smalltown02_drainage"
				"2."	"Drainage"
				"3"	"l4d_smalltown03_ranchhouse"
				"3."	"Ranch House"
				"4"	"l4d_smalltown04_mainstreet"
				"4."	"Main St."
				"5"	"l4d_smalltown05_houseboat"
				"5."	"Boat House"
			}
		}

		"(Coop) No Mercy"
		{
			"cmd"	"sm_map #1"
			"admin"	"sm_map"
			"1"
			{
				"type"	"list"
				"title"	"(Coop) No Mercy"

				"1"	"l4d_hospital01_apartment"
				"1."	"Apartment"
				"2"	"l4d_hospital02_subway"
				"2."	"Subway"
				"3"	"l4d_hospital03_sewers"
				"3."	"Sewers"
				"4"	"l4d_hospital04_interior"
				"4."	"Interior Hospital"
				"5"	"l4d_hospital05_rooftop"
				"5."	"Rooftop"
			}
		}
	}
We'll have to make do with this until someone wants to make a better plugin that will parse the map file names automatically and create a menu automatically.

Last edited by Downtown1; 06-04-2009 at 00:14.
Downtown1 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:49.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode