//mvm rottenburg
//advanced skill

///////////////////////////////////////////////////////////////////////////
// BEGIN POP FILE
///////////////////////////////////////////////////////////////////////////

#base robot_giant.pop
#base robot_standard.pop
#base robot_D_I_L.pop

WaveSchedule
{

	StartingCurrency 8500
	RespawnWaveTime 4
	CanBotsAttackWhileInSpawnRoom no
	
/////////////////
//MISSIONS
/////////////////


///////////////////////////////////////////////////////////////////////////
//SENTRY BUSTER MISSIONS
///////////////////////////////////////////////////////////////////////////

Mission	// Sentry Busters - All
	{
		Objective DestroySentries

		InitialCooldown 40
		Where spawnbot
		BeginAtWave 1
		RunForThisManyWaves 13
		CooldownTime 40

            TFBot
			{
				Template T_TFBot_SentryBuster
            }
	}
	
///////////////////////////////////////////////////////////////////////////
//SNIPER MISSIONS
///////////////////////////////////////////////////////////////////////////
	Mission // Sniper - wave 2
	{
		Objective Sniper

		InitialCooldown 40
		Where spawnbot_mission_sniper
		BeginAtWave 2
		RunForThisManyWaves 1
		CooldownTime 50
		DesiredCount 1

		TFBot
		{
			Class Sniper
			Skill Hard
			Name Sniper
			MaxVisionRange 2500
		}
	}
	
	Mission // Sniper - wave 4-5
	{
		Objective Sniper

		InitialCooldown 40
		Where spawnbot_mission_sniper
		BeginAtWave 4
		RunForThisManyWaves 2
		CooldownTime 50
		DesiredCount 2

		TFBot
		{
			Class Sniper
			Skill Hard
			Name Sniper
			MaxVisionRange 2500
		}
	}

	Mission // Giant Sniper - wave 7
	{
		Objective Sniper

		InitialCooldown 40
		Where spawnbot_mission_sniper
		BeginAtWave 7
		RunForThisManyWaves 1
		CooldownTime 50
		DesiredCount 1

		TFBot
		{
			Template T_TFBot_Giant_Sniper
			Skill Hard
			MaxVisionRange 2500
		}
	}

	Mission // Sidney Sniper - wave 8
	{
		Objective Sniper

		InitialCooldown 40
		Where spawnbot_mission_sniper
		BeginAtWave 8
		RunForThisManyWaves 1
		CooldownTime 50
		DesiredCount 2

		TFBot
		{
			Template T_TFBot_Sniper_Sydney_Sleeper
			Skill Hard
			MaxVisionRange 2500
		}
	}

	Mission // Giant Fast Demoman - wave 9
	{
		Objective Sniper

		InitialCooldown 40
		Where spawnbot_mission_sniper
		BeginAtWave 9
		RunForThisManyWaves 1
		CooldownTime 50
		DesiredCount 1

		TFBot
		{
			Template T_TFBot_Giant_Demoman_Fast
			Skill Expert
			MaxVisionRange 2500
		}
	}


	Mission // Sniper - wave 12
	{
		Objective Sniper

		InitialCooldown 40
		Where spawnbot_mission_sniper
		BeginAtWave 12
		RunForThisManyWaves 1
		CooldownTime 50
		DesiredCount 3

		TFBot
		{
			Class Sniper
			Skill Hard
			MaxVisionRange 2500
		}
	}	

///////////////////////////////////////////////////////////////////////////
//SPY MISSIONS
///////////////////////////////////////////////////////////////////////////
	Mission // Spy wave 1
	{
		Objective Spy  

		InitialCooldown 35
		Where spawnbot_mission_spy
		BeginAtWave 1
		RunForThisManyWaves 1
		CooldownTime 45
		DesiredCount 2

		TFBot
		{
			Class Spy
			Skill Expert
			Name Spy
		}
	}	
	
	Mission // Spy wave 3 - 5
	{
		Objective Spy  

		InitialCooldown 35
		Where spawnbot_mission_spy
		BeginAtWave 3
		RunForThisManyWaves 3
		CooldownTime 45
		DesiredCount 3

		TFBot
		{
			Class Spy
			Skill Expert
			Name Spy
		}
	}
	
	Mission // Spy? wave 8
	{
		Objective Spy  

		InitialCooldown 35
		Where spawnbot_mission_spy
		BeginAtWave 8
		RunForThisManyWaves 1
		CooldownTime 45
		DesiredCount 2

		TFBot
		{
			Template T_TFBot_Soldier_RocketShotgun
			Health 1000
			Scale 1.3
			Skill Expert
			Name Spy?
			ItemAttributes
			{
				ItemName "The Black Box"
				"damage bonus" 0.5
				"fire rate bonus" 0.001
				"clip size upgrade atomic" 0
				"faster reload rate" 0.5
				"blast radius increased" 1.25
				"Projectile speed increased" 0.8
				"projectile spread angle penalty" 2
				"heal on hit for rapidfire" 220
			}
			
			CharacterAttributes
			{
				"move speed bonus" 1.5
				"health regen" 6
			}
		}
	}
	
	Mission // Spy? wave 12
	{
		Objective Spy  

		InitialCooldown 20
		Where spawnbot_mission_spy
		BeginAtWave 12
		RunForThisManyWaves 1
		CooldownTime 45
		DesiredCount 2

		TFBot
		{
			Template T_TFBot_Soldier_RocketShotgun
			Health 1000
			Scale 1.3
			Skill Expert
			Name Spy?
			ItemAttributes
			{
				ItemName "The Black Box"
				"damage bonus" 0.5
				"fire rate bonus" 0.001
				"clip size upgrade atomic" 0
				"faster reload rate" 0.5
				"blast radius increased" 1.25
				"Projectile speed increased" 0.8
				"projectile spread angle penalty" 2
				"heal on hit for rapidfire" 220
			}
			
			CharacterAttributes
			{
				"move speed bonus" 1.5
				"health regen" 6
			}
		}
	}

///////////////////////////////////////////////////////////////////////////
//ENGINEER MISSIONS
///////////////////////////////////////////////////////////////////////////

	Mission // Engineer wave 3 
	{
		Objective Engineer  

		InitialCooldown 50
		Where spawnbot
		BeginAtWave 3
		RunForThisManyWaves 1
		CooldownTime 45
		DesiredCount 1

		TFBot
		{
			Template T_TFBot_Engineer_Sentry_Teleporter
			TeleportWhere spawnbot
			TeleportWhere flankers
			Attributes TeleportToHint
			Health 600
		}
	}

	Mission // Engineer wave 6 & 7 
	{
		Objective Engineer  

		InitialCooldown 50
		Where spawnbot
		BeginAtWave 6
		RunForThisManyWaves 2
		CooldownTime 55
		DesiredCount 2

		TFBot
		{
			Template T_TFBot_Engineer_Sentry_Teleporter
			TeleportWhere spawnbot
			TeleportWhere flankers
			Attributes TeleportToHint
			Health 500
		}
	}

	Mission // Engineer wave 10 
	{
		Objective Engineer  

		InitialCooldown 50
		Where spawnbot
		BeginAtWave 10
		RunForThisManyWaves 1
		CooldownTime 55
		DesiredCount 2

		TFBot
		{
			Template T_TFBot_Engineer_Sentry_Teleporter
			TeleportWhere spawnbot
			TeleportWhere flankers
			Attributes TeleportToHint
			Health 500
		}
	}	

/////////////////////////////////
// Start cash 8500 // Wave 1 9200 // Wave 2 9800 // Wave 3 10400
// With Bonuses 10700 // 
/////////////////////////////////

//WAVE 1 //////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// Sub 1
// 12 mixed scouts (50)
// 12 mixed scouts (50)
// Giant Conch soldier (75)
// 15 mixed scouts (50)
// Giant Conch soldier with 2 steelfists (75)
// Sub 2 
// 4 demo explode with 3 Natascha heavies (150)
// 2 Giant scout pistols with a quick-fix medic (150) 
// Sup Soldier Bison Trio (100)
///////////////////////////////////////////////////////////////////////////

	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_classic
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action trigger
		}

		Checkpoint Yes
		
		WaveSpawn // 12 mixed scouts (50)
		{
			Where spawnbot	
			Name "W1_A"
			TotalCount 16	
			MaxActive 12						
			SpawnCount 4									
			WaitBetweenSpawns 2
			WaitBeforeStarting 0
			TotalCurrency 50
			RandomChoice
			{
				TFBot
				{
					Class Scout
					Skill Hard
				}
				TFBot
				{
					Class Scout
					Skill Expert
					WeaponRestrictions MeleeOnly
				}
				TFBot
				{
					Template T_TFBot_Scout_Guillotine
					Skill Easy
				}
				TFBot
				{
					Template T_TFBot_Scout_Pistol
					Skill Normal
					ClassIcon scout
				}
				TFBot
				{
					Template T_TFBot_Scout_Jumping_Sandman
					Skill Hard
					ClassIcon scout
				}
				TFBot
				{
					Template T_TFBot_Scout_Baby_Face
					Skill Normal
					ClassIcon scout
				}
			}
		}
		
		WaveSpawn // 12 mixed scouts (50)
		{
			Where flankers
			Name "W1_B"
			WaitForAllDead "W1_A"
			TotalCount 16	
			MaxActive 10						
			SpawnCount 4									
			WaitBetweenSpawns 2
			WaitBeforeStarting 7
			TotalCurrency 50
			RandomChoice
			{
				TFBot
				{
					Class Scout
					Skill Hard
				}
				TFBot
				{
					Class Scout
					Skill Expert
					WeaponRestrictions MeleeOnly
				}
				TFBot
				{
					Template T_TFBot_Scout_Guillotine
					Skill Easy
				}
				TFBot
				{
					Template T_TFBot_Scout_Pistol
					Skill Normal
					ClassIcon scout
				}
				TFBot
				{
					Template T_TFBot_Scout_Jumping_Sandman
					Skill Hard
					ClassIcon scout
				}
				TFBot
				{
					Template T_TFBot_Scout_Baby_Face
					Skill Normal
					ClassIcon scout
				}
			}
		}
		
		WaveSpawn // Giant Conch soldier (75)
		{
			Where flankers
			Name "W1_C"
			WaitForAllDead "W1_A"
			TotalCount 1	
			MaxActive 1						
			SpawnCount 1									
			WaitBetweenSpawns 0
			WaitBeforeStarting 0.5
			TotalCurrency 75
			TFBot
			{
				Template T_TFBot_Giant_Soldier_Extended_Concheror
				Skill Hard
			}
		}
		
		WaveSpawn // 15 mixed scouts (50)
		{
			Where spawnbot
			Name "W1_D"
			WaitForAllDead "W1_C"
			TotalCount 15	
			MaxActive 15						
			SpawnCount 5									
			WaitBetweenSpawns 2
			WaitBeforeStarting 7
			TotalCurrency 50
			RandomChoice
			{
				TFBot
				{
					Class Scout
					Skill Normal
				}
				TFBot
				{
					Class Scout
					WeaponRestrictions MeleeOnly
				}
				TFBot
				{
					Template T_TFBot_Scout_Guillotine
					Skill Easy
				}
				TFBot
				{
					Template T_TFBot_Scout_Pistol
					Skill Easy
					ClassIcon scout
				}
				TFBot
				{
					Template T_TFBot_Scout_Jumping_Sandman
					Skill Normal
					ClassIcon scout
				}
				TFBot
				{
					Template T_TFBot_Scout_Baby_Face
					Skill Easy
					ClassIcon scout
				}
			}
		}
		
		WaveSpawn // Giant Conch soldier with 2 steelfists (75)
		{
			Where spawnbot
			Name "W1_E"
			WaitForAllDead "W1_C"
			TotalCount 3	
			MaxActive 3						
			SpawnCount 3									
			WaitBetweenSpawns 2
			WaitBeforeStarting 0.5
			TotalCurrency 75
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Soldier_Extended_Concheror
				}
				TFBot
				{
					Template T_TFBot_Heavyweapons_Fist
				}
				TFBot
				{
					Template T_TFBot_Heavyweapons_Fist
				}
			}
		}
		
