#base robot_giant.pop
#base robot_standard.pop
population

{
	StartingCurrency						1000
	RespawnWaveTime							0
	CanBotsAttackWhileInSpawnRoom			no
	AddSentryBusterWhenDamageDealtExceeds	3000
	AddSentryBusterWhenKillCountExceeds		30
	Advanced								1
	
	/////////////////////////////////
	//For my friends and partner <3//
	/////////////////////////////////
	
////////////
//MISSIONS//
////////////
	
	Mission
	{
		Objective			DestroySentries
		InitialCooldown		30
		Where				spawnbot_right
		BeginAtWave			1
		RunForThisManyWaves	6
		WaitBetweenSpawns 	30
		TFBot
		{
			Template			T_TFBot_SentryBuster
		}
	}

	
/////////
//WAVES//
/////////

	//////////////////					////////
	//WAVE 1//WARMUP//					//1200//
	//////////////////					////////
	
	Wave
	{
		StartWaveOutput										
		{
			Target wave_start_relay							
			Action Trigger									
		}
		DoneOutput											
		{
			Target wave_finished_relay						
			Action trigger									
		}

		Checkpoint Yes		
		
			////////////////		///////		////////
			//PUNCH HEAVYS//		//200//		//1400//
			////////////////		///////		////////
		
		WaveSpawn
		{
			Name 				1a
			Where 				spawnbot_left							
			TotalCount 			6								//total ammount of bots
			MaxActive 			20								//total ammount of bots in game at once (max 21)
			SpawnCount 			2								//ammount of bots in each spawn wave
			WaitBeforeStarting 	1								//time after the wave starts/subwave is allowed to start
			WaitBetweenSpawns 	5								//gap between spawnwaves
			RandomSpawn 		1								//whether the bots use more than one spawn of the same name
			
			TotalCurrency		200								//cash this group of bots has

			TFBot
			{
				Template 			T_TFBot_Heavyweapons_Fist
			}
		}
		
			///////////////			///////		////////
			//24 SOLDIERS//			//200//		//1600//
			///////////////			///////		////////
		
		WaveSpawn
		{
			Name 				1a
			Where 				spawnbot_left						
			TotalCount 			30								//total ammount of bots
			MaxActive 			20								//total ammount of bots in game at once (max 21)
			SpawnCount 			5								//ammount of bots in each spawn wave
			WaitBeforeStarting 	1								//time after the wave starts/subwave is allowed to start
			WaitBetweenSpawns 	4								//gap between spawnwaves
			RandomSpawn 		1								//whether the bots use more than one spawn of the same name
			
			TotalCurrency		200								//cash this group of bots has

			TFBot
			{
				Class 				Soldier
				Skill 				Easy
			}
		}
		
			////////////			///////		////////
			//30 PYROS//			//200//		//1800//
			////////////			///////		////////
			
		WaveSpawn
		{
			Name 				1b
			Where 				spawnbot_front						
			TotalCount 			30								//total ammount of bots
			MaxActive 			20								//total ammount of bots in game at once (max 21)
			SpawnCount 			5								//ammount of bots in each spawn wave
			WaitBeforeStarting 	1								//time after the wave starts/subwave is allowed to start
			WaitBetweenSpawns 	4								//gap between spawnwaves
			RandomSpawn 		1								//whether the bots use more than one spawn of the same name
			
			TotalCurrency		200								//cash this group of bots has

			TFBot
			{
				Class 				Pyro
				Skill 				Easy
			}
		}
		
			/////////////////		///////		////////
			//GIANT SOLDIER//		//200//		//2000//
			/////////////////		///////		////////
		
		WaveSpawn
		{
			Name 				1c
			WaitForAllDead		1b
			Where 				spawnbot_left					
			TotalCount 			1								//total ammount of bots
			MaxActive 			20								//total ammount of bots in game at once (max 21)
			SpawnCount 			1								//ammount of bots in each spawn wave
			WaitBeforeStarting 	1								//time after the wave starts/subwave is allowed to start
			WaitBetweenSpawns 	5								//gap between spawnwaves
			RandomSpawn 		1								//whether the bots use more than one spawn of the same name
			
			TotalCurrency		200								//cash this group of bots has

			TFBot
			{
				Template 			T_TFBot_Giant_Soldier_Spammer_Reload
			}
		}
		
			/////////////			///////		////////
			//20 SCOUTS//			//100//		//2100//
			/////////////			///////		////////
	
		WaveSpawn
		{
			Name 				1d
			WaitForAllDead		1c
			Where 				spawnbot					
			TotalCount 			20								//total ammount of bots
			MaxActive 			20								//total ammount of bots in game at once (max 21)
			SpawnCount 			10								//ammount of bots in each spawn wave
			WaitBeforeStarting 	1								//time after the wave starts/subwave is allowed to start
			WaitBetweenSpawns 	4								//gap between spawnwaves
			RandomSpawn 		1								//whether the bots use more than one spawn of the same name
			
			TotalCurrency		100								//cash this group of bots has

			TFBot
			{
				Class 				Scout
				Skill 				Normal
				WeaponRestrictions 	MeleeOnly
			}
		}
	}
	
	//////////	/////////				////////	
	//WAVE 2//	//SCOUT//				//2200//
	//////////	/////////				////////
	
	// 10 heavy uber combos, 2 giant scouts, a tank, 40 melee scouts, 20 primary scouts and 20 shortstop scouts
	
	Wave
	{
	
			////////				///////		////////
			//TANK//				//400//		//2600//
			////////				///////		////////
		
		WaveSpawn
		{
			Name 				2a
			TotalCurrency		400
			TotalCount			1
			MaxActive			20
			SpawnCount			1
			Where				spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0

			Tank
			{
				Health					20000
				Name					Tank
				Speed					75
				StartingPathTrackNode	boss_path_1
				OnKilledOutput
				{
					Target				boss_dead_relay
					Action				Trigger
				}
				OnBombDroppedOutput
				{
					Target				boss_deploy_relay
					Action				Trigger
				}
			}
		}	
		
			///////////////////		///////		////////
			//20 UBERD HEAVYS//		//200//		//2800//
			///////////////////		///////		////////
		
		WaveSpawn
		{
			Name 				2a
			Where 				spawnbot_flank			
			TotalCount 			10								//total ammount of bots
			MaxActive 		    20								//total ammount of bots in game at once (max 21)
			SpawnCount 			2								//ammount of bots in each spawn wave
			WaitBeforeStarting 	2								//time after the wave starts/subwave is allowed to start
			WaitBetweenSpawns 	1								//gap between spawnwaves
			RandomSpawn 		1								//whether the bots use more than one spawn of the same name
			
			TotalCurrency		200								//cash this group of bots has


			Squad
			{
				TFBot
				{
					Class 			Heavyweapons
					Skill			Normal
				}
				TFBot
				{
					Template		T_TFBot_Medic_SlowRecharge
				}
			}
		}
		
			//////////////////		///////		////////
			//2 GIANT SCOUTS//		//100//		//2900//
			//////////////////		///////		////////
		
		WaveSpawn
		{
			Name 				2b
			WaitForAllSpawned	2a
			Where 				spawnbot			
			TotalCount 			2								//total ammount of bots
			MaxActive 		    20								//total ammount of bots in game at once (max 21)
			SpawnCount 			1								//ammount of bots in each spawn wave
			WaitBeforeStarting 	5								//time after the wave starts/subwave is allowed to start
			WaitBetweenSpawns 	2								//gap between spawnwaves
			RandomSpawn 		1								//whether the bots use more than one spawn of the same name
			
			TotalCurrency		100								//cash this group of bots has

			TFBot
			{
				Template 			T_TFBot_Giant_Scout_Fast
			}
		}
		
			//////////////////		///////		////////
			//40 FISH SCOUTS//		//100//		//3000//
			//////////////////		///////		////////
		
		WaveSpawn
		{
			Name 				2c
			WaitForAllSpawned	2b
			Where 				spawnbot_flank				
			TotalCount 			40								//total ammount of bots
			MaxActive 		    20								//total ammount of bots in game at once (max 21)
			SpawnCount 			10								//ammount of bots in each spawn wave
			WaitBeforeStarting 	5								//time after the wave starts/subwave is allowed to start
			WaitBetweenSpawns 	5								//gap between spawnwaves
			RandomSpawn 		1								//whether the bots use more than one spawn of the same name
			
			TotalCurrency		100								//cash this group of bots has

			TFBot
			{
				Template 			T_TFBot_Scout_Fish
			}
		}

			/////////////			///////		////////
			//20 SCOUTS//			//100//		//3100//
			/////////////			///////		////////

		WaveSpawn
		{
			Name 				2e
			WaitForAllSpawned	2d
			Where 				spawnbot_left			
			TotalCount 			20								//total ammount of bots
			MaxActive 		    20								//total ammount of bots in game at once (max 21)
			SpawnCount 			10								//ammount of bots in each spawn wave
			WaitBeforeStarting 	5								//time after the wave starts/subwave is allowed to start
			WaitBetweenSpawns 	5								//gap between spawnwaves
			RandomSpawn 		1								//whether the bots use more than one spawn of the same name
			
			TotalCurrency		100								//cash this group of bots has

			TFBot
			{
				Template 			T_TFBot_Scout_Scattergun_SlowFire
			}
		}
		
			///////////////////////	///////		////////
			//20 SHORTSTOP SCOUTS//	//100//		//3200//
			///////////////////////	///////		////////
		
		WaveSpawn
		{
			Name 				2f
			WaitForAllSpawned	2e
			Where 				spawnbot			
			TotalCount 			20								//total ammount of bots
			MaxActive 		    20								//total ammount of bots in game at once (max 21)
			SpawnCount 			10								//ammount of bots in each spawn wave
			WaitBeforeStarting 	5								//time after the wave starts/subwave is allowed to start
			WaitBetweenSpawns 	5								//gap between spawnwaves
			RandomSpawn 		1								//whether the bots use more than one spawn of the same name
			
			TotalCurrency		100								//cash this group of bots has

			TFBot
			{
				Template 			T_TFBot_Scout_Shortstop
			}
		}	
		
			//////////				///////		////////
			//4 SPYS//				//100//		//3300//
			//////////				///////		////////
		
		WaveSpawn
		{
			Name 				2g
			WaitForAllSpawned	2f
			Where 				spawnbot						
			TotalCount 			4								//total ammount of bots
			MaxActive 		    20								//total ammount of bots in game at once (max 21)
			SpawnCount 			4								//ammount of bots in each spawn wave
			WaitBeforeStarting 	5								//time after the wave starts/subwave is allowed to start
			WaitBetweenSpawns 	5								//gap between spawnwaves
			RandomSpawn 		1								//whether the bots use more than one spawn of the same name
			
			TotalCurrency		100								//cash this group of bots has

			TFBot
			{
				Template 			T_TFBot_Spy
			}
		}	
		
			///////////				///////		////////
			//1 SCOUT//				//100//		//3400//
			///////////				///////		////////
		
		WaveSpawn
		{
			Name 				2h
			WaitForAllSpawned	2g
			Where 				spawnbot		
			TotalCount 			1								//total ammount of bots
			MaxActive 		    20								//total ammount of bots in game at once (max 21)
			SpawnCount 			1								//ammount of bots in each spawn wave
			WaitBeforeStarting 	5								//time after the wave starts/subwave is allowed to start
			WaitBetweenSpawns 	2								//gap between spawnwaves
			RandomSpawn 		1								//whether the bots use more than one spawn of the same name
			
			TotalCurrency		100								//cash this group of bots has

			TFBot
			{
				Template 			T_TFBot_Giant_Scout_Fast
				Item				"the front runner"
				Item				"the track terrorizer"
				Health				4000
				Attributes			UseBossHealthBar	
			}
		}
	}
	
	//////////	////////				////////
	//WAVE 3//	//DEMO//				//3500//
	//////////	////////				////////
	
	Wave 
	{
			
			//////////////			///////		////////
			//GIANT DEMO//			//100//		//3600//
			//////////////			///////		////////
			
		WaveSpawn
		{
			Name 				3a
			Where 				spawnbot				
			TotalCount 			2								//total ammount of bots
			MaxActive 		    20								//total ammount of bots in game at once (max 21)
			SpawnCount 			2								//ammount of bots in each spawn wave
			WaitBeforeStarting 	5								//time after the wave starts/subwave is allowed to start
			WaitBetweenSpawns 	5								//gap between spawnwaves
			RandomSpawn 		1								//whether the bots use more than one spawn of the same name
			
			TotalCurrency		100								//cash this group of bots has
			Squad
			{
				TFBot
				{
					Template 			T_TFBot_Giant_Demo_Burst
					Item				"prince tavish's crown"
					Item				"the king of scotland cape"
					Health				6000
					Attributes			UseBossHealthBar
				}
				TFBot
				{
					Template 			T_TFBot_Giant_Medic_Regen
					Health				3000
					Attributes			UseBossHealthBar
				}
			}
		}
		WaveSpawn
		{
			Name 				3b
			WaitForAllSpawned	3a
			Where 				spawnbot_flank	
			TotalCount 			40								//total ammount of bots
			MaxActive 		    20								//total ammount of bots in game at once (max 21)
			SpawnCount 			10								//ammount of bots in each spawn wave
			WaitBeforeStarting 	1								//time after the wave starts/subwave is allowed to start
			WaitBetweenSpawns 	3								//gap between spawnwaves
			RandomSpawn 		1								//whether the bots use more than one spawn of the same name
			
			TotalCurrency		200								//cash this group of bots has

			TFBot
			{
				Template 			T_TFBot_Demo_Burst
			}
		}
		
			////////				///////		////////
			//TANK//				//400//		//4300//
			////////				///////		////////
			
		WaveSpawn
		{
			Name 				3c
			WaitForAllSpawned	3b
			TotalCurrency		400
			TotalCount			1
			MaxActive			20
			SpawnCount			1
			Where				spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0

			Tank
			{
				Health					25000
				Name					Tank
				Speed					75
				StartingPathTrackNode	boss_path_1
				OnKilledOutput
				{
					Target				boss_dead_relay
					Action				Trigger
				}
				OnBombDroppedOutput
				{
					Target				boss_deploy_relay
					Action				Trigger
				}
			}
		}	
		
			///////////////			///////		////////
			//40 SOLDIERS//			//200//		//4500//
			///////////////			///////		////////
		
		WaveSpawn
		{
			Name 				3d
			WaitForAllSpawned	3c
			Where 				spawnbot_left			
			TotalCount 			40								//total ammount of bots
			MaxActive 		    20								//total ammount of bots in game at once (max 21)
			SpawnCount 			10								//ammount of bots in each spawn wave
			WaitBeforeStarting 	1								//time after the wave starts/subwave is allowed to start
			WaitBetweenSpawns 	3								//gap between spawnwaves
			RandomSpawn 		1								//whether the bots use more than one spawn of the same name
			
			TotalCurrency		200								//cash this group of bots has

			TFBot
			{
				Class					Soldier
				Skill					Normal
			}
		}
		
			/////////				///////		////////
			//8 SPY//				//100//		//4600//
			/////////				///////		////////
		
		WaveSpawn
		{
			Name 				2e
			WaitForAllSpawned	2d
			Where 				spawnbot						
			TotalCount 			8								//total ammount of bots
			MaxActive 		    20								//total ammount of bots in game at once (max 21)
			SpawnCount 			4								//ammount of bots in each spawn wave
			WaitBeforeStarting 	5								//time after the wave starts/subwave is allowed to start
			WaitBetweenSpawns 	10								//gap between spawnwaves
			RandomSpawn 		1								//whether the bots use more than one spawn of the same name
			
			TotalCurrency		100								//cash this group of bots has

			TFBot
			{
				Template 			T_TFBot_Spy
			}
		}	
		
			//////////////			///////		////////
			//GIANT DEMO//			//100//		//4700//
			//////////////			///////		////////
		
		WaveSpawn
		{
			Name 				2e
			WaitForAllSpawned	2d
			Where 				spawnbot				
			TotalCount 			1							//total ammount of bots
			MaxActive 		    20								//total ammount of bots in game at once (max 21)
			SpawnCount 			1								//ammount of bots in each spawn wave
			WaitBeforeStarting 	0								//time after the wave starts/subwave is allowed to start
			WaitBetweenSpawns 	1								//gap between spawnwaves
			RandomSpawn 		1								//whether the bots use more than one spawn of the same name
			
			TotalCurrency		100								//cash this group of bots has

			TFBot
			{
				Template 			T_TFBot_Giant_DemoMan_PrinceTavish
			}
		}	
		
	}
	
	//////////	////////				////////
	//WAVE 4//	//PYRO//				//4800//
	//////////	////////				////////
	
	Wave
	{
	
			//////////////////		///////		////////
			//GIANT MED PYRO//		//300//		//5100//
			//////////////////		///////		////////
	
		WaveSpawn
		{
			Name 				4a
			TotalCurrency		300
			TotalCount			6
			MaxActive			4
			SpawnCount			2
			Where				spawnbot
			WaitBeforeStarting	2
			WaitBetweenSpawns	10
			Squad
			{
				TFBot
				{
					Template 			T_TFBot_Giant_Pyro
					Attributes			"AlwaysFireWeapon"
					Item				"the rainblower"
					Item				"napper's respite"
					Item				"pyrovision goggles"
				}
				TFBot
				{
					Template 			T_TFBot_Giant_Medic
				}				
			}
		}	
		
			////////////			///////		////////
			//40 PYROS//			//200//		//5300//
			////////////			///////		////////
		
		WaveSpawn
		{
			Name 				4b
			WaitForAllSpawned	4a
			TotalCurrency		200
			TotalCount			40
			MaxActive			20
			SpawnCount			5
			Where				spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	20
			RandomSpawn			1
			TFBot
			{
				Skill				Hard
				Template			T_TFBot_Pyro
				Item				"the rainblower"
				Item				"napper's respite"
				Item				"pyrovision goggles"
			}
		}
		
			///////////////			///////		////////
			//GIANT SCOUT//			//100//		//5400//
			///////////////			///////		////////
		
		WaveSpawn
		{
			Name 				4c
			WaitForAllSpawned	4b
			TotalCurrency		100
			TotalCount			5
			MaxActive			20
			SpawnCount			5
			Where				spawnbot
			WaitBeforeStarting	2
			WaitBetweenSpawns	2
			RandomSpawn			1
			TFBot
			{
				Template			T_TFBot_Giant_Scout
			}
		}	
		
			//////////////		///////		////////
			//FLAIR PYRO//		//100//		//5500//
			//////////////		///////		////////
		
		WaveSpawn
		{
			Name 				4d
			WaitForAllSpawned	4c
			TotalCurrency		100
			TotalCount			1
			MaxActive			20
			SpawnCount			5
			Where				spawnbot
			WaitBeforeStarting	2
			WaitBetweenSpawns	2
			RandomSpawn			1
			TFBot
			{
				Template			T_TFBot_Giant_Pyro_Flare_Spammer_ScorchShot
				Health				15000
				Attributes			UseBossHealthBar
			}
		}	
		
			//////////			///////		////////
			//SNIPER//			//100//		//5600//
			//////////			///////		////////
		
		WaveSpawn
		{
			Name 				4e
			WaitForAllSpawned	4d
			TotalCurrency		100
			TotalCount			5
			MaxActive			20
			SpawnCount			5
			Where				spawnbot_flank
			WaitBeforeStarting	2
			WaitBetweenSpawns	2
			RandomSpawn			1
			TFBot
			{
				Template			T_TFBot_Sniper
			}
		}	
		
			///////				///////		////////
			//SPY//				//100//		//5700//
			///////				///////		////////
		
		WaveSpawn
		{
			Name 				4f
			WaitForAllSpawned	4e
			TotalCurrency		100
			TotalCount			5
			MaxActive			20
			SpawnCount			5
			Where				spawnbot
			WaitBeforeStarting	2
			WaitBetweenSpawns	2
			RandomSpawn			1
			TFBot
			{
				Template			T_TFBot_Spy
			}
		}	
	}
	
	//////////	/////////////////	////////
	//WAVE 5//	//SOLDIER/HEAVY//	//5800//
	//////////	/////////////////	////////
	
	Wave
	{
		StartWaveOutput										
		{
			Target wave_start_relay							
			Action Trigger									
		}
		DoneOutput											
		{
			Target wave_finished_relay						
			Action trigger									
		}

		Checkpoint Yes	
		
			/////////////////////////////	///////	////////
			//10 ROCKETSHOTGUN SOLDIERS//	//400//	//6200//
			/////////////////////////////	///////	////////
	
		WaveSpawn
		{
			Name 				5a
			TotalCurrency		400
			TotalCount			10
			MaxActive			20
			SpawnCount			1
			Where				spawnbot
			WaitBeforeStarting	2
			WaitBetweenSpawns	10
			RandomSpawn			1
			TFBot
			{
				Template			T_TFBot_Giant_Soldier_RocketShotgun
				Item	"tyrantium helmet"
			}
		}
		
			////////////////////////	///////	////////
			//UBERD SHOTGUN HEAVYS//	//200//	//6400//
			////////////////////////	///////	////////
		
		WaveSpawn
		{
			Name 				5b
			WaitForAllSpawned	5a
			TotalCurrency		100
			TotalCount			10
			MaxActive			20
			SpawnCount			2
			Where				spawnbot_left
			WaitBeforeStarting	2
			WaitBetweenSpawns	2
			RandomSpawn			1
			TFBot
			{
				Template			T_TFBot_Medic
			}
		}		
		WaveSpawn
		{
			Name 				5b
			WaitForAllSpawned	5a
			TotalCurrency		100
			TotalCount			10
			MaxActive			20
			SpawnCount			1
			Where				spawnbot_left
			WaitBeforeStarting	2
			WaitBetweenSpawns	10
			RandomSpawn			1
			TFBot
			{
				Template			T_TFBot_Heavyweapons_Shotgun
			}
		}		
				
			/////////////////	///////		////////
			//BLAST SOLDIER//	//200//		//6600//
			/////////////////	///////		////////
		
		WaveSpawn
		{
			Name 				5c
			WaitForAllDead		5b
			TotalCurrency		200
			TotalCount			10
			MaxActive			2
			SpawnCount			1
			Where				spawnbot
			WaitBeforeStarting	2
			WaitBetweenSpawns	10
			RandomSpawn			1
			TFBot
			{
				Template			T_TFBot_Giant_Soldier_RocketPush
				Item				"full metal drill hat"
			}
		}
		
			////////			///////		////////
			//TANK//			//200//		//6800//
			////////			///////		////////
		
		WaveSpawn
		{
			Name 				5c-t
			WaitForAllDead		5c
			TotalCurrency		200
			TotalCount			1
			MaxActive			1
			SpawnCount			1
			Where				spawnbot
			WaitBeforeStarting	20
			WaitBetweenSpawns	0
		

			Tank
			{
				Health					25000
				Name					Tank
				Speed					75
				StartingPathTrackNode	boss_path_1
				OnKilledOutput
				{
					Target				boss_dead_relay
					Action				Trigger
				}
				OnBombDroppedOutput
				{
					Target				boss_deploy_relay
					Action				Trigger
				}
			}
		}
		
			//////////////////////////	///////	////////
			//HEAVY AND SOLDIER BOSS//	//400//	//7200//
			//////////////////////////	///////	////////
		
		WaveSpawn
		{
			Name 				5d
			WaitForAllDead		5c
			TotalCurrency		200
			TotalCount			1
			MaxActive			2
			SpawnCount			1
			Where				spawnbot
			WaitBeforeStarting	2
			WaitBetweenSpawns	10
			RandomSpawn			1
			TFBot
			{
				Template			T_TFBot_Heavyweapons_Heater
				Attributes			UseBossHealthBar
				Health				10000
			}
		}
		WaveSpawn
		{
			Name 				5d
			WaitForAllDead		5c
			TotalCurrency		200
			TotalCount			1
			MaxActive			2
			SpawnCount			1
			Where				spawnbot
			WaitBeforeStarting	2
			WaitBetweenSpawns	10
			RandomSpawn			1
			TFBot
			{
				Template			T_TFBot_Giant_Soldier_SlowBarrage
				Attributes			UseBossHealthBar
				Health				10000
			}
		}
	}
	
	//////////	//////////				////////
	//WAVE 6//	//FINALE//				//7300//
	//////////	//////////				////////
	
	//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
	//GIANT HEAVY MED COMBO, 2 TANKS, 40 PYROS, 40 DEMOS, 40 SCOUTS 20 UBER HEAVYS, THEN INFINTE SUPORT UNTILL THE REST ARE DEAD//
	//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
	
	Wave
	{
		StartWaveOutput										
		{
			Target wave_start_relay							
			Action Trigger									
		}
		DoneOutput											
		{
			Target wave_finished_relay						
			Action trigger									
		}

		Checkpoint Yes	
		
			/////////////////////////	///////	////////
			//HEAVY MED GIANT COMBO//	//600//	//7900//
			/////////////////////////	///////	////////
			
		WaveSpawn
		{
			Name 				6a
			Where 				spawnbot							
			TotalCount 			2					
			MaxActive 			20
			SpawnCount 			2
			WaitBeforeStarting 	2						
			WaitBetweenSpawns 	50
			RandomSpawn 		1			
			
			TotalCurrency		400
			Squad
			{

			TFBot
			{
				Template				T_TFBot_Giant_Medic 
				Health 					10000
				Item					"das naggenvatcher"
				Item					"das metalmeatencasen"
				Attributes				UseBossHealthBar
			}
			TFBot
			{
				Template				T_TFBot_Giant_Heavyweapons
				Health 					20000
				Item					"the tungsten toque"
				Item					"tomislav"
				Attributes				UseBossHealthBar
			}
			}
		}
		
		WaveSpawn
		{
			Name 				6a-t
			TotalCurrency		400
			TotalCount			2
			MaxActive			1
			SpawnCount			1
			Where				spawnbot
			WaitBeforeStarting	20
			WaitBetweenSpawns	0
		

			Tank
			{
				Health					30000
				Name					Tank
				Speed					75
				StartingPathTrackNode	boss_path_1
				OnKilledOutput
				{
					Target				boss_dead_relay
					Action				Trigger
				}
				OnBombDroppedOutput
				{
					Target				boss_deploy_relay
					Action				Trigger
				}
			}
		}
		
			////////////		///////		////////
			//40 PYROS//		//400//		//8700//
			////////////		///////		////////
			
		WaveSpawn
		{
			Name				6a
			TotalCurrency		400
			TotalCount			40
			MaxActive			20
			SpawnCount			10
			Where				spawnbot_left
			WaitBeforeStarting	5
			WaitBetweenSpawns	5
			RandomSpawn 		1
			Squad
			{
				TFBot
				{
					Skill				Hard
					Template			T_TFBot_Pyro
					Attributes			"AlwaysFireWeapon"
					Item				"the rainblower"
					Item				"napper's respite"
					Item				"pyrovision goggles"
				}
			}
		}
		
			////////////		///////		////////
			//40 DEMOS//		//400//		//9100//
			////////////		///////		////////
			
		WaveSpawn
		{
			Name				6b
			WaitForAllSpawned	6a
			TotalCurrency		400
			TotalCount			40
			MaxActive			20
			SpawnCount			10
			Where				spawnbot_flank
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			RandomSpawn 		1
			Squad
			{
				TFBot
				{
					Template			T_TFBot_Demo_Burst
					Item				"prince tavish's crown"
					Item				"the king of scotland cape"
				}
			}
		}
		
			/////////////		///////		////////
			//40 SCOUTS//		//200//		//9300//
			/////////////		///////		////////
			
		WaveSpawn
		{
			Name				6c
			WaitForAllSpawned	6b
			TotalCurrency		400
			TotalCount			40
			MaxActive			20
			SpawnCount			10
			Where				spawnbot_left
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			RandomSpawn 1
			Squad
			{
				TFBot
				{
					Skill				Hard
					Template			T_TFBot_Scout_Scattergun_SlowFire
					Item				"the front runner"
					Item				"the track terrorizer"
				}
			}
		}
		
			//////////////////	///////		////////
			//20 UBER HEAVYS//	//200//		//9500//
			//////////////////	///////		////////
			
		WaveSpawn
		{
			Name				6d
			WaitForAllSpawned	6c
			TotalCurrency		400
			TotalCount			20
			MaxActive			20
			SpawnCount			10
			Where				spawnbot_left
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			RandomSpawn 1
			Squad
			{
				TFBot
				{
					Skill				Hard
					Template			T_TFBot_Medic_SlowRecharge
					Item				"das naggenvatcher"
					Item				"das metalmeatencasen"
					Attributes			SecondaryOnly
				}
				TFBot
				{
					Class 				HeavyWeapons
					Skill				Hard
					Item				"the tungsten toque"
					Item				"tomislav"
				}
			}
		}	
		
			////////			///////		////////
			//SPYS//			//100//		//9600//
			////////			///////		////////
		
		WaveSpawn
		{
			Name 				6e
			WaitForAllDead		6d
			Where 				spawnbot						
			TotalCount 			10								//total ammount of bots
			MaxActive 		    20								//total ammount of bots in game at once (max 21)
			SpawnCount 			5								//ammount of bots in each spawn wave
			WaitBeforeStarting 	60								//time after the wave starts/subwave is allowed to start
			WaitBetweenSpawns 	10								//gap between spawnwaves
			RandomSpawn 		1								//whether the bots use more than one spawn of the same name
			
			TotalCurrency		100								//cash this group of bots has

			TFBot
			{
				Template 			T_TFBot_Spy
			}
		}	
		
			////////////////////////	///////	////////
			//O SHIT ANNOTHER TANK//	//200//	//9800//
			////////////////////////	///////	////////
			
		WaveSpawn
		{
			Name 				6e-t
			WaitForAllSpawned	6a-t
			TotalCurrency		200
			TotalCount			1
			MaxActive			1
			SpawnCount			1
			Where				spawnbot
			WaitBeforeStarting	60
			WaitBetweenSpawns	0
			Squad
			{
				Tank
				{
					Health					50000
					Name					Tank
					Speed					75
					StartingPathTrackNode	boss_path_1
					OnKilledOutput
					{
						Target				boss_dead_relay
						Action				Trigger
					}
					OnBombDroppedOutput
					{
						Target				boss_deploy_relay
						Action				Trigger
					}
				}
			}
		}
		
			////////////////////////////////////////////////////////////////////////////////	///////	/////////
			//SUPPORT COMPRISING OF ALL THE PREVIOUS ENEMYS UNTILL EVERYTHING ELSE IS DEAD//	//200//	//10000//
			////////////////////////////////////////////////////////////////////////////////	///////	/////////
			
		WaveSpawn
		{
			Name				6e
			WaitForAllDead		6d
			TotalCurrency		120
			TotalCount			18
			MaxActive			20
			SpawnCount			6
			Where				spawnbot_left
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			RandomSpawn 		1
			Support				1
			RandomChoice
			{
				TFBot
				{
					Skill				Hard
					Template			T_TFBot_Pyro
					Attributes			"AlwaysFireWeapon"
					Item				"the rainblower"
					Item				"napper's respite"
					Item				"pyrovision goggles"
				}
				TFBot
				{
					Skill				Hard
					WeaponRestrictions	PrimaryOnly
					Template			T_TFBot_Scout_Scattergun_SlowFire
					Item				"the front runner"
					Item				"the track terrorizer"
				}
				TFBot
				{
					Template			T_TFBot_Demo_Burst
					Item				"prince tavish's crown"
					Item				"the king of scotland cape"
				} 
			}
		}
		WaveSpawn
		{
			Name				6e
			WaitForAllDead		6d
			TotalCurrency		80
			TotalCount			4
			MaxActive			20
			SpawnCount			2
			Where				spawnbot_left
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			RandomSpawn 		1
			Support				1 
			Squad
			{
				TFBot
				{
					Skill				Hard
					Template			T_TFBot_Medic_SlowRecharge
					Item				"das naggenvatcher"
					Item				"das metalmeatencasen"
					Attributes			SecondaryOnly
				}
				TFBot
				{
					Class				HeavyWeapons
					Skill				Hard
					Item				"the tungsten toque"
					Item				"tomislav"
				}
			}
		}
	}
}