#base robot_giant.pop
#base robot_standard.pop
#base robot_click.pop
#base robot_click_giant.pop

WaveSchedule
{
	StartingCurrency	600
	RespawnWaveTime	6
	CanBotsAttackWhileInSpawnRoom	no
	
	Mission
	{
		Objective	DestroySentries
		Where	spawnbot
		BeginAtWave	1
		RunForThisManyWaves	7
		InitialCooldown	32
		CooldownTime	64
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_SentryBuster
		}
	}
	
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	1
		RunForThisManyWaves	1
		InitialCooldown	24
		CooldownTime	38
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper_Sydney_Sleeper
		}
	}
	
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	2
		RunForThisManyWaves	1
		InitialCooldown	46
		CooldownTime	22
		DesiredCount	4
		TFBot
		{
			Template	T_TFBot_Sniper
		}
	}
	
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	3
		RunForThisManyWaves	2
		InitialCooldown	24
		CooldownTime	46
		DesiredCount	4
		TFBot
		{
			Template	T_TFBot_Spy
		}
	}
	
	Mission
	{
		Objective	Engineer
		Where	spawnbot_single_flag
		BeginAtWave	5
		RunForThisManyWaves	1
		InitialCooldown	12
		CooldownTime	64
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_Engineer_Sentry_Teleporter
		}
	}
	
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	7
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Health	300
			Name	"Armed Sniper"
			Scale	1.2
			Template	T_TFBot_Sniper_Sydney_Sleeper
			ItemAttributes
			{
				ItemName	"the sydney sleeper"
				"sniper fires tracer"	1
				"fire rate bonus"	0.65
			}
			ItemAttributes
			{
				ItemName	"the tribalman's shiv"
				"fire rate bonus"	0.65
			}
			Item	"the razorback"
			Item	"the tribalman's shiv"
			Item	"the bolt action blitzer"
			Item	"the bolt action blitzer"
		}
	}
	
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave1
			TotalCurrency	200
			TotalCount	8
			MaxActive	8
			SpawnCount	8
			WaitBeforeStarting	4
			WaitBetweenSpawns	0
			RandomSpawn	1
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Demoman_Knight
			}
		}
		WaveSpawn
		{
			TotalCurrency	100
			TotalCount	5
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Where	spawnbot_right
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Crit
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
			}
		}
		WaveSpawn
		{
			TotalCurrency	100
			TotalCount	10
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	2
			WaitBetweenSpawns	2
			Where	spawnbot_left
			TFBot
			{
				ClassIcon	soldier
				Health	200
				Name	Soldier
				Class	Soldier
				Skill	Hard
			}
		}
		WaveSpawn
		{
			Name	wave2
			WaitForAllDead	wave1
			TotalCurrency	200
			TotalCount	10
			MaxActive	10
			SpawnCount	10
			WaitBeforeStarting	3
			WaitBetweenSpawns	10
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Crit
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave1
			TotalCurrency	100
			TotalCount	8
			MaxActive	8
			SpawnCount	8
			WaitBeforeStarting	6
			WaitBetweenSpawns	0
			Where	spawnbot
			TFBot
			{
				ClassIcon	soldier
				Health	200
				Name	Soldier
				Class	Soldier
				Skill	Hard
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave2
			TotalCurrency	100
			TotalCount	32
			MaxActive	18
			SpawnCount	6
			WaitBeforeStarting	2
			WaitBetweenSpawns	3
			Where	spawnbot
			Support	1
			TFBot
			{
				ClassIcon	scout
				Health	125
				Name	Scout
				Class	Scout
				Skill	Hard
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave2
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	18
			WaitBetweenSpawns	7
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Fast
			}
		}
	}
	
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave1
			TotalCurrency	150
			TotalCount	6
			MaxActive	6
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	4
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Fast
			}
		}
		WaveSpawn
		{
			Name	wave2
			WaitForAllSpawned	wave1
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	1
			WaitBetweenSpawns	10
			Where	spawnbot
			Tank
			{
				Health	24000
				Name	Tank
				Speed	75
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave1
			TotalCurrency	100
			TotalCount	8
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	5
			WaitBetweenSpawns	7
			Support	Limited
			Where	spawnbot_right
			Where	spawnbot_left
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Engineer_Sentry_Tele_Battle
				}
				TFBot
				{
					Template	T_TFBot_Medic_SlowRecharge
				}
			}
		}
		WaveSpawn
		{
			Name	wave3
			WaitForAllDead	wave2
			TotalCurrency	200
			TotalCount	45
			MaxActive	15
			SpawnCount	5
			WaitBeforeStarting	2
			WaitBetweenSpawns	1
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Sniper_Huntsman
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave2
			TotalCurrency	150
			TotalCount	12
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	6
			WaitBetweenSpawns	6
			Support	1
			RandomSpawn	1
			Where	spawnbot_invasion
			TFBot
			{
				Template	T_TFBot_Scout_Bonk
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave3
			TotalCurrency	150
			TotalCount	24
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	4
			WaitBetweenSpawns	2
			Where	spawnbot_invasion
			RandomSpawn	1
			Support	1
			TFBot
			{
				Template	T_TFBot_Scout_Bonk
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave3
			TotalCurrency	75
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	12
			WaitBetweenSpawns	0
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Fast
				Tag	"nav_prefer_flank_right"
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave3
			TotalCurrency	75
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	12
			WaitBetweenSpawns	0
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Fast
				Tag	"nav_prefer_flank_left"
			}
		}
	}
	
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave1
			TotalCurrency	200
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	16
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Burst
					Attributes	"AlwaysCrit"
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Regen
				}
			}
		}
		WaveSpawn
		{
			TotalCurrency	200
			TotalCount	24
			MaxActive	18
			SpawnCount	6
			WaitBeforeStarting	0
			WaitBetweenSpawns	3
			Where	spawnbot
			TFBot
			{
				ClassIcon	soldier
				Health	200
				Name	Soldier
				Class	Soldier
				Skill	Expert
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave1
			TotalCurrency	100
			TotalCount	8
			MaxActive	8
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	24
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Extended_Battalion
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave1
			TotalCurrency	600
			TotalCount	100
			MaxActive	18
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns	3
			Support	1
			RandomSpawn	1
			Where	spawnbot
			RandomChoice
			{
				TFBot
				{
					Template	T_TFBot_Demoman
					Skill	Hard
				}
				TFBot
				{
					ClassIcon	soldier
					Health	200
					Name	Soldier
					Class	Soldier
					Skill	Hard
				}
			}
		}
	}
	
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave1
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	12
			WaitBetweenSpawns	10
			Where	spawnbot
			Tank
			{
				Health	42000
				Name	Tank
				Speed	65
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	wave1
			TotalCurrency	100
			TotalCount	42
			MaxActive	16
			SpawnCount	4
			WaitBeforeStarting	8
			WaitBetweenSpawns	3
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman
				}
				TFBot
				{
					Template	T_TFBot_Medic_SlowRecharge
				}
			}
		}
		WaveSpawn
		{
			TotalCurrency	200
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Jumping_Sandman
			}
		}
		WaveSpawn
		{
			TotalCurrency	200
			TotalCount	16
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	20
			WaitBetweenSpawns	6
			Support	Limited
			Where	spawnbot_right
			Where	spawnbot_left
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Engineer_Sentry_Tele_Battle
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
			}
		}
		WaveSpawn
		{
			Name	wave2
			WaitForAllDead	wave1
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	10
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Chief_Soldier_RocketPush
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave1
			TotalCurrency	150
			TotalCount	12
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	10
			WaitBetweenSpawns	6
			RandomSpawn	1
			Where	spawnbot_invasion
			Where	spawnbot_right
			Where	spawnbot_left
			TFBot
			{
				Template	T_TFBot_Demoman_Samurai
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave1
			TotalCurrency	150
			TotalCount	36
			MaxActive	9
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns	1
			RandomSpawn	1
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_ScorchShot_FastShot
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave2
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	36
			WaitBetweenSpawns	3
			Where	spawnbot_right
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Bonk
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave2
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	36
			WaitBetweenSpawns	3
			Where	spawnbot_left
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Bonk
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave2
			TotalCurrency	300
			TotalCount	7
			MaxActive	7
			SpawnCount	7
			WaitBeforeStarting	12
			WaitBetweenSpawns	0
			Support	Limited
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Engineer_Sentry_Teleporter
			}
		}
	}
	
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave1
			TotalCurrency	200
			TotalCount	8
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	19
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_HealOnKill
					Item	"deflector"
					Item	"the u-clank-a"
					Attributes	"AlwaysCrit"
					Attributes	"UseBossHealthBar"
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic
				}
			}
		}
		WaveSpawn
		{
			TotalCurrency	200
			TotalCount	32
			MaxActive	16
			SpawnCount	4
			WaitBeforeStarting	7
			WaitBetweenSpawns	4
			RandomSpawn	1
			Where	spawnbot_right
			Where	spawnbot_left
			Squad
			{
				TFBot
				{
					BehaviorModifiers	Push
					Template	T_TFBot_Soldier_Extended_Concheror
				}
				TFBot
				{
					Template	T_TFBot_Soldier_RocketPush
				}
			}
		}
		WaveSpawn
		{
			Name	wave2
			WaitForAllDead	wave1
			TotalCurrency	400
			TotalCount	16
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	2
			WaitBetweenSpawns	16
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_RocketPush
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Battalion
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave1
			TotalCurrency	200
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	18
			WaitBetweenSpawns	10
			RandomSpawn	1
			Where	spawnbot_right
			Where	spawnbot_left
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Baseball_Armored
				Attributes	"AlwaysCrit"
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave1
			TotalCurrency	300
			TotalCount	32
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	8
			WaitBetweenSpawns	0
			RandomSpawn	1
			Where	spawnbot_right
			Where	spawnbot_left
			TFBot
			{
				ClassIcon	pyro
				Health	175
				Name	Pyro
				Class	Pyro
				Skill	Hard
				Attributes	"AlwaysCrit"
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave2
			TotalCurrency	200
			TotalCount	42
			MaxActive	10
			SpawnCount	3
			WaitBeforeStarting	2
			WaitBetweenSpawns	4
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Heavyweapons_Fist
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave2
			TotalCurrency	200
			TotalCount	24
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	6
			WaitBetweenSpawns	5
			Where	spawnbot_right
			Where	spawnbot_left
			TFBot
			{
				Skill	Expert
				Template	T_TFBot_Soldier_RocketShotgun
				Attributes	"AlwaysCrit"
			}
		}
	}
	
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave1
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_Baseball_Armored
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic
				}
			}
		}
		WaveSpawn
		{
			TotalCurrency	200
			TotalCount	12
			MaxActive	12
			SpawnCount	3
			WaitBeforeStarting	3
			WaitBetweenSpawns	2
			Where	spawnbot_left
			TFBot
			{
				ClassIcon	soldier
				Health	200
				Name	Soldier
				Class	Soldier
				Skill	Expert
				Attributes	"AlwaysCrit"
			}
		}
		WaveSpawn
		{
			Name	wave2
			WaitForAllDead	wave1
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	10
			Where	spawnbot
			Tank
			{
				Health	52000
				Name	Tank
				Speed	65
				Skin	1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave1
			TotalCurrency	200
			TotalCount	24
			MaxActive	16
			SpawnCount	8
			WaitBeforeStarting	8
			WaitBetweenSpawns	4
			Where	spawnbot_right
			Where	spawnbot_left
			Squad
			{
				TFBot
				{
					Health	180
					Template	T_TFBot_Heavyweapons_Gnome
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave2
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_Baseball_Armored
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	wave3
			WaitForAllDead	wave2
			TotalCurrency	300
			TotalCount	27
			MaxActive	12
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns	11
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Spammer
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Battalion
				}
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave2
			TotalCurrency	200
			TotalCount	16
			MaxActive	6
			SpawnCount	1
			WaitBeforeStarting	2
			WaitBetweenSpawns	3
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Soldier_Extended_Concheror
			}
		}
		WaveSpawn
		{
			Name	wave4
			WaitForAllDead	wave3
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	24
			WaitBetweenSpawns	10
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_Baseball_Armored
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic
				}
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave3
			TotalCurrency	200
			TotalCount	32
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	4
			WaitBetweenSpawns	2
			Where	spawnbot_right
			Where	spawnbot_left
			TFBot
			{
				Skill	Normal
				Template	T_TFBot_Scout_Sandman_FastCharge
				Attributes	"AlwaysCrit"
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave4
			TotalCurrency	400
			TotalCount	8
			MaxActive	8
			SpawnCount	1
			WaitBeforeStarting	20
			WaitBetweenSpawns	6
			Where	spawnbot
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Blaster_Hyper
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave4
			TotalCurrency	200
			TotalCount	16
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	9
			WaitBetweenSpawns	2
			Support	1
			Where	spawnbot
			TFBot
			{
				Skill	Expert
				Template	T_TFBot_Pyro
				Attributes	"AlwaysCrit"
			}
		}
	}
	
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			TotalCurrency	500
			TotalCount	200
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	7
			WaitBetweenSpawns	4
			Support	1
			Where	spawnbot_right
			Where	spawnbot_left
			Squad
			{
				TFBot
				{
					ClassIcon	heavy_crit
					Health	300
					Name	"Penetration Heavy"
					Class	HeavyWeapons
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName	"iron curtain"
						"projectile penetration heavy"	1
						"fire rate bonus"	1.5
						"weapon spread bonus"	0.25
					}
					Item	"iron curtain"
					Item	"portal 2 pin"
					Item	"potato hat"
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickFix
				}
			}
		}
		WaveSpawn
		{
			TotalCurrency	500
			TotalCount	100
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	1
			WaitBetweenSpawns	7
			Support	1
			Where	spawnbot_right
			TFBot
			{
				ClassIcon	scout_blaster_nys
				Health	125
				Name	"Bonk! Blaster Pusher"
				Class	Scout
				Skill	Hard
				ItemAttributes
				{
					ItemName	"baby face's blaster"
					"bullets per shot bonus"	3.0
					"fire rate bonus"	1.5
				}
				Item	"baby face's blaster"
				Item	"bonk! atomic punch"
				Item	"the caffeine cooler"
				Item	"the bolt boy"
			}
		}
		WaveSpawn
		{
			TotalCurrency	500
			TotalCount	100
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	9
			WaitBetweenSpawns	4
			Support	1
			Where	spawnbot
			TFBot
			{
				ClassIcon	heavy_deflector
				Health	300
				Name	"Deflector Heavy"
				Class	HeavyWeapons
				Skill	Normal
				ItemAttributes
				{
					ItemName	deflector
					"attack projectiles"	1
				}
				Item	"deflector"
				Item	"the u-clank-a"
			}
		}
		WaveSpawn
		{
			Name	wave1
			TotalCurrency	100
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Barrage_Hyper
					Attributes	"AlwaysCrit"
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Shield
				}
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Extended_Battalion
				}
			}
		}
		WaveSpawn
		{
			Name	wave2
			WaitForAllDead	wave1
			TotalCurrency	100
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			WaitBeforeStarting	2
			WaitBetweenSpawns	10
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Extended_Concheror
				}
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Extended_Buff_Banner
				}
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Extended_Battalion
				}
			}
		}
		WaveSpawn
		{
			Name	wave3
			WaitForAllDead	wave2
			TotalCurrency	200
			TotalCount	64
			MaxActive	10
			SpawnCount	2
			WaitBeforeStarting	2
			WaitBetweenSpawns	2
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	demoknight
					Health	175
					Name	"Hyper Golfmann"
					Class	Demoman
					Skill	Expert
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName	"the chargin' targe"
						"charge recharge rate increased"	2.5
					}
					ItemAttributes
					{
						ItemName	"nessie's nine iron"
						"apply z velocity on damage"	620
						"apply look velocity on damage"	1260
						"damage bonus"	1.5
						"heal on kill"	250
					}
					Item	"ali baba's wee booties"
					Item	"the chargin' targe"
					Item	"nessie's nine iron"
					Item	"tam o'shanter"
					Item	"the gaelic golf bag"
				}
				TFBot
				{
					Template	T_TFBot_Medic_Quickheal
					CharacterAttributes
					{
						"move speed bonus"	1.5
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave4
			WaitForAllDead	wave3
			TotalCurrency	100
			TotalCount	16
			MaxActive	8
			SpawnCount	8
			WaitBeforeStarting	8
			WaitBetweenSpawns	12
			RandomSpawn	1
			Where	spawnbot_invasion
			Squad
			{
				TFBot
				{
					ClassIcon	pyro
					Health	175
					Name	Pyro
					Class	Pyro
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName	tf_weapon_flamethrower
						"damage bonus"	1.5
					}
					CharacterAttributes
					{
						"move speed bonus"	1.6
					}
					Item	"pyro's boron beanie"
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
					CharacterAttributes
					{
						"move speed bonus"	1.6
					}
				}
			}
		}
		WaveSpawn
		{
			WaitForAllDead	wave4
			TotalCurrency	400
			TotalCount	8
			MaxActive	8
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	16
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Name	"Penetration Heavy"
					Template	T_TFBot_Giant_Heavyweapons
					Attributes	"UseBossHealthBar"
					ItemAttributes
					{
						ItemName	"iron curtain"
						"damage bonus"	1.65
						"projectile penetration heavy"	4
						"fire rate bonus"	1.65
						"weapon spread bonus"	0.65
					}
					Item	"iron curtain"
					Item	"portal 2 pin"
					Item	"potato hat"
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Shield
				}
			}
		}
	}
}