//Sub 2//

		WaveSpawn // 5 demo explode with 3 Natascha heavies (150)
		{
			Where spawnbot
			Name "W1_F"
			WaitForAllDead "W1_E"
			TotalCount 20	
			MaxActive 12						
			SpawnCount 4									
			WaitBetweenSpawns 2
			WaitBeforeStarting 10
			TotalCurrency 150
			Squad
			{
				TFBot
				{
					Template T_TFBot_Demo_explode
					Health 225
					ItemAttributes
					{
						ItemName "TF_WEAPON_GRENADELAUNCHER"
						"faster reload rate" 0.85		
					}
				}
				TFBot
				{
					Template T_TFBot_Heavy_Slow
				}
				TFBot
				{
					Template T_TFBot_Heavy_Slow
				}
				TFBot
				{
					Template T_TFBot_Heavy_Slow
				}
			}
		}
		
		WaveSpawn // 2 Giant scout pistols with a quick-fix medic (150) 
		{
			Where flankers
			Name "W1_G"
			WaitForAllDead "W1_E"
			TotalCount 6	
			MaxActive 2						
			SpawnCount 2									
			WaitBetweenSpawns 12
			WaitBeforeStarting 25
			TotalCurrency 150
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Scout_Pistol
					Skill Normal
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickFix
				}
			}
		}
		
		WaveSpawn // Sup Soldier Bison Trio (100)
		{
			Where flankers
			Name "W1_H"
			TotalCount 18	
			MaxActive 3						
			SpawnCount 3									
			WaitBetweenSpawns 10
			WaitBeforeStarting 20
			TotalCurrency 100
			
			Support 1
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Soldier_Bison
					Skill Normal
				}
				TFBot
				{
					Template T_TFBot_Soldier_Bison
					Skill Easy
				}
				TFBot
				{
					Template T_TFBot_Soldier_Bison
					Skill Easy
				}
			}
		}
	}
	
	
