#base robot_giant.pop
#base robot_standard.pop
#base robot_gatebot.pop
#base robot_wonders.pop
population
{
	AddSentryBusterWhenKillCountExceeds	15
	AddSentryBusterWhenDamageDealtExceeds	15000
	CanBotsAttackWhileInSpawnRoom	no
	RespawnWaveTime	2
	StartingCurrency	1500
	Templates
	{
	     T_TFBot_Soldier_Boss_Titanium 
		{
			ClassIcon	soldier_titanium_armour
			WeaponRestrictions	PrimaryOnly
			Scale   1.9
			Health	10000
			Skill	Expert
			Name	"Titanium Guardian"
			Class	Soldier
			Tag     "bot_giant"
			Attributes	"HoldFireUntilFullReload"
			Attributes	"MiniBoss"
			Attributes  "UseBossHealthBar"
			ItemAttributes
			{
				ItemName      "upgradeable TF_WEAPON_ROCKETLAUNCHER"
				"damage bonus"	2.0
				"projectile spread angle penalty"  4
				"fire rate bonus"   0.45
				"faster reload rate"  0.65
				"projectile speed increased"  1.85
				"clip size upgrade atomic"  4
				"Blast radius increased"	1.5
				"is australium item" 1
				"item style override" 1
			}
			CharacterAttributes
			{
				"override footstep sound set"	3
				"airblast vulnerability multiplier"	0
				"damage force reduction"	0
				"dmg taken from bullets reduced"   0.122
				"dmg taken from fire reduced"      0.1
				"dmg taken from crit reduced"      0.5
				"dmg taken from blast reduced"     0.5
				"dmg from melee increased"         0.25
				"move speed penalty"	0.35
				"rage giving scale"    0.2
			}
			Item	"the eliminators safeguard"
			Item    "upgradeable TF_WEAPON_ROCKETLAUNCHER"
			Item	"big steel jaw of summer fun"
			Item    "the mantreads"
		}
		T_TFBot_Demo_Boss_Destroyer
		{
			ClassIcon	boss_destroyer
			WeaponRestrictions      PrimaryOnly
			Scale	1.9
			Health	150000
			Skill	Expert
			Name	"Destroyer of Cities"
			Class	Demoman
			Attributes	"MiniBoss"
			Attributes  "UseBossHealthBar"
			Attributes  "HoldFireUntilFullReload"
			ItemAttributes
			{
				ItemName	"upgradeable TF_WEAPON_GRENADELAUNCHER" 
				"fire rate bonus"   0.06
				"faster reload rate"  -1
				"clip size upgrade atomic"  96
				"projectile spread angle penalty"  6
				"blast radius increased"  1.25
				"fuse bonus"  0.5
				"custom projectile model" "models/workshop/weapons/c_models/c_kingmaker_sticky/w_kingmaker_stickybomb.mdl"
				"projectile speed increased"   1.25
				"is australium item"  1
				"item style override" 1
			}
			CharacterAttributes
			{
				"override footstep sound set"	2
				"airblast vulnerability multiplier"	0
				"damage force reduction"	0
				"rage giving scale"      0.1
				"move speed penalty"	0.3
				"blast dmg to self increased"  0.25
			}
			Item    "shin shredders"
			Item	"upgradeable TF_WEAPON_GRENADELAUNCHER"
			Item	"corona australis"
			Item	"the dark age defender"
			Item	"big steel jaw of summer fun"
			
		}
	}
	Mission
	{
		DesiredCount	1
		CooldownTime	30
		InitialCooldown	30
		RunForThisManyWaves	1
		BeginAtWave	1
		Where	spawnbot_main0
		Where	spawnbot_main1
		Where	spawnbot_main2
		Where	spawnbot_upper0
		Where	spawnbot_upper2
		Objective	DestroySentries
		TFBot
		{
			Template	T_TFBot_SentryBuster
		}
	}
	Mission
	{
		DesiredCount	2
		CooldownTime	30
		InitialCooldown	30
		BeginAtWave	1
		RunForThisManyWaves 2
		Where	spawnbot_upper0
		Where	spawnbot_main1
		Where	spawnbot_main2
		Where	spawnbot_upper0
		Where	spawnbot_upper2
		Objective	Sniper
		TFBot
		{
			Template	T_TFBot_Sniper
		}
	}
	Mission
	{
		DesiredCount	2
		CooldownTime	30
		InitialCooldown	30
		RunForThisManyWaves	1
		BeginAtWave	2
		Where	spawnbot_main0
		Where	spawnbot_main1
		Where	spawnbot_main2
		Where	spawnbot_upper0
		Where	spawnbot_upper2
		Objective	Spy
		TFBot
		{
			Template	T_TFBot_Spy
		}
	}
	Mission
	{
		DesiredCount	3
		CooldownTime	30
		InitialCooldown	30
		RunForThisManyWaves	1
		BeginAtWave	3
		Where	spawnbot_upper0
		Where	spawnbot_main1
		Where	spawnbot_main2
		Where	spawnbot_upper0
		Where	spawnbot_upper2
		TFBot
		{
			Template	T_TFBot_Sniper
		}
	}
	Mission
	{
		DesiredCount	1
		CooldownTime	30
		InitialCooldown	30
		RunForThisManyWaves	1
		BeginAtWave	2
		Where	spawnbot_main0
		Where	spawnbot_main1
		Where	spawnbot_main2
		Where	spawnbot_upper0
		Where	spawnbot_upper2
		Objective	Engineer
		TFBot
		{
			Template	T_TFBot_Engineer_Sentry_Tele_Battle
			Attributes	"TeleportToHint"
		}
	}
	Mission
	{
		DesiredCount	2
		CooldownTime	30
		InitialCooldown	30
		RunForThisManyWaves	1
		BeginAtWave	3
		Where	spawnbot_main0
		Where	spawnbot_main1
		Where	spawnbot_main2
		Where	spawnbot_upper0
		Where	spawnbot_upper2
		Objective	Engineer
		TFBot
		{
			Template	T_TFBot_Engineer_Sentry_Battle
			Attributes	"TeleportToHint"
		}
	}
	Wave
	{
		Checkpoint	Yes
		WaitWhenDone	65
		StartWaveOutput
		{
			Action	Trigger
			Target	wave_start_relay
		}
		InitWaveOutput
		{
			Target	holograms_3way_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	dememo
			WaitBetweenSpawns	10
			WaitBeforeStarting	0
			SpawnCount	6
			MaxActive	6
			TotalCount	24
			TotalCurrency	100
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Demoman
				}
			}
		}
		WaveSpawn
		{
			Name	rapidfire
			WaitBetweenSpawns	10
			WaitBeforeStarting	5
			SpawnCount	1
			MaxActive	1
			TotalCount	4
			TotalCurrency	100
			Where	spawnbot_main1
			Where	spawnbot_main2
			Where	spawnbot_upper0
			Squad
			{
				TFBot
				{
					Template	T_TFGateBot_Giant_Soldier_Spammer
				}
			}
		}
		WaveSpawn
		{
			Name	hebbies
			WaitBetweenSpawns	10
			WaitBeforeStarting	0
			SpawnCount	4
			MaxActive	4
			TotalCount	16
			TotalCurrency	100
			WaitForAllSpawned	dememo
			Where	spawnbot_main1
			Where	spawnbot_main2
			Where	spawnbot_upper0
			Where	spawnbot_upper2
			Squad
			{
				TFBot
				{
					ClassIcon	heavy
					Health	300
					Skill	Normal
					Name	Heavy
					Class	HeavyWeapons
				}
			}
		}
		WaveSpawn
		{
			Name	burstmed
			WaitBetweenSpawns	10
			WaitBeforeStarting	0
			SpawnCount	4
			MaxActive	4
			TotalCount	8
			TotalCurrency	100
			WaitForAllDead	rapidfire
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Spammer_Reload
					Tag	"bot_giant"
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
			}
		}
		WaveSpawn
		{
			Name	fanrush
			WaitBetweenSpawns	10
			WaitBeforeStarting	0
			SpawnCount	10
			MaxActive	10
			TotalCount	40
			TotalCurrency	100
			WaitForAllDead	dememo
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Squad
			{
				TFBot
				{
					Template	T_TFGateBot_Scout_FAN
				}
			}
		}
		WaveSpawn
		{
			Name	healboxers
			WaitBetweenSpawns	10
			WaitBeforeStarting	0
			SpawnCount	5
			MaxActive	5
			TotalCount	20
			TotalCurrency	100
			WaitForAllDead 	hebbies
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_RocketShotgun
				}
			}
		}
		WaveSpawn
		{
			Name	gianthebby
			WaitBetweenSpawns	10
			WaitBeforeStarting	10
			SpawnCount	2
			MaxActive	2
			TotalCount	2
			TotalCurrency	200
			WaitForAllDead	burstmed
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Deflector
					Tag	"bot_giant"
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Regen
					Tag	"bot_giant"
				}
			}
		}
		WaveSpawn
		{
			Name	hebbygate
			WaitBetweenSpawns	10
			WaitBeforeStarting	0
			SpawnCount	5
			MaxActive	5
			TotalCount	20
			TotalCurrency	100
			WaitForAllSpawned	gianthebby
			Where	spawnbot_upper0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Squad
			{
				TFBot
				{
					Template	T_TFGateBot_Heavy_Hard
				}
			}
		}
		WaveSpawn
		{
			Name	giantcritsoldier
			WaitBetweenSpawns	10
			WaitBeforeStarting	5
			SpawnCount	2
			MaxActive	2
			TotalCount	6
			TotalCurrency	100
			WaitForAllDead	gianthebby
			Where	spawnbot_main1
			Where	spawnbot_main2
			Where	spawnbot_main0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Crit
					Tag	"bot_giant"
				}
			}
		}
		WaveSpawn
		{
			Name	DFmed
			WaitBetweenSpawns	10
			WaitBeforeStarting	0
			SpawnCount	5
			MaxActive	5
			TotalCount	20
			TotalCurrency	100
			WaitForAllDead	gianthebby
			Where	spawnbot_upper0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Pyro_Fury
				}
			}
		}
		WaveSpawn
		{
			Name	giantbanners
			WaitBetweenSpawns	10
			WaitBeforeStarting	10
			SpawnCount	5
			MaxActive	5
			TotalCount	10
			TotalCurrency	100
			WaitForAllSpawned	giantcritsoldier
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Extended_Buff_Banner
					Tag	"bot_giant"
					ItemAttributes
					{
						ItemName	"the buff banner"
						"deploy time decreased"	0.5
					}
				}
				TFBot
				{
					Template	T_TFBot_Demoman
				}
				TFBot
				{
					Template	T_TFBot_Demoman
				}
				TFBot
				{
					Template	T_TFBot_Demoman
				}
				TFBot
				{
					Template	T_TFBot_Demoman
				}
			}
		}
		WaveSpawn
		{
			Name	giantbanners
			WaitBetweenSpawns	10
			WaitBeforeStarting	10
			SpawnCount	5
			MaxActive	5
			TotalCount	10
			TotalCurrency	100
			WaitForAllSpawned	giantcritsoldier
			Where	spawnbot_main1
			Where	spawnbot_main2
			Where	spawnbot_upper0
			Where	spawnbot_upper2
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Extended_Concheror
					Tag	"bot_giant"
					ItemAttributes
					{
						ItemName	"the concheror"
						"deploy time decreased"	0.5
					}
				}
				TFBot
				{
					Template	T_TFBot_Soldier_RocketShotgun
				}
				TFBot
				{
					Template	T_TFBot_Soldier_RocketShotgun
				}
				TFBot
				{
					Template	T_TFBot_Soldier_RocketShotgun
				}
				TFBot
				{
					Template	T_TFBot_Soldier_RocketShotgun
				}
			}
		}
		WaveSpawn
		{
			Name	burst
			WaitBetweenSpawns	10
			WaitBeforeStarting	10
			SpawnCount	5
			MaxActive	5
			TotalCount	20
			TotalCurrency	100
			WaitForAllDead	DFmed
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Demo_Burst
				}
			}
		}
		WaveSpawn
		{
			Name	bombrunner
			TotalCurrency	0
			TotalCount	50
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	10
			Support	1
			Where	spawnbot_main0
			Where   spawnbot_main1
			Where   spawnbot_main2
			Squad
			{
				TFBot
				{
					//ClassIcon	scout_bombrunner
					WeaponRestrictions   MeleeOnly
					//Health	125
					Skill	Easy
					//Name	"Bomb Runner"
					Class	Scout
				}
			}
		}
	}
	Wave
	{
		Checkpoint	Yes
		WaitWhenDone	65
		StartWaveOutput
		{
			Action	Trigger
			Target	wave_start_relay
		}
		InitWaveOutput
		{
			Target	holograms_3way_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	titaniumguardian
			WaitBetweenSpawns	10
			WaitBeforeStarting	0
			SpawnCount	1
			MaxActive	1
			TotalCount	1
			TotalCurrency	200
			Where	spawnbot_main0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Boss_Titanium
				}
			}
		}
		WaveSpawn
		{
			Name	overdrive
			WaitBetweenSpawns	10
			WaitBeforeStarting	10
			SpawnCount	8
			MaxActive	8
			TotalCount	8
			TotalCurrency	100
			WaitForAllSpawned	titaniumguardian
			Where	spawnbot_main1
			Where	spawnbot_main2
			Where	spawnbot_upper0
			Squad
			{
				TFBot
				{
					Template	T_TFGateBot_Giant_Scout_FAN
				}
			}
		}
		WaveSpawn
		{
			Name	burstdemo
			WaitBetweenSpawns	10
			WaitBeforeStarting	5
			SpawnCount	7
			MaxActive	7
			TotalCount	28
			TotalCurrency	100
			WaitForAllDead	titaniumguardian
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Where	spawnbot_upper0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Demo_Burst
				}
			}
		}
		WaveSpawn
		{
			Name	giantshotgun
			WaitBetweenSpawns	20
			WaitBeforeStarting	5
			SpawnCount	4
			MaxActive	12
			TotalCount	12
			TotalCurrency	100
			WaitForAllDead	titaniumguardian
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Squad
			{
				TFBot
				{
					Template	T_TFGateBot_Giant_Heavyweapons_Shotgun
				}
				TFBot
				{
					Template	T_TFBot_Medic_SlowRecharge
				}
				TFBot
				{
					Template	T_TFBot_Medic_SlowRecharge
				}
				TFBot
				{
					Template	T_TFBot_Medic_SlowRecharge
				}
			}
		}
		WaveSpawn
		{
			Name	flashflood
			WaitBetweenSpawns	10
			WaitBeforeStarting	0
			SpawnCount	5
			MaxActive	5
			TotalCount	25
			TotalCurrency	100
			WaitForAllSpawned	giantshotgun
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			RandomChoice
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Buff_Banner
					ItemAttributes
					{
						ItemName	"the buff banner"
						"deploy time decreased"	0.5
					}
				}
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Concheror
					ItemAttributes
					{
						ItemName	"the concheror"
						"deploy time decreased"	0.5
					}
				}
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Battalion
					ItemAttributes
					{
						ItemName	"the battalion's backup"
						"deploy time decreased"	0.5
					}
				}
			}
		}
		WaveSpawn
		{
			Name	giantgatecrasher
			WaitBetweenSpawns	10
			WaitBeforeStarting	5
			SpawnCount	3
			MaxActive	9
			TotalCount	9
			TotalCurrency	100
			WaitForAllDead	giantshotgun
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Squad
			{
				TFBot
				{
					Template	T_TFGateBot_Giant_Demo_Burst
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickUber
				}
			}
		}
		WaveSpawn
		{
			Name	APshotgun
			WaitBetweenSpawns	10
			WaitBeforeStarting	0
			SpawnCount	5
			MaxActive	5
			TotalCount	20
			TotalCurrency	100
			WaitForAllDead	flashflood
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavy_Shotgun_AP
				}
			}
		}
		WaveSpawn
		{
			Name	megahealers
			WaitBetweenSpawns	10
			WaitBeforeStarting	5
			SpawnCount	1
			MaxActive	1
			TotalCount	2
			TotalCurrency	200
			WaitForAllDead	giantgatecrasher
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Where	spawnbot_upper0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_RocketShotgun
					Tag	"bot_giant"
				}
			}
		}
		WaveSpawn
		{
			Name	giantblasters
			WaitBetweenSpawns	10
			WaitBeforeStarting	5
			SpawnCount	1
			MaxActive	1
			TotalCount	2
			TotalCurrency	200
			WaitForAllDead	giantgatecrasher
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Where	spawnbot_upper0
			Squad
			{
				TFBot
				{
					Template	T_TFGateBot_Giant_Soldier_RocketPush
				}
			}
		}
		WaveSpawn
		{
			Name	gatling
			WaitBetweenSpawns	10
			WaitBeforeStarting	5
			SpawnCount	6
			MaxActive	6
			TotalCount	6
			TotalCurrency	200
			WaitForAllDead	giantblasters
			FirstSpawnWarningSound  "mvmthemes\Stormbreather_Summon.wav"
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavy_MiniBoss_Gatling
				}
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman_Spammer
					ClassIcon   sniper_bow_multi
				}
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman_Spammer
					ClassIcon   sniper_bow_multi
				}
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman_Spammer
					ClassIcon   sniper_bow_multi
				}
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman_Spammer
					ClassIcon   sniper_bow_multi
				}
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman_Spammer
					ClassIcon   sniper_bow_multi
				}
			}
		}
		WaveSpawn
		{
			Name	flammwerfer
			WaitBetweenSpawns	10
			WaitBeforeStarting	0
			SpawnCount	8
			MaxActive	8
			TotalCount	24
			TotalCurrency	100
			WaitForAllDead	megahealers
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Squad
			{
				TFBot
				{
					Skill	Expert
					Template	T_TFBot_Pyro
				}
			}
		}
		WaveSpawn
		{
			Name	bombrunner
			TotalCurrency	0
			TotalCount	50
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	10
			Support	1
			Where	spawnbot_main0
			Where   spawnbot_main1
			Where   spawnbot_main2
			Squad
			{
				TFBot
				{
					//ClassIcon	scout_bombrunner
					WeaponRestrictions   MeleeOnly
					//Health	125
					Skill	Easy
					//Name	"Bomb Runner"
					Class	Scout
				}
			}
		}
	}
	Wave
	{
		Checkpoint	Yes
		WaitWhenDone	65
		StartWaveOutput
		{
			Action	Trigger
			Target	wave_start_relay
		}
		InitWaveOutput
		{
			Target	holograms_3way_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	hailfire
			WaitBetweenSpawns	10
			WaitBeforeStarting	0
			SpawnCount	1
			MaxActive	2
			TotalCount	2
			TotalCurrency	100
			Where	spawnbot_main1
			Where	spawnbot_main2
			Where	spawnbot_upper0
			Squad
			{
				TFBot
				{
					Template	T_TFGateBot_Heavy_Giant_Firesprayer
				}
			}
		}
		WaveSpawn
		{
			Name	critsoldier
			WaitBetweenSpawns	10
			WaitBeforeStarting	0
			SpawnCount	7
			MaxActive	7
			TotalCount	35
			TotalCurrency	100
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Squad
			{
				TFBot
				{
					ClassIcon	soldier
					Health	200
					Skill	Expert
					Name	Soldier
					Class	Soldier
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	fancritgate
			WaitBetweenSpawns	10
			WaitBeforeStarting	0
			SpawnCount	5
			MaxActive	5
			TotalCount	20
			TotalCurrency	100
			WaitForAllSpawned	hailfire
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Where	spawnbot_upper0
			Squad
			{
				TFBot
				{
					Template	T_TFGateBot_Scout_FAN_Crit
				}
			}
		}
		WaveSpawn
		{
			Name	HoKsoldier
			WaitBetweenSpawns	10
			WaitBeforeStarting	10
			SpawnCount	8
			MaxActive	8
			TotalCount	8
			TotalCurrency	100
			WaitForAllDead	hailfire
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Burstfire_HoK
					Attributes	"AlwaysCrit"
				}
				TFBot
				{
					Template	T_TFBot_Soldier_RocketShotgun
				}
				TFBot
				{
					Template	T_TFBot_Soldier_RocketShotgun
				}
				TFBot
				{
					Template	T_TFBot_Soldier_RocketShotgun
				}
			}
		}
		WaveSpawn
		{
			Name	gateburst
			WaitBetweenSpawns	10
			WaitBeforeStarting	0
			SpawnCount	2
			MaxActive	2
			TotalCount	4
			TotalCurrency	100
			WaitForAllDead	HoKsoldier
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Squad
			{
				TFBot
				{
					Template	T_TFGateBot_Giant_Soldier_BurstFire
				}
			}
		}
		WaveSpawn
		{
			Name	gateburst
			WaitBetweenSpawns	10
			WaitBeforeStarting	0
			SpawnCount	2
			MaxActive	2
			TotalCount	4
			TotalCurrency	100
			WaitForAllDead	HoKsoldier
			Where	spawnbot_main1
			Where	spawnbot_main2
			Where	spawnbot_upper0
			Where	spawnbot_upper2
			Squad
			{
				TFBot
				{
					Template	T_TFGateBot_Giant_Demo_Burst
				}
			}
		}
		WaveSpawn
		{
			Name	hebbycrit
			WaitBetweenSpawns	10
			WaitBeforeStarting	10
			SpawnCount	5
			MaxActive	5
			TotalCount	25
			TotalCurrency	100
			WaitForAllDead	HoKsoldier
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Squad
			{
				TFBot
				{
					ClassIcon	heavy
					Health	300
					Skill	Expert
					Name	Heavy
					Class	HeavyWeapons
					Attributes	"AlwaysCrit"
					Item	"tomislav"
				}
			}
		}
		WaveSpawn
		{
			Name	HoKhebby
			WaitBetweenSpawns	10
			WaitBeforeStarting	10
			SpawnCount	1
			MaxActive	2
			TotalCount	2
			TotalCurrency	100
			WaitForAllDead gateburst
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_HealOnKill
					Item  "Deflector"
					Tag	"bot_giant"
				}
			}
		}
		WaveSpawn
		{
			Name	bannersquad
			WaitBetweenSpawns	10
			WaitBeforeStarting	0
			SpawnCount	6
			MaxActive	6
			TotalCount	36
			TotalCurrency	100
			WaitForAllSpawned	HoKhebby
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			RandomChoice
			{
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Buff_Banner
					ItemAttributes
					{
						ItemName	"the buff banner"
						"deploy time decreased"	0.5
					}
				}
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Concheror
					ItemAttributes
					{
						ItemName	"the concheror"
						"deploy time decreased"	0.5
					}
				}
				TFBot
				{
					Template	T_TFBot_Soldier_Extended_Battalion
					ItemAttributes
					{
						ItemName	"the battalion's backup"
						"deploy time decreased"	0.5
					}
				}
			}
		}
		WaveSpawn
		{
			Name	shottanks
			WaitBetweenSpawns	10
			WaitBeforeStarting	10
			SpawnCount	1
			MaxActive	1
			TotalCount	2
			TotalCurrency	100
			WaitForAllSpawned	HoKhebby
			Where	spawnbot_main1
			Where	spawnbot_main2
			Where	spawnbot_upper0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavy_Shotgun_Tank
				}
			}
		}
		WaveSpawn
		{
			Name	finaleA
			WaitBetweenSpawns	10
			WaitBeforeStarting	10
			SpawnCount	1
			MaxActive	5
			TotalCount	5
			TotalCurrency	100
			WaitForAllDead	HoKhebby
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Demo_Giant_Bomber_Shotgun
				}
			}
		}
		WaveSpawn
		{
			Name	finaleA
			WaitBetweenSpawns	10
			WaitBeforeStarting	10
			SpawnCount	6
			MaxActive	6
			TotalCount	30
			TotalCurrency	100
			WaitForAllDead	HoKhebby
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Where	spawnbot_upper0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Demo_Loch_Frag
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	finaleB
			WaitBetweenSpawns	10
			WaitBeforeStarting	10
			SpawnCount	1
			MaxActive	4
			TotalCount	4
			TotalCurrency	100
			WaitForAllDead	finaleA
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Where	spawnbot_upper0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Deflector
					Tag	"bot_giant"
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	finaleB
			WaitBetweenSpawns	10
			WaitBeforeStarting	10
			SpawnCount	8
			MaxActive	8
			TotalCount	32
			TotalCurrency	100
			WaitForAllDead	finaleA
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			Where	spawnbot_upper0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Heavy_Shotgun_AP
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	bombrunner
			TotalCurrency	0
			TotalCount	50
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	10
			Support	1
			Where	spawnbot_main0
			Where   spawnbot_main1
			Where   spawnbot_main2
			Squad
			{
				TFBot
				{
					//ClassIcon	scout_bombrunner
					WeaponRestrictions   MeleeOnly
					//Health	125
					Skill	Easy
					//Name	"Bomb Runner"
					Class	Scout
				}
			}
		}
	}
	Wave
	{
		Checkpoint	Yes
		WaitWhenDone	65
		StartWaveOutput
		{
			Action	Trigger
			Target	wave_start_relay
		}
		InitWaveOutput
		{
			Target	holograms_3way_relay
			Action	Trigger
		}
	    WaveSpawn
		{
			Name	finaleboss
			WaitBetweenSpawns	10
			WaitBeforeStarting	6
			SpawnCount	1
			MaxActive	1
			TotalCount	1
			TotalCurrency	500
			Where	spawnbot_main0
			Where	spawnbot_main1
			Where	spawnbot_main2
			StartWaveWarningSound  "mvmthemes\Destroyer_Summon.wav"
			FirstSpawnWarningSound "mvmthemes\EndOfTheWorld.mp3"
			Squad
			{
				TFBot
				{
					Template  T_TFBot_Demo_Boss_Destroyer
				}
			}
		}
	}	
}