#base robot_giant.pop
#base robot_standard.pop
#base robot_click.pop
#base robot_click_giant.pop
#base ex_upgrade_click.pop
population
{
	StartingCurrency	1000
	RespawnWaveTime	6
	CanBotsAttackWhileInSpawnRoom	no
	Mission
	{
		Objective	DestroySentries
		Where	spawnbot
		BeginAtWave	1
		RunForThisManyWaves	5
		InitialCooldown	40
		CooldownTime	30
		TFBot
		{
			Template	T_TFBot_SentryBuster
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	1
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper_Machina_Slow
		}
	}
    Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	1
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Spy
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	2
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Spy_Saharan
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	3
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper_Semiauto
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	4
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper_Charged
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	5
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Spy_Ninja
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	5
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper_Crocostyle
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	6
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	4
		TFBot
		{
			Template	T_TFBot_Sniper_Magnetic_Hyper
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	7
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper_Fullauto
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	8
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper_Deathray
		}
	}
	//1000 Total:1000
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w1_a1
			TotalCurrency	200
			TotalCount	30
			MaxActive	15
			SpawnCount	5
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Scout_Bonk_Expert
			}
		}
		WaveSpawn
		{
			Name	w1_a
			WaitForAllSpawned	w1_a1	
			TotalCurrency	200
			TotalCount	20
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	12
			WaitBetweenSpawns	4
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Sniper_Huntsman_Spammer_Bleed_Normal 
			}
		}
		WaveSpawn
		{
			Name	w1_support1
			WaitForAllSpawned	w1_a1	
			TotalCurrency	150
			TotalCount	50
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	10
			WaitBetweenSpawns	5
			Where	spawnbot
			Support	1
			TFBot
			{
				Class	Pyro
				Skill	Expert
			}
		}
		WaveSpawn
		{
			Name	w1_a
			TotalCurrency	300
			TotalCount	10
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	15
			WaitBetweenSpawns	15
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Spammer
				}
				TFBot
				{
					Template	T_TFBot_Demo_Buff
				}
				TFBot
				{
					Template	T_TFBot_Demo_Buff
				}
				TFBot
				{
					Template	T_TFBot_Demo_Buff
				}
				TFBot
				{
					Template	T_TFBot_Demo_Buff
				}
			}
		}
		WaveSpawn
		{
			Name	w1_b
			WaitForAllSpawned	w1_a
			TotalCurrency	150
			TotalCount	9
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	15
			WaitBetweenSpawns	20
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Spammer
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	w1_b1
			WaitForAllSpawned	w1_a
			TotalCurrency	150
			TotalCount	18
			MaxActive	9
			SpawnCount	3
			WaitBeforeStarting	16
			WaitBetweenSpawns	4
			Where	spawnbot
			TFBot
			{
				Class	HeavyWeapons
				Skill	Hard
			}
		}
		WaveSpawn
		{
			Name	w1_b
			WaitForAllSpawned	w1_b1
			TotalCurrency	150
			TotalCount	15
			MaxActive	9
			SpawnCount	3
			WaitBeforeStarting	9
			WaitBetweenSpawns	3
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Soldier_Homing
			}
		}
	}
	//1000+1300 Total:2300
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w2_tank
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Tank
			{
				Health	20000
				Name	Tank
				Speed	75
				StartingPathTrackNode	tank_path_a_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	w2_a
			TotalCurrency	150
			TotalCount	18
			MaxActive	18
			SpawnCount	6
			WaitBeforeStarting	6
			WaitBetweenSpawns	10
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavy_Deflector_Booster
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickheal
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickheal
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickheal
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickheal
				}
				TFBot
				{
					Template	T_TFBot_Medic_Kritzkrieg_Armored
				}
			}
		}
		WaveSpawn
		{
			Name	w2_b
			WaitForAllDead	w2_a
			TotalCurrency	100
			TotalCount	42
			MaxActive	12
			SpawnCount	6
			WaitBeforeStarting	0
			WaitBetweenSpawns	6
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Pyro_Dragon
			}
		}
		WaveSpawn
		{
			Name	w2_baseball
			WaitForAllDead	w2_a
			TotalCurrency	150
			TotalCount	8
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	15
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Fast_Baseball
			}
		}
		WaveSpawn
		{
			Name	w2_tank
			WaitForAllSpawned	w2_a
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Tank
			{
				Health	20000
				Name	Tank
				Speed	75
				StartingPathTrackNode	tank_path_b_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	w2_b
			WaitForAllDead	w2_a
			TotalCurrency	200
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	5
			WaitBetweenSpawns	25
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Sniper_Huntsman_Flame
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Regen
				}
			}
		}
		WaveSpawn
		{
			Name	w2_c
			WaitForAllSpawned	w2_b
			TotalCurrency	200
			TotalCount	12
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	15
			WaitBetweenSpawns	15
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavy_Deflector_Booster
				}
				TFBot
				{
					Template	T_TFBot_Medic_Kritzkrieg_Armored
				}
				TFBot
				{
					Template	T_TFBot_Medic_Kritzkrieg_Armored
				}
				TFBot
				{
					Template	T_TFBot_Medic_Kritzkrieg_Armored
				}			
			}
		}
		WaveSpawn
		{
			Name	w2_tank
			WaitForAllDead	w2_b
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Tank
			{
				Health	25000
				Name	Tank
				Speed	75
				StartingPathTrackNode	tank_path_b_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	w2_c
			WaitForAllSpawned	w2_b
			TotalCurrency	150
			TotalCount	40
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	10
			WaitBetweenSpawns	6
			Where	spawnbot
			RandomChoice
			{			
		    	TFBot
			    {
				    Template	T_TFBot_Demo_Loosecannon
		    	}
				TFBot
			    {
				    Template	T_TFBot_Soldier_Extended_Battalion
		    	}				
			}
		}
	}
	//1000+1300+1400 Total:3700
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w3_a
			TotalCurrency	100
			TotalCount	30
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	4
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Scatter
				}
				TFBot
				{
					Template	T_TFBot_Medic_Shield_Quickfix
				}
			}
		}
		WaveSpawn
		{
			Name	w3_demo
			TotalCurrency	200
			TotalCount	15
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	6
			WaitBetweenSpawns	12
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_DemoKnight_BattleAxe
			}
		}
		WaveSpawn
		{
			Name	w3_a
			TotalCurrency	200
			TotalCount	10
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns	15
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Scout_FAN_Armored 
			}
		}
		WaveSpawn
		{
			Name	w3_a1
			TotalCurrency	150
			TotalCount	24
			MaxActive	8
			SpawnCount	8
			WaitBeforeStarting	6
			WaitBetweenSpawns	6
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Heavy_Tomislav
			}
		}
		WaveSpawn
		{
			Name	w3_a
			WaitForAllSpawned	w3_a1
			TotalCurrency	150
			TotalCount	24
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	10
			WaitBetweenSpawns	6
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman_Spammer_Penetration
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Demo_Blast
				}
				TFBot
				{
					Template	T_TFBot_Demo_Blast
				}
			}
		}
		WaveSpawn
		{
			Name	w3_support1
			WaitForAllDead	w3_a
			TotalCurrency	150
			TotalCount	40
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Where	spawnbot
			Support	1
			TFBot
			{
                Template  T_TFBot_Heavy_Heavyweight_Armored
			}
		}
		WaveSpawn
		{
			Name	w3_b1
			WaitForAllDead	w3_a
			TotalCurrency	150
			TotalCount	6
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	12
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Demo_Charger_Burst
			}
		}
		WaveSpawn
		{
			Name	w3_c
			WaitForAllSpawned	w3_b1
			TotalCurrency	150
			TotalCount	8
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	18
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Charger_Burst
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Vaccinator_Switch
				}
			}
		}
		WaveSpawn
		{
			Name	w3_b2
			WaitForAllDead	w3_a
			TotalCurrency	150
			TotalCount	8
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	8
			WaitBetweenSpawns	12
			Where	spawnbot
			TFBot
			{
				Template   T_TFBot_Giant_Scout_Blaster_Pusher
			}
		}		
		WaveSpawn
		{
			Name	w3_b2
			WaitForAllDead	w3_a
			TotalCurrency	200
			TotalCount	20
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	2
			WaitBetweenSpawns	4
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Soldier_Scatter
			}
		}
		WaveSpawn
		{
			Name	w3_support2
			WaitForAllSpawned	w3_b2
			TotalCurrency	200
			TotalCount	40
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	12
			WaitBetweenSpawns	6
			Where	spawnbot
			Support	1
			RandomChoice
			{
				TFBot
				{
					Template	T_TFBot_Scout_FastFire
				}
				TFBot
				{
					Template	T_TFBot_Pyro_Backburner
				}
			}
		}
	}
	//1000+1300+1400+1800 Total:5000
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w4_a
			TotalCurrency	200
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Soldier_Blast_Spammer_Homing
				Attributes UseBossHealthBar
				Health  45000
			}
		}
		WaveSpawn
		{
			Name	w4_a1
			TotalCurrency	100
			TotalCount	28
			MaxActive	16
			SpawnCount	4
			WaitBeforeStarting	6
			WaitBetweenSpawns	2
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Demo_Loch_Burst_Shield
				Attributes	AlwaysCrit
			}
		}
		WaveSpawn
		{
			Name	w4_a
			WaitForAllSpawned	w4_a1
			TotalCurrency	100
			TotalCount	15
			MaxActive	9
			SpawnCount	3
			WaitBeforeStarting	12
			WaitBetweenSpawns	15
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_RocketShotgun_Spammer
				}
				TFBot
				{
					Template	T_TFBot_Medic_Armored
				}
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Directhit_Barrage_Buff
				}
			}
		}
		WaveSpawn
		{
			Name	w4_a
			WaitForAllSpawned	w4_a1
			TotalCurrency	150
			TotalCount	25
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	12
			WaitBetweenSpawns	15
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Stun_Spammer
					Attributes	AlwaysCrit
				}
				TFBot
				{
					Template	T_TFBot_Medic_Long_Quickfix
				}
				TFBot
				{
					Template	T_TFBot_Medic_Long_Quickfix
				}
				TFBot
				{
					Template	T_TFBot_Medic_Long_Quickfix
				}
				TFBot
				{
					Template	T_TFBot_Medic_Long_Quickfix
				}
			}
		}
		WaveSpawn
		{
			Name	w4_tank
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Tank
			{
				Health	25000
				Name	Tank
				Speed	75
				StartingPathTrackNode	tank_path_a_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	w4_tank
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Tank
			{
				Health	25000
				Name	Tank
				Speed	75
				StartingPathTrackNode	tank_path_b_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	w4_b
			WaitForAllSpawned	w4_a
			TotalCurrency	100
			TotalCount	12
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	20
			WaitBetweenSpawns	25
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavy_Healonhit
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Kritzkrieg_Quickheal
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Blinking
				}
			}
		}
		WaveSpawn
		{
			Name	w4_tank
			WaitForAllDead	w4_a
			TotalCurrency	150
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	15
			WaitBetweenSpawns	30
			Tank
			{
				Health	25000
				Name	Tank
				Speed	75
				StartingPathTrackNode	tank_path_b_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	w4_b1
			WaitForAllDead	w4_a
			TotalCurrency	200
			TotalCount	30
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Sniper_Hunter
			}
		}
		WaveSpawn
		{
			Name	w4_b
			WaitForAllSpawned	w4_b1
			TotalCurrency	100
			TotalCount	25
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	5
			WaitBetweenSpawns	5
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Scout_Bonk_Fast
				Attributes	AlwaysCrit
			}
		}
		WaveSpawn
		{
			Name	w4_b
			WaitForAllDead	w4_a
			TotalCurrency	100
			TotalCount	18
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	4
			WaitBetweenSpawns	6
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Demoman_Samurai
			}
		}
	}
	//1000+1300+1400+1800+1500 Total:6500
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w5_tank
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Tank
			{
				Health	35000
				Name	Tank
				Speed	75
				StartingPathTrackNode	tank_path_a_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	w5_a
			TotalCurrency	400
			TotalCount	30
			MaxActive	20
			SpawnCount	5
			WaitBeforeStarting	6
			WaitBetweenSpawns	8
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro_Dragon_Heal
					Attributes  "AlwaysCrit"
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickuber_Click
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickuber_Click
				}
				TFBot
				{
					Template	T_TFBot_Heavy_Deflector_Hyper
				}
				TFBot
				{
					Template	T_TFBot_Heavy_Deflector_Hyper
				}
			}
		}
		WaveSpawn
		{
			Name	w5_b
			WaitForAllDead	w5_a
			TotalCurrency	100
			TotalCount	48
			MaxActive	16
			SpawnCount	8
			WaitBeforeStarting	0
			WaitBetweenSpawns	6
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Demo_Scatter
					Attributes	AlwaysCrit
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	w5_b
			WaitForAllDead	w5_a
			TotalCurrency	100
			TotalCount	12
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	8
			Where	spawnbot
		    TFBot
	    	{
		        Template	T_TFBot_Giant_Scout_Blaster_Hyper
		    }
		}
		WaveSpawn
		{
			Name	w5_tank
			WaitForAllDead	w5_b
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Tank
			{
				Health	40000
				Name	Tank
				Speed	75
				StartingPathTrackNode	tank_path_a_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	w5_c
			WaitForAllSpawned	w5_b
			TotalCurrency	100
			TotalCount	6
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	15
			WaitBetweenSpawns	25
			Where	spawnbot
			Squad
			{
		    	TFBot
	    		{
		    		Template	T_TFBot_Giant_Demo_Spammer_Hyper
		     	}
				TFBot
	    		{
		    		Template	T_TFBot_Giant_Medic
		     	}
			}
		}
		WaveSpawn
		{
			Name	w5_c
			WaitForAllSpawned	w5_b
			TotalCurrency	300
			TotalCount	50
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	15
			WaitBetweenSpawns	5
			Where	spawnbot
			RandomChoice
			{
		    	TFBot
		    	{
			    	Template	T_TFBot_Soldier_Burst_Conch
		    	}
				TFBot
		    	{
			    	Template	T_TFBot_Soldier_Burst_Conch
		    	}
				TFBot
		    	{
			    	Template	T_TFBot_Soldier_Burst_Conch
					Attributes  AlwaysCrit
		    	}
				TFBot
		    	{
			    	Template	T_TFBot_Scout_Jumping_Sandman_Armored
		    	}
			}
		}
		WaveSpawn
		{
			Name	w5_c
			WaitForAllSpawned	w5_b
			TotalCurrency	100
			TotalCount	28
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns	4
			Where	spawnbot
			Squad
			{
		    	TFBot
	    		{
		    		Template	T_TFBot_Heavy_Crit
		     	}
				TFBot
	    		{
		    		Template	T_TFBot_Medic
		     	}
			}
		}
	}
	//1000+1300+1400+1800+1500+1400 Total:7900
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w6_a
			TotalCurrency	200
			TotalCount	20
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	5
			WaitBetweenSpawns	15
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavy_Brassbeast_Hyper
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickuber_Armored
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickuber_Armored
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickuber_Armored
				}
				TFBot
				{
					Template	T_TFBot_Medic_Shield_Armored
				}
			}
		}
		WaveSpawn
		{
			Name	w6_support1
			TotalCurrency	150
			TotalCount	40
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	6
			Where	spawnbot
			Support	1
			TFBot
			{
				Template	T_TFBot_Demo_Golfman
			}
		}
		WaveSpawn
		{
			Name	w6_a1
			TotalCurrency	150
			TotalCount	28
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	4
			WaitBetweenSpawns	4
			Where	spawnbot
		    TFBot
	    	{
		        Template	T_TFBot_Demo_Burst_Hyper
		    }
		}
		WaveSpawn
		{
			Name	w6_a
			WaitForAllSpawned	w6_a1
			TotalCurrency	100
			TotalCount	20
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	4
			WaitBetweenSpawns	4
			Where	spawnbot
		    TFBot
	    	{
		        Template	T_TFBot_Scout_Blaster_Hyper
		    }
		}
		WaveSpawn
		{
			Name	w6_support2
			WaitForAllDead	w6_a
			TotalCurrency	200
			TotalCount	50
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	4
			Support	1
			Where	spawnbot
			Squad
			{
		    	TFBot
	    		{
		    		Template	T_TFBot_Heavy_Natascha_Hyper
		     	}
				TFBot
	    		{
		    		Template	T_TFBot_Medic_Vaccinator_Bullet_Armored
		     	}
			}
		}
		WaveSpawn
		{
			Name	w6_support3
			WaitForAllDead	w6_a
			TotalCurrency	200
			TotalCount	50
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	4
			WaitBetweenSpawns	4
			Support	1
			Where	spawnbot
			Squad
			{
		    	TFBot
	    		{
		    		Template	T_TFBot_Soldier_Barrage
					Attributes	AlwaysCrit
		     	}
				TFBot
	    		{
		    		Template	T_TFBot_Medic_Vaccinator_Blast_Armored
		     	}
			}
		}
		WaveSpawn
		{
			Name	w6_support3
			WaitForAllDead	w6_a
			TotalCurrency	200
			TotalCount	50
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	8
			WaitBetweenSpawns	4
			Support	1
			Where	spawnbot
			Squad
			{
		    	TFBot
	    		{
		    		Template	T_TFBot_Pyro_Future
		     	}
				TFBot
	    		{
		    		Template	T_TFBot_Medic_Vaccinator_Fire_Armored
		     	}
			}
		}
		WaveSpawn
		{
			Name	w6_b
			WaitForAllSpawned	w6_a
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	5
			WaitBetweenSpawns	25
			Where	spawnbot
			Squad
			{
		    	TFBot
	    		{
		    		Template	T_TFBot_Giant_Sniper_Huntsman_Hyper_Penetration
		     	}
				TFBot
	    		{
		    		Template	T_TFBot_Giant_Medic_Armored
		     	}
			}
		}
		WaveSpawn
		{
			Name	w6_c
			WaitForAllSpawned	w6_b
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	25
			WaitBetweenSpawns	25
			Where	spawnbot
			Squad
			{
		    	TFBot
	    		{
		    		Template	T_TFBot_Giant_Demo_Nuker
		     	}
				TFBot
	    		{
		    		Template	T_TFBot_Giant_Medic_Uber_Extended
		     	}
			}
		}
	}
	//1000+1300+1400+1800+1500+1400+1400 Total:9300
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w7_tank
			TotalCurrency	75
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Tank
			{
				Health	40000
				Name	Tank
				Speed	75
				StartingPathTrackNode	tank_path_b_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	w7_tank
			TotalCurrency	75
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	25
			WaitBetweenSpawns	0
			Tank
			{
				Health	40000
				Name	Tank
				Speed	75
				StartingPathTrackNode	tank_path_a_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	w7_a
			TotalCurrency	200
			TotalCount	16
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	25
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Tankbuster
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Vaccinator_Bullet
					Health	4500
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Vaccinator_Blast
					Health	4500
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Vaccinator_Fire
					Health	4500
				}
			}
		}
		WaveSpawn
		{
			Name	w7_a1
			TotalCurrency	150
			TotalCount	24
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	4
			WaitBetweenSpawns	4
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavy_Dragon
				}
				TFBot
				{
					Template	T_TFBot_Medic_Shield
				}
			}
		}
		WaveSpawn
		{
			Name	w7_a
			WaitForAllSpawned	w7_a1
			TotalCurrency	150
			TotalCount	40
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	16
			WaitBetweenSpawns	4
			Where	spawnbot
		    TFBot
	    	{
		        Template	T_TFBot_Demo_Loch_Hyper_Shield
		    }
		}
		WaveSpawn
		{
			Name	w7_support
			TotalCurrency	150
			TotalCount	40
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	20
			WaitBetweenSpawns	10
			Where	spawnbot
			Support	1
		    TFBot
	    	{
		        Template	T_TFBot_Soldier_Tanker
		    }
		}
		WaveSpawn
		{
			Name	w7_tank
			WaitForAllSpawned	w7_a1
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	15
			WaitBetweenSpawns	0
			Tank
			{
				Health	45000
				Name	Tank
				Speed	75
				StartingPathTrackNode	tank_path_a_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	w7_a
			WaitForAllSpawned	w7_a1
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	12
			WaitBetweenSpawns	36
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro_Backburner
					Attributes	AlwaysCrit
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Uber_Regen
				}
			}
		}
		WaveSpawn
		{
			Name	w7_tank
			WaitForAllDead	w7_a
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	20
			WaitBetweenSpawns	0
			Tank
			{
				Health	45000
				Name	Tank
				Speed	75
				StartingPathTrackNode	tank_path_b_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	w7_b
			WaitForAllDead	w7_a
			TotalCurrency	200
			TotalCount	16
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	25
			Where	spawnbot
			Squad
			{
		    	TFBot
	    		{
		    		Template	T_TFBot_Giant_Heavy_Booster_Hyper
		     	}
				TFBot
	    		{
		    		Template	T_TFBot_Giant_Medic
		     	}
			}
		}
		WaveSpawn
		{
			Name	w7_b
			WaitForAllDead	w7_a
			TotalCurrency	50
			TotalCount	10
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Hyper
			}				
		}
		WaveSpawn
		{
			Name	w7_b1
			WaitForAllDead	w7_a
			TotalCurrency	100
			TotalCount	40
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	5
			WaitBetweenSpawns	5
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Soldier_Airstrike_Hyper
			}
		}
		WaveSpawn
		{
			Name	w7_b
			WaitForAllSpawned	w7_b1
			TotalCurrency	50
			TotalCount	20
			MaxActive	10
			SpawnCount	2
			WaitBeforeStarting	8
			WaitBetweenSpawns	4
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman_Hyper_Multishot_Homing
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickheal_Armored
				}
			}
		}
	}
	//1000+1300+1400+1800+1500+1400+1400+1600 Total:10900
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w8_a1
			TotalCurrency	100
			TotalCount	30
			MaxActive	20
			SpawnCount	10
			WaitBeforeStarting	0
			WaitBetweenSpawns	4
			Where	spawnbot
			Support	Limited
		    TFBot
	    	{
		        Template	T_TFBot_Soldier_Spammer_Homing_Hyper
		    }
		}
		WaveSpawn
		{
			Name	w8_a
			WaitForAllSpawned	w8_a1
			TotalCurrency	400
			TotalCount	15
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	10
			WaitBetweenSpawns	20
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavy_Deflector_Pusher
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Kritzkrieg_Armored
				}
			}
		}
		WaveSpawn
		{
			Name	w8_tank
			TotalCurrency	200
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	30
			WaitBetweenSpawns	0
			Tank
			{
				Health	50000
				Name	Tank
				Speed	75
				StartingPathTrackNode	tank_path_a_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	w8_a2
			WaitForAllDead	w8_a1
			TotalCurrency	150
			TotalCount	28
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	4
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Soldier_Burst_Hyper
			}
		}
		WaveSpawn
		{
			Name	w8_a2
			WaitForAllDead	w8_a1
			TotalCurrency	150
			TotalCount	16
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	4
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Burst_Hyper
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickheal_Armored
				}
			}
		}
		WaveSpawn
		{
			Name	w8_a
			WaitForAllSpawned	w8_a2
			TotalCurrency	150
			TotalCount	12
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	12
			WaitBetweenSpawns	12
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_Pistol_Hyper_Armored
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickheal_Armored
				}
			}
		}
		WaveSpawn
		{
			Name	w8_a
			WaitForAllSpawned	w8_a2
			TotalCurrency	150
			TotalCount	50
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	15
			WaitBetweenSpawns	5
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Demo_Scatter_Hyper
			}
		}
		WaveSpawn
		{
			Name	w8_b
			WaitForAllSpawned	w8_a
			TotalCurrency	100
			TotalCount	16
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	4
			WaitBetweenSpawns	12
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro_Hyper
				}
				TFBot
				{
					Template	T_TFBot_Medic_Hyper
				}
			}
		}
		WaveSpawn
		{
			Name	w8_b
			WaitForAllSpawned	w8_a
			TotalCurrency	100
			TotalCount	16
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	4
			WaitBetweenSpawns	12
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Barrage_Hyper
				}
				TFBot
				{
					Template	T_TFBot_Medic_Hyper
				}
			}
		}
		WaveSpawn
		{
			Name	w8_b1
			WaitForAllDead	w8_a
			TotalCurrency	100
			TotalCount	48
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	4
			Where	spawnbot
			RandomChoice
			{
				TFBot
				{
					Template	T_TFBot_Scout_Backscatter_Hyper
					Attributes	AlwaysCrit
				}	
				TFBot
				{
					Template	T_TFBot_Heavy_Shotgun_Burst_Hyper
					Attributes	AlwaysCrit
				}
			}
		}
		WaveSpawn
		{
			Name	w8_support1
			WaitForAllDead	w8_b1
			TotalCurrency	100
			TotalCount	20
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	4
			WaitBetweenSpawns	12
			Where	spawnbot
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Spammer_Homing_Hyper
				}
				TFBot
				{
					Template	T_TFBot_Medic_Long_Quickfix
				}
			}
		}
		WaveSpawn
		{
			Name	w8_tank
			WaitForAllDead	w8_b1
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	60
			WaitBetweenSpawns	0
			Tank
			{
				Health	60000
				Name	Tank
				Speed	50
				StartingPathTrackNode	tank_path_b_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	w8_c
			WaitForAllSpawned	w8_b1
			TotalCurrency	50
			TotalCount	8
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	12
			WaitBetweenSpawns	12
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Sniper_SMG_Spammer_Hyper
				Attributes	AlwaysCrit
			}
		}
		WaveSpawn
		{
			Name	w8_support2
			WaitForAllDead	w8_b1
			TotalCurrency	100
			TotalCount	40
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	8
			WaitBetweenSpawns	4
			Where	spawnbot
			Support	1
			TFBot
			{
				Template	T_TFBot_Heavy_Tomislav
				Attributes	AlwaysCrit
			}
		}
	}
}