//WAVE 2 //////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// Sub 1
// 1 Giant Demoman with 3 Giant Fast Demomen (120)
// 1 Giant Demoman [reload] with 3 Giant Fast Demomen (130)
// Sub 2 
// 8 Demomen (50)
// 8 Demoknights (50)
// 4 Burstfire demomen (50)
// Sub 3
// 2 Giant Unload demomen with 3 Burst fire demomen [Same time] (200)
///////////////////////////////////////////////////////////////////////////

	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_classic
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action trigger
		}

		Checkpoint Yes
		
		WaveSpawn // 1 Giant Demoman with 3 Giant Fast Demomen (120)
		{
			Where spawnbot	
			Name "W2_A"
			TotalCount 4	
			MaxActive 4						
			SpawnCount 4									
			WaitBetweenSpawns 0
			WaitBeforeStarting 0
			TotalCurrency 120
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Demoman
					Skill Hard
				}
				TFBot
				{
					Template T_TFBot_Giant_Demoman_Fast
				}
				TFBot
				{
					Template T_TFBot_Giant_Demoman_Fast
				}
				TFBot
				{
					Template T_TFBot_Giant_Demoman_Fast
				}
			}
		}
		
		WaveSpawn // 1 Giant Demoman [reload] with 3 Giant Fast Demomen (130)
		{
			Where flankers	
			Name "W2_B"
			TotalCount 8	
			MaxActive 8						
			SpawnCount 4									
			WaitBetweenSpawns 4
			WaitBeforeStarting 8
			TotalCurrency 130
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Demo_RapidFire
					Skill Hard
				}
				TFBot
				{
					Template T_TFBot_Giant_Demoman_Fast
				}
				TFBot
				{
					Template T_TFBot_Giant_Demoman_Fast
				}
				TFBot
				{
					Template T_TFBot_Giant_Demoman_Fast
				}
			}
		}
		
//Sub 2//

		WaveSpawn // 8 Demomen (50)
		{
			Where spawnbot
			Name "W2_C"
			WaitForAllDead "W2_B"
			TotalCount 8	
			MaxActive 8						
			SpawnCount 8									
			WaitBetweenSpawns 0
			WaitBeforeStarting 10
			TotalCurrency 50
			TFBot
			{
				Class Demoman
				Skill Normal
			}
		}
		
		WaveSpawn // 8 Demoknights (50)
		{
			Where spawnbot
			Name "W2_D"
			WaitForAllDead "W2_B"
			TotalCount 8	
			MaxActive 8						
			SpawnCount 8									
			WaitBetweenSpawns 0
			WaitBeforeStarting 10
			TotalCurrency 50
			TFBot
			{
				Template T_TFBot_Demoman_Knight
				Skill Expert
			}
		}
		
		WaveSpawn // 4 Burstfire demomen (50)
		{
			Where spawnbot
			Name "W2_E"
			WaitForAllDead "W2_B"
			TotalCount 6	
			MaxActive 6						
			SpawnCount 6									
			WaitBetweenSpawns 0
			WaitBeforeStarting 11.5
			TotalCurrency 50
			TFBot
			{
				Template T_TFBot_Demo_Burst
				Skill Hard
			}
		}
		

//Sub 3//


		WaveSpawn // 2 Giant Unload demomen with 3 Burst fire demomen [Same time] (200)
		{
			Where spawnbot	
			Name "W2_F"
			WaitForAllDead "W2_E"
			TotalCount 8	
			MaxActive 8						
			SpawnCount 8									
			WaitBetweenSpawns 0
			WaitBeforeStarting 12
			TotalCurrency 100
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Demoman_Loads_Of_Bombs
					Skill Expert
				}
				TFBot
				{
					Template T_TFBot_Demo_Burst
				}
				TFBot
				{
					Template T_TFBot_Demo_Burst
				}
				TFBot
				{
					Template T_TFBot_Demo_Burst
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template T_TFBot_Demo_Burst
				}
				TFBot
				{
					Template T_TFBot_Demo_Burst
				}
				TFBot
				{
					Template T_TFBot_Demo_Burst
				}
			}
		}
	
		WaveSpawn // 2 Giant Unload demomen with 3 Burst fire demomen [Same time] (200)
		{
			Where flankers
			Name "W2_G"
			WaitForAllDead "W2_E"
			TotalCount 8	
			MaxActive 8						
			SpawnCount 8									
			WaitBetweenSpawns 0
			WaitBeforeStarting 15
			TotalCurrency 100
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Demoman_Loads_Of_Bombs
					Skill Expert
				}
				TFBot
				{
					Template T_TFBot_Demo_Burst
				}
				TFBot
				{
					Template T_TFBot_Demo_Burst
				}
				TFBot
				{
					Template T_TFBot_Demo_Burst
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template T_TFBot_Demo_Burst
				}
				TFBot
				{
					Template T_TFBot_Demo_Burst
				}
				TFBot
				{
					Template T_TFBot_Demo_Burst
				}
			}
		}
	}
	
//WAVE 3 //////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// Sub 1
// 25 Sodiers and Blast soldiers (120)
// 10 pyro Flares (80)
// Giant pyro Flare (85)
// Sub 2 
// Giant Crosbow Medic Cheif (235)
// Sup Crossbow Medics (80)
///////////////////////////////////////////////////////////////////////////

	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_classic
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action trigger
		}

		Checkpoint Yes
		
		WaveSpawn // 25 Sodiers and Blast soldiers (120)
		{
			Where spawnbot	
			Name "W3_A"
			TotalCount 36	
			MaxActive 8						
			SpawnCount 4									
			WaitBetweenSpawns 3
			WaitBeforeStarting 0
			TotalCurrency 120
			RandomChoice
			{
				TFBot
				{
					Class Soldier
					Skill Hard
				}
				TFBot
				{
					Class Soldier
					Skill Normal
				}
				TFBot
				{
					Template T_TFBot_Soldier_RocketPush
				}
			}
		}
		
		WaveSpawn // 10 pyro Flares (80)
		{
			Where flankers	
			Name "W3_B"
			TotalCount 20	
			MaxActive 8						
			SpawnCount 4									
			WaitBetweenSpawns 3
			WaitBeforeStarting 8
			TotalCurrency 80
			Squad
			{
				TFBot
				{
					Template T_TFBot_ScorchShot_FastShot
					Skill Hard
				}
				TFBot
				{
					Template T_TFBot_Pyro_Flaregun
					Skill Normal
				}
			}
		}
		
		WaveSpawn // Giant pyro Flare (85)
		{
			Where flankers	
			Name "W3_C"
			TotalCount 9	
			MaxActive 6						
			SpawnCount 3									
			WaitBetweenSpawns 5
			WaitBeforeStarting 8
			TotalCurrency 80
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Pyro_Flare_Spammer
				}
				TFBot
				{
					Template T_TFBot_ScorchShot_FastShot
					Skill Easy
				}
				TFBot
				{
					Template T_TFBot_ScorchShot_FastShot
					Skill Easy
				}
			}
		}

//Sub 2//


		WaveSpawn // Giant Crosbow Medic Cheif (235)
		{
			Where flankers
			WaitForAllDead "W3_C"
			Name "W3_D"
			TotalCount 1	
			MaxActive 1						
			SpawnCount 1									
			WaitBetweenSpawns 6
			WaitBeforeStarting 11
			TotalCurrency 235
			Squad
			{
			TFBot
			{
				Template T_TFBot_Giant_Medic_Crossbow
				Attributes UseBossHealthBar
				Health 29000
				ItemAttributes
				{
					ItemName "The Crusader's Crossbow"
					"clip size upgrade atomic" 13
					"faster reload rate" 0.2
					"heal on hit for rapidfire" 42
				}
			}
			}
		}
		
		WaveSpawn // Sup Crossbow Medics (80)
		{
			Where flankers
			Name "W3_E"
			TotalCount 30	
			MaxActive 14						
			SpawnCount 2									
			WaitBetweenSpawns 2.5
			WaitBeforeStarting 20
			TotalCurrency 80
			
			Support 1
			Squad
			{
			TFBot
			{
				Template T_TFBot_Medic_Crossbow
				Skill Hard
			}
			}
		}
	}

