#base robot_giant.pop
#base robot_standard.pop
#base robot_gatebot.pop
#base robot_click.pop
#base robot_click_giant.pop
#base robot_hole.pop
population
{
	StartingCurrency	800
	RespawnWaveTime	6
	CanBotsAttackWhileInSpawnRoom	no
	Mission
	{
		Objective	DestroySentries
		Where	spawnbot
		BeginAtWave	1
		RunForThisManyWaves	7
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	1
		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
		}
	}
	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	Engineer
		Where	spawnbot
		BeginAtWave	2
		RunForThisManyWaves	1
		InitialCooldown	25
		CooldownTime	40
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_Engineer_Sentry_Teleporter
			TeleportWhere spawnbot
			TeleportWhere spawnbot_middle
            TeleportWhere spawnbot_right
			TeleportWhere spawnbot_left
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	3
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper_Camper
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	4
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper_Crocostyle
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	5
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	4
		TFBot
		{
			Template	T_TFBot_Sniper_Semiauto
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	6
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Spy_Hyper
		}
	}
	Mission
	{
		Objective	Engineer
		Where	spawnbot
		BeginAtWave	7
		RunForThisManyWaves	1
		InitialCooldown	20
		CooldownTime	45
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_Engineer_Sentry_Teleporter_Hyper
			TeleportWhere spawnbot
			TeleportWhere spawnbot_middle
            TeleportWhere spawnbot_right
			TeleportWhere spawnbot_left
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	7
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	3
		TFBot
		{
			Template	T_TFBot_Sniper_Magnetic_Hyper
		}
	}
	//800	Total:800
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave1_a
			TotalCurrency	100
			TotalCount	12
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	6
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Heavyweapons_Fist
			}
		}
		WaveSpawn
		{
			Name	wave1_a
			TotalCurrency	150
			TotalCount	20
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	6
			WaitBetweenSpawns	6
			Where	spawnbot_right
			RandomChoice
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Buff_Banner
				}
				TFBot
				{
					Class	Soldier
					Skill	Hard
				}
			}
		}
		WaveSpawn
		{
			Name	wave1_a
			TotalCurrency	200
			TotalCount	6
			MaxActive	6
			SpawnCount	6
			WaitBeforeStarting	20
			WaitBetweenSpawns	0
			Where	spawnbot_left
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	wave1_b1
			WaitForAllSpawned	wave1_a
			TotalCurrency	100
			TotalCount	4
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	15
			WaitBetweenSpawns	12
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Fast
			}
		}
		WaveSpawn
		{
			Name	wave1_b1
			WaitForAllDead	wave1_a
			TotalCurrency	200
			TotalCount	16
			MaxActive	8
			SpawnCount	2
			WaitBeforeStarting	4
			WaitBetweenSpawns	4
			Where	spawnbot_right
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Demo_Loosecannon
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	wave1_b
			WaitForAllDead	wave1_a
			TotalCurrency	100
			TotalCount	40
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	6
			WaitBetweenSpawns	6
			Where	spawnbot
			TFBot
			{
				Class	Scout
				Skill	Expert
			}
		}
		WaveSpawn
		{
			Name	wave1_c
			WaitForAllDead	wave1_b1
			TotalCurrency	200
			TotalCount	6
			MaxActive	6
			SpawnCount	6
			WaitBeforeStarting	6
			WaitBetweenSpawns	0
			Where	spawnbot_middle
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons
					Tag nav_prefer_flank_right
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	wave1_c
			WaitForAllSpawned	wave1_b
			TotalCurrency	150
			TotalCount	20
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	12
			WaitBetweenSpawns	4
			Where	spawnbot
			RandomChoice
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Buff_Banner
				}
				TFBot
				{
					Class	Soldier
					Skill	Expert
				}
				TFBot
				{
					Class	Soldier
					Skill	Expert
				}
			}
		}
		WaveSpawn
		{
			Name	wave1_c
			WaitForAllSpawned	wave1_b
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	15
			WaitBetweenSpawns	10
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Fast
			}
		}
	}
	//800+1300 Total:2100
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave2_a
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot_right
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Directhit_Normal
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	wave2_a
			TotalCurrency	100
			TotalCount	20
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	8
			WaitBetweenSpawns	4
			Where	spawnbot
			TFBot
			{
				Skill	Expert
				Template	T_TFBot_Pyro_Pusher
			}
		}
		WaveSpawn
		{
			Name	wave2_a
			TotalCurrency	100
			TotalCount	16
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	12
			WaitBetweenSpawns	4
			Support	Limited
			Where	spawnbot_left
			TFBot
			{
				Template	T_TFBot_Demoknight_Persian
				Attributes	AlwaysCrit
			}
		}
		WaveSpawn
		{
			Name	wave2_b
			WaitForAllSpawned	wave2_a
			TotalCurrency	100
			TotalCount	3
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	15
			Where	spawnbot_left
			TFBot
			{
				Template	T_TFBot_Giant_Soldier_Directhit_Normal
			}
		}
		WaveSpawn
		{
			Name	wave2_b
			WaitForAllDead	wave2_a
			TotalCurrency	150
			TotalCount	6
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	5
			WaitBetweenSpawns	30
			Where	spawnbot_right
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Spammer_Burst
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	wave2_b1
			WaitForAllDead	wave2_a
			TotalCurrency	125
			TotalCount	24
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	6
			WaitBetweenSpawns	4
			Where	spawnbot
			RandomChoice
			{
				TFBot
				{
					Template	T_TFBot_Heavy_Penetration
					Skill	Expert
				}
				TFBot
				{
					Template	T_TFBot_Heavy_Penetration
					Skill	Normal
				}
				TFBot
				{
					Template	T_TFBot_Heavy_Penetration
					Skill	Normal
				}
			}
		}
		WaveSpawn
		{
			Name	wave2_b
			WaitForAllSpawned	wave2_b1
			TotalCurrency	125
			TotalCount	20
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	6
			WaitBetweenSpawns	4
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavy_Penetration
					Skill	Normal
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	wave2_support1
			WaitForAllDead	wave2_a
			TotalCurrency	100
			TotalCount	40
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	4
			WaitBetweenSpawns	6
			Where	spawnbot
			Support 1
			RandomChoice
			{
				TFBot
				{
					Template	T_TFBot_Demoknight_Persian
					Attributes	AlwaysCrit
				}
				TFBot
				{
					Template	T_TFBot_Demoknight_Persian
				}
				TFBot
				{
					Template	T_TFBot_Demoknight_Persian
				}
				TFBot
				{
					Template	T_TFBot_Demoknight_Persian
				}
			}
		}
		WaveSpawn
		{
			Name	wave2_c
			WaitForAllSpawned	wave2_b
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	15
			WaitBetweenSpawns	0
			Where	spawnbot_left
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Directhit_Normal
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	wave2_support2
			WaitForAllSpawned	wave2_b
			TotalCurrency	200
			TotalCount	40
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	12
			WaitBetweenSpawns	4
			Support	1
			Where	spawnbot
			RandomChoice
			{
				TFBot
				{
					Template	T_TFBot_Demoknight_Persian
					Attributes	AlwaysCrit
				}
				TFBot
				{
					Template	T_TFBot_Demoknight_Persian
				}
				TFBot
				{
					Template	T_TFBot_Demoknight_Persian
				}
				TFBot
				{
					Template	T_TFBot_Demoknight_Persian
				}
			}
		}
	}
	//800+1300+1200 Total:3300
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave3_a
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot_right
			TFBot
			{
				Health	25000
				Name	"Giant Chief Heal-On-Kill Shotgun Heavy"
				Class Heavyweapons
				ClassIcon heavy_shotgun_healonkill
				Skill Expert
				WeaponRestrictions SecondaryOnly
				MaxVisionRange 700
				Attributes MiniBoss
				Attributes HoldFireUntilFullReload
				Attributes UseBossHealthBar
				ItemAttributes
				{
					ItemName "TF_WEAPON_SHOTGUN_HWG"
					"fire rate bonus" 2.5
					"bullets per shot bonus" 10
					"faster reload rate" 0.1
					"heal on kill" 2500
					"damage bonus"	0.5
				}
				CharacterAttributes
				{
					"move speed bonus"	0.6
					"damage force reduction" 0.3
					"airblast vulnerability multiplier" 0.3
					"attack projectiles" 1	// force ability to shoot down projectiles
					"override footstep sound set" 2
				}
				Item	"the tungsten toque"
			}
		}
		WaveSpawn
		{
			Name	wave3_tank
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	8
			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
				}
			}
		}
		WaveSpawn
		{
			Name	wave3_a
			TotalCurrency	200
			TotalCount	36
			MaxActive	18
			SpawnCount	6
			WaitBeforeStarting	10
			WaitBetweenSpawns	4
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Demo_Burst
				Attributes	"AlwaysCrit"
			}
		}
		WaveSpawn
		{
			Name	wave3_bonk
			WaitForAllDead	wave3_a
			TotalCurrency	100
			TotalCount	10
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	20
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Bonk_Baseball
			}
		}
		WaveSpawn
		{
			Name	wave3_b1
			WaitForAllDead	wave3_a
			TotalCurrency	200
			TotalCount	12
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	8
			WaitBetweenSpawns	25
			Where	spawnbot_left
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro_Flareheal
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickheal
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickheal
				}
			}
		}
		WaveSpawn
		{
			Name	wave3_b1
			WaitForAllDead	wave3_a
			TotalCurrency	200
			TotalCount	40
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	6
			WaitBetweenSpawns	4
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Tanker_Normal
				}
				TFBot
				{
					Template	T_TFBot_Medic_Shield_Quickfix
				}
				TFBot
				{
					Template	T_TFBot_Pyro_Heal
					Attributes	"AlwaysFireWeapon"			
				}
				TFBot
				{
					Template	T_TFBot_Pyro_Heal
					Attributes	"AlwaysFireWeapon"			
				}
			}
		}
		WaveSpawn
		{
			Name	wave3_tank
			WaitForAllDead	wave3_a
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	15
			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
				}
			}
		}
		WaveSpawn
		{
			Name	wave3_b
			WaitForAllSpawned	wave3_b1
			TotalCurrency	150
			TotalCount	15
			MaxActive	9
			SpawnCount	3
			WaitBeforeStarting	24
			WaitBetweenSpawns	12
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavy_Shotgun_Healonkill
				}
				TFBot
				{
					Template	T_TFBot_Medic_Shield_Quickfix
				}
				TFBot
				{
					Template	T_TFBot_Medic_Kritzkrieg
				}
			}
		}
		WaveSpawn
		{
			Name	wave3_tank
			WaitForAllDead	wave3_b1
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	10
			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
				}
			}
		}
		WaveSpawn
		{
			Name	wave3_b
			WaitForAllSpawned	wave3_b1
			TotalCurrency	250
			TotalCount	60
			MaxActive	9
			SpawnCount	3
			WaitBeforeStarting	18
			WaitBetweenSpawns	4
			Support	1
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Heavy_HealonHit
			}
		}
	}
	//800+1300+1200+1500 Total:4800
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave4_engi
			TotalCurrency	0
			TotalCount	30
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	6
			WaitBetweenSpawns	10
			Where	spawnbot
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Engineer_Sentry_Tele_Battle_FastBuild
					Attributes 	IgnoreFlag
					TeleportWhere spawnbot
					TeleportWhere spawnbot_middle
					TeleportWhere spawnbot_right
					TeleportWhere spawnbot_left
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	wave4_a
			TotalCurrency	350
			TotalCount	32
			MaxActive	20
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	6
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_FAN_Shotguner
					Tag nav_prefer_flank_left 
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickuber_Faster
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickuber_Faster
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickuber_Faster
				}
			}
		}
		WaveSpawn
		{
			Name	wave4_b2
			WaitForAllDead	wave4_a
			TotalCurrency	250
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	5
			WaitBetweenSpawns	40
			Where	spawnbot_middle
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Burst_Bomber_Blast
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Kritzkrieg_Quickheal
				}
			}
		}
		WaveSpawn
		{
			Name	wave4_b1
			WaitForAllDead	wave4_a
			TotalCurrency	150
			TotalCount	32
			MaxActive	16
			SpawnCount	8
			WaitBeforeStarting	4
			WaitBetweenSpawns	4
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Pyro_Repulsive
					Attributes	"AlwaysCrit"
				}
				TFBot
				{
					Template	T_TFBot_Medic_Shield
				}
			}
		}
		WaveSpawn
		{
			Name	wave4_b
			WaitForAllSpawned	wave4_b1
			TotalCurrency	250
			TotalCount	56
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	12
			WaitBetweenSpawns	4
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Sniper_Hunter_Penetration
			}
		}
		WaveSpawn
		{
			Name	wave4_b
			WaitForAllSpawned	wave4_b1
			TotalCurrency	250
			TotalCount	10
			MaxActive	3
			SpawnCount	1
			WaitBeforeStarting	15
			WaitBetweenSpawns	5
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Demoman_Samurai
			}
		}
		WaveSpawn
		{
			Name	wave4_c
			WaitForAllSpawned	wave4_b2
			TotalCurrency	250
			TotalCount	18
			MaxActive	9
			SpawnCount	3
			WaitBeforeStarting	20
			WaitBetweenSpawns	14
			Where	spawnbot_right
			Where	spawnbot_left
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavy_Fire
					Attributes	"AlwaysCrit"
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickuber_Faster
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickuber_Faster
				}
			}
		}
	}
	//800+1300+1200+1500+1600 Total:6400
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave5_tank
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	30
			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
				}
			}
		}
		WaveSpawn
		{
			Name	wave5_a
			TotalCurrency	150
			TotalCount	8
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	25
			Where	spawnbot_left
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Loch_Tankbuster_NoShield
					Attributes	AlwaysCrit
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Shield_Quickheal
				}
			}
		}
		WaveSpawn
		{
			Name	wave5_a
			TotalCurrency	150
			TotalCount	8
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	15
			WaitBetweenSpawns	20
			Where	spawnbot_right
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro_Future
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Blinking
				}
			}
		}
		WaveSpawn
		{
			Name	wave5_a1
			TotalCurrency	150
			TotalCount	40
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	8
			WaitBetweenSpawns	4
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Soldier_Stun_Spammer
				Attributes	"AlwaysCrit"
			}
		}
		WaveSpawn
		{
			Name	wave5_a
			WaitForAllDead	wave5_a1
			TotalCurrency	250
			TotalCount	24
			MaxActive	12
			SpawnCount	2
			WaitBeforeStarting	4
			WaitBetweenSpawns	2
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavy_Deflector_Pusher
				}
				TFBot
				{
					Template	T_TFBot_Medic_Shield_Kritzkrieg
				}
			}
		}
		WaveSpawn
		{
			Name	wave5_tank
			WaitForAllDead	wave5_a
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	20
			WaitBetweenSpawns	30
			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
				}
			}
		}
		WaveSpawn
		{
			Name	wave5_b
			WaitForAllDead	wave5_a
			TotalCurrency	100
			TotalCount	10
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	6
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Soldier_BurstFire 
			}
		}
		WaveSpawn
		{
			Name	wave5_b
			WaitForAllDead	wave5_a
			TotalCurrency	150
			TotalCount	16
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	4
			WaitBetweenSpawns	10
			Where	spawnbot_right
			TFBot
			{
				Template	T_TFBot_Giant_Scout_FAN_Pusher
			}
		}
		WaveSpawn
		{
			Name	wave5_b
			WaitForAllDead	wave5_a
			TotalCurrency	350
			TotalCount	45
			MaxActive	12
			SpawnCount	3
			WaitBeforeStarting	6
			WaitBetweenSpawns	3
			Where	spawnbot
			RandomChoice
			{
				TFBot
				{
					Template	T_TFBot_Heavyweapons_Fist_Buff
				}
				TFBot
				{
					Template	T_TFBot_Heavyweapons_Fist_Conch
				}
				TFBot
				{
					Template	T_TFBot_Heavy_Juggernaut
				}
			}
		}
	}
	//800+1300+1200+1500+1600+1500 Total:7900
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave6_a
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	25
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro_Dragon_Hyper
					Attributes	AlwaysCrit
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Uber
				}
			}
		}
		WaveSpawn
		{
			Name	wave6_a
			TotalCurrency	150
			TotalCount	28
			MaxActive	16
			SpawnCount	4
			WaitBeforeStarting	6
			WaitBetweenSpawns	4
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavy_Shotgun_Burst_Expert
					Attributes  "AlwaysCrit"
				}
				TFBot
				{
					Template	T_TFBot_Medic_Blinking
				}
			}
		}
		WaveSpawn
		{
			Name	wave6_b
			WaitForAllSpawned wave6_a
			TotalCurrency	100
			TotalCount	20
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	10
			WaitBetweenSpawns	15
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Demo_Spammer_Crit
			}
		}
		WaveSpawn
		{
			Name	wave6_b
			WaitForAllDead	wave6_a
			TotalCurrency	250
			TotalCount	30
			MaxActive	12
			SpawnCount	3
			WaitBeforeStarting	6
			WaitBetweenSpawns	3
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Pyro_Gasjockey
				}
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman_Hyper_Spammer_Penetration
				}
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman_Hyper_Spammer_Penetration
				}
			}
		}
		WaveSpawn
		{
			Name	wave6_c1
			WaitForAllDead	wave6_b
			TotalCurrency	200
			TotalCount	6
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	5
			WaitBetweenSpawns	25
			Where	spawnbot_right
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavy_Natascha_Hyper
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Uber
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Uber
				}
			}
		}
		WaveSpawn
		{
			Name	wave6_c
			WaitForAllDead	wave6_b
			TotalCurrency	300
			TotalCount	70
			MaxActive	15
			SpawnCount	5
			WaitBeforeStarting	5
			WaitBetweenSpawns	5
			Where	spawnbot
			RandomChoice
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Burst_Expert
				}
				TFBot
				{
					Template	T_TFBot_Demo_PowerShot
				}
			}
		}
		WaveSpawn
		{
			Name	wave6_c
			WaitForAllSpawned	wave6_c1
			TotalCurrency	150
			TotalCount	9
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	25
			WaitBetweenSpawns	20
			Where	spawnbot_left
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro_Dragon_Hyper
					Attributes	AlwaysCrit
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickheal_Armored
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickheal_Armored
				}
			}
		}
		WaveSpawn
		{
			Name	wave6_support
			TotalCurrency	150
			TotalCount	40
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns	15
			Where	spawnbot_middle
			Support 1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Engineer_Sentry_Tele_Battle_Armored
					TeleportWhere spawnbot
					TeleportWhere spawnbot_middle
                    TeleportWhere spawnbot_right
		          	TeleportWhere spawnbot_left
				}
				TFBot
				{
					Template	T_TFBot_Medic_Long_Quickfix
				}
			}
		}
	}
	//800+1300+1200+1500+1600+1500 Total:9300
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave7_tank
			TotalCurrency	200
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			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
				}
			}
		}
		WaveSpawn
		{
			Name	wave7_a
			TotalCurrency	100
			TotalCount	12
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns	16
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Rocketshotgun_Hyper
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	wave7_a
			TotalCurrency	100
			TotalCount	88
			MaxActive	16
			SpawnCount	4
			WaitBeforeStarting	16
			WaitBetweenSpawns	4
			Where	spawnbot
			RandomChoice
			{
				TFBot
				{
					Template	T_TFBot_Pyro_Backburner
					Skill  Expert
					Attributes	"AlwaysCrit"
				}
				TFBot
				{
					Template	T_TFBot_Pyro_Hyper
					Attributes	"AlwaysCrit"
				}
				TFBot
				{
					Template	T_TFBot_Pyro_Dragon_Heal
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	wave7_Scout
			WaitForAllDead	wave7_a
			TotalCurrency	100
			TotalCount	15
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	15
			Where	spawnbot_right
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Pistol_Heal_Hyper
				Attributes	AlwaysCrit
			}
		}
		WaveSpawn
		{
			Name	wave7_b
			WaitForAllDead	wave7_a
			TotalCurrency	50
			TotalCount	8
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	10
			WaitBetweenSpawns	25
			Where	spawnbot_right
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Burst_Hyper
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickuber_Armored
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickuber_Armored
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickuber_Armored
				}
			}
		}
		WaveSpawn
		{
			Name	wave7_b
			WaitForAllDead	wave7_a
			TotalCurrency	50
			TotalCount	8
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	10
			WaitBetweenSpawns	25
			Where	spawnbot_left
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Burst_Hyper
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickuber_Armored
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickuber_Armored
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickuber_Armored
				}
			}
		}
		WaveSpawn
		{
			Name	wave7_b1
			WaitForAllDead	wave7_a
			TotalCurrency	100
			TotalCount	30
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	8
			WaitBetweenSpawns	4
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Heavy_Dragon
			}
		}
		WaveSpawn
		{
			Name	wave7_tank
			WaitForAllSpawned	wave7_b
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	40
			Tank
			{
				Health	30000
				Name	Tank
				Speed	75
				Skin    1
				StartingPathTrackNode	boss_path_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	wave7_c
			WaitForAllDead	wave7_b
			TotalCurrency	100
			TotalCount	40
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavy_Tomislav_Hyper
					Attributes	"AlwaysCrit"
				}
				TFBot
				{
					Template	T_TFBot_Medic_Armored
				}
				TFBot
				{
					Template	T_TFBot_Medic_Armored
				}
				TFBot
				{
					Template	T_TFBot_Medic_Armored
				}
				TFBot
				{
					Template	T_TFBot_Medic_Armored
				}
			}
		}
		WaveSpawn
		{
			Name	wave7_c1
			WaitForAllSpawned 	wave7_b1
			TotalCurrency	100
			TotalCount	32
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	16
			WaitBetweenSpawns	4
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Soldier_Scatter_Expert
			}
		}
		WaveSpawn
		{
			Name	wave7_support2
			WaitForAllSpawned	wave7_c1
			TotalCurrency	100
			TotalCount	40
			MaxActive	8
			SpawnCount	2
			WaitBeforeStarting	12
			WaitBetweenSpawns	2
			Support	1
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Scout_Bonk_Fast_Type2
				Attributes	AlwaysCrit
			}
		}
	}
}