
#base robot_giant.pop
#base robot_standard.pop
#base robot_gatebot.pop
population
{
	StartingCurrency	1400
	RespawnWaveTime	8
	CanBotsAttackWhileInSpawnRoom	no
	Advanced	1
	Templates
	{
		T_TFBot_Giant_Soldier_SlowBarrage
		{
			ClassIcon	soldier_barrage
			Health	4000
			Name	"Colonel Barrage"
			Class	Soldier
			Skill	Expert
			WeaponRestrictions	PrimaryOnly
			Tag	"bot_giant"
			Attributes	"MiniBoss"
			Attributes	"HoldFireUntilFullReload"
			ItemAttributes
			{
				ItemName	tf_weapon_rocketlauncher
				"clip size upgrade atomic"	26.0
				"faster reload rate"	0.22
				"fire rate bonus"	0.2
				"projectile spread angle penalty"	5
			}
			CharacterAttributes
			{
				"health regen"	40
				"move speed bonus"	0.5
				"damage bonus"	1.5
				"damage force reduction"	0.4
				"airblast vulnerability multiplier"	0.4
				"override footstep sound set"	3
				"airblast vertical vulnerability multiplier"	0.1
				"Projectile speed increased"	0.4
			}
		}
	}
	Mission
	{
		Objective	DestroySentries
		Where	spawnbot
		BeginAtWave	1
		RunForThisManyWaves	6
		CooldownTime	60
		TFBot
		{
			Template	T_TFBot_SentryBuster
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	2
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper
			Attributes	"IgnoreFlag"
			ItemAttributes
			{
				ItemName	"the hitman's heatmaker"
				"silent killer"	1
			}
			Item	"the hitman's heatmaker"
			Item	"sniper pith helmet"
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	3
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper
			Attributes	"IgnoreFlag"
			ItemAttributes
			{
				ItemName	"the hitman's heatmaker"
				"silent killer"	1
			}
			Item	"the hitman's heatmaker"
			Item	"letch's led"
		}
	}
	Mission
	{
		Objective	Engineer
		Where	spawnbot
		BeginAtWave	3
		RunForThisManyWaves	4
		InitialCooldown	60
		CooldownTime	60
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_Engineer_Sentry_Teleporter
			Attributes	"DisableDodge"
			Attributes	"IgnoreFlag"
			Item	"the frontier justice"
			Item	"the jag"
			Item	"the special eyes"
			Item	"mining light"
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	3
		RunForThisManyWaves	2
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Spy
			Attributes	"AlwaysCrit"
			ItemAttributes
			{
				ItemName	"the sharp dresser"
				"crit kill will gib"	1
			}
			Item	"the enforcer"
			Item	"the sharp dresser"
			Item	"the crosslinker's coil"
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		Sound	Announcer.IncomingMob
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w1_scouts_shotgun
			TotalCurrency	50
			TotalCount	16
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.5
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	scout
					Health	125
					Name	Scout
					Class	Scout
					Skill	Normal
					MaxVisionRange	1000
					ItemAttributes
					{
						ItemName	tf_weapon_scattergun
						"damage penalty"	0.5
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w1_soldier_group
			WaitForAllDead	w1_scouts_shotgun
			TotalCurrency	75
			TotalCount	20
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns	2
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	soldier_libertylauncher
					Health	200
					Name	"Liberty Soldier"
					Class	Soldier
					Skill	Hard
					Item	"the liberty launcher"
					Item	"the concheror"
				}
			}
		}
		WaveSpawn
		{
			Name	w1_scouts_bat
			TotalCurrency	25
			TotalCount	10
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	1.5
			WaitBetweenSpawns	15
			Support	1
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	scout_bat
					Health	125
					Name	"Bat Scout"
					Class	Scout
					Skill	Hard
					MaxVisionRange	1000
					WeaponRestrictions	MeleeOnly
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	w1_medic_group
			WaitForAllSpawned	w1_scouts_shotgun
			TotalCurrency	75
			TotalCount	20
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	12
			WaitBetweenSpawns	0
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	medic
					Health	125
					Name	Medic
					Class	Medic
					Skill	Hard
					Item	"the overdose"
					Item	"the quick-fix"
				}
			}
		}
		WaveSpawn
		{
			Name	w1_heavy_knuckles
			TotalCurrency	150
			TotalCount	10
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	heavy_champ
					Health	650
					Name	"Heavy Knuckles"
					Scale	1.2
					Class	HeavyWeapons
					Skill	Hard
					WeaponRestrictions	MeleeOnly
					Attributes	"AlwaysCrit"
					CharacterAttributes
					{
						"override footstep sound set"	2
					}
					Item	"the eviction notice"
				}
			}
		}
		WaveSpawn
		{
			Name	w1_heavy_gloves
			WaitForAllSpawned	w1_heavy_knuckles
			TotalCurrency	100
			TotalCount	6
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	heavy_gru
					Health	750
					Name	"Heavy GRU"
					Scale	1.3
					Class	HeavyWeapons
					Skill	Expert
					WeaponRestrictions	MeleeOnly
					Attributes	"AlwaysCrit"
					CharacterAttributes
					{
						"override footstep sound set"	2
					}
					Item	"gloves of running urgently"
				}
			}
		}
		WaveSpawn
		{
			Name	w1_heavy_shotgun
			TotalCurrency	150
			TotalCount	36
			MaxActive	3
			SpawnCount	3
			WaitBeforeStarting	3
			WaitBetweenSpawns	15
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavyweapons_Shotgun
					Item	"the family business"
				}
			}
		}
		WaveSpawn
		{
			Name	w1_giant_scout
			WaitForAllSpawned	w1_soldier_group
			TotalCurrency	175
			TotalCount	3
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	15
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					AutoJumpMin	NaN
					AutoJumpMax	NaN
					Template	T_TFBot_Giant_Scout_Fast
					Tag	"bot_giant"
					Attributes	"UseBossHealthBar"
					ItemAttributes
					{
						ItemName	"the holy mackerel"
						"damage bonus"	2
						"effect bar recharge rate increased"	0.1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w1_scout_baby
			WaitForAllSpawned	w1_scouts_shotgun
			TotalCurrency	50
			TotalCount	24
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	12
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	scout
					Health	125
					Name	"Blaster Scout"
					Class	Scout
					Skill	Normal
					WeaponRestrictions	PrimaryOnly
					Item	"baby face's blaster"
				}
			}
		}
		WaveSpawn
		{
			Name	w1_demo
			TotalCurrency	50
			TotalCount	10
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Health	175
					Name	"Big Clip Demoman"
					Class	Demoman
					Skill	Normal
					WeaponRestrictions	PrimaryOnly
					Attributes	"HoldFireUntilFullReload"
					ItemAttributes
					{
						ItemName	tf_weapon_grenadelauncher
						"clip size upgrade atomic"	2
					}
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		Sound	Announcer.IncomingMob
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w2_scout_fish
			TotalCurrency	75
			TotalCount	10
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	1.5
			WaitBetweenSpawns	1.5
			Support	1
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	scout
					Health	150
					Name	"Fish Scout"
					Scale	1.1
					Class	Scout
					Skill	Hard
					WeaponRestrictions	MeleeOnly
					Item	"the holy mackerel"
					Item	"bonk boy"
				}
			}
		}
		WaveSpawn
		{
			Name	w2_demo_burst
			TotalCurrency	300
			TotalCount	40
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	3.5
			WaitBetweenSpawns	15
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	demo_burst
					Health	150
					Name	"Rapid Demoman"
					Class	Demoman
					Skill	Normal
					WeaponRestrictions	PrimaryOnly
					Attributes	"HoldFireUntilFullReload"
					ItemAttributes
					{
						ItemName	tf_weapon_grenadelauncher
						"faster reload rate"	.65
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w2_pyro_weak
			TotalCurrency	75
			TotalCount	10
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	10
			Support	1
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	pyro
					Health	125
					Name	"Degreaser Pyro"
					Class	Pyro
					Skill	Hard
					WeaponRestrictions	PrimaryOnly
					Item	"the degreaser"
				}
			}
		}
		WaveSpawn
		{
			Name	w2_giants_group
			WaitForAllSpawned	w2_heavy_giant
			TotalCurrency	300
			TotalCount	12
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	25
			WaitBetweenSpawns	10
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier
					Tag	"bot_giant"
					Attributes	"SpawnWithFullCharge"
					Attributes	"UseBossHealthBar"
					ItemAttributes
					{
						ItemName	tf_weapon_rocketlauncher
						"clip size upgrade atomic"	10.0
						"faster reload rate"	0.55
						"fire rate bonus"	0.6
					}
					Item	"the concheror"
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic
					Item	"doctor's sack"
				}
			}
		}
		WaveSpawn
		{
			Name	w2_heavy_heater
			TotalCurrency	150
			TotalCount	24
			MaxActive	3
			SpawnCount	3
			WaitBeforeStarting	35
			WaitBetweenSpawns	10
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	heavy_heater
					Health	750
					Name	"Heavy Heater"
					Scale	1.2
					Class	HeavyWeapons
					Skill	Hard
					WeaponRestrictions	PrimaryOnly
					ItemAttributes
					{
						ItemName	"the huo long heatmaker"
						"fire rate bonus"	0.85
					}
					CharacterAttributes
					{
						"move speed bonus"	0.6
					}
					Item	"the huo long heatmaker"
					Item	"big chief"
				}
			}
		}
		WaveSpawn
		{
			Name	w2_medic_solo
			WaitForAllDead	w2_demo_burst
			TotalCurrency	50
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	60
			WaitBetweenSpawns	10.5
			Support	1
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	medic
					Health	100
					Name	"Quick Medic"
					Class	Medic
					Skill	Normal
					WeaponRestrictions	SecondaryOnly
					Item	"the quick-fix"
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickFix
					Attributes	"SpawnWithFullCharge"
					Item	"the kritzkrieg"
				}
			}
		}
		WaveSpawn
		{
			Name	w2_samurai_demo
			WaitForAllDead	w2_giants_group
			TotalCurrency	150
			TotalCount	6
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Demoman_Samurai
				}
			}
		}
		WaveSpawn
		{
			Name	w2_soldier_shotgun
			TotalCurrency	50
			TotalCount	12
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	10
			WaitBetweenSpawns	1.5
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	soldier
					Health	175
					Name	"Shotgun Soldier"
					Class	Soldier
					Skill	Hard
					WeaponRestrictions	SecondaryOnly
					Attributes	"HoldFireUntilFullReload"
					ItemAttributes
					{
						ItemName	tf_weapon_shotgun_soldier
						"fire rate bonus"	2.0
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w2_heavy_giant
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	20
			WaitBetweenSpawns	10
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Deflector
					Tag	"bot_gatebot"
					Attributes	"UseBossHealthBar"
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		Sound	Announcer.IncomingMob
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave3_tank
			TotalCurrency	200
			TotalCount	1
			MaxActive	1
			WaitBeforeStarting	0
			Where	spawnbot
			Squad
			{
				Tank
				{
					Health	17000
					Name	gatetank
					Speed	75
					StartingPathTrackNode	boss_path_a1
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w3_heavy_cool
			TotalCurrency	150
			TotalCount	35
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	3.5
			WaitBetweenSpawns	10.5
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	heavy_champ
					Health	400
					Name	"Heavy Knuckles"
					Scale	0.9
					Class	HeavyWeapons
					Skill	Expert
					WeaponRestrictions	MeleeOnly
					ItemAttributes
					{
						ItemName	"the eviction notice"
						"fire rate bonus"	0.85
					}
					CharacterAttributes
					{
						"move speed bonus"	0.85
					}
					Item	"the eviction notice"
					Item	"heavy hair"
				}
			}
		}
		WaveSpawn
		{
			Name	w3_scout_fast
			TotalCurrency	50
			TotalCount	2
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	16
			WaitBetweenSpawns	15
			Support	1
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Health	600
					Template	T_TFBot_Giant_Scout
					Tag	"bot_giant"
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName	"baby face's blaster"
						"kill refills meter"	"bullets per shot bonus"
					}
					Item	"baby face's blaster"
					Item	"the fast learner"
				}
			}
		}
		WaveSpawn
		{
			Name	w3_soldier_airstrike
			TotalCurrency	150
			TotalCount	36
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	15
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	soldier_spammer
					Health	250
					AutoJumpMin	10
					AutoJumpMax	10
					Name	"Jumper Soldier"
					Scale	1.3
					Class	Soldier
					Skill	Expert
					MaxVisionRange	3000
					Attributes	"HoldFireUntilFullReload"
					Attributes	"AutoJump"
					ItemAttributes
					{
						ItemName	"the air strike"
						"fire rate bonus"	0.45
						"clip size upgrade atomic"	4
						"faster reload rate"	.55
						"no self blast dmg"	1
						"increased air control"	1
					}
					ItemAttributes
					{
						ItemName	"the b.a.s.e. jumper"
						"parachute attribute"	1
					}
					CharacterAttributes
					{
						"increased jump height"	4.0
					}
					Item	"the air strike"
					Item	"the b.a.s.e. jumper"
					Item	"jumper's jeepcap"
				}
			}
		}
		WaveSpawn
		{
			Name	w3_heavy_slow
			TotalCurrency	200
			TotalCount	30
			MaxActive	3
			SpawnCount	3
			WaitBeforeStarting	30
			WaitBetweenSpawns	20
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Health	250
					Name	"Slowing Heavy"
					Class	HeavyWeapons
					Skill	Hard
					WeaponRestrictions	PrimaryOnly
					Attributes	"AlwaysCrit"
					Item	"natascha"
					Item	"the brown bomber"
				}
			}
		}
		WaveSpawn
		{
			Name	w3_demo_combo
			WaitForAllSpawned	w3_demo_giants
			TotalCurrency	200
			TotalCount	12
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Scale	1.5
					Template	T_TFGateBot_Giant_Demo_Burst
					EventChangeAttributes
					{
						Default
						{
							Attributes	"UseBossHealthBar"
							Attributes	"AlwaysFireWeapon"
							ItemAttributes
							{
								ItemName	tf_weapon_grenadelauncher
								"Projectile speed increased"	1.1
							}
						}
						RevertGateBotsBehavior
						{
						}
					}
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
					Item	"the kritzkrieg"
					Item	"medic's mountain cap"
				}
			}
		}
		WaveSpawn
		{
			Name	w3_sniper_huntsmen
			WaitForAllDead	w3_heavy_slow
			TotalCurrency	125
			TotalCount	30
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	4
			WaitBetweenSpawns	4
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	sniper_bow
					Health	150
					Name	Huntsmen
					Class	Sniper
					Skill	Normal
					WeaponRestrictions	PrimaryOnly
					Attributes	"SuppressFire"
					ItemAttributes
					{
						ItemName	"the huntsman"
						"critboost on kill"	1
					}
					Item	"the huntsman"
					Item	"the deep cover operator"
				}
			}
		}
		WaveSpawn
		{
			Name	w3_pyro_flare
			TotalCurrency	25
			TotalCount	24
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	25
			WaitBetweenSpawns	10
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	pyro
					Health	175
					Name	"Flare Pyro"
					Class	Pyro
					Skill	Normal
					WeaponRestrictions	SecondaryOnly
					Attributes	"SuppressFire"
					ItemAttributes
					{
						ItemName	"the scorch shot"
						"damage causes airblast"	1
						"weapon burn time reduced"	1.0
					}
					Item	"the scorch shot"
					Item	"pyro's beanie"
				}
			}
		}
		WaveSpawn
		{
			Name	w3_demo_giants
			TotalCurrency	50
			TotalCount	2
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Health	2000
					Scale	1.5
					Template	T_TFGateBot_Giant_Demo_Burst
					EventChangeAttributes
					{
						Default
						{
							ItemAttributes
							{
								ItemName	tf_weapon_grenadelauncher
								"Projectile speed increased"	1.1
							}
						}
						RevertGateBotsBehavior
						{
						}
					}
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		Sound	Announcer.IncomingMob
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave4_tank
			WaitForAllDead	wave4_tanks_2
			TotalCurrency	350
			TotalCount	1
			MaxActive	1
			WaitBeforeStarting	30
			Where	spawnbot
			Squad
			{
				Tank
				{
					Health	30000
					Name	Josh
					Speed	25
					StartingPathTrackNode	boss_path_c1
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w4_huntsmen
			TotalCurrency	50
			TotalCount	16
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	4.5
			WaitBetweenSpawns	5
			Support	1
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	sniper_bow
					Health	125
					Name	Huntsmen
					Class	Sniper
					Skill	Hard
					MaxVisionRange	1000
					WeaponRestrictions	PrimaryOnly
					ItemAttributes
					{
						ItemName	"the fortified compound"
						"critboost on kill"	1
					}
					Item	"the fortified compound"
					Item	"the fruit shoot"
				}
			}
		}
		WaveSpawn
		{
			Name	w4_heavy_knuckles
			TotalCurrency	125
			TotalCount	36
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	heavy_champ
					Health	650
					Name	"Heavy Knuckle"
					Scale	1.3
					Class	HeavyWeapons
					Skill	Expert
					MaxVisionRange	600
					BehaviorModifiers	Mobber
					WeaponRestrictions	MeleeOnly
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName	"the eviction notice"
						"fire rate bonus"	0.85
						"restore health on kill"	150
					}
					CharacterAttributes
					{
						"move speed bonus"	0.8
					}
					Item	"the eviction notice"
					Item	"heavy hair"
				}
			}
		}
		WaveSpawn
		{
			Name	w4_giant_demo
			WaitForAllSpawned	w4_heavy_knuckles
			TotalCurrency	300
			TotalCount	6
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	25
			WaitBetweenSpawns	25
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Scale	1.6
					Template	T_TFGateBot_Giant_Demo_Burst_Crit
					EventChangeAttributes
					{
						Default
						{
							Item	"sober stuntman"
						}
						RevertGateBotsBehavior
						{
						}
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w4_heavy_shotgun
			WaitForAllSpawned	w4_tank_strong
			TotalCurrency	125
			TotalCount	30
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	60
			WaitBetweenSpawns	5
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	heavy_shotgun
					Health	300
					Name	"Shotgun Heavy"
					Class	HeavyWeapons
					Skill	Expert
					WeaponRestrictions	SecondaryOnly
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName	tf_weapon_shotgun_hwg
						"bullets per shot bonus"	2
					}
					Item	"officer's ushanka"
				}
			}
		}
		WaveSpawn
		{
			Name	w4_giant_pyro
			WaitForAllDead	w4_tanks_2
			TotalCurrency	175
			TotalCount	8
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	5
			WaitBetweenSpawns	10
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	pyro
					Health	3500
					Name	"Giant Burn Pyro"
					Scale	1.6
					Class	Pyro
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					Tag	"bot_giant"
					Attributes	"MiniBoss"
					ItemAttributes
					{
						ItemName	"the backburner"
						"weapon burn time increased"	1.2
					}
					CharacterAttributes
					{
						"override footstep sound set"	3
						"move speed bonus"	0.6
					}
					Item	"the backburner"
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Regen
					Tag	"bot_giant"
				}
			}
		}
		WaveSpawn
		{
			Name	wave4_tanks_2
			TotalCurrency	200
			TotalCount	2
			MaxActive	2
			WaitBeforeStarting	2.5
			WaitBetweenSpawns	20
			Where	spawnbot
			Squad
			{
				Tank
				{
					Health	15000
					Name	gatetank
					Speed	45
					StartingPathTrackNode	boss_path_a1
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w4_boss_giant
			WaitForAllDead	w4_giant_pyro
			TotalCurrency	75
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_SlowBarrage
					Attributes	"SpawnWithFullCharge"
					Attributes	"AlwaysCrit"
					Attributes	"DisableDodge"
					Attributes	"UseBossHealthBar"
					ItemAttributes
					{
						ItemName	"the original"
						"use large smoke explosion"	1
						"clip size penalty"	2
					}
					Item	"the original"
					Item	"the team captain"
				}
			}
		}
		WaveSpawn
		{
			Name	w4_medics
			WaitForAllDead	w4_heavy_knuckles
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	medic
					Health	1500
					Name	"Uber Medic"
					Scale	1.1
					Class	Medic
					Skill	Expert
					WeaponRestrictions	SecondaryOnly
					Attributes	"SpawnWithFullCharge"
					Attributes	"MiniBoss"
					Item	"the kritzkrieg"
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w5_boss_spy
			WaitForAllSpawned	w5_Mega_Medic
			TotalCurrency	200
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	30
			WaitBetweenSpawns	1
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	spy
					Health	2500
					Name	"Desperado Brother"
					Scale	1.2
					Class	Spy
					Skill	Expert
					MaxVisionRange	3200
					BehaviorModifiers	Mobber
					WeaponRestrictions	PrimaryOnly
					Tag	"bot_giant"
					Attributes	"UseBossHealthBar"
					Attributes	"MiniBoss"
					ItemAttributes
					{
						ItemName	"ttg sam revolver"
						"ragdolls become ash"	1
						"damage bonus"	1.5
						"weapon spread bonus"	0.1
						"silent killer"	1
						"sniper fires tracer"	1
						"fire rate penalty"	0.3
						"faster reload rate"	5
						"bullets per shot bonus"	2
					}
					CharacterAttributes
					{
						"override footstep sound set"	2
						"airblast pushback scale"	2.5
						"health regen"	25
						"move speed bonus"	0.6
						"cannot disguise"	1
						"disguise speed penalty"	4
						"cloak regen rate decreased"	0.2
					}
					Item	"ttg sam revolver"
					Item	"the dapper disguise"
					Item	"the eye-catcher"
				}
			}
		}
		WaveSpawn
		{
			Name	w5_medic
			WaitForAllSpawned	w5_boss_spy
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	40
			WaitBetweenSpawns	30
			Support	1
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	medic
					Health	150
					Name	"Quickfix Medic"
					Class	Medic
					Skill	Easy
					WeaponRestrictions	SecondaryOnly
					Attributes	"SpawnWithFullCharge"
					Attributes	"IgnoreFlag"
					Item	"the kritzkrieg"
					Item	"otolaryngologist's mirror"
				}
			}
		}
		WaveSpawn
		{
			Name	w5_giant_heavy_1
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	1
			WaitBetweenSpawns	12
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_BrassBeast
					Tag	"bot_giant"
					Attributes	"UseBossHealthBar"
					ItemAttributes
					{
						ItemName	"the brass beast"
						"minigun spinup time decreased"	3.0
					}
					Item	"the outdoorsman"
				}
			}
		}
		WaveSpawn
		{
			Name	w5_Mega_Medic
			WaitForAllSpawned	w5_giant_heavy_3
			TotalCurrency	200
			TotalCount	4
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	1
			WaitBetweenSpawns	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					BehaviorModifiers	Push
					Template	T_TFBot_Giant_Heavyweapons_BrassBeast
					Tag	"bot_gatebot"
					Tag	"bot_giant"
					Attributes	"UseBossHealthBar"
					ItemAttributes
					{
						ItemName	"the brass beast"
						"ring of fire while aiming"	1
					}
					Item	"the soviet gentleman"

				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic
					Tag	"bot_squad_member"
					Attributes	"UseBossHealthBar"
					Attributes	"IgnoreFlag"
					ItemAttributes
					{
						ItemName	"the kritzkrieg"
						"medigun bullet resist passive"	1
						"medigun blast resist passive"	1
						"medigun fire resist passive"	1
						"uber duration bonus"	5
						"ubercharge rate bonus"	2
						"overheal expert"	1
					}
					ItemAttributes
					{
						ItemName	"the trepanabotomizer"
						"set item tint RGB"	2960676
					}
					CharacterAttributes
					{
						"active health regen"	50
					}
					Item	"the kritzkrieg"
					Item	"the trepanabotomizer"
					Item	"the byte'd beak"
				}
			}
		}
		WaveSpawn
		{
			Name	w5_heavy_knuckles
			TotalCurrency	50
			TotalCount	16
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	5
			WaitBetweenSpawns	20
			Support	1
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					BehaviorModifiers	Mobber
					Template	T_TFBot_Heavyweapons_Heavyweight_Champ_Fast
					Attributes	"AlwaysCrit"
					Attributes	"IgnoreFlag"
					ItemAttributes
					{
						ItemName	"the eviction notice"
						"critboost on kill"	1
						"heal on hit for rapidfire"	10
					}
					CharacterAttributes
					{
						"move speed bonus"	1.2
					}
					Item	"the eviction notice"
					Item	"the mutton mann"
					Item	"heavy hair"
				}
			}
		}
		WaveSpawn
		{
			Name	w5_demoknight
			TotalCurrency	400
			TotalCount	60
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	25
			WaitBetweenSpawns	1
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Demoman_Knight
					Attributes	"SpawnWithFullCharge"
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName	"the scotsman's skullcutter"
						"fire rate bonus"	1.5
						"damage bonus"	1.5
					}
					Item	"ali baba's wee booties"
					Item	"the splendid screen"
					Item	"the scotsman's skullcutter"
					Item	"the cool breeze"
					Item	"the bearded bombardier"
				}
			}
		}
		WaveSpawn
		{
			Name	w5_pyro
			TotalCurrency	50
			TotalCount	10
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	40
			WaitBetweenSpawns	5
			Support	1
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	pyro
					Health	275
					Name	Pyro
					Class	Pyro
					Skill	Normal
					BehaviorModifiers	Mobber
				}
			}
		}
		WaveSpawn
		{
			Name	w5_blaster_scout
			TotalCurrency	50
			TotalCount	8
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	2.5
			WaitBetweenSpawns	5
			Support	1
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	scout
					Health	125
					Name	"Blaster Scout"
					Class	Scout
					Skill	Normal
					WeaponRestrictions	PrimaryOnly
					Attributes	"AlwaysCrit"
					Attributes	"SuppressFire"
					ItemAttributes
					{
						ItemName	"baby face's blaster"
						"bullets per shot bonus"	2
						"increase buff duration"	2
						"clipsize increase on kill"	1
					}
					Item	"baby face's blaster"
					Item	"ball-kicking boots"
				}
			}
		}
		WaveSpawn
		{
			Name	w5_giant_heavy_3
			WaitForAllSpawned	w5_giant_heavy_2
			TotalCurrency	150
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			WaitBeforeStarting	30
			WaitBetweenSpawns	10
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_BrassBeast
					Tag	"bot_giant"
					Attributes	"UseBossHealthBar"
					ItemAttributes
					{
						ItemName	"the brass beast"
						"minigun spinup time decreased"	1.5
					}
					Item	"the outdoorsman"
				}
			}
		}
		WaveSpawn
		{
			Name	w5_giant_heavy_2
			WaitForAllSpawned	w5_giant_heavy_1
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	25
			WaitBetweenSpawns	10
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_BrassBeast
					Tag	"bot_giant"
					Attributes	"UseBossHealthBar"
					ItemAttributes
					{
						ItemName	"the brass beast"
						"minigun spinup time decreased"	2.0
					}
					Item	"the outdoorsman"
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	ASH
			TotalCurrency	250
			TotalCount	1
			MaxActive	1
			WaitBeforeStarting	5
			Where	spawnbot
			Squad
			{
				Tank
				{
					Health	50000
					Name	gatetank
					Speed	20
					Skin	1
					StartingPathTrackNode	boss_path_b1
					OnKilledOutput
					{
						Target	boss_dead_relay
						Action	Trigger
					}
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w6_Super_Scout
			WaitForAllSpawned	ASH
			TotalCurrency	50
			TotalCount	4
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			Support	1
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Health	1000
					Template	T_TFBot_Giant_Scout_Fast
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	w6_giant_group
			WaitForAllSpawned	ASH
			TotalCurrency	150
			TotalCount	21
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	25
			WaitBetweenSpawns	40
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					BehaviorModifiers	Mobber
					Template	T_TFBot_Giant_Soldier_Extended_Buff_Banner
					WeaponRestrictions	MeleeOnly
					Attributes	"IgnoreFlag"
					Item	"the escape plan"
					Item	"loyalty reward"
				}
				TFBot
				{
					BehaviorModifiers	Mobber
					Template	T_TFBot_Giant_Soldier_Extended_Concheror
					WeaponRestrictions	MeleeOnly
					Attributes	"IgnoreFlag"
					Item	"the equalizer"
					Item	"loyalty reward"
				}
				TFBot
				{
					BehaviorModifiers	Mobber
					Template	T_TFBot_Giant_Soldier_Extended_Battalion
					WeaponRestrictions	MeleeOnly
					Item	"the disciplinary action"
					Item	"the doe-boy"
				}
			}
		}
		WaveSpawn
		{
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Support	1
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	medic
					Health	150
					Name	"Uber Medic"
					Class	Medic
					Skill	Expert
					WeaponRestrictions	SecondaryOnly
					Attributes	"SpawnWithFullCharge"
					Attributes	"IgnoreFlag"
					Item	"titanium tyrolean"
				}
			}
		}
		WaveSpawn
		{
			Name	w6_demo_spam
			TotalCurrency	300
			TotalCount	6
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	20
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Scale	1.6
					Template	T_TFBot_Giant_Demo_RapidFire
					Tag	"bot_giant"
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName	tf_weapon_grenadelauncher
						"faster reload rate"	1.5
						"clip size upgrade atomic"	9
					}
					Item	"the persian persuader"
					Item	"scotch bonnet"
				}
			}
		}
		WaveSpawn
		{
			Name	w6_tomislav_heavy
			WaitForAllSpawned	w6_giant_group
			TotalCurrency	125
			TotalCount	20
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	5
			WaitBetweenSpawns	5
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Health	1500
					Name	"Heavy Tomislav"
					Scale	1.2
					Class	HeavyWeapons
					Skill	Expert
					MaxVisionRange	1000
					BehaviorModifiers	Push
					Tag	"bot_giant"
					Attributes	"SpawnWithFullCharge"
					Attributes	"AlwaysCrit"
					Attributes	"MiniBoss"
					ItemAttributes
					{
						ItemName	tomislav
						"fire rate bonus"	2.0
						"weapon spread bonus"	0.1
					}
					Item	"tomislav"
					Item	"the dalokohs bar"
					Item	"fists of steel"
					Item	"the outdoorsman"
				}
			}
		}
		WaveSpawn
		{
			Name	w6_quickfix_medic
			WaitForAllSpawned	w6_giant_group
			TotalCurrency	25
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Support	1
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	medic
					Health	150
					Name	"Quickfix Medic"
					Class	Medic
					Skill	Normal
					WeaponRestrictions	SecondaryOnly
					Attributes	"SpawnWithFullCharge"
					Attributes	"IgnoreFlag"
					Item	"the quick-fix"
					Item	"vintage tyrolean"
				}
			}
		}
		WaveSpawn
		{
			Name	w6_crit_medic
			WaitForAllSpawned	w6_giant_group
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Support	1
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	medic
					Health	150
					Name	"Kritz Medic"
					Class	Medic
					Skill	Expert
					WeaponRestrictions	SecondaryOnly
					Attributes	"SpawnWithFullCharge"
					Attributes	"IgnoreFlag"
					Item	"the kritzkrieg"
					Item	"medic's mountain cap"
				}
			}
		}
		WaveSpawn
		{
			Name	w6_giant_pyro
			WaitForAllSpawned	w6_demo_spam
			TotalCurrency	100
			TotalCount	48
			MaxActive	9
			SpawnCount	9
			WaitBeforeStarting	10
			WaitBetweenSpawns	2
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro
					Tag	"bot_giant"
					Attributes	"SpawnWithFullCharge"
					Attributes	"UseBossHealthBar"
					CharacterAttributes
					{
						"health regen"	50
					}
					Item	"the phlogistinator"
					Item	"hottie's hoodie"
				}
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Concheror
					Attributes	"IgnoreFlag"
					Item	"the black box"
				}
				TFBot
				{
					Template	T_TFBot_Heavy_IronFist_Airblast
					Attributes	"SpawnWithFullCharge"
					Attributes	"AlwaysCrit"
					Attributes	"DisableDodge"
					Attributes	"IgnoreFlag"
					Item	"the dalokohs bar"
				}
			}
		}
		WaveSpawn
		{
			Name	w6_demoknight
			WaitForAllDead	w6_demo_spam
			TotalCurrency	50
			TotalCount	20
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	0
			Support	1
			RandomSpawn	1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Demoman_Knight
					ItemAttributes
					{
						ItemName	"the tide turner"
						"charge time increased"	1.5
					}
					Item	"the tide turner"
					Item	"tam o'shanter"
				}
			}
		}
	}
}