//WAVE 4 //////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// Sub 1
// 1 Tank (150)
// 10 Soldiers (50)
// 2 Giant Blast Soldiers with 4 Uber medics (150)
// Sub 2 
// [5*5] Demonknight squads (100)
// 2 Calcified Scouts (100)
// Sub 3
// 12 Heater Heavies (80)
// 4 soldier champions (120)
///////////////////////////////////////////////////////////////////////////


	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_classic
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action trigger
		}

		Checkpoint Yes


		WaveSpawn // 1 Tank (150)
		{						
			Name "W4_Tank"
			WaitBeforeStarting 0
			TotalCount 1
			TotalCurrency 150
			
			FirstSpawnOutput 
			
			{
				Target boss_spawn_relay                       
				Action Trigger                         
			}

			Tank
			{
				Health 28500					
				Speed 75								
				Name "TankBossA"
				StartingPathTrackNode "tank_path_a_10"
				
				OnKilledOutput                              
				{
					Target boss_dead_relay					
					Action Trigger                
				}
					
				OnBombDroppedOutput                       
				{
					Target boss_deploy_relay 	
					Action Trigger                  
				}
			}
		}
		
		WaveSpawn // 10 Soldiers (50)
		{
			Where spawnbot	
			Name "W4_A"
			TotalCount 20	
			MaxActive 10						
			SpawnCount 5									
			WaitBetweenSpawns 4
			WaitBeforeStarting 3
			TotalCurrency 50
			RandomChoice
			{
				TFBot
				{
					Class Soldier
					Skill Expert
				}
				TFBot
				{
					Class Soldier
					Skill Normal
				}
				TFBot
				{
					Class Soldier
					Skill Normal
				}
			}
		}
		
		WaveSpawn // 2 Giant Blast Soldiers with 4 Uber medics (150)
		{
			Where flankers	
			Name "W4_B"
			TotalCount 5	
			MaxActive 5						
			SpawnCount 5									
			WaitBetweenSpawns 0
			WaitBeforeStarting 17
			TotalCurrency 75
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Soldier_RocketPush
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
			}
		}
		
		WaveSpawn // 2 Giant Blast Soldiers with 4 Uber medics (150)
		{
			Where spawnbot	
			Name "W4_C"
			TotalCount 5	
			MaxActive 5						
			SpawnCount 5									
			WaitBetweenSpawns 0
			WaitBeforeStarting 13
			TotalCurrency 75
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Soldier_RocketPush
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
			}
		}
		
//Sub 2//

		WaveSpawn // [5*5] Demonknight squads (100)
		{
			Where flankers	
			Name "W4_D"
			WaitForAllDead "W4_B"
			TotalCount 35	
			MaxActive 20						
			SpawnCount 5									
			WaitBetweenSpawns 4
			WaitBeforeStarting 11
			TotalCurrency 100
			Squad
			{
				TFBot
				{
					Template T_TFBot_Demoknight_Adv
					Health 420
				}
				TFBot
				{
					Template T_TFBot_Demoman_Knight
				}
				TFBot
				{
					Template T_TFBot_Demoman_Knight
				}
				TFBot
				{
					Template T_TFBot_Demoman_Knight
				}
				TFBot
				{
					Template T_TFBot_Demoman_Knight
				}
			}
		}
		
		WaveSpawn // 2 Calcified Scouts (100)
		{
			Where spawnbot
			Name "W4_E"
			WaitForAllDead "W4_B"
			TotalCount 2	
			MaxActive 2						
			SpawnCount 1									
			WaitBetweenSpawns 6
			WaitBeforeStarting 20
			TotalCurrency 100
			TFBot
			{
				Template T_TFBot_Giant_Scout_Calcium
			}
		}
		
//Sub 3//

		WaveSpawn // 12 Heater Heavies (80)
		{
			Where flankers
			Name "W4_F"
			WaitForAllDead "W4_D"
			TotalCount 15	
			MaxActive 15						
			SpawnCount 3									
			WaitBetweenSpawns 2
			WaitBeforeStarting 10
			TotalCurrency 80
			TFBot
			{
				Template T_TFBot_Heavyweapons_Heater_Small
			}
		}
		
		WaveSpawn // 4 soldier champions (120)
		{
			Where spawnbot
			Name "W4_G"
			WaitForAllDead "W4_D"
			TotalCount 5	
			MaxActive 5						
			SpawnCount 2									
			WaitBetweenSpawns 7
			WaitBeforeStarting 16
			TotalCurrency 120
			TFBot
			{
				Template T_TFBot_Soldier_Champ
			}
		}
	}


//WAVE 5 //////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// Sub 1
// 60 Burst Fire demomen (220)
// 15 Battalion soldiers (80)
// 8 Giant Burst fire deomen [Rapid or non Rapid] (250)
// 4 Giant Spies (150)
///////////////////////////////////////////////////////////////////////////


	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_classic
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action trigger
		}

		Checkpoint Yes
		

		WaveSpawn // 60 Burst Fire demomen (220)
		{
			Where spawnbot	
			Name "W5_A"
			TotalCount 66	
			MaxActive 10						
			SpawnCount 5									
			WaitBetweenSpawns 3
			WaitBeforeStarting 0
			TotalCurrency 220
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Demo_Burst
					Skill Expert
				}
				TFBot
				{
					Template T_TFBot_Demo_Burst
					Skill Easy
				}
				TFBot
				{
					Template T_TFBot_Demo_Burst
					Skill Easy
				}
			}
		}
		
		
		WaveSpawn // 15 Battalion soldiers (80)
		{
			Where spawnbot	
			Name "W5_B"
			TotalCount 15	
			MaxActive 3						
			SpawnCount 1									
			WaitBetweenSpawns 8
			WaitBeforeStarting 10
			TotalCurrency 80
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Soldier_Extended_Battalion
					Skill Expert
				}
				TFBot
				{
					Template T_TFBot_Soldier_Extended_Battalion
					Skill Hard
				}
			}
		}
		
		
		WaveSpawn // 8 Giant Burst fire demomen [Rapid or non Rapid] (250)
		{
			Where flankers	
			Name "W5_C"
			TotalCount 10	
			MaxActive 4						
			SpawnCount 1									
			WaitBetweenSpawns 10
			WaitBeforeStarting 15
			TotalCurrency 250
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Giant_Demo_Burst
				}
				TFBot
				{
					Template T_TFBot_Giant_Demo_Burst_Spammer
				}
			}
		}
		
		
		WaveSpawn // 4 Giant Spies (150)
		{
			Where spawnbot_mission_spy
			Name "W5_D"
			TotalCount 4	
			MaxActive 4						
			SpawnCount 1									
			WaitBetweenSpawns 15
			WaitBeforeStarting 35
			TotalCurrency 150
			TFBot
			{
				Template T_TFBot_Giant_Spy
			}
		}
	}	

