//V 1.0

#base robot_giant.pop
#base robot_standard.pop
#base robot_gatebot.pop
population
{
	StartingCurrency	500
	RespawnWaveTime	4
	CanBotsAttackWhileInSpawnRoom	no
	Advanced 1
	Mission
	{
		Where spawnbot_side
		Objective Engineer
		InitialCooldown 30
		BeginAtWave 1
		RunForThisManyWaves 2
		CooldownTime 30
		DesiredCount 1
		TFBot
		{
			Template T_TFBot_Engineer_Sentry_Teleporter
			TeleportWhere spawnbot_invasion
		}
	}
	Mission
	{
		Where spawnbot_mission_spy
		Objective Spy
		InitialCooldown 15
		BeginAtWave 2
		RunForThisManyWaves 4
		CooldownTime 40
		DesiredCount 3
		TFBot
		{
			Template T_TFBot_Spy
		}
	}
	Mission
	{
		Where spawnbot_mission_sniper
		Objective Sniper
		InitialCooldown 30
		BeginAtWave 2
		RunForThisManyWaves 1
		CooldownTime 40
		DesiredCount 3
		TFBot
		{
			Template Camper_Sniper
		}
	}
	Mission
	{
		Where spawnbot_mission_sniper_side
		Objective Sniper
		InitialCooldown 10
		BeginAtWave 3
		RunForThisManyWaves 3
		CooldownTime 20
		DesiredCount 1
		TFBot
		{
			Template Alien_Sniper
		}
	}
    Templates
	{
		Agent_Scout
		{
			Health	125
			Name	"Agent S.C.O.U.T."
			Class	Scout
			ClassIcon  scout_shortstop
			Skill	Normal
			Item	"the shortstop"
			Item	"tf_weapon_pistol_scout"
			Item	"tf_weapon_bat"
			Item	"the macho mann"
		}
		Journal_Sniper
		{
			Name	"Distrustful Journalist"
			WeaponRestrictions	SecondaryOnly
			Template	T_TFBot_Sniper_Huntsman
			ClassIcon  sniper_jarate
			Item	"jarate"
			Item	"the bushwacka"
			Item	"killer exclusive"
		}
		Pump_Action
		{
			Health	200
			Name	"Pump Action SWAT Agent"
			Class	Soldier
			ClassIcon  heavy_shotgun_burst
			Skill	Normal
			WeaponRestrictions	SecondaryOnly
			Item	"tf_weapon_rocketlauncher"
			Item	"tf_weapon_shotgun_soldier"
			Item	"tf_weapon_shovel"
			Item	"jumper's jeepcap"
			ItemAttributes
			{
			    ItemName    "tf_weapon_shotgun_soldier"
				"panic_attack" 1
				"Reload time decreased" -0.8
				"fire rate bonus" 0.5
			}
		}
		Gate_Soldier
		{
			Name	"Alien Soldier"
			Template	T_TFBot_Soldier_RocketPush
			EventChangeAttributes
			{
				Default
				{
					Skill Hard
					BehaviorModifiers Push
					WeaponRestrictions PrimaryOnly
					Tag bot_gatebot
					Item "the cow mangler 5000"
					Item "MvM GateBot Light Soldier"
					Attributes IgnoreFlag
					ItemAttributes
			        {
			            ItemName    "the cow mangler 5000"
				        "Set DamageType Ignite" 1
						"damage causes airblast" 1
						"damage bonus" 0.45
						"fire rate bonus" 0.001
						"clip size upgrade atomic" -2
						"faster reload rate" 1.5
						"Blast radius decreased" 1.2
						"projectile spread angle penalty" 2
			        }
					ItemAttributes
					{
						ItemName "MvM GateBot Light Soldier"
						"attach particle effect" 9
					}
				}
				RevertGateBotsBehavior
				{
					Skill Hard
					WeaponRestrictions PrimaryOnly
					Item "the cow mangler 5000"
					Item "MvM GateBot Light Soldier"
					ItemAttributes
			        {
			            ItemName    "the cow mangler 5000"
				        "Set DamageType Ignite" 1
						"damage causes airblast" 1
						"damage bonus" 0.45
						"fire rate bonus" 0.001
						"clip size upgrade atomic" -2
						"faster reload rate" 1.5
						"Blast radius decreased" 1.2
						"projectile spread angle penalty" 2
			        }
					ItemAttributes
					{
						ItemName "MvM GateBot Light Soldier"
						"item style override" 1
						"attach particle effect" 10
					}
				}
			}
		}
		Alien_Spammer_Giant_Soldier
		{
			Name	"Giant Patrol Alien Soldier"
			Template	T_TFBot_Giant_Soldier_Spammer
			ClassIcon  soldier_mangler_giant
			Item	"the cow mangler 5000"
			Item	"parasite hat"
			ItemAttributes
			{
			    ItemName    "parasite hat"
				"attach particle effect" 9
			}
			ItemAttributes
			{
			    ItemName    "the cow mangler 5000"
				"Set DamageType Ignite" 1
				"minicrit vs burning player" 1
			}
		}
		Military_Soldier
		{
			Health	200
			Name	"Take-Action Military Soldier"
			Class	Soldier
			ClassIcon  soldier_libertylauncher
			Skill	Normal
			Attributes	"HoldFireUntilFullReload"
			Item	"the liberty launcher"
			Item	"tf_weapon_shotgun_soldier"
			Item	"tf_weapon_shovel"
			Item	"armored authority"
			ItemAttributes
			{
			    ItemName    "the liberty launcher"
				"clip size bonus" 2.5
				"Blast radius increased" 1.5
			}
		}
		Military_Demo
		{
			Health	175
			Name	"Take-Action Military Demo"
			Class	Demoman
			ClassIcon  demo_clusterbomb
			Skill	Normal
			Attributes	"HoldFireUntilFullReload"
			Item	"the iron bomber"
			Item	"tf_weapon_pipebomblauncher"
			Item	"tf_weapon_bottle"
			Item	"scotch bonnet"
			ItemAttributes
			{
			    ItemName    "the iron bomber"
				"clip size bonus" 2.5
				"Blast radius increased" 1.5
			}
		}
		Gate_Pyro
		{
			Name	"Disintegration Alien Pyro"
			Template	T_TFBot_Pyro
			ClassIcon  pyro_phlog
			EventChangeAttributes
			{
				Default
				{
					Skill Hard
					BehaviorModifiers Push
					WeaponRestrictions PrimaryOnly
					Tag bot_gatebot
					Item	"the phlogistinator"
					Item "MvM GateBot Light Pyro"
					Attributes	"AlwaysFireWeapon"
					Attributes IgnoreFlag
					ItemAttributes
					{
						ItemName "MvM GateBot Light Pyro"
						"attach particle effect" 9
					}
				}
				RevertGateBotsBehavior
				{
					Skill Hard
					WeaponRestrictions PrimaryOnly
					Item	"the phlogistinator"
					Item "MvM GateBot Light Pyro"
					Attributes	"AlwaysFireWeapon"
					ItemAttributes
					{
						ItemName "MvM GateBot Light Pyro"
						"item style override" 1
						"attach particle effect" 10
					}
				}
			}
			
		}
		Military_Heavy
		{
			Health	300
			Name	"Military HeavyWeapons"
			Class	HeavyWeapons
			ClassIcon  heavy_brassbeast
			Skill	Normal
			Item	"tomislav"
			Item	"tf_weapon_shotgun_hwg"
			Item	"tf_weapon_fists"
			Item	"copper's hard top"
			Item	"the apparatchik's apparel"
		}
		Gate_Super_Scout
		{
			Name	"Alien Super Scout"
			Template	T_TFBot_Giant_Scout_Fast
			EventChangeAttributes
			{
				Default
				{
					Skill Expert
					BehaviorModifiers Push
					WeaponRestrictions MeleeOnly
					Tag bot_giant
					Tag bot_gatebot
					Item "MvM GateBot Light Scout"
					Attributes IgnoreFlag
					Attributes MiniBoss
					Item    "batsaber"
					ItemAttributes
					{
					    ItemName    "batsaber"
						"Set DamageType Ignite" 1
						"minicrit vs burning player" 1
					}
					ItemAttributes
					{
						ItemName "MvM GateBot Light Scout"
						"attach particle effect" 9
					}
					CharacterAttributes
					{
					    "move speed bonus" 2
						"damage force reduction" 0.7
						"airblast vulnerability multiplier" 0.7
						"override footstep sound set" 5
					}
				}
				RevertGateBotsBehavior
				{
					Skill Hard
					WeaponRestrictions MeleeOnly
					Tag bot_giant
					Item "MvM GateBot Light Scout"
					Item    "batsaber"
					Attributes MiniBoss
					ItemAttributes
					{
					    ItemName    "batsaber"
						"Set DamageType Ignite" 1
						"minicrit vs burning player" 1
					}
					ItemAttributes
					{
						ItemName "MvM GateBot Light Scout"
						"item style override" 1
						"attach particle effect" 10
					}
					CharacterAttributes
					{
					    "move speed bonus" 2
						"damage force reduction" 0.7
						"airblast vulnerability multiplier" 0.7
						"override footstep sound set" 5
					}
				}
			}
		}
		Posessed_Giant_Spammer_Soldier
		{
			Name	"Posessed Armored Soldier"
			Template	T_TFBot_Giant_Soldier_Spammer_Reload
			Attributes	"AlwaysCrit"
			Item	"parasite hat"
			ItemAttributes
			{
			    ItemName    "parasite hat"
				"attach particle effect" 10
			}
		}
		Crit_Medic
		{
		    Name    "Alien Kritz Medic"
			Template	T_TFBot_Medic_QuickUber
			ClassIcon  medic_kritz
			Item	"the kritzkrieg"
			Item	"parasite hat"
			ItemAttributes
			{
			    ItemName    "parasite hat"
				"attach particle effect" 10
			}
			ItemAttributes
			{
			    ItemName    "the kritzkrieg"
				"uber duration bonus" 9999
			}
			CharacterAttributes
			{
			    "bot medic uber health threshold" 9999
			}
		}
		Giant_Crit_Medic
		{
		    Name    "Giant Alien Kritz Medic"
			Template	T_TFBot_Giant_Medic
			ClassIcon  medic_kritz_giant
			Item	"the kritzkrieg"
			Item	"parasite hat"
			ItemAttributes
			{
				ItemName "the kritzkrieg"
				"uber duration bonus" 9999
			}
			ItemAttributes
			{
			    ItemName    "parasite hat"
				"attach particle effect" 10
			}
			CharacterAttributes
			{
			    "bot medic uber health threshold" 9999
			}
		}
		Giant_Shield_Medic
		{
			Name	"Giant Advanced Tech Medic"
			Template	T_TFBot_Giant_Medic
			ClassIcon  medic_shield_qf_giant
			Attributes  ProjectileShield
			Item	"parasite hat"
			ItemAttributes
			{
			    ItemName    "parasite hat"
				"attach particle effect" 9
			}
			ItemAttributes
			{
			    ItemName    "the quick-fix"
				"generate rage on heal" 2
			    "increase buff duration" 5
			}
		}
		Shield_Medic
		{
			Name	"Advanced Tech Medic"
			Template	T_TFBot_Medic_BigHeal
			ClassIcon  medic_shield_qf
			Attributes  ProjectileShield
			Item	"parasite hat"
			ItemAttributes
			{
			    ItemName    "parasite hat"
				"attach particle effect" 9
			}
			ItemAttributes
			{
			    ItemName    "the quick-fix"
				"generate rage on heal" 2
			    "increase buff duration" 20
			}
		}
		Giant_Shield_Uber_Medic
		{
			Name	"Giant Uber Tech Medic"
			Template	T_TFBot_Giant_Medic
			ClassIcon  medic_shield_uber_giant
			Attributes  ProjectileShield
			Item    "tf_weapon_medigun"
			Item	"parasite hat"
			ItemAttributes
			{
			    ItemName    "parasite hat"
				"attach particle effect" 9
			}
			ItemAttributes
			{
			    ItemName    "tf_weapon_medigun"
				"generate rage on heal" 2
			    "increase buff duration" 5
			}
		}
		Giant_Heavy_Ultra
		{
			Name	"Giant Steel Gunner"
			Template	T_TFBot_Giant_Heavyweapons_Deflector
			ClassIcon  heavy_deflector_push
			Attributes	"AlwaysCrit"
			Item	"tomislav"
			Item	"the heavy artillery officer's cap"
		}
		Light_Speed_Scout
		{
			Health	125
			Name	"Light Speed Alien Scout"
			Class	Scout
			ClassIcon  scout_giant_fast
			Skill	Normal
			WeaponRestrictions	MeleeOnly
			Item	"tf_weapon_scattergun"
			Item	"tf_weapon_pistol_scout"
			Item	"batsaber"
			Item	"parasite hat"
			Item	"bonk boy"
			ItemAttributes
			{
			    ItemName    "parasite hat"
				"attach particle effect" 9
			}
			ItemAttributes
			{
			    ItemName    "batsaber"
				"Set DamageType Ignite" 1
				"minicrit vs burning player" 1
			}
			CharacterAttributes
			{
			    "move speed bonus" 8
			}
		}
		Pistol_Super_Scout
		{
			Name	"Advanced Tech Super Scout"
			WeaponRestrictions	SecondaryOnly
			Template	T_TFBot_Giant_Scout_Fast
			Item    "the c.a.p.p.e.r"
			Item	"parasite hat"
			ItemAttributes
			{
			    ItemName    "parasite hat"
				"attach particle effect" 9
			}
			ItemAttributes
			{
			    ItemName    "the c.a.p.p.e.r"
				"Set DamageType Ignite" 1
				"minicrit vs burning player" 1
				"slow enemy on hit major" 2
			}
		}
		Jarate_Spammer
		{
			Name	"Crazed Alien Hunter"
			Template	T_TFBot_Sniper_Huntsman_Spammer
			ClassIcon  sniper_jarate
			EventChangeAttributes
			{
				Default
				{
					Skill Normal
					BehaviorModifiers Push
					WeaponRestrictions SecondaryOnly
					Tag bot_gatebot
					Tag bot_giant
					Item "MvM GateBot Light Sniper"
					Attributes IgnoreFlag
					Attributes MiniBoss
					Attributes	"AlwaysCrit"
					Item    "the huntsman"
					Item	"jarate"
					ItemAttributes
					{
					    ItemName    "the huntsman"
						"fire rate bonus" 0.6
					}
			        ItemAttributes
			        {
			            ItemName    "jarate"
				        "effect bar recharge rate increased" 0.25
			        }
					ItemAttributes
					{
						ItemName "MvM GateBot Light Sniper"
						"attach particle effect" 9
					}
					CharacterAttributes
					{
					    "move speed bonus" 0.85
					}
				}
				RevertGateBotsBehavior
				{
					Skill Expert
					WeaponRestrictions SecondaryOnly
					Tag bot_giant
					Attributes	"AlwaysCrit"
					Attributes MiniBoss
					Item "MvM GateBot Light Sniper"
					Item	"jarate"
					ItemAttributes
					{
					    ItemName    "the huntsman"
						"fire rate bonus" 0.6
					}
			        ItemAttributes
			        {
			            ItemName    "jarate"
				        "effect bar recharge rate increased" 0.25
			        }
					ItemAttributes
					{
						ItemName "MvM GateBot Light Sniper"
						"item style override" 1
						"attach particle effect" 10
					}
					CharacterAttributes
					{
					    "move speed bonus" 0.85
					}
				}
			}
		}
		Napalm_Pyro_Giant
		{
			Name	"Giant Napalm Pyro"
			Template	T_TFBot_Giant_Pyro
			Attributes	"AlwaysFireWeapon"
			Item	"the degreaser"
			Item	"the birdcage"
			ItemAttributes
			{
			    ItemName    "the degreaser"
			    "flame life bonus" 5
			}
		}
		Jammer_Soldier_Bison
		{
			Name	"Jammer Tech Soldier"
			Health  200
			Class  Soldier
			ClassIcon  soldier_bison
			Item    "tf_weapon_rocketlauncher"
			Item    "tf_weapon_shovel"
			Attributes	"HoldFireUntilFullReload"
			Item	"the righteous bison"
			ItemAttributes
			{
			    ItemName    "the righteous bison"
				"subtract victim medigun charge on hit" 25
				"subtract victim cloak on hit" 90
				"reveal cloaked victim on hit" 1
				"reveal disguised victim on hit" 1
				"fire rate bonus" 0.5
			}
			EventChangeAttributes
			{
				Default
				{
					Skill Hard
					BehaviorModifiers Push
					WeaponRestrictions SecondaryOnly
					Tag bot_gatebot
					Item "MvM GateBot Light Soldier"
					Attributes IgnoreFlag
					Attributes	"HoldFireUntilFullReload"
			        Item	"the righteous bison"
			        ItemAttributes
			        {
			            ItemName    "the righteous bison"
				        "subtract victim medigun charge on hit" 25
				        "subtract victim cloak on hit" 90
				        "reveal cloaked victim on hit" 1
				        "reveal disguised victim on hit" 1
				        "fire rate bonus" 0.5
			        }
					ItemAttributes
					{
						ItemName "MvM GateBot Light Soldier"
						"attach particle effect" 9
					}
				}
				RevertGateBotsBehavior
				{
					Skill Expert
					WeaponRestrictions SecondaryOnly
					Item "MvM GateBot Light Soldier"
			        Attributes	"HoldFireUntilFullReload"
			        Item	"the righteous bison"
			        ItemAttributes
			        {
			            ItemName    "the righteous bison"
				        "subtract victim medigun charge on hit" 25
				        "subtract victim cloak on hit" 90
				        "reveal cloaked victim on hit" 1
				        "reveal disguised victim on hit" 1
				        "fire rate bonus" 0.5
			        }
					ItemAttributes
					{
						ItemName "MvM GateBot Light Soldier"
						"item style override" 1
						"attach particle effect" 10
					}
				}
			}
			
		}
		AntiMedic_Pyro
		{
			Health	175
			Name	"Merciless Anti-Medic Pyro"
			Class	Pyro
			ClassIcon  pyro_thirddegree
			Skill	Normal
			WeaponRestrictions	MeleeOnly
			Attributes	"AlwaysCrit"
			Item	"tf_weapon_flamethrower"
			Item	"tf_weapon_shotgun_pyro"
			Item	"the third degree"
			Item	"parasite hat"
			ItemAttributes
			{
			    ItemName    "parasite hat"
				"attach particle effect" 9
			}
		}
		Boss_Area52General
		{
		    Health  20000
			Name	"Posessed Area 52 General"
			Template	T_TFBot_Giant_Soldier_SlowBarrage
			ClassIcon  boss_ironhelm
			Attributes	"AlwaysCrit"
			Attributes  "UseBossHealthBar"
			Item	"the black box"
			Item	"honcho's headgear"
			ItemAttributes
			{
			    ItemName    "honcho's headgear"
				"attach particle effect" 10
			}
		}
		Tanker_Soldier
		{
			Health	7500
			Name	"Brainless Giant Soldier"
			WeaponRestrictions	MeleeOnly
			Template	T_TFBot_Giant_Soldier
			ClassIcon  boss_hollowhead
			Attributes  "IgnoreEnemies"
			Item	"the escape plan"
			Item	"bucket hat"
			ItemAttributes
			{
			    ItemName    "bucket hat"
				"attach particle effect" 10
			}
		}
		Posessed_Buff_Soldier_Giant
		{
			Name	"Giant Posessed Buff Soldier"
			Template	T_TFBot_Giant_Soldier_Extended_Buff_Banner
			Item	"the tin pot"
			ItemAttributes
			{
			    ItemName    "the tin pot"
				"attach particle effect" 10
			}
		}
		Gate_Conch_Soldier_Giant
		{
			Name	"Giant Alien Conch Soldier"
			Template	T_TFBot_Giant_Soldier_Extended_Concheror
			EventChangeAttributes
			{
				Default
				{
					Skill Hard
					BehaviorModifiers Push
					Tag bot_gatebot
					Tag bot_giant
					Item "the cow mangler 5000"
					Item "the concheror"
					Item "MvM GateBot Light Soldier"
					Attributes SpawnWithFullCharge
					Attributes IgnoreFlag
					Attributes MiniBoss
					ItemAttributes
			        {
			            ItemName    "the cow mangler 5000"
				        "Set DamageType Ignite" 1
			        }
					ItemAttributes
					{
						ItemName "MvM GateBot Light Soldier"
						"attach particle effect" 9
					}
					CharacterAttributes
					{
					    "move speed bonus" 0.5
						"damage force reduction" 0.4
						"airblast vulnerability multiplier" 0.4
						"override footstep sound set" 3
						"increase buff duration" 9.0
					}
				}
				RevertGateBotsBehavior
				{
					Skill Expert
					Tag bot_giant
					Item "the cow mangler 5000"
					Item "the concheror"
					Item "MvM GateBot Light Soldier"
					Attributes SpawnWithFullCharge
					Attributes MiniBoss
					ItemAttributes
			        {
			            ItemName    "the cow mangler 5000"
				        "Set DamageType Ignite" 1
			        }
					ItemAttributes
					{
						ItemName "MvM GateBot Light Soldier"
						"item style override" 1
						"attach particle effect" 10
					}
					CharacterAttributes
					{
					    "move speed bonus" 0.5
						"damage force reduction" 0.4
						"airblast vulnerability multiplier" 0.4
						"override footstep sound set" 3
						"increase buff duration" 9.0
					}
				}
			}
		}
		Gate_Backup_Soldier_Giant
		{
			Name	"Giant Alien Battalion Soldier"
			Template    T_TFBot_Giant_Soldier_Extended_Battalion
			EventChangeAttributes
			{
				Default
				{
					Skill Hard
					BehaviorModifiers Push
					Tag bot_giant
					Tag bot_gatebot
					Item	"the cow mangler 5000"
					Item "MvM GateBot Light Soldier"
					Item "the battalion's backup"
					Attributes SpawnWithFullCharge
					Attributes IgnoreFlag
					Attributes MiniBoss
					ItemAttributes
					{
						ItemName "MvM GateBot Light Soldier"
						"item style override" 1
						"attach particle effect" 9
					}
					CharacterAttributes
					{
					    "move speed bonus" 0.5
						"damage force reduction" 0.4
						"airblast vulnerability multiplier" 0.4
						"override footstep sound set" 3
						"increase buff duration" 9.0
					}
				}
				RevertGateBotsBehavior
				{
					Skill Hard
					Tag bot_giant
					Item	"the cow mangler 5000"
					Item "the battalion's backup"
					Item "MvM GateBot Light Soldier"
					Attributes SpawnWithFullCharge
					Attributes MiniBoss
					ItemAttributes
					{
						ItemName "MvM GateBot Light Soldier"
						"item style override" 1
						"attach particle effect" 10
					}
					CharacterAttributes
					{
					    "move speed bonus" 0.5
						"damage force reduction" 0.4
						"airblast vulnerability multiplier" 0.4
						"override footstep sound set" 3
						"increase buff duration" 9.0
					}
				}
			}
		}
		Jumping_Sandman_Small
		{
			Name	"Mosquito Scout"
			Scale	0.65
			Template	T_TFBot_Scout_Jumping_Sandman
			Item	"the boston basher"
			CharacterAttributes
			{
			    "cancel falling damage" 1
			}
		}
		Bear_Heavy
		{
			Name	"Bear Mutant Heavy"
			Template	T_TFBot_Heavyweapons_Fist
			ClassIcon  heavy_dwarf
			Item	"warrior's spirit"
			Item	"the k-9 mane"
		}
		Air_Commando
		{
			AutoJumpMin	5
			AutoJumpMax	10
			Name	"Posessed Air Commando"
			Template	T_TFBot_Soldier_RocketPush
			ClassIcon  soldier_rocketrain
			Attributes	"AutoJump"
			Attributes  "Parachute"
			Item	"the air strike"
			Item    "the b.a.s.e. jumper"
			Item	"the whirly warrior"
			ItemAttributes
			{
			    ItemName    "the air strike"
				"clip size bonus" 1.5
				"increased jump height" 2
			}
			ItemAttributes
			{
			    ItemName    "the whirly warrior"
				"attach particle effect" 10
			}
		}
		Posessed_BlackBox_Giant
		{
			Name	"Giant Posessed Black Box"
			Template	T_TFBot_Giant_Soldier_RocketShotgun
			Item	"the cross-comm crash helmet"
			ItemAttributes
			{
			    ItemName    "the cross-comm crash helmet"
				"attach particle effect" 10
			}
		}
		Bear_Heavy_Giant
		{
			Name	"Super Bear Mutant"
			Template	T_TFBot_Giant_Boxing_Heavy
			ClassIcon  heavy_dwarf_giant
			Attributes  "AlwaysCrit"
			Item	"warrior's spirit"
			Item	"the k-9 mane"
			CharacterAttributes
			{
			    "move speed bonus" 1.8
			}
		}
		Chicken_Pyro
		{
			Name	"Chicken Pyro"
			WeaponRestrictions	MeleeOnly
			Template	T_TFBot_Pyro
			ClassIcon  pyro_fireaxe
			Attributes	"AlwaysCrit"
			Item	"the lollichop"
			Item	"robot chicken hat"
			ItemAttributes
			{
			    ItemName    "robot chicken hat"
				"damage penalty" 0.1
				"crit forces victim to laugh" 1
			}
		}
		Iron_CrazyBurst_Demo
		{
			Name	"Posessed Bombarder Demo"
			Template	T_TFBot_Giant_Demo_Burst
			ClassIcon  demo_clusterbomb_Giant
			Attributes	"AlwaysCrit"
			Item    "the iron bomber"
			Item	"the cyborg stunt helmet"
			ItemAttributes
			{
				ItemName	tf_weapon_grenadelauncher
				"clip size upgrade atomic"	14.0
			}
			ItemAttributes
			{
			    ItemName    "the cyborg stunt helmet"
				"attach particle effect" 10
			}
			
		}
		Air_Cannon_Demo
		{
			AutoJumpMin	5
			AutoJumpMax	10
			Name	"Flying Mann"
			Template	T_TFBot_Demo_Burst
			ClassIcon  demo_loosecannon
			Attributes	"AutoJump"
			Attributes  "Parachute"
			Item    "the b.a.s.e. jumper"
			Item	"the loose cannon"
			Item	"the mann-bird of aberdeen"
			ItemAttributes
			{
			    ItemName    "the loose cannon"
				"clip size bonus" 1.5
				"increased jump height" 2
			}
		}
		Gate_TechFlare_Pyro
		{
			Name	"Mann Melter Pyro"
			Template	T_TFBot_Pyro
			ClassIcon  pyro_manmelter
			EventChangeAttributes
			{
				Default
				{
					Skill Hard
					BehaviorModifiers Push
					Tag bot_gatebot
					WeaponRestrictions  SecondaryOnly
					Item "MvM GateBot Light Pyro"
					Attributes IgnoreFlag
					Item    "the manmelter"
			        ItemAttributes
			        {
			            ItemName    "the manmelter"
				        "fire rate bonus" 0.2
			        }
					ItemAttributes
					{
						ItemName "MvM GateBot Light Pyro"
						"item style override" 1
						"attach particle effect" 9
					}
				}
				RevertGateBotsBehavior
				{
					Skill Expert
					WeaponRestrictions  SecondaryOnly
					Item "MvM GateBot Light Pyro"
					Item    "the manmelter"
			        ItemAttributes
			        {
			            ItemName    "the manmelter"
				        "fire rate bonus" 0.2
			        }
					ItemAttributes
					{
						ItemName "MvM GateBot Light Pyro"
						"item style override" 1
						"attach particle effect" 10
					}
				}
			}
		}
		Gate_Powerjack_Pyro
		{
			Name	"Spine Breaker Pyro"
			Template	T_TFBot_Pyro
			ClassIcon  pyro_powerjack
			Item	"the powerjack"
			EventChangeAttributes
			{
				Default
				{
					Skill Expert
					BehaviorModifiers Push
					Tag bot_gatebot
					WeaponRestrictions  MeleeOnly
					Item	"the powerjack"
					Item "MvM GateBot Light Pyro"
					Attributes IgnoreFlag
			        ItemAttributes
			        {
			            ItemName    "the powerjack"
				        "damage bonus" 2
				        "mark for death" 1
			        }
					ItemAttributes
					{
						ItemName "MvM GateBot Light Pyro"
						"attach particle effect" 9
					}
				}
				RevertGateBotsBehavior
				{
					Skill Expert
					WeaponRestrictions  MeleeOnly
					Item	"the powerjack"
					Item "MvM GateBot Light Pyro"
					ItemAttributes
			        {
			            ItemName    "the powerjack"
				        "damage bonus" 2
				        "mark for death" 1
		        	}
					ItemAttributes
					{
						ItemName "MvM GateBot Light Pyro"
						"item style override" 1
						"attach particle effect" 10
					}
				}
			}
		}
		Air_Colonel_Barrage
		{
			Health	6000
			AutoJumpMin	5
			AutoJumpMax	10
			Name	"Posessed Artillery Barrage"
			Template	T_TFBot_Giant_Soldier_SlowBarrage
			ClassIcon  soldier_rocketrain_giant
			Attributes	"AlwaysCrit"
			Attributes	"AutoJump"
			Item	"the hardium helm"
			ItemAttributes
			{
			    ItemName    "the hardium helm"
				"attach particle effect" 10
			}
		}
		Bullet_Medic
		{
			Name	"Alien Bullet Resistor"
			Template	T_TFBot_Medic
			ClassIcon  medic_bullet
			Attributes  "VaccinatorBullets"
			Attributes  "BulletImmune"
			Item	"the vaccinator"
			Item	"parasite hat"
			ItemAttributes
			{
			    ItemName    "parasite hat"
				"attach particle effect" 9
			}
		}
		Giant_Bullet_Medic
		{
			Name	"Giant Alien Bullet Resistor"
			Template	T_TFBot_Giant_Medic
			ClassIcon  medic_bullet_giant
			Attributes  "VaccinatorBullets"
			Attributes  "BulletImmune"
			Item	"the vaccinator"
			Item	"the combat medic's crusher cap"
			ItemAttributes
			{
			    ItemName    "the combat medic's crusher cap"
				"attach particle effect" 9
			}
		}
		Fire_Medic
		{
			Name	"Alien Fire Resistor"
			Template	T_TFBot_Medic
			ClassIcon  medic_fire
			Attributes  "VaccinatorFire"
			Attributes  "FireImmune"
			Item	"the vaccinator"
			Item	"parasite hat"
			ItemAttributes
			{
			    ItemName    "parasite hat"
				"attach particle effect" 9
			}
		}
		Giant_Fire_Medic
		{
			Name	"Giant Alien Fire Resistor"
			Template	T_TFBot_Giant_Medic
			ClassIcon  medic_fire_giant
			Attributes  "VaccinatorFire"
			Attributes  "FireImmune"
			Item	"the vaccinator"
			Item	"the combat medic's crusher cap"
			ItemAttributes
			{
			    ItemName    "the combat medic's crusher cap"
				"attach particle effect" 9
			}
		}
		Blast_Medic
		{
			Name	"Alien Blast Resistor"
			Template	T_TFBot_Medic
			ClassIcon  medic_blast
			Attributes  "VaccinatorBlast"
			Attributes  "BlastImmune"
			Item	"the vaccinator"
			Item	"parasite hat"
			ItemAttributes
			{
			    ItemName    "parasite hat"
				"attach particle effect" 9
			}
		}
		Giant_Blast_Medic
		{
			Name	"Giant Alien Blast Resistor"
			Template	T_TFBot_Giant_Medic
			ClassIcon  medic_blast_giant
			Attributes  "VaccinatorBlast"
			Attributes  "BlastImmune"
			Item	"the vaccinator"
			Item	"the combat medic's crusher cap"
			ItemAttributes
			{
			    ItemName    "the combat medic's crusher cap"
				"attach particle effect" 9
			}
		}
		Boss_Final_AlienKing
		{
			Health	40000
			Name	"Mothership Alien King"
			Template	T_TFBot_Giant_Pyro_Flare_Spammer
			ClassIcon  pyro_manmelter_giant
			Attributes	"AlwaysCrit"
			Attributes	"UseBossHealthBar"
			Attributes	"AlwaysFireWeapon"
			Item	"the manmelter"
			Item	"area 451"
			ItemAttributes
			{
			    ItemName    "area 451"
				"attach particle effect" 16
			}
			ItemAttributes
			{
				ItemName	"the manmelter"
				"fire rate bonus"	0.1
				"projectile spread angle penalty" 3
			}
			CharacterAttributes
			{
			    "move speed bonus" 0.5
			}
		}
		Boss_Shield_Blast_Medic
		{
			Health	20000
			Name	"Chief Mothership Medic"
			WeaponRestrictions	SecondaryOnly
			Template	T_TFBot_Giant_Medic_Regen
			ClassIcon  medic_blast_giant
			Attributes  "VaccinatorBlast"
			Attributes  "BlastImmune"
			Attributes	"SpawnWithFullCharge"
			Attributes	"UseBossHealthBar"
			Item	"the vaccinator"
			Item	"the team captain"
			Item	"emerald jarate"
			ItemAttributes
			{
			    ItemName    "the vaccinator"
				"generate rage on heal" 2
			    "increase buff duration" 99.0
			}
			ItemAttributes
			{
			    ItemName    "the team captain"
				"attach particle effect" 14
			}
			ItemAttributes
			{
			    ItemName    "emerald jarate"
				"attach particle effect" 9
			}
		}
		Charged_Soldier_Alien
		{
			Name	"Mothership Guard"
			Template	T_TFBot_Giant_Soldier_Crit
			ClassIcon  soldier_mangler_giant
			Attributes  "AlwaysCrit"
			Item	"the cow mangler 5000"
			Item	"the chief constable"
			ItemAttributes
			{
			    ItemName    "the chief constable"
				"attach particle effect" 14
			}
			ItemAttributes
			{
				ItemName	"the cow mangler 5000"
				"faster reload rate"	-0.8
				"fire rate bonus"	0.8
				"Projectile speed increased"	1.5
			}
		}
		Alien_Sniper
		{
		    Name    "Advanced Tech Sniper"
			Template    T_TFBot_Sniper
			ClassIcon  sniper_flame
			Item    "the machina"
			Item    "the razorback"
			Item    "parasite hat"
			ItemAttributes
			{
			    ItemName    "parasite hat"
				"attach particle effect" 9
			}
			ItemAttributes
			{
			    ItemName    "the machina"
				"Set DamageType Ignite" 1
				"crit vs burning players" 1
			}
		}
		Camper_Sniper
		{
		    Name    "Camper Sniper"
			Skill   Hard
			Template	T_TFBot_Sniper_Razorback
			ClassIcon  sniper_camper
			Item    "the machina"
			Item    "the cozy camper"
		}
		Deflector_Alien
		{
			Health	300
			Name	"Alien Deflector Heavy"
			Class	HeavyWeapons
			ClassIcon  heavy_deflector
			Skill	Normal
			Item	"deflector"
			Item	"tf_weapon_shotgun_hwg"
			Item	"tf_weapon_fists"
			Item	"parasite hat"
			ItemAttributes
			{
			    ItemName    "parasite hat"
				"attach particle effect" 9
			}
		}
		Super_Scout_Alien
		{
			Name	"Super Time Warper Scout"
			Template	T_TFBot_Giant_Scout_Fast
			Item	"autogrant pyrovision goggles"
			Item    "batsaber"
			ItemAttributes
			{
			    ItemName    "autogrant pyrovision goggles"
				"attach particle effect" 9
			}
		}
		Giant_Uber_Medic
		{
			Name	"Giant Uber Medic"
			Template	T_TFBot_Giant_Medic
			Item	"tf_weapon_medigun"
			Item	"parasite hat"
			ItemAttributes
			{
			    ItemName    "parasite hat"
				"attach particle effect" 9
			}
		}
		German_Soldier
		{
			Name	"German Soldier"
			WeaponRestrictions	PrimaryOnly
			Template	T_TFBot_Soldier_Buff_Banner
			ClassIcon  soldier_crit
			Item	"the original"
			Item	"tf_weapon_shotgun_soldier"
			Item	"stahlhelm"
			Item	"marshall's mutton chops"
			ItemAttributes
			{
			    ItemName    "the original"
				"damage bonus" 2
				"Blast radius increased" 1.2
				"use large smoke explosion" 1
				"clip size penalty" 0.25
				"Reload time increased" 3
			}
		}
		Giant_Demo_Cannon
		{
			Name	"Giant Pirate Demo"
			Template	T_TFBot_Giant_Demo_Burst
			Item	"the loose cannon"
			Item	"the buccaneer's bicorne"
			ItemAttributes
			{
				ItemName	"the loose cannon"
				"clip size upgrade atomic"	28.0
			}
		}
		Sushi_Cook
		{
			Name	"Sushi Cook"
			WeaponRestrictions	SecondaryOnly
			Template	T_TFBot_Scout_Melee
			ClassIcon  scout_cleaver
			Item	"the flying guillotine"
			Item	"humanitarian's hachimaki"
			CharacterAttributes
			{
				"effect bar recharge rate increased"	0.001
			}
		}
		Giant_Heater_Deflector
		{
			Name	"Giant Chinese Deflector"
			Template	T_TFbot_Heavyweapons_Heater
			ClassIcon  pyro_airblast
			Item	"hong kong cone"
			ItemAttributes
			{
			    ItemName    "the huo long heatmaker"
				"attack projectiles" 2
			}
			ItemAttributes
			{
			    ItemName    "hong kong cone"
				"attach particle effect" 10
			}
		}
		Chinese_Heavy
		{
			Health	300
			Name	"Chinese Heavy"
			Class	HeavyWeapons
			ClassIcon  heavy_heater
			Skill	Normal
			Item	"the huo long heatmaker"
			Item	"tf_weapon_shotgun_hwg"
			Item	"tf_weapon_fists"
			Item	"hong kong cone"
			ItemAttributes
			{
			    ItemName    "hong kong cone"
				"attach particle effect" 10
			}
		}
		Shortstop_Posessed
		{
			Name	"Upgraded Posessed Agent"
			Template	T_TFBot_Scout_Shortstop
			Item	"the hermes"
			ItemAttributes
			{
			    ItemName    "the hermes"
				"attach particle effect" 10
			}
			CharacterAttributes
			{
				"move speed bonus"	4
			}
		}
		Shortstop_Ultra
		{
			Name	"Reinforced Ultra Agent"
			WeaponRestrictions	PrimaryOnly
			Template	T_TFBot_Giant_Scout_Fast
			ClassIcon  scout_shortstop
			Attributes	"AlwaysCrit"
			Item	"the shortstop"
			Item	"the deus specs"
			ItemAttributes
			{
			    ItemName    "the shortstop"
				"clip size bonus" 10
			}
			ItemAttributes
			{
			    ItemName    "the deus specs"
				"attach particle effect" 10
			}
		}
		Shotgun_Ultra
		{
			Name	"Reinforced Posessed Shotgun"
			Template	T_TFBot_Giant_Heavyweapons_Shotgun
			ClassIcon  heavy_shotgun_burst_giant
			Attributes	"AlwaysCrit"
			Item	"the family business"
			Item	"the team captain"
			ItemAttributes
			{
				ItemName	"the family business"
				"fire rate bonus"	0.5
				"faster reload rate"	-0.8
				"panic_attack" 1
			}
			ItemAttributes
			{
			    ItemName    "the team captain"
				"attach particle effect" 10
			}
		}
	}
	Wave
	{
		WaitWhenDone	60
		Checkpoint	Yes
		Sound "announcer.incomingmob"
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	W1_Scouts
			TotalCurrency	500
			TotalCount	80
			MaxActive	20
			SpawnCount	2
			Where	spawnbot_side
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			TFBot
			{
				Template	Agent_Scout
				Tag nav_prefer_flank_1
				Tag nav_prefer_flank_5
			}
		}
		WaveSpawn
		{
			Name	W1_Bowmans
			TotalCurrency	100
			TotalCount	20
			MaxActive	20
			SpawnCount	1
			Where	spawnbot_invasion
			WaitBeforeStarting	15
			WaitBetweenSpawns	0.5
			TFBot
			{
				Template	Journal_Sniper
				Tag  nav_prefer_flank_2
			}
		}
		WaveSpawn
		{
			Name	W1_Shotgun
			WaitForAllDead	W1_Scouts
			TotalCurrency	50
			TotalCount	20
			MaxActive	20
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			TFBot
			{
				Template	Pump_Action
			}
		}
		WaveSpawn
		{
			Name	W1_GiantBackup
			WaitForAllDead	W1_Bowmans
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_side
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			TFBot
			{
				Template	Gate_Backup_Soldier_Giant
			}
		}
		WaveSpawn
		{
			Name	W1_ManglerSupport
			WaitForAllSpawned	W1_GiantBackup
			TotalCurrency	100
			TotalCount	50
			MaxActive	5
			SpawnCount	5
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			Support	1
			TFBot
			{
				Template	Gate_Soldier
					
		    }
		}
		WaveSpawn
		{
			Name	W1_Final
			WaitForAllSpawned	W1_GiantBackup
			TotalCurrency	200
			TotalCount	6
			MaxActive	6
			SpawnCount	6
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	Alien_Spammer_Giant_Soldier
					Tag  nav_prefer_flank_4
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
	}
		Wave
	{
		WaitWhenDone	60
		Checkpoint	Yes
		Sound "announcer.incomingmob"
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	W2_Soldiers
			TotalCurrency	75
			TotalCount	20
			MaxActive	20
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.2
			TFBot
			{
				Template	Military_Soldier
			}
		}
		WaveSpawn
		{
			Name	W2_Demos
			TotalCurrency	75
			TotalCount	40
			MaxActive	10
			SpawnCount	5
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	2
			TFBot
			{
				Template	Military_Demo
			}
		}
		WaveSpawn
		{
			Name	W2_Pyros
			WaitForAllDead  W2_Soldiers
			TotalCurrency	75
			TotalCount	20
			MaxActive	10
			SpawnCount	1
			Where	spawnbot_invasion
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.2
			TFBot
			{
				Template	Gate_Pyro
			}
		}
		WaveSpawn
		{
			Name	W2_Heavies
			WaitForAllDead	W2_Pyros
			TotalCurrency	200
			TotalCount	20
			MaxActive	20
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			Squad
			{
				TFBot
				{
					Template	Military_Heavy
				}
				TFBot
				{
					Template	T_TFBot_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	W2_Super
			WaitForAllSpawned	W2_Heavies
			TotalCurrency	200
			TotalCount	3
			MaxActive	3
			SpawnCount	1
			Where	spawnbot_invasion
			WaitBeforeStarting	0
			WaitBetweenSpawns	35
			TFBot
			{
				Template	Gate_Super_Scout
				Tag  nav_prefer_flank_4
				Tag  nav_prefer_flank_5
			}
		}
		WaveSpawn
		{
			Name	W2_GiantSoldier
			WaitForAllDead	W2_Heavies
			TotalCurrency	200
			TotalCount	5
			MaxActive	5
			SpawnCount	5
			Where	spawnbot_invasion
			WaitBeforeStarting	1
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	Posessed_Giant_Spammer_Soldier
					Tag  nav_prefer_flank_4
					Tag  nav_prefer_flank_2
					Tag  nav_prefer_flank_3
				}
				TFBot
				{
					Template	Giant_Shield_Medic
				}
				TFBot
				{
					Template	Crit_Medic
				}
				TFBot
				{
					Template	Crit_Medic
				}
				TFBot
				{
					Template	Crit_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	W2_Final
			WaitForAllDead	W2_GiantSoldier
			TotalCurrency	250
			TotalCount	6
			MaxActive	6
			SpawnCount	6
			Where	spawnbot
			WaitBeforeStarting	2
			WaitBetweenSpawns	5
			Squad
			{
				TFBot
				{
					Template	Giant_Heavy_Ultra
					Tag  nav_prefer_flank_4
				}
				TFBot
				{
					Template	Giant_Shield_Uber_Medic
				}
			}
		}
	}
		Wave
	{
		WaitWhenDone	60
		Checkpoint	Yes
		Sound "announcer.incomingmob"
		InitWaveOutput
		{
		    Target  ElevatorPit
			Action  Unlock
		}
		StartWaveOutput
		{
			Target	wave_start_ironman_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	W4_InitGiant
			TotalCurrency	150
			TotalCount	7
			MaxActive	7
			SpawnCount	7
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	Giant_Heater_Deflector
					ClassIcon  heavy
				}
				TFBot
				{
					Template	Giant_Shield_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	Blast_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	Blast_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	Blast_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	Blast_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	Blast_Medic
					ClassIcon  medic
				}
			}
		}
		WaveSpawn
		{
			Name	W4_InitHeavies
			TotalCurrency	50
			TotalCount	10
			MaxActive	10
			SpawnCount	2
			Where	spawnbot_side
			WaitBeforeStarting	4
			WaitBetweenSpawns	3
			TFBot
			{
			    Template    Chinese_Heavy
				ClassIcon  heavy
			}
		}
		WaveSpawn
		{
			Name	W4_InitMedics
			TotalCurrency	50
			TotalCount	10
			MaxActive	10
			SpawnCount	2
			Where	spawnbot_side
			WaitBeforeStarting	4
			WaitBetweenSpawns	3
			RandomChoice
			{
				TFBot
				{
					Template	T_TFBot_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	Bullet_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	Bullet_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	Fire_Medic
					ClassIcon  medic
				}
			}
		}
		WaveSpawn
		{
			Name	W4_InitJumper
			WaitForAllSpawned	W4_InitGiant
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_boss_side
			WaitBeforeStarting	2
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
			    Target  boss_dead_addbomb1_relay
				Action  Trigger
			}
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Jumping_Sandman
			}
		}
		WaveSpawn
		{
			Name	W4_DemoUltra1
			WaitForAllSpawned	W4_InitHeavies
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_boss_side
			WaitBeforeStarting	2
			WaitBetweenSpawns	0
			TFBot
			{
				Template	Iron_CrazyBurst_Demo
			}
		}
		WaveSpawn
		{
			Name	W4_DemoUltra2
			WaitForAllDead	W4_DemoUltra1
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	Iron_CrazyBurst_Demo
				}
				TFBot
				{
					Template	Giant_Blast_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	Giant_Fire_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	Giant_Bullet_Medic
					ClassIcon  medic
				}
			}
		}
		WaveSpawn
		{
			Name	W4_GiantPyro
			WaitForAllDead	W4_DemoUltra1
			TotalCurrency	100
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	Napalm_Pyro_Giant
					Attributes	"AlwaysCrit"
				}
				TFBot
				{
					Template	Giant_Shield_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	Giant_Uber_Medic
					ClassIcon  medic
				}
			}
		}
		WaveSpawn
		{
			Name	W4_PowerPyros
			WaitForAllDead	W4_InitGiant
			TotalCurrency	100
			TotalCount	20
			MaxActive	10
			SpawnCount	10
			Where	spawnbot_side
			WaitBeforeStarting	0
			WaitBetweenSpawns	15
			TFBot
			{
				Template	Gate_Powerjack_Pyro
			}
		}
		WaveSpawn
		{
			Name	W4_FANScouts
			WaitForAllDead	W4_DemoUltra2
			TotalCurrency	100
			TotalCount	3
			MaxActive	3
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			TFBot
			{
				Template	T_TFGateBot_Giant_Scout_FAN
			}
		}
		WaveSpawn
		{
			Name	W4_FlarePyros
			WaitForAllDead	W4_GiantPyro
			TotalCurrency	100
			TotalCount	20
			MaxActive	20
			SpawnCount	1
			Where	spawnbot_invasion
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			TFBot
			{
				Template	Gate_TechFlare_Pyro
				Attributes	"AlwaysCrit"
			}
		}
		WaveSpawn
		{
			Name	W4_SuperBear
			WaitForAllDead	W4_GiantPyro
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	Bear_Heavy_Giant
				}
				TFBot
				{
					Template	Giant_Fire_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	Giant_Fire_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	Giant_Bullet_Medic
					ClassIcon  medic
				}
			}
		}
		WaveSpawn
		{
			Name	W4_Bears
			WaitForAllSpawned	W4_SuperBear
			TotalCurrency	100
			TotalCount	30
			MaxActive	30
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	2
			Squad
			{
				TFBot
				{
					Template	Bear_Heavy
				}
				TFBot
				{
					Template	Fire_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	Fire_Medic
					ClassIcon  medic
				}
			}
		}
		WaveSpawn
		{
			Name	W4_BearSupport
			WaitForAllDead	W4_Bears
			TotalCurrency	50
			TotalCount	6
			MaxActive	6
			SpawnCount	6
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			Support	1
			Squad
			{
				TFBot
				{
					Template	Bear_Heavy
				}
				TFBot
				{
					Template	Fire_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	Fire_Medic
					ClassIcon  medic
				}
			}
		}
		WaveSpawn
		{
			Name	W4_MainA
			WaitForAllDead	W4_SuperBear
			TotalCurrency	50
			TotalCount	10
			MaxActive	10
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			TFBot
			{
				Template	Military_Demo
			}
		}
		WaveSpawn
		{
			Name	W4_GeneralB
			WaitForAllDead	W4_SuperBear
			TotalCurrency	50
			TotalCount	10
			MaxActive	10
			SpawnCount	1
			Where	spawnbot_side
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			TFBot
			{
				Template	Military_Heavy
				ClassIcon  heavy
			}
		}
		WaveSpawn
		{
			Name	W4_GeneralC
			WaitForAllDead	W4_SuperBear
			TotalCurrency	0
			TotalCount	10
			MaxActive	10
			SpawnCount	1
			Where	spawnbot_invasion
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			TFBot
			{
				Template	Journal_Sniper
			}
		}
		WaveSpawn
		{
			Name	W4_AirStrike
			WaitForAllDead	W4_GeneralC
			TotalCurrency	100
			TotalCount	40
			MaxActive	40
			SpawnCount	8
			Where	spawnbot_invasion
			WaitBeforeStarting	2
			WaitBetweenSpawns	2
			Squad
			{
				TFBot
				{
					Template	Air_Cannon_Demo
					ClassIcon  demo_burst
				}
				TFBot
				{
					Template	Air_Commando
					ClassIcon  soldier
				}
			}
		}
		WaveSpawn
		{
			Name	W4_Pissers
			WaitForAllDead	W4_GeneralC
			TotalCurrency	0
			TotalCount	5
			MaxActive	5
			SpawnCount	1
			Where   spawnbot_boss_side
			WaitBeforeStarting	3
			WaitBetweenSpawns	2
			TFBot
			{
				Template	Jarate_Spammer
			}
		}
		WaveSpawn
		{
			Name	W4_Buffers1
			WaitForAllDead	W4_GeneralC
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot
			Where   spawnbot_boss_side
			WaitBeforeStarting	2
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	Gate_Conch_Soldier_Giant
				}
				TFBot
				{
					Template	Gate_Backup_Soldier_Giant
				}
			}
		}
		WaveSpawn
		{
			Name	W4_AirSoldier
			WaitForAllDead	W4_AirStrike
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_boss_side
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			TFBot
			{
				Template	Air_Colonel_Barrage
			}
		}
		WaveSpawn
		{
			Name	W4_ScoutsFinal
			WaitForAllDead	W4_AirStrike
			TotalCurrency	100
			TotalCount	8
			MaxActive	8
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	4
			Squad
			{
				TFBot
				{
					Template	Super_Scout_Alien
				}
				TFBot
				{
					Template	Pistol_Super_Scout
				}
			}
		}
		WaveSpawn
		{
			Name	W4_Boss
			WaitForAllDead  W4_ScoutsFinal
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	4
			WaitBetweenSpawns	0
			LastSpawnWarningSound "MVM.TankSpawn"
			FirstSpawnOutput
			{
			    Target ElevatorPit
				Action Close
			}
			TFBot
			{
				Template	Boss_Area52General
			}
		}
	}
		Wave
	{
		WaitWhenDone	60
		Checkpoint	Yes
		Sound "announcer.incomingmob"
		StartWaveOutput
		{
			Target	wave_start_ironman_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	W3_InitBuffGiant
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	Posessed_Buff_Soldier_Giant
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	W3_InitHeavies
			TotalCurrency	50
			TotalCount	40
			MaxActive	40
			SpawnCount	2
			Where	spawnbot_invasion
			WaitBeforeStarting	2
			WaitBetweenSpawns	2
			Squad
			{
				TFBot
				{
				    Template    Deflector_Alien
					ClassIcon  heavy
				}
				TFBot
				{
					Template	Shield_Medic
					ClassIcon  medic
				}
			}
		}
		WaveSpawn
		{
			Name	W3_GateSoldiers
			WaitForAllDead	W3_InitBuffGiant
			TotalCurrency	50
			TotalCount	35
			MaxActive	35
			SpawnCount	5
			Where	spawnbot_invasion
			WaitBeforeStarting	2
			WaitBetweenSpawns	2
			TFBot
			{
				Template	Gate_Soldier
				ClassIcon  soldier
			}
		}
		WaveSpawn
		{
			Name	W3_SuperScout
			WaitForAllSpawned	W3_GateSoldiers
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_boss_side
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			TFBot
			{
				Template	Super_Scout_Alien
			}
		}
		WaveSpawn
		{
			Name	W3_Fasties
			WaitForAllSpawned	W3_SuperScout
			TotalCurrency	50
			TotalCount	15
			MaxActive	15
			SpawnCount	5
			Where	spawnbot_side
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			TFBot
			{
				Template	Light_Speed_Scout
			}
		}
		WaveSpawn
		{
			Name	W3_GateSupers
			WaitForAllDead	W3_SuperScout
			TotalCurrency	100
			TotalCount	3
			MaxActive	3
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	2
			WaitBetweenSpawns	5
			TFBot
			{
				Template	Gate_Super_Scout
			}
		}
		WaveSpawn
		{
			Name	W3_Choice
			WaitForAllDead	W3_SuperScout
			TotalCurrency	100
			TotalCount	20
			MaxActive	20
			SpawnCount	1
			Where	spawnbot_side
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			RandomChoice
			{
				TFBot
				{
					Template	Military_Soldier
					ClassIcon  soldier
				}
				TFBot
				{
					Template	Military_Demo
					ClassIcon  demo_burst
				}
				TFBot
				{
					Template	Military_Heavy
					ClassIcon  heavy
				}
				TFBot
				{
					Template	Gate_Pyro
					ClassIcon  pyro
				}
			}
		}
		WaveSpawn
		{
			Name	W3_GiantPyro
			WaitForAllSpawned	W3_Choice
			TotalCurrency	100
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	Napalm_Pyro_Giant
				}
				TFBot
				{
					Template	Giant_Bullet_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	Giant_Uber_Medic
					ClassIcon  medic
				}
			}
		}
		WaveSpawn
		{
			Name	W3_GiantHeavy
			WaitForAllSpawned	W3_GiantPyro
			TotalCurrency	100
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot_boss_side
			WaitBeforeStarting	3
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Name	"Giant Posessed Heavy"
					Template	T_TFBot_Giant_Heavyweapons
					Item	"parasite hat"
					ItemAttributes
					{
					    ItemName    "parasite hat"
						"attach particle effect" 10
					}
				}
				TFBot
				{
					Template	Giant_Shield_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	Giant_Crit_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	W3_Jaraters
			WaitForAllSpawned	W3_GiantHeavy
			TotalCurrency	100
			TotalCount	5
			MaxActive	5
			SpawnCount	1
			Where	spawnbot
			Where   spawnbot_boss_side
			WaitBeforeStarting	5
			WaitBetweenSpawns	2
			TFBot
			{
				Template	Jarate_Spammer
			}
		}
		WaveSpawn
		{
			Name	W3_TimeBows
			WaitForAllDead	W3_GiantHeavy
			TotalCurrency	50
			TotalCount	20
			MaxActive	20
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			TFBot
			{
				Name	"Primitive Bowman"
				Template	T_TFBot_Sniper_Huntsman
				Item	"the five-month shadow"
			}
		}
		WaveSpawn
		{
			Name	W3_InvasionCleavers
			WaitForAllDead	W3_GiantHeavy
			TotalCurrency	50
			TotalCount	35
			MaxActive	35
			SpawnCount	1
			Where	spawnbot_invasion
			WaitBeforeStarting	3
			WaitBetweenSpawns	1.5
			TFBot
			{
				Template	Sushi_Cook
				ClassIcon  scout
			}
		}
		WaveSpawn
		{
			Name	W3_Samurais
			WaitForAllDead	W3_TimeBows
			TotalCurrency	100
			TotalCount	5
			MaxActive	5
			SpawnCount	1
			Where	spawnbot
			Where   spawnbot_boss_side
			WaitBeforeStarting	0
			WaitBetweenSpawns	3
			TFBot
			{
				Template	T_TFBot_Demoman_Samurai
				ClassIcon  demoknight
			}
		}
		WaveSpawn
		{
			Name	W3_DemoGiants
			WaitForAllDead	W3_TimeBows
			TotalCurrency	100
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	3
			WaitBetweenSpawns	1
			Squad
			{
			    ShouldPreserveSquad  1
				TFBot
				{
					Template	T_TFBot_Giant_DemoMan_PrinceTavish
				}
				TFBot
				{
					Template	Giant_Demo_Cannon
					ClassIcon  demo_burst
				}
				TFBot
				{
					Template	Iron_CrazyBurst_Demo
					ClassIcon  demo_burst
				}
			}
		}
		WaveSpawn
		{
			Name	W3_SoldierSupport
			TotalCurrency	0
			TotalCount	20
			MaxActive	20
			SpawnCount	20
			Where	spawnbot_invasion
			WaitBeforeStarting	15
			WaitBetweenSpawns	15
			Support	1
			TFBot
			{
				Template	Gate_Soldier
				ClassIcon  soldier
			}
		}
		WaveSpawn
		{
			Name	W3_Tank
			WaitForAllDead	W3_DemoGiants
			TotalCurrency	400
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	3
			WaitBetweenSpawns	0
			Tank
			{
				Health	35000
				Name	tank
				Speed	70
				StartingPathTrackNode	tank_path_1
				OnKilledOutput
				{
					Target	boss_dead_addbomb1_stay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	W3_CritGiants
			WaitForAllSpawned	W3_Tank
			TotalCurrency	100
			TotalCount	3
			MaxActive	3
			SpawnCount	1
			Where	spawnbot_boss_side
			WaitBeforeStarting	7
			WaitBetweenSpawns	2
			TFBot
			{
				Template	Charged_Soldier_Alien
				ClassIcon  soldier
			}
		}
		WaveSpawn
		{
			Name	W3_AirSoldiers
			WaitForAllSpawned	W3_Tank
			TotalCurrency	0
			TotalCount	30
			MaxActive	10
			SpawnCount	10
			Where	spawnbot_invasion
			WaitBeforeStarting	7
			WaitBetweenSpawns	5
			TFBot
			{
				Template	Air_Commando
				ClassIcon  soldier
			}
		}
		WaveSpawn
		{
			Name	W3_Buff2
			WaitForAllSpawned	W3_CritGiants
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			TFBot
			{
				Template	Posessed_Buff_Soldier_Giant
				ClassIcon  soldier
			}
		}
		WaveSpawn
		{
			Name	W3_FinalpartSuper
			WaitForAllDead	W3_Tank
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			TFBot
			{
				Template	Super_Scout_Alien
			}
		}
		WaveSpawn
		{
			Name	W3_FinalpartKnight
			WaitForAllDead	W3_FinalpartSuper
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_DemoMan_PrinceTavish
				}
				TFBot
				{
					Template	Giant_Shield_Medic
					ClassIcon  medic
				}
			}
		}
		WaveSpawn
		{
			Name	W3_FinalpartGiantPyro
			WaitForAllDead	W3_FinalpartKnight
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			TFBot
			{
				Template	Napalm_Pyro_Giant
			}
		}
		WaveSpawn
		{
			Name	W3_FinalpartPyros
			WaitForAllSpawned	W3_FinalpartGiantPyro
			TotalCurrency	50
			TotalCount	20
			MaxActive	20
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	2
			WaitBetweenSpawns	0
			RandomChoice
			{
				TFBot
				{
					Template	Gate_Pyro
					ClassIcon  pyro
				}
				TFBot
				{
					Template	Gate_TechFlare_Pyro
				}
			}
		}
		WaveSpawn
		{
			Name	W3_FinalScouts
			WaitForAllSpawned	W3_FinalpartGiantPyro
			TotalCurrency	100
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	Super_Scout_Alien
				}
				TFBot
				{
					Template	Pistol_Super_Scout
					ClassIcon  scout_giant_fast
				}
				TFBot
				{
					Template	Pistol_Super_Scout
					ClassIcon  scout_giant_fast
				}
			}
		}
	}
		Wave
	{
		WaitWhenDone	60
		Checkpoint	Yes
		Sound "announcer.incomingmob"
		InitWaveOutput
		{
		    Target  ElevatorPit
			Action  Unlock
		}
		StartWaveOutput
		{
			Target	wave_start_ironman_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	W5.1_Scouts
			TotalCurrency	50
			TotalCount	20
			MaxActive	20
			SpawnCount	5
			Where	spawnbot_side
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			TFBot
			{
				Template	Agent_Scout
				Attributes	"AlwaysCrit"
				ClassIcon  scout
			}
		}
		WaveSpawn
		{
			Name	W5.1_ReforcedScouts
			WaitForAllSpawned	W5.1_Scouts
			TotalCurrency	50
			TotalCount	20
			MaxActive	20
			SpawnCount	4
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			Squad
			{
				TFBot
				{
					Template	Shortstop_Posessed
					ClassIcon  scout
				}
				TFBot
				{
					Template	T_TFBot_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	T_TFBot_Medic
					ClassIcon  medic
				}
			}
		}
		WaveSpawn
		{
			Name	W5_TankerSupport
			TotalCurrency	0
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	60
			WaitBetweenSpawns	60
			Support	1
			Squad
			{
				TFBot
				{
					Template	Tanker_Soldier
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic
					ClassIcon  medic
				}
			}
		}
		WaveSpawn
		{
			Name	W5.1_SuperScout
			WaitForAllDead	W5.1_ReforcedScouts
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
		    TFBot
			{
				Template	Shortstop_Ultra
				ClassIcon  scout_giant_fast
			}
		}
		WaveSpawn
		{
			Name	W5.1_Shotguns
			WaitForAllDead	W5.1_SuperScout
			TotalCurrency	50
			TotalCount	20
			MaxActive	20
			SpawnCount	1
			Where	spawnbot_invasion
			WaitBeforeStarting	2
			WaitBetweenSpawns	0
			TFBot
			{
				Template	Pump_Action
				ClassIcon  heavy_shotgun
			}
		}
		WaveSpawn
		{
			Name	W5.1_Buffer
			WaitForAllSpawned	W5.1_Shotguns
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_boss_side
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			TFBot
			{
				Template	Posessed_Buff_Soldier_Giant
				ClassIcon  soldier
			}
		}
		WaveSpawn
		{
			Name	W5.1_Bows
			WaitForAllSpawned	W5.1_Shotguns
			TotalCurrency	50
			TotalCount	5
			MaxActive	5
			SpawnCount	1
			Where	spawnbot_invasion
			WaitBeforeStarting	2
			WaitBetweenSpawns	3
			TFBot
			{
				Template	T_TFGateBot_Sniper_Huntsman_Spammer_Crit
				Attributes	"AlwaysCrit"
			}
		}
		WaveSpawn
		{
			Name	W5.1_SuperShotgun
			WaitForAllDead	W5.1_Shotguns
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_boss_side
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			TFBot
			{
				Template	Shotgun_Ultra
			}
		}
		WaveSpawn
		{
			Name	W5.1_Pyros
			WaitForAllDead	W5.1_SuperShotgun
			TotalCurrency	50
			TotalCount	20
			MaxActive	20
			SpawnCount	5
			Where	spawnbot_invasion
			WaitBeforeStarting	0
			WaitBetweenSpawns	2
			TFBot
			{
				Template	Gate_Pyro
				ClassIcon  pyro
			}
		}
		WaveSpawn
		{
			Name	W5.1_SuperPyro
			WaitForAllDead	W5.1_SuperShotgun
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			TFBot
			{
				Template	T_TFGateBot_Giant_Pyro_AlwaysFire_Crit
			}
		}
		WaveSpawn
		{
			Name	W5.1_Tank
			WaitForAllSpawned	W5.1_SuperPyro
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	7
			WaitBetweenSpawns	0
			Tank
			{
				Health	30000
				Name	tank
				Speed	75
				StartingPathTrackNode	tank_path_1
				OnKilledOutput
				{
					Target	boss_dead_addbomb1_stay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	W5.1_GiantSoldiers
			WaitForAllSpawned	W5.1_Tank
			TotalCurrency	50
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot_boss_side
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	Gate_Conch_Soldier_Giant
					ClassIcon  soldier
				}
				TFBot
				{
					Template	Gate_Backup_Soldier_Giant
					ClassIcon  soldier
				}
				TFBot
				{
					Template	Posessed_Giant_Spammer_Soldier
					ClassIcon  soldier
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	W5.1_GateSoldiers
			WaitForAllSpawned	W5.1_Tank
			TotalCurrency	50
			TotalCount	20
			MaxActive	20
			SpawnCount	1
			Where	spawnbot_invasion
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			TFBot
			{
				Template	Gate_Soldier
				ClassIcon  soldier
			}
		}
		WaveSpawn
		{
			Name	W5.2_Militars
			WaitForAllDead	W5.1_Tank
			TotalCurrency	50
			TotalCount	60
			MaxActive	60
			SpawnCount	15
			Where	spawnbot_invasion
			WaitBeforeStarting	5
			WaitBetweenSpawns	5
			Squad
			{
				TFBot
				{
					Template	Military_Demo
					ClassIcon  demo_burst
				}
				TFBot
				{
					Template	Military_Soldier
					ClassIcon  soldier
				}
				TFBot
				{
					Template	Military_Heavy
					ClassIcon  heavy
					Attributes	"AlwaysCrit"
				}
			}
		}
		WaveSpawn
		{
			Name	W5.2_SuperScout
			WaitForAllDead	W5.2_Militars
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_boss_side
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			TFBot
			{
				Template	Super_Scout_Alien
			}
		}
		WaveSpawn
		{
			Name	W5.2_Scouts
			WaitForAllDead	W5.2_SuperScout
			TotalCurrency	50
			TotalCount	10
			MaxActive	10
			SpawnCount	1
			Where	spawnbot_side
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			TFBot
			{
				Template	Light_Speed_Scout
			}
		}
		WaveSpawn
		{
			Name	W5.2_UltraDemo
			WaitForAllDead	W5.2_SuperScout
			TotalCurrency	50
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	Iron_CrazyBurst_Demo
					ClassIcon  demo_burst
					Attributes	"AlwaysCrit"
				}
				TFBot
				{
					Template	Giant_Shield_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	Giant_Fire_Medic
					ClassIcon  medic
				}
			}
		}
		WaveSpawn
		{
			Name	W5.2_UltraHeavy
			WaitForAllDead	W5.2_UltraDemo
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	Giant_Heavy_Ultra
					ClassIcon  heavy
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic
					ClassIcon  medic
				}
			}
		}
		WaveSpawn
		{
			Name	W5.2_UltraHeavies
			WaitForAllSpawned	W5.2_UltraHeavy
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			Where	spawnbot_boss_side
			WaitBeforeStarting	5
			WaitBetweenSpawns	5
			TFBot
			{
				Template	Giant_Heavy_Ultra
				ClassIcon  heavy
			}
		}
		WaveSpawn
		{
			Name	W5.2_Tank
			WaitForAllDead	W5.2_UltraHeavy
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Tank
			{
				Health	20000
				Name	tank
				Speed	70
				StartingPathTrackNode	tank_boss_path_1
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	W5.3_GiantHeater
			WaitForAllDead	W5.2_Tank
			TotalCurrency	50
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	Giant_Heater_Deflector
					ClassIcon  heavy
				}
				TFBot
				{
					Template	Giant_Shield_Uber_Medic
					ClassIcon  medic
				}
				TFBot
				{
					Template	Giant_Crit_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	W5.3_Deflectors
			WaitForAllDead	W5.2_Tank
			TotalCurrency	25
			TotalCount	20
			MaxActive	20
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	Deflector_Alien
					ClassIcon  heavy
				}
				TFBot
				{
					Template	Fire_Medic
					ClassIcon  medic
				}
			}
		}
		WaveSpawn
		{
			Name	W5.3_Heaters
			WaitForAllDead	W5.2_Tank
			TotalCurrency	25
			TotalCount	20
			MaxActive	20
			SpawnCount	2
			Where	spawnbot_side
			WaitBeforeStarting	5
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	Chinese_Heavy
					ClassIcon  heavy
				}
				TFBot
				{
					Template	Bullet_Medic
					ClassIcon  medic
				}
			}
		}
		WaveSpawn
		{
			Name	W5.3_SuperJumper
			WaitForAllDead	W5.3_GiantHeater
			TotalCurrency	50
			TotalCount	4
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_boss_side
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Jumping_Sandman
			}
		}
		WaveSpawn
		{
			Name	W5.3_FastScouts
			WaitForAllSpawned	W5.3_SuperJumper
			TotalCurrency	25
			TotalCount	10
			MaxActive	10
			SpawnCount	10
			Where	spawnbot_side
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			TFBot
			{
				Template	Light_Speed_Scout
			}
		}
		WaveSpawn
		{
			Name	W5.3_Colonel
			WaitForAllSpawned	W5.3_FastScouts
			TotalCurrency	50
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	Air_Colonel_Barrage
					ClassIcon  soldier
					Attributes	"AlwaysCrit"
				}
				TFBot
				{
					Template	Charged_Soldier_Alien
					ClassIcon  soldier
				}
				TFBot
				{
					Template	Charged_Soldier_Alien
					ClassIcon  soldier
				}
			}
		}
		WaveSpawn
		{
			Name	W5.3_Tank+Chief
			WaitForAllDead	W5.3_Colonel
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			LastSpawnWarningSound  "mvm/giant_heavy/giant_heavy_entrance.wav"
			LastSpawnOutput
			{
			    Target ElevatorPit
				Action Close
			}
			Squad
			{
				Tank
				{
					Health	30000
					Name	tank
					Speed	65
					StartingPathTrackNode	tank_path_1
					OnBombDroppedOutput
					{
						Target	boss_deploy_relay
						Action	Trigger
					}
				}
				TFBot
				{
				    Name    "Revived Area 52 General"
					Template	Boss_Area52General
					Item	"spirit of giving"
				}
			}
		}
	}
		Wave
	{
		WaitWhenDone	60
		Checkpoint	Yes
		Sound "announcer.incomingmob"
		StartWaveOutput
		{
			Target	wave_start_relay_boss
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	W6_GiantSupport
			TotalCurrency	400
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot_invasion
			WaitBeforeStarting	5
			WaitBetweenSpawns	5
			Support	1
			TFBot
			{
				Template	Charged_Soldier_Alien
				Attributes IgnoreFlag
				BehaviorModifiers Push
			}
		}
		WaveSpawn
		{
			Name	W6_Tank1
			TotalCurrency	400
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Tank
			{
				Health	15000
				Name	tank
				Speed	70
				StartingPathTrackNode	tank_boss_path_1
				OnKilledOutput
				{
				    Target  boss_tank_dead_relay
					Action  Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	FinalBoss
			WaitForAllDead	W6_Tank1
			TotalCurrency	400
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	3
			WaitBetweenSpawns	0
			Squad
			{
				TFBot
				{
					Template	Boss_Final_AlienKing
				}
				TFBot
				{
				    Template    Boss_Shield_Blast_Medic
				}
			}
		}
		WaveSpawn
		{
			Name	W6_Tank2
			WaitForAllDead  W6_Tank1
			TotalCurrency	400
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	0
			Tank
			{
				Health	40000
				Name	tank
				Speed	60
				StartingPathTrackNode	tank_path_1
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
	}
}
//Entry for the Canteen Crasher contest
//By SortaUnknown
//Extra icon HUDs by Lvl. 100 Spycrab, Snowbat, and Woozlez
//Boss icon HUDs by the original map creators