#base robot_giant.pop
#base robot_standard.pop
#base robot_gatebot.pop


/////////////////////////////////
///Permafrost Panic - Advanced///
//////////Made by Gian///////////
////////Boss By UltimentM////////
/////////////////////////////////


population
{
	StartingCurrency	400
	RespawnWaveTime	6
	CanBotsAttackWhileInSpawnRoom	no
	
	Mission // Buster - Wave 1-2
	{
		Objective	DestroySentries
		Where	spawnbot
		BeginAtWave	1
		RunForThisManyWaves	2
		InitialCooldown	20
		CooldownTime	20
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_SentryBuster
		}
	}
	Mission // Sniper - Wave 2
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	2
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_Sniper
		}
	}
	Mission // Buster - Wave 3
	{
		Objective	DestroySentries
		Where	spawnbot
		BeginAtWave	3
		RunForThisManyWaves	1
		InitialCooldown	5
		CooldownTime	20
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_SentryBuster
		}
	}
	Mission // Sydney Sniper - Wave 3
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	3
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_Sniper_Sydney_Sleeper
		}
	}
	Mission // Spy - Wave 4
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	4
		RunForThisManyWaves	1
		InitialCooldown	15
		CooldownTime	40
		DesiredCount	3
		TFBot
		{
			Template	T_TFBot_Spy
		}
	}
	Mission // Buster - Wave 4-5
	{
		Objective	DestroySentries
		Where	spawnbot
		BeginAtWave	4
		RunForThisManyWaves	2
		InitialCooldown	16
		CooldownTime	16
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_SentryBuster
		}
	}
	Mission // Sniper - Wave 4-5
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	4
		RunForThisManyWaves	2
		InitialCooldown	28
		CooldownTime	28
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper
		}
	}
	Mission // Buster - Wave 6
	{
		Objective	DestroySentries
		Where	spawnbot
		BeginAtWave	6
		RunForThisManyWaves	1
		InitialCooldown	15
		CooldownTime	15
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_SentryBuster
		}
	}
	Mission // Sniper - Wave 6
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	6
		RunForThisManyWaves	1
		InitialCooldown	25
		CooldownTime	25
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper
		}
	}
	Templates
	{
		T_TFBot_Heavy_Deflector
		{
			Name "Deflector Heavy"
			Class Heavyweapons
			Skill Hard
			ClassIcon heavy_deflector
			MaxVisionRange 1200
			Item "Deflector"
			Item "The U-clank-a"
			ItemAttributes
			{
				ItemName "Deflector"
				"attack projectiles" 1
			}
		}
		T_TFBot_Sniper_Jarate
		{
			Class Sniper
			Name "Jarate Sniper"
			Skill Easy
			ClassIcon sniper_jarate
			Item "Jarate"
			Item "Desert Marauder"
			WeaponRestrictions SecondaryOnly
			CharacterAttributes
			{
				"effect bar recharge rate increased" 0.01
			}
		}
		T_TFBot_Scout_Milk
		{
			WeaponRestrictions	SecondaryOnly
			Skill	Easy
			Name	"Mad Milk Scout"
			Class	Scout
			ClassIcon	scout_milk
			Item	"mad milk"
			ItemAttributes
			{
				ItemName "mad milk"
				"effect bar recharge rate increased" 0.01
			}
		}
		T_TFBot_Pyro_Dragon
		{
			Name "Dragon Pyro"
			Class Pyro
			Skill Hard
			ClassIcon pyro_dragon_fury
			Item "The Dragon's Fury"
			ItemAttributes
			{
				ItemName "The Dragon's Fury"
				"item_meter_charge_rate" 1
			}
		}
		T_TFBot_Scout_Cola
		{
			WeaponRestrictions	PrimaryOnly
			Skill	Hard
			Name	"Cola Scout"
			Class	Scout
			ClassIcon	scout_cola
			Item	"crit-a-cola"
			Item	"bonk helm"
			ItemAttributes
			{
				ItemName "crit-a-cola"
				"effect bar recharge rate increased" 0.75
			}
		}
		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_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
			ClassIcon	medic_kritz
			CharacterAttributes
			{
				"bot medic uber health threshold" 300
			}
			ItemAttributes
			{
				ItemName "the kritzkrieg"
				"ubercharge rate bonus"	5
				"uber duration bonus" 7
			}
		}
		T_TFBot_Medic_Shield
		{
			ClassIcon	medic_shield
			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
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	1A
			TotalCurrency	180
			TotalCount	18
			MaxActive	4
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	1
			WaitBetweenSpawns	10
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavyweapons_Fist
				}
			}
		}
		WaveSpawn
		{
			Name	1B
			TotalCurrency	30
			TotalCount	15
			MaxActive	5
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Pyro
				}
			}
		}
		WaveSpawn
		{
			Name	1C
			WaitForAllDead	1B
			TotalCurrency	60
			TotalCount	30
			MaxActive	10
			SpawnCount	1
			Where	flankers
			WaitBeforeStarting	1
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_Melee
					Attributes	"AlwaysCrit"
					ClassIcon	scout_bat
				}
			}
		}
		WaveSpawn
		{
			Name	1D
			WaitForAllDead	1C
			TotalCurrency	12
			TotalCount	6
			MaxActive	6
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	3
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Pyro
				}
			}
		}
		WaveSpawn
		{
			Name	1E
			WaitForAllSpawned	1D
			TotalCurrency	119
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			Where	spawnbot
			WaitBeforeStarting	6
			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	1F
			WaitForAllSpawned	1D
			TotalCurrency	60
			TotalCount	20
			MaxActive	5
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	9
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Name	Scout
					Class	Scout
					Skill	Hard
					WeaponRestrictions	PrimaryOnly
					Item	"tf_weapon_scattergun"
				}
			}
		}
		WaveSpawn
		{
			Name	1G
			TotalCurrency	60
			TotalCount	20
			MaxActive	2
			SpawnCount	1
			Where	flankers
			WaitBeforeStarting	10
			WaitBetweenSpawns	6
			Support	Limited
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_Milk
				}
			}
		}
		WaveSpawn
		{
			Name	1H
			TotalCurrency	60
			TotalCount	20
			MaxActive	2
			SpawnCount	1
			Where	flankers
			WaitBeforeStarting	10
			WaitBetweenSpawns	6
			Support	Limited
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Sniper_Jarate
				}
			}
		}
		WaveSpawn
		{
			Name	1I
			WaitForAllSpawned	1E
			TotalCurrency	119
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			Where	spawnbot
			WaitBeforeStarting	20
			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	1J
			TotalCurrency	100
			TotalCount	10
			MaxActive	2
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	20
			WaitBetweenSpawns	20
			Support	1
			Squad
			{
				TFBot
				{
					Name	Soldier
					Class	Soldier
					Skill	Normal
					Item	"tf_weapon_rocketlauncher"
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	2A
			TotalCurrency	40
			TotalCount	20
			MaxActive	20
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			Squad
			{
				TFBot
				{
					Name	Soldier
					Class	Soldier
					Skill	Normal
					Item	"tf_weapon_rocketlauncher"
				}
			}
		}
		WaveSpawn
		{
			Name	2B
			TotalCurrency	40
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	flankers
			WaitBeforeStarting	8
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavyweapons_Shotgun
				}
				TFBot
				{
					Template	T_TFBot_Medic_Crit
				}
			}
		}
		WaveSpawn
		{
			Name	2C
			WaitForAllSpawned	2B
			TotalCurrency	40
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	flankers
			WaitBeforeStarting	16
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavyweapons_Shotgun
				}
				TFBot
				{
					Template	T_TFBot_Medic_Crit
				}
			}
		}
		WaveSpawn
		{
			Name	2D
			WaitForAllSpawned	2C
			TotalCurrency	40
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	flankers
			WaitBeforeStarting	16
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavyweapons_Shotgun
				}
				TFBot
				{
					Template	T_TFBot_Medic_Crit
				}
			}
		}
		WaveSpawn
		{
			Name	2E
			WaitForAllDead	2A
			TotalCurrency	92
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Spammer
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	2F
			WaitForAllSpawned	2E
			TotalCurrency	72
			TotalCount	36
			MaxActive	6
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	8
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Name	Scout
					Class	Scout
					Skill	Hard
					WeaponRestrictions	PrimaryOnly
					Item	"tf_weapon_scattergun"
				}
			}
		}
		WaveSpawn
		{
			Name	2G
			WaitForAllSpawned	2E
			TotalCurrency	36
			TotalCount	6
			MaxActive	2
			SpawnCount	1
			Where	flankers
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Health	300
					Name	HeavyWeapons
					Class	HeavyWeapons
					Skill	Normal
					Item	"tf_weapon_minigun"
				}
			}
		}
		WaveSpawn
		{
			Name	2H
			WaitForAllDead	2G
			TotalCurrency	80
			TotalCount	40
			MaxActive	10
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Support	1
			Squad
			{
				TFBot
				{
					Health	175
					Name	Demoknight
					Class	Demoman
					Skill	Normal
					WeaponRestrictions	MeleeOnly
					Item	"ali baba's wee booties"
					Item	"the splendid screen"
					Item	"the scotsman's skullcutter"
					Item	"the glasgow great helm"
					ClassIcon	demo_skullcutter
					CharacterAttributes
					{
						"critboost on kill"	3
						"charge recharge rate increased"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	2I
			WaitForAllDead	2G
			TotalCurrency	145
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_RapidFire
				}
				TFBot
				{
					Template	T_TFBot_Medic_Crit
				}
			}
		}
		WaveSpawn
		{
			Name	2J
			WaitForAllSpawned	2I
			TotalCurrency	145
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	40
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_RapidFire
				}
				TFBot
				{
					Template	T_TFBot_Medic_Crit
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	3A
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_FAN
				}
			}
		}
		WaveSpawn
		{
			Name	3Q
			TotalCurrency	20
			TotalCount	20
			MaxActive	4
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	3
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_RocketPush
				}
			}
		}
		WaveSpawn
		{
			Name	3B
			WaitForAllSpawned	3A
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_FAN
				}
			}
		}
		WaveSpawn
		{
			Name	3C
			WaitForAllSpawned	3B
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_FAN
				}
			}
		}
		WaveSpawn
		{
			Name	3D
			WaitForAllSpawned	3C
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_FAN
				}
			}
		}
		WaveSpawn
		{
			Name	3E
			WaitForAllSpawned	3D
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_FAN
				}
			}
		}
		WaveSpawn
		{
			Name	3F
			WaitForAllSpawned	3B
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				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	3G
			WaitForAllSpawned	3E
			TotalCurrency	18
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	25
			WaitBetweenSpawns	0
			Support	Limited
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Engineer_Sentry_Battle_TeleIn
				}
			}
		}
		WaveSpawn
		{
			Name	3H
			WaitForAllSpawned	3E
			TotalCurrency	60
			TotalCount	30
			MaxActive	18
			SpawnCount	6
			Where	flankers
			WaitBeforeStarting	40
			WaitBetweenSpawns	10
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Concheror
				}
				TFBot
				{
					Name	HeavyWeapons
					Class	HeavyWeapons
					Skill	Normal
					Item	"tf_weapon_minigun"
				}
				TFBot
				{
					Name	HeavyWeapons
					Class	HeavyWeapons
					Skill	Normal
					Item	"tf_weapon_minigun"
				}
				TFBot
				{
					Name	HeavyWeapons
					Class	HeavyWeapons
					Skill	Normal
					Item	"tf_weapon_minigun"
				}
				TFBot
				{
					Name	HeavyWeapons
					Class	HeavyWeapons
					Skill	Normal
					Item	"tf_weapon_minigun"
				}
				TFBot
				{
					Name	HeavyWeapons
					Class	HeavyWeapons
					Skill	Normal
					Item	"tf_weapon_minigun"
				}
			}
		}
		WaveSpawn
		{
			Name	3I
			WaitForAllDead	3H
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				Tank
				{
					Health	26000
					Name	Tank
					Speed	75
					StartingPathTrackNode	boss_path_1
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
				}
			}
		}
		WaveSpawn
		{
			Name	3J
			WaitForAllDead	3H
			TotalCurrency	32
			TotalCount	32
			MaxActive	8
			SpawnCount	1
			Where	flankers
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Name	Scout
					Class	Scout
					Skill	Hard
					WeaponRestrictions	PrimaryOnly
					Item	"tf_weapon_scattergun"
				}
			}
		}
		WaveSpawn
		{
			Name	3K
			WaitForAllDead	3H
			TotalCurrency	40
			TotalCount	4
			MaxActive	4
			SpawnCount	1
			Where	flankers
			WaitBeforeStarting	0
			WaitBetweenSpawns	9
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Buff_Banner
				}
			}
		}
		WaveSpawn
		{
			Name	3L
			WaitForAllSpawned	3J
			TotalCurrency	60
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	13
			WaitBetweenSpawns	42
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_FAN
				}
			}
		}
		WaveSpawn
		{
			Name	3M
			WaitForAllDead	3J
			TotalCurrency	80
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			Where	spawnbot
			WaitBeforeStarting	13
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Natascha
					ClassIcon	heavy_natascha_giant
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	3N
			WaitForAllDead	3J
			TotalCurrency	40
			TotalCount	20
			MaxActive	5
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	13
			WaitBetweenSpawns	0
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_Sandman_FastCharge
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	4A
			TotalCurrency	48
			TotalCount	24
			MaxActive	12
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Pyro_Dragon
				}
				TFBot
				{
					Template	T_TFBot_Medic_Shield
				}
			}
		}
		WaveSpawn
		{
			Name	4B
			WaitForAllDead	4A
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_Jumping_Sandman
				}
			}
		}
		WaveSpawn
		{
			Name	4C
			WaitForAllDead	4A
			TotalCurrency	30
			TotalCount	6
			MaxActive	2
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Concheror
				}
			}
		}
		WaveSpawn
		{
			Name	4D
			WaitForAllDead	4A
			TotalCurrency	30
			TotalCount	6
			MaxActive	2
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Buff_Banner
				}
			}
		}
		WaveSpawn
		{
			Name	4E
			WaitForAllDead	4A
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			Where	spawnbot
			WaitBeforeStarting	15
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Health	4200
					Name	"Dumpster Diver"
					Class	Soldier
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					Attributes	"MiniBoss"
					Attributes	"HoldFireUntilFullReload"
					Item	"the beggar's bazooka"
					Item	"stainless pot"
					ClassIcon	soldier_dumpster_giant
					ItemAttributes
					{
						ItemName	"the beggar's bazooka"
						"faster reload rate"	0.4
						"damage bonus"	1
						"clip size upgrade atomic"	8
						"projectile spread angle penalty"	4
						"auto fires full clip" 0
						"can overload" 0
					}	
					CharacterAttributes
					{
						"damage force reduction"	0.4
						"airblast vulnerability multiplier"	0.4
						"override footstep sound set"	3
						"move speed bonus"	0.5
					}
				}
				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	4F
			WaitForAllDead	4E
			TotalCurrency	60
			TotalCount	30
			MaxActive	10
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_Cola
				}
			}
		}
		WaveSpawn
		{
			Name	4G
			WaitForAllDead	4E
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_Fast
				}
			}
		}
		WaveSpawn
		{
			Name	4H
			WaitForAllSpawned	4F
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_Fast
				}
			}
		}
		WaveSpawn
		{
			Name	4I
			WaitForAllDead	4H
			TotalCurrency	30
			TotalCount	10
			MaxActive	2
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	3
			WaitBetweenSpawns	0
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Pyro
				}
			}
		}
		WaveSpawn
		{
			Name	4J
			WaitForAllDead	4E
			TotalCurrency	30
			TotalCount	30
			MaxActive	6
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	3
			WaitBetweenSpawns	0
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_Melee
				}
			}
		}
		WaveSpawn
		{
			Name	4K
			WaitForAllDead	4H
			TotalCurrency	116
			TotalCount	5
			MaxActive	5
			SpawnCount	5
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Health	4200
					Name	"Dumpster Diver"
					Class	Soldier
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					Attributes	"MiniBoss"
					Attributes	"HoldFireUntilFullReload"
					Item	"the beggar's bazooka"
					Item	"stainless pot"
					ClassIcon	soldier_dumpster_giant
					ItemAttributes
					{
						ItemName	"the beggar's bazooka"
						"faster reload rate"	0.4
						"damage bonus"	1
						"clip size upgrade atomic"	8
						"projectile spread angle penalty"	4
						"auto fires full clip" 0
						"can overload" 0
					}	
					CharacterAttributes
					{
						"damage force reduction"	0.4
						"airblast vulnerability multiplier"	0.4
						"override footstep sound set"	3
						"move speed bonus"	0.5
					}
				}
				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
					}
				}
				TFBot
				{
					Template	T_TFBot_Medic_Crit
				}
			}
		}
		WaveSpawn
		{
			Name	4L
			WaitForAllSpawned	4K
			TotalCurrency	116
			TotalCount	5
			MaxActive	5
			SpawnCount	5
			Where	spawnbot
			WaitBeforeStarting	30
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Health	4200
					Name	"Dumpster Diver"
					Class	Soldier
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					Attributes	"MiniBoss"
					Attributes	"HoldFireUntilFullReload"
					Item	"the beggar's bazooka"
					Item	"stainless pot"
					ClassIcon	soldier_dumpster_giant
					ItemAttributes
					{
						ItemName	"the beggar's bazooka"
						"faster reload rate"	0.4
						"damage bonus"	1
						"clip size upgrade atomic"	8
						"projectile spread angle penalty"	4
						"auto fires full clip" 0
						"can overload" 0
					}	
					CharacterAttributes
					{
						"damage force reduction"	0.4
						"airblast vulnerability multiplier"	0.4
						"override footstep sound set"	3
						"move speed bonus"	0.5
					}
				}
				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
					}
				}
				TFBot
				{
					Template	T_TFBot_Medic_Crit
				}
			}
		}
		WaveSpawn
		{
			Name	4M
			TotalCurrency	40
			TotalCount	20
			MaxActive	4
			SpawnCount	4
			Where	flankers
			WaitBeforeStarting	8
			WaitBetweenSpawns	8
			Support	Limited
			Squad
			{
				TFBot
				{
					Skill	Expert
					Template	T_TFBot_Pyro
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	5A
			TotalCurrency	50
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Burst
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic_Shield
				}
			}
		}
		WaveSpawn
		{
			Name	5B
			TotalCurrency	28
			TotalCount	14
			MaxActive	7
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Health	300
					Name	HeavyWeapons
					Class	HeavyWeapons
					Skill	Normal
					Item	"tf_weapon_minigun"
				}
			}
		}
		WaveSpawn
		{
			Name	5C
			TotalCurrency	20
			TotalCount	2
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	6
			Squad
			{
				TFBot
				{
					Skill	Hard
					WeaponRestrictions	PrimaryOnly
					Template	T_TFBot_Demoman
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	5D
			TotalCurrency	12
			TotalCount	6
			MaxActive	2
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Pyro
				}
			}
		}
		WaveSpawn
		{
			Name	5E
			WaitForAllSpawned	5B
			TotalCurrency	50
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Burst
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic_Shield
				}
			}
		}
		WaveSpawn
		{
			Name	5F
			WaitForAllSpawned	5E
			TotalCurrency	50
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	8
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Burst
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic_Shield
				}
			}
		}
		WaveSpawn
		{
			Name	5G
			WaitForAllSpawned	5F
			TotalCurrency	28
			TotalCount	14
			MaxActive	7
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Health	300
					Name	HeavyWeapons
					Class	HeavyWeapons
					Skill	Normal
					Item	"tf_weapon_minigun"
				}
			}
		}
		WaveSpawn
		{
			Name	5H
			WaitForAllSpawned	5F
			TotalCurrency	20
			TotalCount	2
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	6
			Squad
			{
				TFBot
				{
					Skill	Hard
					WeaponRestrictions	PrimaryOnly
					Template	T_TFBot_Demoman
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	5I
			WaitForAllSpawned	5F
			TotalCurrency	12
			TotalCount	6
			MaxActive	2
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Pyro
				}
			}
		}
		WaveSpawn
		{
			Name	5J
			WaitForAllSpawned	5G
			TotalCurrency	50
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Burst
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic_Shield
				}
			}
		}
		WaveSpawn
		{
			Name	5K
			WaitForAllSpawned	5J
			TotalCurrency	50
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	8
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Burst
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic_Shield
				}
			}
		}
		WaveSpawn
		{
			Name	5L
			WaitForAllSpawned	5K
			TotalCurrency	28
			TotalCount	14
			MaxActive	7
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Health	300
					Name	HeavyWeapons
					Class	HeavyWeapons
					Skill	Normal
					Item	"tf_weapon_minigun"
				}
			}
		}
		WaveSpawn
		{
			Name	5M
			WaitForAllSpawned	5K
			TotalCurrency	20
			TotalCount	2
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	6
			Squad
			{
				TFBot
				{
					Skill	Hard
					WeaponRestrictions	PrimaryOnly
					Template	T_TFBot_Demoman
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	5N
			WaitForAllSpawned	5K
			TotalCurrency	12
			TotalCount	6
			MaxActive	2
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Pyro
				}
			}
		}
		WaveSpawn
		{
			Name	5O
			WaitForAllSpawned	5L
			TotalCurrency	50
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Burst
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic_Shield
				}
			}
		}
		WaveSpawn
		{
			Name	5P
			WaitForAllDead	5O
			TotalCurrency	120
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			Where	spawnbot
			WaitBeforeStarting	3
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons
				}
				TFBot
				{
					Template	T_TFBot_Medic_Crit
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	5Q
			WaitForAllSpawned	5P
			TotalCurrency	120
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			Where	spawnbot
			WaitBeforeStarting	20
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons
				}
				TFBot
				{
					Template	T_TFBot_Medic_Crit
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	5R
			WaitForAllDead	5O
			TotalCurrency	30
			TotalCount	30
			MaxActive	10
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_Melee
					Attributes	"AlwaysCrit"
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	6A
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				Tank
				{
					Health	25000
					Name	Tank
					Speed	75
					StartingPathTrackNode	boss_path_1
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
				}
			}
		}
		WaveSpawn
		{
			Name	6B
			TotalCurrency	40
			TotalCount	40
			MaxActive	8
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_Bonk
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	6C
			TotalCurrency	20
			TotalCount	10
			MaxActive	10
			SpawnCount	2
			Where	flankers
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			Squad
			{
				TFBot
				{
					Name	"Locher Demo"
					Class	Demoman
					Skill	Hard
					Attributes	"HoldFireUntilFullReload"
					Item	"the loch-n-load"
					ClassIcon	demo_blitz
				}
				TFBot
				{
					Skill	Expert
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	6E
			WaitForAllDead	6A
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				Tank
				{
					Health	19000
					Name	Tank
					Speed	75
					StartingPathTrackNode	boss2_path_1
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
				}
			}
		}
		WaveSpawn
		{
			Name	6F
			WaitForAllDead	6A
			TotalCurrency	130
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Deflector
					Attributes	"AlwaysCrit"
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	6G
			WaitForAllDead	6A
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	40
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Scout_Fast
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	6I
			WaitForAllDead	6E
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				Tank
				{
					Health	19000
					Name	Tank
					Speed	75
					StartingPathTrackNode	boss_path_1
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
				}
			}
		}
		WaveSpawn
		{
			Name	6J
			WaitForAllDead	6E
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Spammer
				}
			}
		}
		WaveSpawn
		{
			Name	6K
			WaitForAllSpawned	6J
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Spammer
				}
			}
		}
		WaveSpawn
		{
			Name	6L
			WaitForAllSpawned	6K
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Spammer
				}
			}
		}
		WaveSpawn
		{
			Name	6M
			WaitForAllSpawned	6L
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Spammer
				}
			}
		}
		WaveSpawn
		{
			Name	6N
			WaitForAllSpawned	6M
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Spammer
				}
			}
		}
		WaveSpawn
		{
			Name	6O
			WaitForAllSpawned	6N
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Spammer
				}
			}
		}
		WaveSpawn
		{
			Name	6P
			WaitForAllDead	6E
			TotalCurrency	30
			TotalCount	30
			MaxActive	3
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Scout_Melee
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	6Q
			WaitForAllDead	6E
			TotalCurrency	30
			TotalCount	30
			MaxActive	3
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Support	1
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	6R
			WaitForAllDead	6O
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				Tank
				{
					Health	19000
					Name	Tank
					Speed	75
					Skin	1
					StartingPathTrackNode	boss2_path_1
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
				}
			}
		}
		WaveSpawn
		{
			Name	6S
			WaitForAllDead	6O
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Name	"The Permafrost Pyro"
					Class	Pyro
					ClassIcon	pyro_freeze
					Health	36000
					Skill	Expert
					Scale	1.9
					WeaponRestrictions	PrimaryOnly
					Attributes	"MiniBoss"
					Attributes	"UseBossHealthBar"
					Item	"Napper's Respite"
					ItemAttributes
					{
						ItemName	"tf_weapon_flamethrower"
						"attach particle effect" 703
						"slow enemy on hit"	1.0
						"damage bonus"	1.25
						"airblast pushback scale" 2.0
					}
					CharacterAttributes
					{
						"move speed bonus"	0.45
						"damage force reduction"	0.2
						"airblast vulnerability multiplier"	0.2
						"override footstep sound set" 2
						"rage giving scale" 0.5
						"health regen" 120
					}
				}
			}
		}
	}
}