//WAVE 6 //////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// Sub 1
// 1 Soldier Squad (100)
// 2 Giant Gun-nut Heavies (100)
// Sub 2
// General Swarm (350)
// Sup 2 Giant Soldier Bison [Sub 2 only](150)
///////////////////////////////////////////////////////////////////////////


	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_classic
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action trigger
		}

		Checkpoint Yes
		
		WaveSpawn // 1 Soldier Squad (100)
		{
			Where flankers	
			Name "W6_A"
			TotalCount 18	
			MaxActive 18						
			SpawnCount 9									
			WaitBetweenSpawns 4
			WaitBeforeStarting 0
			TotalCurrency 100
			Squad
			{
				TFBot
				{
					Template T_TFBot_Soldier_Squad_Leader
				}
				TFBot
				{
					Template T_TFBot_Soldier_Squad_Bison
				}
				TFBot
				{
					Template T_TFBot_Soldier_Squad_Bison
				}
				TFBot
				{
					Template T_TFBot_Soldier_Squad_Blast
				}
				TFBot
				{
					Template T_TFBot_Soldier_Squad_Blast
				}
				TFBot
				{
					Template T_TFBot_Soldier_Squad_Conch
				}
				TFBot
				{
					Template T_TFBot_Soldier_Squad_Buff
				}
				TFBot
				{
					Template T_TFBot_Soldier_Squad_Blast
				}
				TFBot
				{
					Template T_TFBot_Soldier_Squad_Blast
				}
			}
		}
		
		WaveSpawn // 2 Giant Gun-nut Heavies (100)
		{
			Where flankers	
			Name "W6_B"
			TotalCount 1	
			MaxActive 1					
			SpawnCount 1									
			WaitBetweenSpawns 0
			WaitBeforeStarting 5
			TotalCurrency 50
			TFBot
			{
				Template T_TFBot_Giant_Heavyweapons_Aimless
				Tag botcontrol_block
			}
		}
		
		WaveSpawn // 2 Giant Gun-nut Heavies (100)
		{
			Where spawnbot	
			Name "W6_C"
			TotalCount 1	
			MaxActive 1					
			SpawnCount 1									
			WaitBetweenSpawns 0
			WaitBeforeStarting 5
			TotalCurrency 50
			TFBot
			{
				Template T_TFBot_Giant_Heavyweapons_Aimless
				Tag botcontrol_block
			}
		}
		
//Sub 2//


		WaveSpawn //  General Swarm (350)
		{
			Where spawnbot	
			Name "W6_D"
			WaitForAllDead "W6_C"
			TotalCount 1	
			MaxActive 1					
			SpawnCount 1									
			WaitBetweenSpawns 0
			WaitBeforeStarting 6
			TotalCurrency 350
			TFBot
			{
				Template T_TFBot_Giant_Soldier_Spammer_Chief
				Tag botcontrol_block
				Health 53500
			}
		}
		
		WaveSpawn //  Sup 2 Giant Soldier Bison [Sub 2 only](150)
		{
			Where flankers
			Name "W6_E"
			WaitForAllDead "W6_C"
			TotalCount 6	
			MaxActive 2					
			SpawnCount 1									
			WaitBetweenSpawns 18
			WaitBeforeStarting 5
			TotalCurrency 150
			
			Support 1
			
			TFBot
			{
				Template T_TFBot_Giant_Soldier_Bison
				Health 4000
			}
		}
	}

//WAVE 7 //////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// Sub 1
// 6 Super Scouts (200)
// Sub 2
// 3 Armoured Sandsman Scouts with a Jumping Sandman scout Each (350)
// Sup Hyper League Scouts (50)
///////////////////////////////////////////////////////////////////////////


	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_classic
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action trigger
		}

		Checkpoint Yes
		
		WaveSpawn // 6 Super Scouts (200)
		{
			Where flankers	
			Name "W7_A"
			TotalCount 6	
			MaxActive 6						
			SpawnCount 2									
			WaitBetweenSpawns 4
			WaitBeforeStarting 0
			TotalCurrency 200
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Scout_Fast
					Attributes AlwaysCrit
				}
				TFBot
				{
					Template T_TFBot_Giant_Scout_Fast
					Attributes AlwaysCrit
				}
			}
		}
		
//Sub 2//
		
		WaveSpawn // 3 Armoured Sandsman Scouts with a Jumping Sandman scout Each (350)
		{
			Where spawnbot
			Name "W7_B"
			WaitForAllDead "W7_A"
			TotalCount 6	
			MaxActive 6						
			SpawnCount 2									
			WaitBetweenSpawns 6
			WaitBeforeStarting 0
			TotalCurrency 350
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Scout_Baseball_Armored
					Attributes AlwaysCrit
				}
				TFBot
				{
					Template T_TFBot_Giant_Scout_Jumping_Sandman
					Attributes AlwaysCrit
				}
			}
		}
		
		
		WaveSpawn // Sup Hyper League Scouts (50)
		{
			Where flankers
			Name "W7_C"
			TotalCount 20	
			MaxActive 10					
			SpawnCount 10									
			WaitBetweenSpawns 14
			WaitBeforeStarting 0
			TotalCurrency 50
			
			Support 1
			
			Squad
			{
				FormationSize 90
				TFBot
				{
					Template T_TFBot_Scout_Sandman_FastCharge
				}
				TFBot
				{
					Template T_TFBot_Scout_Sandman_FastCharge
				}
			}
		}
	}


//WAVE 8 //////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// Sub 1
// 16 Heater Heavies with a Uber-fix Medic (200)
// 20 Scout Pistols (75)
// 5 Adv Scout pistols (75)
// Sub 2
// 32 Soldier Bison (100)
// 1 Super Soldier with 4 Uber Medics (150)
// Sub 3 
// 40 Pyros (120)
// 6 Giant Pyro Flare Spammers (180)
///////////////////////////////////////////////////////////////////////////


	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_classic
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action trigger
		}

		Checkpoint Yes
		
		WaveSpawn // 16 Heater Heavies with a Uber-fix Medic (200)
		{
			Where spawnbot	
			Name "W8_A"
			TotalCount 28	
			MaxActive 10						
			SpawnCount 2									
			WaitBetweenSpawns 4
			WaitBeforeStarting 0
			TotalCurrency 200
			Squad
			{
				TFBot
				{
					Template T_TFBot_Heavyweapons_Heater_Small
					Skill Normal
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickFix_RapidUber
				}
			}
		}
		
		
		WaveSpawn // 20 Scout Pistols (75)
		{
			Where flankers	
			Name "W8_B"
			TotalCount 20	
			MaxActive 5						
			SpawnCount 5									
			WaitBetweenSpawns 3
			WaitBeforeStarting 5
			TotalCurrency 75
			TFBot
			{
				Template T_TFBot_Scout_Pistol
				Skill Normal
			}
		}
		

		WaveSpawn // 5 Adv Scout pistols (75)
		{
			Where flankers	
			Name "W8_C"
			TotalCount 7	
			MaxActive 5						
			SpawnCount 1									
			WaitBetweenSpawns 6
			WaitBeforeStarting 4
			TotalCurrency 75
			TFBot
			{
				Template T_TFBot_Scout_Pistol_Advanced
				Skill Expert
			}
		}


