#base robot_giant.pop
#base robot_standard.pop
population
{
	StartingCurrency	800
	RespawnWaveTime	6
	CanBotsAttackWhileInSpawnRoom	no
	Templates
	{
		T_TFBot_Mini_SentryBuster
		{
			Scale	0.9
			Health	500
			Name	"Mini Sentry Buster"
			Class	Demoman
			Skill	Expert
			ClassIcon	sentry_buster
			WeaponRestrictions	MeleeOnly
			Item	"tf_weapon_grenadelauncher"
			Item	"tf_weapon_pipebomblauncher"
			Item	"the ullapool caber"
			CharacterAttributes
			{
				"move speed bonus"	4
				"damage force reduction"	0.75
				"airblast vulnerability multiplier"	0.75
				"override footstep sound set"	7
				"cannot be backstabbed"	0
				"Blast radius decreased"	0.5
			}
		}
		T_TFBot_Giant_Pyro_Spammer
		{
			ClassIcon	pyro_bomber
			Health	5000
			Name	"Giant Scorching Pyro"
			Class	Pyro
			Skill	Expert
			WeaponRestrictions	SecondaryOnly
			Attributes	"MiniBoss"
			Attributes	"AlwaysCrit"
			Item	"the scorch shot"
			ItemAttributes
			{
				ItemName	"the scorch shot"
				"fire rate bonus"	0.2
				"damage causes airblast"	1
			}
			CharacterAttributes
			{
				"move speed bonus"	0.45
				"damage force reduction"	0.6
				"airblast vulnerability multiplier"	0.6
				"override footstep sound set"	6
			}
		}
		T_TFBot_Giant_Demo_Blitz
		{
			ClassIcon	demo_blitz
			Health	4500
			Name	"Giant Locher Demoman"
			Class	Demoman
			Skill	Expert
			Item	"the loch-n-load"
			WeaponRestrictions	PrimaryOnly
			Attributes	"MiniBoss"
			Attributes	"HoldFireUntilFullReload"
			ItemAttributes
			{
				ItemName	"the loch-n-load"
				"faster reload rate"	0.5
				"damage bonus"	2
				"clip size upgrade atomic"	6.0
			}
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction"	0.5
				"airblast vulnerability multiplier"	0.5
				"override footstep sound set"	4
			}
		}	
		T_TFBot_Medic_Crit
		{
			ClassIcon medic_kritzk
			Name "Krit Medic"
			Class Medic
			Skill Hard
			Item "the kritzkrieg"
			Attributes SpawnWithFullCharge
			CharacterAttributes
			{
				"bot medic uber health threshold" 300 //Forces Medic to uber at all times
			}
			ItemAttributes
			{
				ItemName "the kritzkrieg"
				"ubercharge rate bonus"	5
				"uber duration bonus" 7
			}
		}
		T_TFBot_Medic_Shield
		{
			ClassIcon	medic_shield_ala
			Name	"Shield Medic"
			Class	Medic
			Skill	Expert
			WeaponRestrictions	SecondaryOnly
			Attributes	"SpawnWithFullCharge"
			Attributes	"ProjectileShield"			//Makes Medic use projectile shield
			Item	"the kritzkrieg"
			ItemAttributes
			{
				ItemName	tf_weapon_syringegun_medic
				"damage penalty"	0.1
			}
			ItemAttributes
			{
				ItemName	"the kritzkrieg"
				"uber duration bonus"	-8			//Only uber with no fade effect, in use because bot medic uber health threshold
				"generate rage on heal"	1			//cannot go below 25, therefore, medic always ubers
				"increase buff duration"	0.5		//Shield duration lasts only 5 seconds instead of 10
			}
		}
		T_TFBot_Medic_Vaccinator
		{
			Health	150
			Name	Vaccinator
			Class	Medic
			Skill	Expert
			Attributes	"SpawnWithFullCharge"
			Item	"tf_weapon_syringegun_medic"
			Item	"the vaccinator"
			Item	"tf_weapon_bonesaw"
			ItemAttributes
			{
				ItemName	tf_weapon_syringegun_medic
				"damage penalty"	0.1
			}
			ItemAttributes
			{
				ItemName	"the vaccinator"
				"ubercharge rate bonus"	25
				"heal rate bonus"	1
				"uber duration bonus"	100
			}
		}
		T_TFBot_Sniper_Huntsman_Fire
		{
			Class Sniper
			Name "Burning Bowman"
			Skill Hard
			ClassIcon sniper_bow_ignite
			WeaponRestrictions PrimaryOnly
			Item "The Huntsman"
			ItemAttributes
			{
				ItemName "The Huntsman"
				"damage bonus" 0.75
				"attach particle effect"	2
				"Set DamageType Ignite"	1
			}
		}
		T_TFBot_Sniper_Machina
		{
			Name	"Machina Sniper"
			Class	Sniper
			Skill	Expert
			Item	"the machina"
			Item	"corona australis"
			ItemAttributes
			{
				ItemName	"the machina"
				"sniper full charge damage bonus"	2
			}
			ItemAttributes
			{
				ItemName	tf_weapon_club
				"bleeding duration"	5
			}
		}
	}
	Mission
	{
		Objective	DestroySentries
		Where	spawnbot
		BeginAtWave	1
		RunForThisManyWaves	5
		InitialCooldown	25
		CooldownTime	25
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Mini_SentryBuster
			Attributes	"MiniBoss"
		}
	}
	Mission
	{
		Objective	DestroySentries
		Where	spawnbot
		BeginAtWave	6
		RunForThisManyWaves	1
		InitialCooldown	20
		CooldownTime	20
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Mini_SentryBuster
			Attributes	"MiniBoss"
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	2
		RunForThisManyWaves	1
		InitialCooldown	40
		CooldownTime	40
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	5
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_Sniper_Sydney_Sleeper
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	6
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper_Machina
		}
	}
	//Wave 1
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	1A
			TotalCurrency	10
			TotalCount	5
			MaxActive	5
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Health	200
					Name	Soldier
					Class	Soldier
					Skill	Normal
					Item	"tf_weapon_rocketlauncher"
					Item	"tf_weapon_shotgun_soldier"
					Item	"tf_weapon_shovel"
				}
			}
		}
		WaveSpawn
		{
			Name	1B
			WaitForAllSpawned	1A
			TotalCurrency	10
			TotalCount	5
			MaxActive	5
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Health	200
					Name	Soldier
					Class	Soldier
					Skill	Normal
					Item	"tf_weapon_rocketlauncher"
					Item	"tf_weapon_shotgun_soldier"
					Item	"tf_weapon_shovel"
				}
			}
		}
		WaveSpawn
		{
			Name	1C
			WaitForAllDead	1B
			TotalCurrency	40
			TotalCount	20
			MaxActive	4
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Health	200
					Name	Soldier
					Class	Soldier
					Skill	Normal
					Item	"tf_weapon_rocketlauncher"
					Item	"tf_weapon_shotgun_soldier"
					Item	"tf_weapon_shovel"
				}
			}
		}
		WaveSpawn
		{
			Name	1D
			WaitForAllDead	1B
			TotalCurrency	30
			TotalCount	15
			MaxActive	3
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Pyro
				}
			}
		}
		WaveSpawn
		{
			Name	1E
			WaitForAllDead	1C
			TotalCurrency	60
			TotalCount	30
			MaxActive	5
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Health	125
					Name	Scout
					Class	Scout
					Skill	Normal
					Item	"tf_weapon_scattergun"
					Item	"tf_weapon_pistol_scout"
					Item	"tf_weapon_bat"
				}
			}
		}
		WaveSpawn
		{
			Name	1F
			WaitForAllDead	1C
			TotalCurrency	260
			TotalCount	8
			MaxActive	4
			SpawnCount	4
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	1G
			WaitForAllDead	1F
			TotalCurrency	40
			TotalCount	30
			MaxActive	8
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					ClassIcon	heavy_warrior
					Name	"Bear Heavy"
					Class	HeavyWeapons
					Skill	Hard
					WeaponRestrictions	MeleeOnly
					Item	"the buffalo steak sandvich"
					Item	"warrior's spirit"
					Item	"horace"
				}
			}
		}
		WaveSpawn
		{
			Name	1H
			WaitForAllDead	1F
			TotalCurrency	200
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					ClassIcon	heavy_grapple_giant
					Health	5000
					Name	"Giant Grapple Heavy"
					Class	HeavyWeapons
					Skill	Expert
					MaxVisionRange	1200
					WeaponRestrictions	PrimaryOnly
					Attributes	"MiniBoss"
					Item	"Natascha"
					ItemAttributes
					{
						ItemName "Natascha"
						"apply look velocity on damage" -120
						"apply z velocity on damage" -120
						"damage penalty" 0.50
					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"damage force reduction"	0.3
						"airblast vulnerability multiplier"	0.3
						"override footstep sound set"	2
					}
				}
			}
		}
		WaveSpawn
		{
			Name	1I
			WaitForAllSpawned	1G
			TotalCurrency	200
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					ClassIcon	heavy_grapple_giant
					Health	5000
					Name	"Giant Grapple Heavy"
					Class	HeavyWeapons
					Skill	Expert
					MaxVisionRange	1200
					WeaponRestrictions	PrimaryOnly
					Attributes	"MiniBoss"
					Item	"Natascha"
					ItemAttributes
					{
						ItemName "Natascha"
						"apply look velocity on damage" -120
						"apply z velocity on damage" -120
						"damage penalty" 0.50
					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"damage force reduction"	0.3
						"airblast vulnerability multiplier"	0.3
						"override footstep sound set"	2
					}
				}
			}
		}
		WaveSpawn
		{
			Name	1J
			WaitForAllDead	1I
			TotalCurrency	30
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	5
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_Sandman
				}
			}
		}
		WaveSpawn
		{
			Name	1K
			WaitForAllDead	1I
			TotalCurrency	120
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
				    Template	T_TFBot_Soldier_Extended_Concheror
				}
			}
		}
	}
	//Wave 2
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	2A
			TotalCurrency	110
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Shotgun
				}
				TFBot
				{
					Template	T_TFBot_Medic_Crit
				}
			}
		}
		WaveSpawn
		{
			Name	2B
			TotalCurrency	30
			TotalCount	30
			MaxActive	6
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Name	"Dragon Pyro"
					Class	Pyro
					Skill	Hard
					ClassIcon	pyro_dragons_fury
					Item	"prehistoric pullover"
					Item	"The Dragon's Fury"
				}
			}
		}
		WaveSpawn
		{
			Name	2C
			WaitForAllSpawned	2B
			TotalCurrency	110
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Shotgun
				}
				TFBot
				{
					Template	T_TFBot_Medic_Crit
				}
			}
		}
		WaveSpawn
		{
			Name	2D
			WaitForAllDead	2C
			TotalCurrency	68
			TotalCount	30
			MaxActive	5
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Health	300
					Name	HeavyWeapons
					Class	HeavyWeapons
					Skill	Normal
					Item	"tf_weapon_minigun"
					Item	"tf_weapon_shotgun_hwg"
					Item	"tf_weapon_fists"
				}
			}
		}
		WaveSpawn
		{
			Name	2E
			WaitForAllDead	2C
			TotalCurrency	6
			TotalCount	6
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	3
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Concheror
				}
			}
		}
		WaveSpawn
		{
			Name	2F
			WaitForAllSpawned	2D
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_Fast
				}
			}
		}
		WaveSpawn
		{
			Name	2G
			WaitForAllDead	2D
			TotalCurrency	8
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			Support	1
			Squad
			{
				TFBot
				{
					ClassIcon	scout_milk
					Name	Milkman
					Class	Scout
					Skill	Hard
					WeaponRestrictions	SecondaryOnly
					Item	"mad milk"
					Item	"the milkman"
					ItemAttributes
					{
						ItemName	"mad milk"
						"charge recharge rate increased"	0.01
					}
				}
			}
		}
		WaveSpawn
		{
			Name	2H
			WaitForAllDead	2D
			TotalCurrency	8
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Demoman
				}
			}
		}
		WaveSpawn
		{
			Name	2I
			WaitForAllDead	2D
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Shotgun
				}
			}
		}
		WaveSpawn
		{
			Name	2J
			WaitForAllSpawned	2I
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	8
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Shotgun
				}
			}
		}
		WaveSpawn
		{
			Name	2K
			WaitForAllSpawned	2J
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			Where	spawnbot
			WaitBeforeStarting	8
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Shotgun
				}
			}
		}
		WaveSpawn
		{
			Name	2L
			WaitForAllDead	2K
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	7
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Crit
				}
			}
		}
		WaveSpawn
		{
			Name	2M
			WaitForAllDead	2K
			TotalCurrency	10
			TotalCount	10
			MaxActive	5
			SpawnCount	5
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Concheror
				}
			}
		}
	}
	//Wave 3
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	3A
			TotalCurrency	54
			TotalCount	18
			MaxActive	6
			SpawnCount	6
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Class	Demoman
					Skill	Expert
					WeaponRestrictions	SecondaryOnly
				}
			}
		}
		WaveSpawn
		{
			Name	3B
			WaitForAllDead	3A
			TotalCurrency	36
			TotalCount	12
			MaxActive	4
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Class	Demoman
					Skill	Expert
					WeaponRestrictions	SecondaryOnly
				}
			}
		}
		WaveSpawn
		{
			Name	3C
			WaitForAllDead	3A
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				Tank
				{
					Health	28000
					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	3D
			WaitForAllSpawned	3C
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	18
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro_Spammer
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	3E
			WaitForAllSpawned	3D
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro_Spammer
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	3F
			WaitForAllSpawned	3E
			TotalCurrency	30
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Support Limited
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Engineer_Sentry_Tele_Battle
				}
			}
		}
		WaveSpawn
		{
			Name	3G
			WaitForAllDead	3E
			TotalCurrency	30
			TotalCount	30
			MaxActive	5
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Health	125
					Name	Scout
					Class	Scout
					Skill	Expert
					Item	"tf_weapon_scattergun"
					Item	"tf_weapon_pistol_scout"
					Item	"tf_weapon_bat"
				}
			}
		}
		WaveSpawn
		{
			Name	3H
			WaitForAllDead	3E
			TotalCurrency	30
			TotalCount	5
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_RocketShotgun
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	3I
			WaitForAllDead	3G
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Burst
				}
			}
		}
		WaveSpawn
		{
			Name	3J
			WaitForAllSpawned	3I
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Burst
				}
			}
		}
		WaveSpawn
		{
			Name	3K
			WaitForAllSpawned	3J
			TotalCurrency	60
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Burst
				}
				TFBot
				{
					Template	T_TFBot_Medic_Crit
				}
			}
		}
		WaveSpawn
		{
			Name	3L
			WaitForAllDead	3K
			TotalCurrency	80
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro_Spammer
				}
				TFBot
				{
					Template	T_TFBot_Medic_Vaccinator
					ClassIcon	medic_bullet
					Attributes VaccinatorBullets
					ItemAttributes
					{
						ItemName "the vaccinator"
						"medigun bullet resist passive" 1
						"medigun bullet resist deployed" 1
					}
				}
				TFBot
				{
					Template T_TFBot_Medic_Vaccinator
					Attributes VaccinatorBlast
					ClassIcon	medic_blast
					ItemAttributes
					{
						ItemName "the vaccinator"
						"medigun blast resist passive" 1
						"medigun blast resist deployed" 1
					}
				}
				TFBot
				{
					Template T_TFBot_Medic_Vaccinator
					ClassIcon	medic_fire
					Attributes VaccinatorFire
					ItemAttributes
					{
						ItemName "the vaccinator"
						"medigun fire resist passive" 1
						"medigun fire resist deployed" 1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	3M
			WaitForAllSpawned	3L
			TotalCurrency	80
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			Where	spawnbot
			WaitBeforeStarting	12
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro_Spammer
				}
				TFBot
				{
					Template	T_TFBot_Medic_Vaccinator
					ClassIcon	medic_bullet
					Attributes VaccinatorBullets
					ItemAttributes
					{
						ItemName "the vaccinator"
						"medigun bullet resist passive" 1
						"medigun bullet resist deployed" 1
					}
				}
				TFBot
				{
					Template T_TFBot_Medic_Vaccinator
					Attributes VaccinatorBlast
					ClassIcon	medic_blast
					ItemAttributes
					{
						ItemName "the vaccinator"
						"medigun blast resist passive" 1
						"medigun blast resist deployed" 1
					}
				}
				TFBot
				{
					Template T_TFBot_Medic_Vaccinator
					ClassIcon	medic_fire
					Attributes VaccinatorFire
					ItemAttributes
					{
						ItemName "the vaccinator"
						"medigun fire resist passive" 1
						"medigun fire resist deployed" 1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	3N
			WaitForAllDead	3K
			TotalCurrency	50
			TotalCount	4
			MaxActive	4
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	3
			WaitBetweenSpawns	0
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman_Fire
				}
			}
		}
	}
	//Wave 4
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	4A
			TotalCurrency	50
			TotalCount	4
			MaxActive	4
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_SunStick
				}
			}
		}
		WaveSpawn
		{
			Name	4B
			TotalCurrency	40
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_ScorchShot_FastShot
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	4C
			TotalCurrency	70
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	12
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	4D
			WaitForAllSpawned	4C
			TotalCurrency	70
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	14
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFbot_Heavyweapons_Heater
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Buff_Banner
				}
			}
		}
		WaveSpawn
		{
			Name	4E
			WaitForAllSpawned	4D
			TotalCurrency	70
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	14
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	4F
			WaitForAllSpawned	4E
			TotalCurrency	70
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	14
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFbot_Heavyweapons_Heater
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Buff_Banner
				}
			}
		}
		WaveSpawn
		{
			Name	4G
			WaitForAllSpawned	4F
			TotalCurrency	70
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	14
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	4H
			WaitForAllSpawned	4G
			TotalCurrency	70
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	14
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFbot_Heavyweapons_Heater
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Buff_Banner
				}
			}
		}
		WaveSpawn
		{
			Name	4I
			WaitForAllSpawned	4H
			TotalCurrency	70
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	14
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	4J
			WaitForAllDead	4I
			TotalCurrency	90
			TotalCount	5
			MaxActive	5
			SpawnCount	5
			Where	spawnbot
			WaitBeforeStarting	20
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFbot_Heavyweapons_Heater
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Buff_Banner
				}
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Concheror
				}
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Battalion
				}
			}
		}
		WaveSpawn
		{
			Name	4K
			WaitForAllSpawned	4J
			TotalCurrency	90
			TotalCount	5
			MaxActive	5
			SpawnCount	5
			Where	spawnbot
			WaitBeforeStarting	12
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFbot_Heavyweapons_Heater
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Buff_Banner
				}
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Concheror
				}
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Battalion
				}
			}
		}
		WaveSpawn
		{
			Name	4L
			WaitForAllDead	4I
			TotalCurrency	40
			TotalCount	10
			MaxActive	4
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Demoman_Knight
							    Attributes	"AlwaysCrit" 
				}
			}
		}
	}
	//Wave 5
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	5A
			TotalCurrency	20
			TotalCount	20
			MaxActive	5
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Class	Pyro
					Skill	Expert
					ClassIcon	pyro_jumping
					AutoJumpMin	5
					AutoJumpMax	10
					Name	"Jumping Pyro"
					Item	"The B.A.S.E. Jumper"
					Attributes	"AlwaysCrit"
					Attributes	"AutoJump"
					CharacterAttributes
					{
						"increased jump height"	5
					}
				}
			}
		}
		WaveSpawn
		{
			Name	5B
			TotalCurrency	80
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	3
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Blitz
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	5C
			WaitForAllSpawned	5A
			TotalCurrency	80
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Blitz
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	5D
			WaitForAllDead	5C
			TotalCurrency	48
			TotalCount	48
			MaxActive	12
			SpawnCount	4
			Where	spawnbot
			WaitBeforeStarting	3
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Class	HeavyWeapons
					Attributes	"AlwaysCrit"
				}
				TFBot
				{
					Template	T_TFBot_Medic_Shield
				}
				TFBot
				{
					Class	Soldier
					Item	"the direct hit"
					ClassIcon	soldier_directhit_lite
					
				}
				TFBot
				{
					Class	Soldier
					Item	"the direct hit"
					ClassIcon	soldier_directhit_lite
					
				}
			}
		}
		WaveSpawn
		{
			Name	5E
			WaitForAllDead	5C
			TotalCurrency	12
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	120
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Spy
				}
			}
		}
		WaveSpawn
		{
			Name	5F
			WaitForAllDead	5C
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	33
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_Fast
				}
			}
		}
		WaveSpawn
		{
			Name	5G
			WaitForAllDead	5D
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	3
			WaitBetweenSpawns	0
			Squad
			{
				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	5H
			WaitForAllSpawned	5G
			TotalCurrency	70
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_HealOnKill
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	5I
			WaitForAllSpawned	5G
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_Fast
				}
			}
		}
		WaveSpawn
		{
			Name	5J
			WaitForAllDead	5H
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	8
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Blitz
				}
			}
		}
		WaveSpawn
		{
			Name	5K
			WaitForAllSpawned	5J
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	4
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Blitz
				}
			}
		}
		WaveSpawn
		{
			Name	5L
			WaitForAllSpawned	5K
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	4
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Blitz
				}
			}
		}
		WaveSpawn
		{
			Name	5M
			WaitForAllSpawned	5L
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	4
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Blitz
				}
			}
		}
		WaveSpawn
		{
			Name	5N
			WaitForAllSpawned	5M
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_Fast
				}
			}
		}
		WaveSpawn
		{
			Name	5O
			WaitForAllDead	5M
			TotalCurrency	15
			TotalCount	3
			MaxActive	3
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	3
			WaitBetweenSpawns	0
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_FAN
					Attributes "AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	5P
			WaitForAllDead	5M
			TotalCurrency	15
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	3
			WaitBetweenSpawns	0
			Support	1
			Squad
			{
				TFBot
				{
					Name "Deflector Heavy"
					Class Heavyweapons
					Skill Hard
					ClassIcon heavy_deflector
					WeaponRestrictions PrimaryOnly
					MaxVisionRange 1200
					Item "Deflector"
					Item "The U-clank-a"
					ItemAttributes
					{
						ItemName "Deflector"
						"attack projectiles" 1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	5Q
			WaitForAllDead	5M
			TotalCurrency	10
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	3
			WaitBetweenSpawns	30
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Engineer_Sentry_Tele_Battle
				}
			}
		}
		WaveSpawn
		{
			Name	5R
			WaitForAllDead	5M
			TotalCurrency	100
			TotalCount	2
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_BurstFire
					Attributes	"AlwaysCrit"
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Regen

				}
			}
		}
	}
	//Wave 6
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	6A
			TotalCurrency	500
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	20
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Health	50000
					Name	"The Fury Dragon"
					Class	Pyro
					Skill	Expert
					ClassIcon	pyro_boss_volcani
					WeaponRestrictions	PrimaryOnly
					Attributes	"MiniBoss"
					Attributes	"UseBossHealthBar"
					Item	"pyromancer's mask"
					Item	"The Dragon's Fury"
					ItemAttributes
					{
						ItemName	"The Dragon's Fury"
						"airblast pushback scale"	2.0
						"damage bonus"	1.5
						"faster reload rate" 0.6
					}
					CharacterAttributes
					{
						"move speed bonus"	0.35
						"health regen"	100
						"damage force reduction"	0.75
						"airblast vulnerability multiplier"	0.25
						"override footstep sound set"	2
						"airblast vertical vulnerability multiplier"	0.1
						"rage giving scale"	0.75
					}
				}
			}
		}
		WaveSpawn
		{
			Name	6B
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_Fast
				}
			}
		}
		WaveSpawn
		{
			Name	6C
			WaitForAllSpawned	6B
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_Fast
				}
			}
		}
		WaveSpawn
		{
			Name	6D
			WaitForAllSpawned	6C
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_Fast
				}
			}
		}
		WaveSpawn
		{
			Name	6E
			WaitForAllSpawned	6D
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_Fast
				}
			}
		}
		WaveSpawn
		{
			Name	6F
			TotalCurrency	30
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	1
			WaitBetweenSpawns	5
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Pyro
				}
			}
		}
		WaveSpawn
		{
			Name	6G
			TotalCurrency	20
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	1
			WaitBetweenSpawns	5
			Support	1
			Squad
			{
				TFBot
				{
					ClassIcon	heavy_heater
					Name	"Huo-Long Heavy"
					Class	HeavyWeapons
					Item	"the huo long heatmaker"
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	6H
			TotalCurrency	30
			TotalCount	3
			MaxActive	3
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	1
			WaitBetweenSpawns	5
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_ScorchShot_FastShot
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	6I
			TotalCurrency	10
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	1
			WaitBetweenSpawns	15
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Concheror
				}
			}
		}
	}
}