#base robot_giant.pop
#base robot_standard.pop
#base robot_click.pop
#base robot_click_giant.pop
#base robot_hole.pop
#base robot_gslam.pop
population
{
	StartingCurrency	700
	RespawnWaveTime	6
	CanBotsAttackWhileInSpawnRoom	no
	AddSentryBusterWhenDamageDealtExceeds	3000
	AddSentryBusterWhenKillCountExceeds	15
	Templates
	{
	}
	Mission
	{
		Objective	DestroySentries
		Where	spawnbot
		BeginAtWave	1
		RunForThisManyWaves	6
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_SentryBuster
		}
	}
	Mission
	{
		Objective	Engineer
		Where	spawnbot
		BeginAtWave	1
		RunForThisManyWaves	1
		InitialCooldown	20
		CooldownTime	20
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_Engineer_Sentry_Teleporter
			TelePortWhere	spawnbot
			TelePortWhere	spawnbot_high
			TelePortWhere	spawnbot_low
			TelePortWhere	spawnbot_mission_sniper
		}
	}
	Mission
	{
		Objective	Engineer
		Where	spawnbot
		BeginAtWave	2
		RunForThisManyWaves	2
		InitialCooldown	20
		CooldownTime	20
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Engineer_Sentry_Teleporter
			TelePortWhere	spawnbot
			TelePortWhere	spawnbot_high
			TelePortWhere	spawnbot_low
			TelePortWhere	spawnbot_mission_sniper
		}
	}
	Mission
	{
		Objective	Engineer
		Where	spawnbot
		BeginAtWave	4
		RunForThisManyWaves	1
		InitialCooldown	15
		CooldownTime	15
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Engineer_Sentry_Teleporter
			Attributes	"AlwaysCrit"
			TelePortWhere	spawnbot
			TelePortWhere	spawnbot_high
			TelePortWhere	spawnbot_low
			TelePortWhere	spawnbot_mission_sniper
		}
	}
	Mission
	{
		Objective	Engineer
		Where	spawnbot
		BeginAtWave	5
		RunForThisManyWaves	2
		InitialCooldown	5
		CooldownTime	5
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Engineer_Sentry_Teleporter_FastBuild
			TelePortWhere	spawnbot
			TelePortWhere	spawnbot_high
			TelePortWhere	spawnbot_low
			TelePortWhere	spawnbot_mission_sniper
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	1
		RunForThisManyWaves	2
		InitialCooldown	20
		CooldownTime	20
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	3
		RunForThisManyWaves	2
		InitialCooldown	20
		CooldownTime	20
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper_Sydney_Sleeper
			Skill	Expert
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	5
		RunForThisManyWaves	1
		InitialCooldown	0
		CooldownTime	0
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_Sniper_Acid
			Skill	Expert
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	6
		RunForThisManyWaves	1
		InitialCooldown	0
		CooldownTime	0
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper_Crocostyle
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	1
		RunForThisManyWaves	2
		InitialCooldown	20
		CooldownTime	20
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_Spy
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	3
		RunForThisManyWaves	1
		InitialCooldown	20
		CooldownTime	20
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Spy
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		Explanation	//Dispayed once the wave is initialized
		{
			Line "{blue}this mission made by PYR0"
		}
		WaveSpawn
		{
			Name	w1_scout
			TotalCurrency	60
			TotalCount	12
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	5
			WaitBetweenSpawns	5
			Where	spawnbot_low
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_Shortstop
					Skill	Hard
				}
			}
		}
		WaveSpawn
		{
			TotalCurrency	100
			TotalCount	20
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	10
			WaitBetweenSpawns	5
			WaitForAllDead	w1_giant
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					ClassIcon	heavy
					Health	300
					Name	HeavyWeapons
					Class	HeavyWeapons
					Skill	Normal
				}
			}
		}
		WaveSpawn
		{
			TotalCurrency	120
			TotalCount	20
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	10
			WaitBetweenSpawns	5
			WaitForAllDead	w1_giant
			Where	spawnbot_low
			Squad
			{
				TFBot
				{
					ClassIcon	demo
					Health	200
					Name	Demoman
					Class	Demoman
					Skill	Expert
				}
			}
		}
		WaveSpawn
		{
			TotalCurrency	150
			TotalCount	30
			MaxActive	12
			SpawnCount	6
			WaitBeforeStarting	5
			WaitBetweenSpawns	8
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Pyro_Flaregun
					Skill	Expert
				}
			}
		}
		WaveSpawn
		{
			TotalCurrency	120
			TotalCount	20
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	1
			WaitBetweenSpawns	8
			Where	spawnbot_low
			Squad
			{
				TFBot
				{
					ClassIcon	demo
					Health	175
					Name	Demoman
					Class	Demoman
					Skill	Expert
				}
			}
		}
		WaveSpawn
		{
			Name	w1_giant
			TotalCurrency	120
			TotalCount	3
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	25
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons
				}
			}
		}
		WaveSpawn
		{
			Name	w1_giant_2
			TotalCurrency	80
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	20
			WaitForAllSpawned	w1_giant
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demoman
					ClassIcon	demo_spammer_giant
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		Explanation	//Dispayed once the wave is initialized
		{
			Line "{blue}tank : 40000"
		}
		WaveSpawn
		{
			Name	1550$
			TotalCurrency	204
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	3
			WaitBetweenSpawns	0
			Where	spawnbot
			Squad
			{
				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
		{
			TotalCurrency	40
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_Bonk
					Skill	Expert
				}
			}
		}
		WaveSpawn
		{
			Name	w2_pyro
			TotalCurrency	240
			TotalCount	6
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns	12
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro
				}
				TFBot
				{
					Template	T_TFBot_Medic_Kritzkrieg
				}
			}
		}
		WaveSpawn
		{
			TotalCurrency	120
			TotalCount	3
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	8
			WaitBetweenSpawns	0
			WaitForAllSpawned	w2_pyro
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_Bonk
					Skill	Expert
				}
			}
		}
		WaveSpawn
		{
			Name	w2_soldier
			TotalCurrency	60
			TotalCount	12
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	13
			WaitBetweenSpawns	5
			WaitForAllSpawned	w2_pyro
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Buff_Banner
					Skill	Expert
				}
			}
		}
		WaveSpawn
		{
			Name	w2_soldier
			TotalCurrency	72
			TotalCount	12
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	13
			WaitBetweenSpawns	5
			WaitForAllSpawned	w2_pyro
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Concheror
					Skill	Expert
				}
			}
		}
		WaveSpawn
		{
			Name	w2_soldier
			TotalCurrency	72
			TotalCount	12
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	13
			WaitBetweenSpawns	5
			WaitForAllSpawned	w2_pyro
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Battalion
					Skill	Expert
				}
			}
		}
		WaveSpawn
		{
			Name	w2_scout
			TotalCurrency	32
			TotalCount	8
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			WaitForAllSpawned	w2_soldier
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					ClassIcon	scout
					Health	125
					Name	Scout
					Class	Scout
					Skill	Expert
				}
			}
		}
		WaveSpawn
		{
			Name	w2_scout_2
			TotalCurrency	60
			TotalCount	12
			MaxActive	12
			SpawnCount	12
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			WaitForAllDead	w2_scout
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					ClassIcon	scout
					Health	125
					Name	Scout
					Class	Scout
					Skill	Expert
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	2550$
			TotalCurrency	150
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Kamikaze
				}
			}
		}
		WaveSpawn
		{
			Name	2550$
			TotalCurrency	90
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	1
			WaitBetweenSpawns	1
			Where	spawnbot_low
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Kamikaze
				}
			}
		}
		WaveSpawn
		{
			Name	w3_heavy
			TotalCurrency	140
			TotalCount	28
			MaxActive	14
			SpawnCount	7
			WaitBeforeStarting	0
			WaitBetweenSpawns	8
			WaitForAllDead	2550$
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					ClassIcon	heavy
					Health	300
					Name	HeavyWeapons
					Class	HeavyWeapons
					Skill	Expert
				}
			}
		}
		WaveSpawn
		{
			Name	w3_heavy
			TotalCurrency	140
			TotalCount	28
			MaxActive	14
			SpawnCount	7
			WaitBeforeStarting	0
			WaitBetweenSpawns	8
			WaitForAllDead	2550$
			Where	spawnbot_low
			Squad
			{
				TFBot
				{
					ClassIcon	heavy
					Health	300
					Name	HeavyWeapons
					Class	HeavyWeapons
					Skill	Expert
				}
			}
		}
		WaveSpawn
		{
			Name	w3_giant_pyro
			TotalCurrency	200
			TotalCount	4
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	25
			WaitForAllDead	2550$
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro_Flaregun
				}
			}
		}
		WaveSpawn
		{
			Name	w3_slowcritbarrge
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	8
			WaitBetweenSpawns	0
			WaitForAllDead	2550$
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					ClassIcon	soldier_barrage
					Health	32000
					Name	"Major Crits"
					Scale	1.7
					Class	Soldier
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					Attributes	"HoldFireUntilFullReload"
					Attributes	"MiniBoss"
					Attributes	"UseBossHealthBar"
					ItemAttributes
					{
						ItemName	tf_weapon_rocketlauncher
						"clip size bonus"	26
						"faster reload rate"	0.4
						"fire rate bonus"	0.2
						"projectile spread angle penalty"	5
					}
					CharacterAttributes
					{
						"health regen"	40
						"move speed bonus"	0.5
						"damage bonus"	1.5
						"damage force reduction"	0
						"airblast vulnerability multiplier"	0
						"override footstep sound set"	3
						"airblast vertical vulnerability multiplier"	0
						"Projectile speed increased"	0.35
						"rage giving scale"	0.1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w3_bonk
			TotalCurrency	75
			TotalCount	15
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			WaitForAllDead	w3_heavy
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_Bonk_Expert
				}
			}
		}
		WaveSpawn
		{
			Name	w3_bonk
			TotalCurrency	75
			TotalCount	15
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			WaitForAllDead	w3_heavy
			Where	spawnbot_low
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_Bonk_Expert
				}
			}
		}
		WaveSpawn
		{
			Name	w3_crit
			TotalCurrency	160
			TotalCount	4
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			WaitForAllDead	w3_slowcritbarrge
			Where	spawnbot_low
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Deflector
				}
			}
		}
		WaveSpawn
		{
			Name	w3_crit_2
			TotalCurrency	120
			TotalCount	4
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	5
			WaitForAllSpawned	w3_crit
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Directhit_Normal_NoBuff
					Attributes	"AlwaysCrit"
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		Explanation	//Dispayed once the wave is initialized
		{
			Line "{blue}tank : 18000 + 22000"
		}
		WaveSpawn
		{
			Name	3900$
			TotalCurrency	80
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	20
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Tankbuster
				}
			}
		}
		WaveSpawn
		{
			Name	w4_backup
			TotalCurrency	80
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	20
			WaitForAllDead	3900$
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Extended_Battalion
				}
			}
		}
		WaveSpawn
		{
			Name	w4_tank
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			WaitForAllSpawned	3900$
			Where	spawnbot
			Squad
			{
				Tank
				{
					Health	18000										
					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_tanker
			TotalCurrency	280
			TotalCount	7
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	20
			WaitForAllDead	3900$
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Extended_Battalion
				}
			}
		}
		WaveSpawn
		{
			Name	w4_charge
			TotalCurrency	250
			TotalCount	50
			MaxActive	10
			SpawnCount	10
			WaitBeforeStarting	10
			WaitBetweenSpawns	5
			Where	spawnbot_low
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Demo_Chargeknight
				}
			}
		}
		WaveSpawn
		{
			Name	w4_sandman
			TotalCurrency	105
			TotalCount	21
			MaxActive	7
			SpawnCount	7
			WaitBeforeStarting	10
			WaitBetweenSpawns	5
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_Sandman_Spammer
				}
			}
		}
		WaveSpawn
		{
			Name	w4_sandman_2
			TotalCurrency	105
			TotalCount	21
			MaxActive	7
			SpawnCount	7
			WaitBeforeStarting	5
			WaitBetweenSpawns	5
			WaitForAllDead	w4_sandman
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_Sandman_Spammer
					ClassIcon	scout_stun_spammer_giant
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	w4_tank_2
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			WaitForAllDead	w4_charge
			Where	spawnbot
			Squad
			{
				Tank
				{
					Health	22000								
					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_heavy
			TotalCurrency	200
			TotalCount	5
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	12
			WaitForAllDead	w4_charge
			Where	spawnbot_low
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Shotgun
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	w4_gasjockey
			TotalCurrency	60
			TotalCount	12
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	5
			WaitBetweenSpawns	8
			WaitForAllDead	w4_sandman
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Pyro_Gasjockey
				}
			}
		}
		WaveSpawn
		{
			Name	w4_gasjockey
			TotalCurrency	40
			TotalCount	8
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			WaitForAllDead	w4_sandman
			Where	spawnbot_low
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Pyro_Gasjockey
				}
			}
		}
		WaveSpawn
		{
			Name	w4_smg
			TotalCurrency	0
			TotalCount	99
			MaxActive	9
			SpawnCount	9
			WaitBeforeStarting	15
			WaitBetweenSpawns	0
			WaitForAllDead	w4_gasjockey
			Where	spawnbot_high
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Sniper_SMG
					Skill	Expert
				}
			}
		}
		WaveSpawn
		{
			Name	w4_smg
			TotalCurrency	0
			TotalCount	99
			MaxActive	9
			SpawnCount	9
			WaitBeforeStarting	15
			WaitBetweenSpawns	0
			WaitForAllDead	w4_gasjockey
			Support	1
			Where	spawnbot_low
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Sniper_SMG
					Skill	Expert
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w5_buff
			TotalCurrency	20
			TotalCount	10
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	1
			WaitBetweenSpawns	8
			Where	spawnbot_high
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Direct
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	w5_buff_2
			TotalCurrency	0
			TotalCount	99
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	8
			WaitBetweenSpawns	8
			WaitForAllDead	w5_buff
			Where	spawnbot_high
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Direct
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	5400$
			TotalCurrency	80
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot_low
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Scatter
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Vaccinator_Bullet
					Health	4500
				}
			}
		}
		WaveSpawn
		{
			Name	w5_burst
			TotalCurrency	240
			TotalCount	6
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns	5
			WaitForAllDead	5400$
			Where	spawnbot_low
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Scatter
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Vaccinator_Bullet
					Health	4500
				}
			}
		}
		WaveSpawn
		{
			Name	w5_heavy
			TotalCurrency	150
			TotalCount	30
			MaxActive	9
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			WaitForAllDead	5400$
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavy_Armored
					Skill	Expert
				}
			}
		}
		WaveSpawn
		{
			Name	w5_heavy
			TotalCurrency	150
			TotalCount	30
			MaxActive	9
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			WaitForAllDead	5400$
			Where	spawnbot_low
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavy_Armored
					Skill	Expert
				}
			}
		}
		WaveSpawn
		{
			Name	w5_giant_fan
			TotalCurrency	200
			TotalCount	5
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	15
			WaitForAllDead	w5_burst
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_FAN
					Attributes	"AlwaysFireWeapon"
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	w5_giant_fan
			TotalCurrency	200
			TotalCount	5
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	15
			WaitForAllDead	w5_burst
			Where	spawnbot_low
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_FAN
					Attributes	"AlwaysFireWeapon"
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	w5_pyro
			TotalCurrency	80
			TotalCount	16
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			WaitForAllDead	w5_heavy
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Pyro_Backburner
					Attributes	"AlwaysFireWeapon"
					Skill	Expert
				}
			}
		}
		WaveSpawn
		{
			Name	w5_pyro
			TotalCurrency	80
			TotalCount	16
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			WaitForAllDead	w5_heavy
			Where	spawnbot_low
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Pyro_Backburner
					Attributes	"AlwaysFireWeapon"
					Skill	Expert
				}
			}
		}
		WaveSpawn
		{
			Name	w5_scout
			TotalCurrency	50
			TotalCount	10
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	8
			WaitBetweenSpawns	0
			WaitForAllSpawned	w5_pyro
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_Pistol_Heal
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	w5_scout
			TotalCurrency	50
			TotalCount	10
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	8
			WaitBetweenSpawns	0
			WaitForAllSpawned	w5_pyro
			Where	spawnbot_low
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_Pistol_Heal
					Attributes	"AlwaysCrit"
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		Explanation	//Dispayed once the wave is initialized
		{
			Line "{blue}chief pyro health regen 400, tank : 25000 x 6"
		}
		WaveSpawn
		{
			Name	6800$
			TotalCurrency	120
			TotalCount	4
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	25
			WaitBetweenSpawns	40
			Where	spawnbot
			Squad
			{
				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	w6_tank
			TotalCurrency	60
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	30
			WaitBetweenSpawns	0
			Where	spawnbot
			Squad
			{
				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	w6_chief
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Class	Pyro
					ClassIcon	pyro_hyper_v2_giant
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					Name	"Chief Pyro"
					Health	55000
					Scale	1.9
					Attributes	"MiniBoss"
					Attributes	"UseBossHealthBar"
					ItemAttributes
					{
						ItemName	"tf_weapon_flamethrower"
						"airblast pushback scale"	2.0
						"damage bonus"	5
					}
					CharacterAttributes
					{
						"move speed bonus"	0.4
						"health regen"	400
						"damage force reduction"	0
						"airblast vulnerability multiplier"	0
						"override footstep sound set"	2
						"airblast vertical vulnerability multiplier"	0
						"rage giving scale"	0
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w6_kami
			TotalCurrency	270
			TotalCount	18
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	15
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Kamikaze
				}
				TFBot
				{
					Template	T_TFBot_Medic_Vaccinator_Blast_Click
				}
			}
		}
		WaveSpawn
		{
			Name	w6_smg
			TotalCurrency	150
			TotalCount	10
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	10
			WaitForAllDead	w6_chief
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Sniper_SMG
					Attributes	"AlwaysCrit"
					Attributes	"AlwaysFireWeapon"
				}
			}
		}
		WaveSpawn
		{
			Name	w6_taunt
			TotalCurrency	120
			TotalCount	8
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	5
			WaitBetweenSpawns	15
			WaitForAllDead	w6_smg
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro_Future_Taunt
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	w6_steel
			TotalCurrency	30
			TotalCount	2
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			WaitForAllDead	w6_taunt
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavy_Steelfist
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	w6_pusher
			TotalCurrency	80
			TotalCount	40
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	5
			WaitBetweenSpawns	8
			WaitForAllDead	w6_chief
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavy_Deflector_Pusher
				}
			}
		}
		WaveSpawn
		{
			Name	w6_pusher
			TotalCurrency	80
			TotalCount	40
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	5
			WaitBetweenSpawns	8
			WaitForAllDead	w6_chief
			Where	spawnbot_low
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Demo_Cluster_Blast
				}
			}
		}
		WaveSpawn
		{
			Name	w6_capper
			TotalCurrency	75
			TotalCount	25
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	5
			WaitBetweenSpawns	5
			WaitForAllDead	w6_pusher
			Where	spawnbot_high
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_Raygun_Expert
					Skill	Expert
					Attributes	"AlwaysFireWeapon"			
				}
			}
		}
		WaveSpawn
		{
			Name	w6_air
			TotalCurrency	72
			TotalCount	36
			MaxActive	18
			SpawnCount	9
			WaitBeforeStarting	5
			WaitBetweenSpawns	5
			WaitForAllDead	w6_pusher
			Where	spawnbot_low
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Airstrike_Hyper
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	w6_conch
			TotalCurrency	0
			TotalCount	99
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	5
			WaitForAllDead	w6_pusher
			Where	spawnbot_high
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Concheror
					Skill	Expert
					Attributes	"AlwaysCrit"
				}
			}
		}
	}
}