//Sub 2//


		WaveSpawn // 32 Soldier Bison (100)
		{
			Where spawnbot	
			Name "W8_D"
			WaitForAllDead "W8_A"
			TotalCount 40	
			MaxActive 12						
			SpawnCount 4									
			WaitBetweenSpawns 4
			WaitBeforeStarting 10
			TotalCurrency 100
			TFBot
			{
				Template T_TFBot_Soldier_Bison
				Skill Normal
			}
		}
		
		WaveSpawn // 1 Super Soldier with 4 Uber Medics (150)
		{
			Where flankers	
			Name "W8_E"
			WaitForAllDead "W8_A"
			TotalCount 5	
			MaxActive 5						
			SpawnCount 5									
			WaitBetweenSpawns 0
			WaitBeforeStarting 25
			TotalCurrency 150
			Squad
			{
				TFBot
				{
					Template T_TFBot_Super_Soldier
					Skill Normal
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
				TFBot
				{
					Template T_TFBot_Medic
				}
			}
		}
		

//Sub 3//


		WaveSpawn // 40 Pyros (120)
		{
			Where spawnbot	
			Name "W8_F"
			WaitForAllDead "W8_E"
			TotalCount 40	
			MaxActive 14						
			SpawnCount 2									
			WaitBetweenSpawns 1
			WaitBeforeStarting 11
			TotalCurrency 120
			TFBot
			{
				Class Pyro
				Skill Hard
			}
		}
		
		WaveSpawn // 6 Giant Pyro Flare Spammers (180)
		{
			Where flankers	
			Name "W8_G"
			WaitForAllDead "W8_E"
			TotalCount 10	
			MaxActive 6						
			SpawnCount 2									
			WaitBetweenSpawns 6
			WaitBeforeStarting 11
			TotalCurrency 180
			TFBot
			{
				Template T_TFBot_Giant_Pyro_Flare_Spammer
				Skill Hard
				ItemAttributes
				{
					ItemName "The detonator"
					"fire rate bonus" 0.235
				}
			}
		}
	}

//WAVE 9 //////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// Sub 1
// 30 Shotgun Heavies (150)
// 2 Giant shotgun Heavies with 3 Quick-fix Medics (150)
// 2 Heavy Champions (50)
// Sub 2
// Chief Rocket Push Soldier (200)
// 3 Giant Blackbox Soldiers (150)
///////////////////////////////////////////////////////////////////////////

	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_classic
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action trigger
		}

		Checkpoint Yes
		
		WaveSpawn // 30 Shotgun Heavies (150)
		{
			Where spawnbot	
			Name "W9_A"
			TotalCount 60	
			MaxActive 10						
			SpawnCount 5									
			WaitBetweenSpawns 2
			WaitBeforeStarting 0
			TotalCurrency 150
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Heavyweapons_Shotgun
				}
				TFBot
				{
					Template T_TFBot_Heavyweapons_Shotgun
				}
				TFBot
				{
					Template T_TFBot_Heavyweapons_Shotgun
				}
				TFBot
				{
					Template T_TFBot_Heavy_Shotgun_Advanced
				}
			}
		}
		
		WaveSpawn // 2 Giant shotgun Heavies with 3 Quick-fix Medics (150)
		{
			Where spawnbot	
			Name "W9_B"
			TotalCount 12	
			MaxActive 8						
			SpawnCount 4									
			WaitBetweenSpawns 7
			WaitBeforeStarting 5
			TotalCurrency 150
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Heavyweapons_Shotgun
					ClassIcon Heavy_shotgun
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickFix
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickFix
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickFix
				}
			}
		}
		

		WaveSpawn // 2 Heavy Champions (50)
		{
			Where flankers	
			Name "W9_C"
			TotalCount 3	
			MaxActive 3						
			SpawnCount 1									
			WaitBetweenSpawns 6
			WaitBeforeStarting 8
			TotalCurrency 50
			TFBot
			{
				Template T_TFBot_Heavy_Champ
			}
		}
		

//Sub 2//


		WaveSpawn // Chief Rocket Push Soldier (200)
		{
			Where flankers
			Name "W9_D"
			WaitForAllDead "W9_B"
			TotalCount 1
			MaxActive 1				
			SpawnCount 1							
			WaitBetweenSpawns 0
			WaitBeforeStarting 12
			TotalCurrency 200
			TFBot
			{
				Template T_TFBot_Chief_Soldier_RocketPush
				Tag botcontrol_block
				Health 38500
				ItemAttributes
				{
					ItemName "The Liberty Launcher"
					"fire rate bonus" 0.22
					"clip size upgrade atomic" 6
					"faster reload rate" 0.3
				}
			}
		}
		
		WaveSpawn // 3 Giant Blackbox Soldiers (150)
		{
			Where spawnbot	
			Name "W9_E"
			WaitForAllDead "W9_B"
			TotalCount 3	
			MaxActive 3						
			SpawnCount 1									
			WaitBetweenSpawns 5
			WaitBeforeStarting 10
			TotalCurrency 150
			TFBot
			{
				Template T_TFBot_Giant_Soldier_RocketShotgun
			}
		}
	}


//WAVE 10 //////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// Sub 1
// 2 Tanks (150)
// Sub 2
// 2 Tanks (150)
// Sub 3
// 1 Fast Tank (120)
// Support Class Robots (280)
///////////////////////////////////////////////////////////////////////////


	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_classic
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action trigger
		}

		Checkpoint Yes
		
		
		WaveSpawn // 2 Tanks (150)
		{						
			Name "W10_Tank1"
			WaitBeforeStarting 0
			TotalCount 1
			TotalCurrency 75
			
			FirstSpawnOutput 
			
			{
				Target boss_spawn_relay                       
				Action Trigger                         
			}

			Tank
			{
				Health 23000					
				Speed 75								
				Name "TankBossB"
				StartingPathTrackNode "tank_path_a_10"
				
				OnKilledOutput                              
				{
					Target boss_dead_relay					
					Action Trigger                
				}
					
				OnBombDroppedOutput                       
				{
					Target boss_deploy_relay 	
					Action Trigger                  
				}
			}
		}
			
		WaveSpawn // 2 Tanks (150)
		{						
			Name "W10_Tank2"
			WaitBeforeStarting 7
			TotalCount 1
			TotalCurrency 75
			
			FirstSpawnOutput 
			
			{
				Target boss_spawn_relay                       
				Action Trigger                         
			}

			Tank
			{
				Health 23000					
				Speed 75								
				Name "TankBossC"
				StartingPathTrackNode "tank_path_b_10"
				
				OnKilledOutput                              
				{
					Target boss_dead_relay					
					Action Trigger                
				}
					
				OnBombDroppedOutput                       
				{
					Target boss_deploy_relay 	
					Action Trigger                  
				}
			}
		}

//Sub 2//

		WaveSpawn // 2 Tanks (150)
		{						
			Name "W10_Tank3"
			WaitBeforeStarting 10
			WaitForAllDead "W10_Tank2"
			TotalCount 1
			TotalCurrency 75
			
			FirstSpawnOutput 
			
			{
				Target boss_spawn_relay                       
				Action Trigger                         
			}

			Tank
			{
				Health 25000					
				Speed 75								
				Name "TankBossD"
				StartingPathTrackNode "tank_path_a_10"
				
				OnKilledOutput                              
				{
					Target boss_dead_relay					
					Action Trigger                
				}
					
				OnBombDroppedOutput                       
				{
					Target boss_deploy_relay 	
					Action Trigger                  
				}
			}
		}
			
		WaveSpawn // 2 Tanks (150)
		{						
			Name "W10_Tank4"
			WaitForAllDead "W10_Tank2"
			WaitBeforeStarting 17
			TotalCount 1
			TotalCurrency 75
			
			FirstSpawnOutput 
			
			{
				Target boss_spawn_relay                       
				Action Trigger                         
			}

			Tank
			{
				Health 25000					
				Speed 75								
				Name "TankBossE"
				StartingPathTrackNode "tank_path_b_10"
				
				OnKilledOutput                              
				{
					Target boss_dead_relay					
					Action Trigger                
				}
					
				OnBombDroppedOutput                       
				{
					Target boss_deploy_relay 	
					Action Trigger                  
				}
			}
		}

//Sub 3//


		WaveSpawn // 1 Fast Tank (120)
		{						
			Name "W10_Tank5"
			WaitBeforeStarting 10
			WaitForAllDead "W10_Tank4"
			TotalCount 1
			TotalCurrency 120
			
			FirstSpawnOutput 
			
			{
				Target boss_spawn_relay                       
				Action Trigger                         
			}

			Tank
			{
				Health 27000					
				Speed 175								
				Name "TankBossFast"
				StartingPathTrackNode "tank_path_a_10"
				
				OnKilledOutput                              
				{
					Target boss_dead_relay					
					Action Trigger                
				}
					
				OnBombDroppedOutput                       
				{
					Target boss_deploy_relay 	
					Action Trigger                  
				}
			}
		}


		WaveSpawn // Support Class Robots (280)
		{
			Where spawnbot	
			Name "W10_A"
			TotalCount 120	
			MaxActive 20						
			SpawnCount 2									
			WaitBetweenSpawns 1.5
			WaitBeforeStarting 15
			TotalCurrency 280
			
			Support 1
			
			RandomChoice
			{
				TFBot
				{
					Class Scout
					Skill Hard
				}
				TFBot
				{
					Class Soldier
					Skill Hard
				}
				TFBot
				{
					Class Pyro
					Skill Hard
				}
				TFBot
				{
					Class Demoman
					Skill Hard
				}
				TFBot
				{
					Class Heavyweapons
					Skill Hard
				}
				TFBot
				{
					Template T_TFBot_Medic
					Skill Hard
				}
				TFBot
				{
					Template T_TFBot_Scout_FAN
					Skill Hard
				}
				TFBot
				{
					Template T_TFBot_Soldier_RocketShotgun
					Skill Hard
				}
				TFBot
				{
					Template T_TFBot_ScorchShot_FastShot
					Skill Hard
				}
				TFBot
				{
					Template T_TFBot_Demo_Burst
					Skill Hard
				}
				TFBot
				{
					Template T_TFBot_Heavyweapons_Shotgun
					Skill Hard
				}
				TFBot
				{
					Template T_TFBot_Medic_BigHeal
					Skill Hard
				}
				TFBot
				{
					Template T_TFBot_Scout_War_Fan
					Skill Hard
				}
				TFBot
				{
					Template T_TFBot_Soldier_Bison
					Skill Hard
				}
				TFBot
				{
					Template T_TFBot_Pyro_Backburner
					Skill Hard
					ItemAttributes
					{
					ItemName "The Backburner"
					"damage bonus" 1.35
					}
				}
				TFBot
				{
					Template T_TFBot_Demo_explode
					Skill Hard
				}
				TFBot
				{
					Template T_TFBot_Heavy_Slow
					Skill Hard
				}
				TFBot
				{
					Template T_TFBot_Giant_Soldier_Bison
					Health 2800
					Skill Easy
				}
			}
		}		
	}

//WAVE 11 //////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// Sub 1
// Giant Scout Pistol, Calcium and D_I_L_3(120)
// Sub 2
// 2 Giant Soldier Bison and Super Soldier (120)
// Sub 3
// 3 Giant Pyro PowerJacks (120)
// Sub 4
// Giant Demoman Unload, Rapid Burst and 2 Fast (120)
// Sub 5
// 4 Giant Heavyweapons Aimless (120)
// Sub Final
// Giant Scout Calcium, Giant Soldier Bison, Giant Pyro PowerJack, Giant Demoman Unload and Giant Heavy Aimless (200)
// Sup Champion pairs
// Sup MLS
///////////////////////////////////////////////////////////////////////////

	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_classic
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action trigger
		}

		Checkpoint Yes
		
		
		WaveSpawn // Giant Scout Pistol, Calcium and D_I_L_3(120)
		{
			Where spawnbot	
			Name "W11_A"
			TotalCount 3	
			MaxActive 3						
			SpawnCount 3									
			WaitBetweenSpawns 0
			WaitBeforeStarting 0
			TotalCurrency 120
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Scout_Calcium 
				}
				TFBot
				{
					Template T_TFBot_Giant_Scout_Pistol
				}
				TFBot
				{
					Template T_TFBot_D_I_L_3
				}
			}
		}


//Sub 2//

		WaveSpawn // 2 Giant Soldier Bison and Super Soldier (120)
		{
			Where flankers	
			Name "W11_B"
			WaitForAllDead "W11_A"
			TotalCount 3	
			MaxActive 3						
			SpawnCount 3									
			WaitBetweenSpawns 0
			WaitBeforeStarting 7
			TotalCurrency 120
			Squad
			{
				TFBot
				{
					Template T_TFBot_Super_Soldier 
				}
				TFBot
				{
					Template T_TFBot_Giant_Soldier_Bison
				}
				TFBot
				{
					Template T_TFBot_Giant_Soldier_Bison
				}
			}
		}

//Sub 3//

		WaveSpawn // 3 Giant Pyro PowerJacks (120)
		{
			Where spawnbot	
			Name "W11_C"
			WaitForAllDead "W11_B"
			TotalCount 6	
			MaxActive 6						
			SpawnCount 3									
			WaitBetweenSpawns 5
			WaitBeforeStarting 7
			TotalCurrency 120
			TFBot
			{
				Template T_TFBot_Giant_Pyro_Powerjack
			}
		}

		WaveSpawn // 3 Giant Pyro PowerJacks (120)
		{
			Where flankers	
			Name "W11_C"
			WaitForAllDead "W11_B"
			TotalCount 6	
			MaxActive 6						
			SpawnCount 3									
			WaitBetweenSpawns 5
			WaitBeforeStarting 7
			TotalCurrency 120
			TFBot
			{
				Template T_TFBot_Giant_Pyro_Powerjack
			}
		}
		

//Sub 4//

		WaveSpawn // Giant Demoman Unload, Rapid Burst and 2 Fast (120)
		{
			Where spawnbot	
			Name "W11_D"
			WaitForAllDead "W11_C"
			TotalCount 4	
			MaxActive 4			
			SpawnCount 4									
			WaitBetweenSpawns 0
			WaitBeforeStarting 7
			TotalCurrency 120
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Demoman_Loads_Of_Bombs 
				}
				TFBot
				{
					Template T_TFBot_Giant_Demo_Burst_Spammer
				}
				TFBot
				{
					Template T_TFBot_Giant_Demoman_Fast
				}
				TFBot
				{
					Template T_TFBot_Giant_Demoman_Fast
				}
			}
		}

		WaveSpawn // Giant Demoman Unload, Rapid Burst and 2 Fast (120)
		{
			Where flankers	
			Name "W11_D"
			WaitForAllDead "W11_C"
			TotalCount 4	
			MaxActive 4			
			SpawnCount 4									
			WaitBetweenSpawns 0
			WaitBeforeStarting 7
			TotalCurrency 120
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Demoman_Loads_Of_Bombs 
				}
				TFBot
				{
					Template T_TFBot_Giant_Demo_Burst_Spammer
				}
				TFBot
				{
					Template T_TFBot_Giant_Demoman_Fast
				}
				TFBot
				{
					Template T_TFBot_Giant_Demoman_Fast
				}
			}
		}

		WaveSpawn // Giant Demoman Unload, Rapid Burst and 2 Fast (120)
		{
			Where spawnbot	
			Name "W11_D"
			WaitForAllDead "W11_C"
			TotalCount 4	
			MaxActive 4			
			SpawnCount 4									
			WaitBetweenSpawns 0
			WaitBeforeStarting 12
			TotalCurrency 120
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Demoman_Loads_Of_Bombs 
				}
				TFBot
				{
					Template T_TFBot_Giant_Demo_Burst_Spammer
				}
				TFBot
				{
					Template T_TFBot_Giant_Demoman_Fast
				}
				TFBot
				{
					Template T_TFBot_Giant_Demoman_Fast
				}
			}
		}


//Sub 5//


		WaveSpawn // 4 Giant Heavyweapons Aimless (120)
		{
			Where spawnbot	
			Name "W11_E"
			WaitForAllDead "W11_D"
			TotalCount 3	
			MaxActive 3						
			SpawnCount 1									
			WaitBetweenSpawns 4
			WaitBeforeStarting 7
			TotalCurrency 60
			TFBot
			{
				Template T_TFBot_Giant_Heavyweapons_Aimless
				Tag botcontrol_block
			}
		}

		WaveSpawn // 4 Giant Heavyweapons Aimless (120)
		{
			Where flankers	
			Name "W11_F"
			WaitForAllDead "W11_D"
			TotalCount 3	
			MaxActive 3						
			SpawnCount 1									
			WaitBetweenSpawns 4
			WaitBeforeStarting 7
			TotalCurrency 60
			TFBot
			{
				Template T_TFBot_Giant_Heavyweapons_Aimless
				Tag botcontrol_block
			}
		}
		
//Sub 6//

		WaveSpawn // Giant Scout Calcium, Giant Soldier Bison, Giant Pyro PowerJack, Giant Demoman Unload and Giant Heavy Aimless (200)
		{
			Where spawnbot	
			Name "W11_G"
			WaitForAllDead "W11_F"
			TotalCount 5	
			MaxActive 5			
			SpawnCount 5									
			WaitBetweenSpawns 0
			WaitBeforeStarting 7
			TotalCurrency 200
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Demoman_Loads_Of_Bombs 
				}
				TFBot
				{
					Template T_TFBot_Giant_Heavyweapons_Aimless
					Tag botcontrol_block
				}
				TFBot
				{
					Template T_TFBot_Giant_Scout_Calcium 
				}
				TFBot
				{
					Template T_TFBot_Giant_Pyro_Powerjack
				}
				TFBot
				{
					Template T_TFBot_Giant_Soldier_Bison
				}
			}
		}

		WaveSpawn // Giant Scout Calcium, Giant Soldier Bison, Giant Pyro PowerJack, Giant Demoman Unload and Giant Heavy Aimless (200)
		{
			Where flankers	
			Name "W11_G"
			WaitForAllDead "W11_F"
			TotalCount 2	
			MaxActive 2			
			SpawnCount 2									
			WaitBetweenSpawns 0
			WaitBeforeStarting 7
			TotalCurrency 200
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Demoman_Loads_Of_Bombs 
				}
				TFBot
				{
					Template T_TFBot_Giant_Soldier_Bison
				}
			}
		}

		WaveSpawn // Sup Champion pairs
		{
			Where flankers
			Name "W11_CH"
			TotalCount 20			
			MaxActive 3								
			SpawnCount 3
			WaitBeforeStarting 30
			WaitBetweenSpawns 30							
			TotalCurrency 0
			
			Support 1
			
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Scout_Champ
				}
				TFBot
				{
					Template T_TFBot_Scout_Pistol_Champ
					ClassIcon scout
				}
				TFBot
				{
					Template T_TFBot_Scout_Sandman_Champ
					ClassIcon scout
				}
				TFBot
				{
					Template T_TFBot_Soldier_Champ
				}
				TFBot
				{
					Template T_TFBot_Soldier_Bison_Champ
				}
				TFBot
				{
					Template T_TFBot_Pyro_Champ
				}
				TFBot
				{
					Template T_TFBot_Demoman_Champ
				}
				TFBot
				{
					Template T_TFBot_Demoknight_Champ
					ClassIcon demo
				}
				TFBot
				{
					Template T_TFBot_Heavy_Champ
				}
				TFBot
				{
					Template T_TFBot_Heavy_Shotgun_Champ
					ClassIcon heavy
				}
				TFBot
				{
					Template T_TFBot_Heavyweapons_Knuckle_Champ
					ClassIcon heavy
				}
				TFBot
				{
					Template T_TFBot_Medic_QuickFix_Champ
				}
			}	
		}


		WaveSpawn // Sup MLS
		{
			Where flankers
			Name "W11_MLS"
			TotalCount 80			
			MaxActive 5								
			SpawnCount 2
			WaitBeforeStarting 0
			WaitBetweenSpawns 4							
			TotalCurrency 0
			
			Support 1
			
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Scout_Sandman
				}
				TFBot
				{
					Template T_TFBot_Scout_Sandman
					Skill Expert
				}
				TFBot
				{
					Template T_TFBot_Scout_Sandman_FastCharge
					Skill Easy
				}
			}	
		}		
	}


//FINAL WAVE //////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////
// Sub 1
// Dangerously Overpowered Machine Overlord [3 way loose cannon Raipd fire] (1100)
// 2 Giant Unload Demomen (0)
// Sup Giant demoman Fast (0)
// Sup Burst Fire Demoman (0)
///////////////////////////////////////////////////////////////////////////


	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_classic
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action trigger
		}

		Checkpoint Yes
		
		
		WaveSpawn // Dangerously Entertaining Machine Overlord [3 way loose cannon Raipd fire] (1100)
		{
			Where spawnbot	
			Name "D.E.M.O"
			TotalCount 1	
			MaxActive 1						
			SpawnCount 1									
			WaitBetweenSpawns 0
			WaitBeforeStarting 0
			TotalCurrency 1100
			TFBot
			{
				Template T_TFBot_D_E_M_O
				Health 88000
				Tag botcontrol_block
			}
		}
		
		WaveSpawn // 2 Giant Unload Demomen (0)
		{
			Where spawnbot	
			Name "GUD"
			TotalCount 2	
			MaxActive 2						
			SpawnCount 2									
			WaitBetweenSpawns 0
			WaitBeforeStarting 4
			TotalCurrency 0
			TFBot
			{
				Template T_TFBot_Giant_Demoman_Loads_Of_Bombs
			}
		}
		
		WaveSpawn // Sup Giant demoman Fast (0)
		{
			Where flankers	
			Name "GDF"
			TotalCount 9	
			MaxActive 3						
			SpawnCount 1									
			WaitBetweenSpawns 20
			WaitBeforeStarting 15
			TotalCurrency 0
			
			Support 1
			
			TFBot
			{
				Template T_TFBot_Giant_Demoman_Fast
			}
		}
		
		WaveSpawn // Sup Burst Fire Demoman (0)
		{
			Where flankers	
			Name "DB1"
			TotalCount 32	
			MaxActive 7						
			SpawnCount 1									
			WaitBetweenSpawns 2
			WaitBeforeStarting 0
			TotalCurrency 0
			
			Support 1
			
			TFBot
			{
				Template T_TFBot_Demo_Burst
				Skill Normal
			}
		}
		
		WaveSpawn // Sup Burst Fire Demoman (0)
		{
			Where spawnbot	
			Name "DB2"
			TotalCount 32	
			MaxActive 6						
			SpawnCount 1									
			WaitBetweenSpawns 2
			WaitBeforeStarting 0
			TotalCurrency 0
			
			Support 1
			
			TFBot
			{
				Template T_TFBot_Demo_Burst
				Skill Normal
			}
		}
	}
}