//Mission made by Slimeakku
//Mission Name is Gamma Gatecrashers
#base robot_giant.pop
#base robot_standard.pop
#base robot_gatebot.pop
population
{
	StartingCurrency	1200
	RespawnWaveTime	5
	CanBotsAttackWhileInSpawnRoom	no
	Templates
	{
		T_TFBot_Scout_FANBlast
		{
			ClassIcon	scout_fan
			Health	125
			Name	"Blast-a-Nature Scout"
			Class	Scout
			Skill	Expert
			MaxVisionRange	600
			WeaponRestrictions	PrimaryOnly
			ItemAttributes
			{
				ItemName	"the force-a-nature"
				"damage bonus"	0.65
				"scattergun knockback mult"	4 //6
				"faster reload rate"	1.6
				"fire rate bonus"	1.2
			}
			Item	"the force-a-nature"
			Item	"flipped trilby"
		}
		T_TFBot_Scout_Jumping_FAN
		{
			ClassIcon	scout_jumping_fan_alt
			Health	125
			MaxVisionRange 1000
			AutoJumpMin	5
			AutoJumpMax	5
			Name	"Jumper Scout"
			Class	Scout
			Skill	Hard
			WeaponRestrictions	PrimaryOnly
			Attributes	"AutoJump"
			Attributes	"AlwaysFireWeapon"
			ItemAttributes
			{
				ItemName	"the force-a-nature"
				"weapon spread bonus"	0.5
				"fire rate bonus"	2
				"scattergun knockback mult"	1.25
			}
			CharacterAttributes
			{
				"increased jump height"	2
				"cancel falling damage"	1
			}
			Item	"the force-a-nature"
			Item	"the hanger-on hood"
			Item	"the flight of the monarch"
		}
		T_TFBot_Soldier_RocketShotgun_Original
		{
			ClassIcon	soldier_blackbox
			Health	200
			Name	"Black Box Soldier"
			Class	Soldier
			Skill	Normal
			WeaponRestrictions	PrimaryOnly
			Attributes	"HoldFireUntilFullReload"
			ItemAttributes
			{
				ItemName	"the black box"
				"damage bonus"	0.33
				"fire rate bonus"	0.001
				"clip size upgrade atomic"	0
				"faster reload rate"	0.9
				"blast radius increased"	1.25
				"Projectile speed increased"	0.4
				"projectile spread angle penalty"	2
				"heal on hit for rapidfire"	60
			}
			Item	"the black box"
		}
		T_TFBot_Heavyweapons_Steelfish
		{
			ClassIcon	heavy_steelfist
			Health	300
			Name	"Steel Fist"
			Class	HeavyWeapons
			Skill	Normal
			WeaponRestrictions	MeleeOnly
			Item	"fists of steel"
		}
		T_TFBot_Heavyweapons_Gnome_Beta
		{
			ClassIcon	heavy_mittens
			Health	60
			Name	"Heavy Mittens"
			Scale	0.65
			Class	HeavyWeapons
			Skill	Easy
			WeaponRestrictions	MeleeOnly
			Attributes	"AlwaysCrit"
			ItemAttributes
			{
				ItemName	"the holiday punch"
				"damage bonus"	0.2
			}
			CharacterAttributes
			{
				"move speed bonus"	1.3
			}
			Item	"the holiday punch"
			Item	"the all-father"
			Item	"point and shoot"
		}
		T_TFBot_Heavyweapons_HealOnHit
		{
			ClassIcon	heavy_heal
			Health	300
			Name	"Heal-on-Hit Heavy"
			Class	HeavyWeapons
			Skill	Normal
			WeaponRestrictions	PrimaryOnly
			ItemAttributes
			{
				ItemName	"iron curtain"
				"heal on hit for rapidfire"	10
				"fire rate bonus"	1.1
				"damage penalty"	0.75
			}
			Item	"iron curtain"
		}
		T_TFBot_Engineer_MiniSentry_Tele_TeleIn
		{
			ClassIcon	engineer
			Health	350
			Name	"Utility Engineer"
			Class	Engineer
			Skill	Easy
			Attributes TeleportToHint
			TeleportWhere spawnbot
			TeleportWhere spawnbot_side
			TeleportWhere spawnbot_invasion
			ItemAttributes
			{
				ItemName	"the gunslinger"
				"mod wrench builds minisentry"	0
				"build rate bonus"	0.5
				"max health additive bonus"	0
			}
			ItemAttributes
			{
				ItemName	"TF_WEAPON_BUILDER"
				"engy disposable sentries"	1
			}
			CharacterAttributes
			{
				"engy building health bonus"	0.5
				"engy sentry damage bonus"	0.75
				"engy sentry fire rate increased"	0.5
				"cannot pick up intelligence"	1
				"engy disposable sentries"	1
			}
			Item	"the gunslinger"
		}
		T_TFBot_Engineer_MiniSentry_Battle_Tele
		{
			ClassIcon	engineer
			Health	300
			Name	"Utility Engineer"
			Class	Engineer
			Skill	Easy
			TeleportWhere spawnbot
			ItemAttributes
			{
				ItemName	"the gunslinger"
				"mod wrench builds minisentry"	0
				"build rate bonus"	0.5
				"max health additive bonus"	0
			}
			ItemAttributes
			{
				ItemName	"TF_WEAPON_BUILDER"
				"engy disposable sentries"	1
			}
			CharacterAttributes
			{
				"engy building health bonus"	0.5
				"engy sentry damage bonus"	0.75
				"engy sentry fire rate increased"	0.5
				"cannot pick up intelligence"	1
				"engy disposable sentries"	1
			}
			Item	"the gunslinger"
		}
		T_TFBot_Engineer_MiniSentry_TeleIn
		{
			ClassIcon	engineer
			Health	250
			Name	"Utility Engineer"
			Class	Engineer
			Skill	Easy
			Attributes TeleportToHint
			ItemAttributes
			{
				ItemName	"the gunslinger"
				"mod wrench builds minisentry"	0
				"build rate bonus"	0.5
				"max health additive bonus"	0
			}
			ItemAttributes
			{
				ItemName	"TF_WEAPON_BUILDER"
				"engy disposable sentries"	1
			}
			CharacterAttributes
			{
				"engy building health bonus"	0.5
				"engy sentry damage bonus"	0.75
				"engy sentry fire rate increased"	0.5
				"cannot pick up intelligence"	1
				"engy disposable sentries"	1
			}
			Item	"the gunslinger"
		}
		T_TFBot_Engineer_MiniSentry_Battle
		{
			ClassIcon	engineer
			Health	250
			Name	"Utility Engineer"
			Class	Engineer
			Skill	Easy
			ItemAttributes
			{
				ItemName	"the gunslinger"
				"mod wrench builds minisentry"	0
				"build rate bonus"	0.5
				"max health additive bonus"	0
			}
			ItemAttributes
			{
				ItemName	"TF_WEAPON_BUILDER"
				"engy disposable sentries"	1
			}
			CharacterAttributes
			{
				"engy building health bonus"	0.5
				"engy sentry damage bonus"	0.75
				"engy sentry fire rate increased"	0.5
				"cannot pick up intelligence"	1
				"engy disposable sentries"	1
			}
			Item	"the gunslinger"
		}
		T_TFBot_Medic_QuickFix_Normal
		{
			Class Medic
			Name "Quick-Fix Medic"
			ClassIcon medic
			Skill Normal
			Item "The Quick-Fix"
			Attributes SpawnWithFullCharge
			ItemAttributes
			{
				ItemName "The Quick-Fix"
				"ubercharge rate bonus" 2
			}
			ItemAttributes
			{
				ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
				"damage penalty" 0.1
			}
		}
		T_TFBot_Medic_QuickFix_QuickUber //Quick Uber Medic with Quick-Fix
		{
			Class Medic
			Name "Quick-Fix Medic"
			ClassIcon medic
			Skill Normal
			Item "The Quick-Fix"
			Attributes SpawnWithFullCharge
			ItemAttributes
			{
				ItemName "The Quick-Fix"
				"ubercharge rate bonus" 5
				"uber duration bonus" -3
			}
			ItemAttributes
			{
				ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
				"damage penalty" 0.1
			}
		}
		T_TFBot_Medic_Overheal
		{
			ClassIcon	medic_overheal_uber
			Health	150
			Name	"Overhealer Medic"
			Class	Medic
			Skill	Normal
			Attributes	"SpawnWithFullCharge"
			Item	"The Gauzed Gaze"
			ItemAttributes
			{
				ItemName	"TF_WEAPON_SYRINGEGUN_MEDIC"
				"damage penalty"	0.1
			}
			ItemAttributes
			{
				ItemName	"TF_WEAPON_MEDIGUN"
				"overheal expert"	2
				"overheal decay disabled"	1
				"uber duration bonus"	-3
			}
			CharacterAttributes
			{
				"heal rate bonus"	10
			}
		}
		T_TFBot_Sniper_Classic
		{
			ClassIcon	sniper
			Health	125
			Name	"Classic Sniper"
			Class	Sniper
			Skill	Hard
			MaxVisionRange	3000
			ItemAttributes
			{
				ItemName	"the classic"
				"sniper no headshot without full charge" 0
				"crit on hard hit" 1
				"sniper crit no scope" 1
				"sniper charge per sec" 999
			}
			Item	"the classic"
			//Item	"the razorback"
		}
		T_TFBot_Giant_Demoman_Buster_Improved
		{
			ClassIcon	sentry_buster
			Health	2500
			Name	"Sentry Buster"
			Class	Demoman
			Skill	Expert
			WeaponRestrictions	MeleeOnly
			Tag	"bot_sentrybuster"
			Attributes	"MiniBoss"
			Attributes	"DisableDodge"
			Attributes	"IgnoreEnemies"
			CharacterAttributes
			{
				"move speed bonus"	2
				"damage force reduction"	0.00
				"airblast vulnerability multiplier"	0.00
				"airblast vertical vulnerability multiplier"	0.00
				"cannot be backstabbed"	1
				"override footstep sound set"	7
			}
			Item	"the ullapool caber"
		}
		T_TFBot_Giant_Scout_Jumping_Sandman_Improved
		{
			Class Scout
			Skill Expert
			Health 1200
			ClassIcon scout_jumping_g
			Name "Giant Jumping Scout"
			WeaponRestrictions MeleeOnly
			Tag	"bot_giant"
			Item "The Sandman"
			Item "The Hanger-On Hood"
			Item "The Flight of the Monarch"
			Attributes MiniBoss
			Attributes AutoJump
				AutoJumpMin 5
				AutoJumpMax 5
			ItemAttributes
			{
				ItemName "The Sandman"
				"damage bonus"	2
				"effect bar recharge rate increased" 0.1
			}
			CharacterAttributes
			{
				"increased jump height" 2
				"cancel falling damage"	1
				"damage force reduction" 0.1
				"airblast vulnerability multiplier" 0.3
				"airblast vertical vulnerability multiplier"	0.5
				"override footstep sound set" 5
				"head scale" 1.5
			}
		}
		T_TFBot_Giant_Scout_FANBlast
		{
			ClassIcon	scout_fan_giant
			Health	1200
			Name	"Giant Blast-a-Nature Scout"
			Class	Scout
			Skill	Expert
			MaxVisionRange	1200
			WeaponRestrictions	PrimaryOnly
			Tag	"bot_giant"
			Attributes	"MiniBoss"
			ItemAttributes
			{
				ItemName	"the force-a-nature"
				"damage penalty" 0.35
				"scattergun knockback mult"	9 //11
				"bullets per shot bonus"	3
				"faster reload rate"	1.7
				"weapon spread bonus"	0.65
			}
			CharacterAttributes
			{
				//"move speed bonus"	0.9
				"override footstep sound set"	5
				"damage force reduction"	0.7
				"airblast vulnerability multiplier"	0.3
				"airblast vertical vulnerability multiplier"	0.5
			}
			Item	"the force-a-nature"
			Item	"flipped trilby"
		}
		T_TFBot_Giant_Scout_Jumping_FAN
		{
			ClassIcon	scout_jumping_fan_alt_g
			Health	1200 //1600
			AutoJumpMin	5
			AutoJumpMax	5
			Name	"Giant Jumper Scout"
			Class	Scout
			Skill	Expert
			MaxVisionRange	2000
			WeaponRestrictions	PrimaryOnly
			Tag	"bot_giant"
			Attributes	"MiniBoss"
			Attributes	"AutoJump"
			Attributes	"AlwaysFireWeapon"
			ItemAttributes
			{
				ItemName	"the force-a-nature"
				"weapon spread bonus"	0.25
				"bullets per shot bonus"	2
				"fire rate bonus"	2
				"scattergun knockback mult"	2
			}
			CharacterAttributes
			{
				"increased jump height"	2
				"cancel falling damage"	1
				"head scale"	1.5
				"damage force reduction"	0.1
				"airblast vulnerability multiplier"	0.3
				"airblast vertical vulnerability multiplier"	0.5
				"override footstep sound set"	5
			}
			Item	"the force-a-nature"
			Item	"the hanger-on hood"
			Item	"the flight of the monarch"
		}
		T_TFBot_Giant_Soldier_SmallBurstFire
		{
			ClassIcon	soldier_burstfire
			Health	3800
			Name	"Giant Burst Fire Soldier"
			Class	Soldier
			Skill	Expert
			WeaponRestrictions	PrimaryOnly
			Tag	"bot_giant"
			Attributes	"HoldFireUntilFullReload"
			Attributes	"MiniBoss"
			ItemAttributes
			{
				ItemName	tf_weapon_rocketlauncher
				"fire rate bonus"	0.05
				"projectile spread angle penalty"	4 //1
				"faster reload rate"	1.75
				"Projectile speed increased"	0.65
			}
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction"	0.4
				"airblast vulnerability multiplier"	0.15
				"airblast vertical vulnerability multiplier"	0.5
				"override footstep sound set"	3
			}
		}
		T_TFBot_Giant_Soldier_BurstFire_Spammer_Type4 //4 rocket burst spammer
		{
			ClassIcon	soldier_spammer_burstfire
			Health	3800
			Name	"Giant Rapid Burst Fire Soldier"
			Class	Soldier
			Skill	Expert
			WeaponRestrictions	PrimaryOnly
			Tag	"bot_giant"
			Attributes	"MiniBoss"
			Attributes	"HoldFireUntilFullReload"
			ItemAttributes
			{
				ItemName	tf_weapon_rocketlauncher
				"fire rate bonus"	0.2
				"projectile spread angle penalty"	1
				"faster reload rate"	0.05
				"Projectile speed increased"	0.65
			}
			CharacterAttributes
			{
				"damage force reduction"	0.4
				"airblast vulnerability multiplier"	0.15
				"airblast vertical vulnerability multiplier"	0.5
				"override footstep sound set"	3
				"move speed bonus"	0.5
			}
		}
		T_TFBot_Giant_Heavyweapons_Heater_Improved
		{
			ClassIcon	heavy_heater_giant
			Health	5000
			Name	"Giant Heavy"
			Class	HeavyWeapons
			Skill	Expert
			WeaponRestrictions	PrimaryOnly
			Tag	"bot_giant"
			Attributes	"MiniBoss"
			ItemAttributes
			{
				ItemName	"the huo long heatmaker"
				"damage bonus"	1.2
			}
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction"	0.3
				"airblast vulnerability multiplier"	0.1
				"airblast vertical vulnerability multiplier"	0.5
				"override footstep sound set"	2
			}
			Item	"the huo long heatmaker"
		}
		T_TFGateBot_Giant_Heavyweapons_Heater_Improved
		{
			Class Heavyweapons
			ClassIcon heavy_heater_giant
			Health 5000
			Name	"Giant Heavy"

			EventChangeAttributes
			{
				Default
				{
					BehaviorModifiers push			// having these will cause bots to run towards gates
					Attributes IgnoreFlag			// having these will cause bots to run towards gates
					Tag nav_prefer_gate1_flank 		// having these will cause bots to run towards gates
					Tag bot_gatebot 				// having these will cause bots to run towards gates

					Item "MvM GateBot Light Heavy"
					Skill Expert
					WeaponRestrictions PrimaryOnly
					Item "The Huo Long Heatmaker"
					Attributes MiniBoss
					Tag bot_giant
					ItemAttributes
					{
						ItemName "The Huo Long Heatmaker"
						"damage bonus"	1.2
					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"damage force reduction" 0.3
						"airblast vulnerability multiplier" 0.1
						"airblast vertical vulnerability multiplier" 0.5
						"override footstep sound set" 2
					}
				}
				RevertGateBotsBehavior
				{
					Item "MvM GateBot Light Heavy"
					ItemAttributes               // turn off light hat
					{
						ItemName "MvM GateBot Light Heavy"
						"item style override" 1
					}
					Skill Expert
					WeaponRestrictions PrimaryOnly
					Item "The Huo Long Heatmaker"
					Attributes MiniBoss
					Tag bot_giant
					ItemAttributes
					{
						ItemName "The Huo Long Heatmaker"
						"damage bonus"	1
					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"damage force reduction" 0.3
						"airblast vulnerability multiplier" 0.1
						"airblast vertical vulnerability multiplier" 0.5
						"override footstep sound set" 2
					}
				}
			}
		}
		T_TFBot_Giant_Heavyweapons_HealOnHit_Type2
		{
			ClassIcon	heavy_heal_giant
			Health	5000
			Name	"Giant Heal-on-Hit Heavy"
			Class	HeavyWeapons
			Skill	Expert
			MaxVisionRange	1600
			WeaponRestrictions	PrimaryOnly
			Tag	"bot_giant"
			Attributes	"MiniBoss"
			Attributes	"UseBossHealthBar"
			ItemAttributes
			{
				ItemName	"iron curtain"
				"fire rate penalty"	1.1
				"heal on hit for rapidfire"	60
			}
			CharacterAttributes
			{
				"override footstep sound set"	2
				"move speed bonus"	0.5
				"damage force reduction"	0.3
				"airblast vertical vulnerability multiplier"	0.5
				"airblast vulnerability multiplier"	0.1
				"rage giving scale"	0.9
			}
			Item	"the tungsten toque"
			Item	"iron curtain"
		}
		T_TFBot_Giant_Medic_Overheal
		{
			ClassIcon	medic_overheal_uber_giant
			Health	4500
			Name	"Giant Overhealer Medic"
			Class	Medic
			Skill	Expert
			Tag	"bot_giant"
			Attributes	"SpawnWithFullCharge"
			Attributes	"MiniBoss"
			Item	"The Gauzed Gaze"
			ItemAttributes
			{
				ItemName	"TF_WEAPON_SYRINGEGUN_MEDIC"
				"damage penalty"	0.1
			}
			ItemAttributes
			{
				ItemName	"TF_WEAPON_MEDIGUN"
				"overheal expert"	2
				"uber duration bonus"	-4
				"ubercharge rate bonus"	5
			}
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"airblast vulnerability multiplier"	0.25
				"airblast vertical vulnerability multiplier"	0.5
				"damage force reduction"	0.6
				"heal rate bonus"	200
				"bot medic uber health threshold"	4499
			}
		}
	}
	Mission
	{
		Objective	DestroySentries
		Where spawnbot_invasion
		BeginAtWave	1
		RunForThisManyWaves	6
		CooldownTime	30
		TFBot
		{
			Template	T_TFBot_Giant_Demoman_Buster_Improved
		}
	}
	Mission
	{
		Objective	Sniper
		Where spawnbot_mission_sniper
		Where spawnbot_mission_sniper_side
		BeginAtWave	2
		RunForThisManyWaves	1
		CooldownTime	40
		InitialCooldown 20
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper_Classic
		}
	}
	Mission
	{
		Objective	Sniper
		Where spawnbot_mission_sniper
		Where spawnbot_mission_sniper_side
		BeginAtWave	4
		RunForThisManyWaves	1
		CooldownTime	30
		InitialCooldown 30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper_Classic
		}
	}
	//Mission
	//{
		//Objective	Spy
		//Where spawnbot_g0s0_alt
		//Where spawnbot_g0s1_alt
		//Where spawnbot_g0s2_alt
		//Where spawnbot_g1s0_alt
		//Where spawnbot_g1s1_alt
		//Where spawnbot_g2s0_alt
		//Where spawnbot_g2s1_alt
		//BeginAtWave	5
		//RunForThisManyWaves	1
		//CooldownTime	40
		//InitialCooldown 20
		//DesiredCount	2
		//TFBot
		//{
			//Template	T_TFBot_Spy
		//}
	//}
	//Mission
	//{
		////Utility Engineer
		//Objective	Engineer
		//Where spawnbot_g0s0_alt
		//Where spawnbot_g0s1_alt
		//Where spawnbot_g0s2_alt
		//Where spawnbot_g1s0_alt
		//Where spawnbot_g1s1_alt
		//Where spawnbot_g2s0_alt
		//Where spawnbot_g2s1_alt
		//BeginAtWave	5
		//RunForThisManyWaves	1
		//CooldownTime	30
		//InitialCooldown 30
		//DesiredCount	1
		//TFBot
		//{
			//Template	T_TFBot_Engineer_Utility_MiniSentry
			//Attributes TeleportToHint
		//}
	//}
	Mission
	{
		Objective	Sniper
		Where spawnbot_mission_sniper
		Where spawnbot_mission_sniper_side
		BeginAtWave	5 //6
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			MaxVisionRange	3000
			Template	T_TFBot_Sniper
			Item	"the machina"
			Item	"the deus specs"
		}
	}
	//Mission
	//{
		////Utility Engineer
		//Objective	Engineer
		//Where spawnbot_g0s0a
		//Where spawnbot_g0s1a
		//Where spawnbot_g0s2a
		//Where spawnbot_g1s0a
		//Where spawnbot_g1s1a
		//Where spawnbot_g2s0a
		//Where spawnbot_g2s1a
		//BeginAtWave	6
		//RunForThisManyWaves	1
		//CooldownTime	30
		//DesiredCount	1
		//TFBot
		//{
			//Template	T_TFBot_Engineer_Utility_MiniSentry
		//}
	//}
	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_primary
			TotalCurrency	100
			TotalCount	30
			MaxActive	10
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.5
			Where spawnbot_invasion
			RandomChoice
			{
					TFBot
					{
						ClassIcon	scout
						Health	125
						Name	Scout
						Class	Scout
						Skill	Hard
						WeaponRestrictions	MeleeOnly
					}
					TFBot
					{
						ClassIcon	scout
						Health	125
						Name	Scout
						Class	Scout
						Skill	Hard
						WeaponRestrictions	MeleeOnly
					}
					TFBot
					{
						ClassIcon	scout
						Health	125
						Name	Scout
						Class	Scout
						Skill	Hard
						WeaponRestrictions	MeleeOnly
					}
					TFBot
					{
						ClassIcon	scout
						Health	125
						Name	Scout
						Class	Scout
						Skill	Normal
						WeaponRestrictions	PrimaryOnly
					}
					TFBot
					{
						ClassIcon	scout
						Health	125
						Name	Scout
						Class	Scout
						EventChangeAttributes
						{
							Default
							{
								Skill	Hard
								BehaviorModifiers	Push
								WeaponRestrictions	MeleeOnly
								Tag	"bot_gatebot"
								Tag	"nav_prefer_gate1_flank"
								Attributes	"IgnoreFlag"
								Item	"mvm gatebot light scout"
							}
							RevertGateBotsBehavior
							{
								Skill	Hard
								WeaponRestrictions	MeleeOnly
								ItemAttributes
								{
									ItemName	"mvm gatebot light scout"
									"item style override"	1
								}
								Item	"mvm gatebot light scout"
							}
						}
					}
			}
		}
		WaveSpawn
		{
			Name	w1_primary
			TotalCurrency	50
			TotalCount	15
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	0.5
			WaitBetweenSpawns	10
			Where spawnbot
			TFBot
			{
				ClassIcon	soldier
				Health	200
				Name	Soldier
				Class	Soldier
				Skill	Easy
				WeaponRestrictions	PrimaryOnly
			}
		}
		WaveSpawn
		{
			Name	w1_primary2
			WaitForAllSpawned	w1_primary
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	20
			WaitBetweenSpawns	30
			Where spawnbot_side
			TFBot
			{
				ClassIcon	soldier_crit
				Health	3800
				Name	"Giant Charged Soldier"
				Class	Soldier
				EventChangeAttributes
				{
					Default
					{
						Skill	Normal
						BehaviorModifiers	Push
						WeaponRestrictions	PrimaryOnly
						Tag	"bot_giant"
						Tag	"bot_gatebot"
						Attributes	"MiniBoss"
						Attributes	"IgnoreFlag"
						Attributes	"AlwaysCrit"
						Tag	"nav_prefer_gate1_flank"
						ItemAttributes
						{
							ItemName "The Original"
							"faster reload rate" 0.2
							"fire rate bonus" 2
							"Projectile speed increased" 0.5
						}
						CharacterAttributes
						{
							"move speed bonus"	0.5
							"damage force reduction"	0.4
							"airblast vulnerability multiplier"	0.15
							"airblast vertical vulnerability multiplier"	0.5
							"override footstep sound set"	3
						}
						Item	"mvm gatebot light soldier"
						Item "The Original"
					}
					RevertGateBotsBehavior
					{
						Skill	Normal
						WeaponRestrictions	PrimaryOnly
						Tag	"bot_giant"
						Attributes	"MiniBoss"
						Attributes	"AlwaysCrit"
						ItemAttributes
						{
							ItemName "The Original"
							"faster reload rate" 0.2
							"fire rate bonus" 2
							"Projectile speed increased" 0.5
						}
						ItemAttributes
						{
							ItemName	"mvm gatebot light soldier"
							"item style override"	1
						}
						CharacterAttributes
						{
							"move speed bonus"	0.5
							"airblast vulnerability multiplier"	0.15
							"airblast vertical vulnerability multiplier"	0.5
							"damage force reduction"	0.4
							"override footstep sound set"	3
						}
						Item	"mvm gatebot light soldier"
						Item "The Original"
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w1_primary2
			WaitForAllSpawned	w1_primary
			TotalCurrency	50
			TotalCount	24
			MaxActive	9
			SpawnCount	3
			WaitBeforeStarting	6
			WaitBetweenSpawns	10
			Where spawnbot
			TFBot
			{
				ClassIcon	pyro
				Health	175
				Name	Pyro
				Class	Pyro
				Skill Easy
			}
		}
		WaveSpawn
		{
			Name	w1_primary2
			WaitForAllSpawned	w1_primary
			TotalCurrency	50
			TotalCount	20
			MaxActive	8
			SpawnCount	1
			WaitBeforeStarting	6
			WaitBetweenSpawns	3
			Where spawnbot_invasion
			TFBot
			{
				ClassIcon	heavy_champ
				Health	300
				Name	"Heavyweight Champ"
				Class	HeavyWeapons
				EventChangeAttributes
				{
					Default
					{
						Skill	Normal
						BehaviorModifiers	Push
						WeaponRestrictions	MeleeOnly
						Tag	"bot_gatebot"
						Attributes	"IgnoreFlag"
						Item	"mvm gatebot light heavy"
						Item "the killing gloves of boxing"
						Item "Pugilist's Protector"
					}
					RevertGateBotsBehavior
					{
						Skill	Normal
						WeaponRestrictions	MeleeOnly
						ItemAttributes
						{
							ItemName	"mvm gatebot light heavy"
							"item style override"	1
						}
						Item	"mvm gatebot light heavy"
						Item "the killing gloves of boxing"
						Item "Pugilist's Protector"
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w1_primary3
			WaitForAllDead	w1_primary2
			TotalCurrency	100
			TotalCount	8
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	20
			Where spawnbot_side
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Crit
					CharacterAttributes
					{
						"airblast vulnerability multiplier"	0.15
						"airblast vertical vulnerability multiplier"	0.5
					}
				}
				TFBot
				{
					ClassIcon	soldier
					Health	200
					Name	Soldier
					Class	Soldier
					Skill Normal
				}
				TFBot
				{
					ClassIcon	soldier
					Health	200
					Name	Soldier
					Class	Soldier
					Skill Normal
				}
				TFBot
				{
					ClassIcon	soldier
					Health	200
					Name	Soldier
					Class	Soldier
					Skill Normal
				}
			}
		}
		WaveSpawn
		{
			Name	w1_primary3
			WaitForAllDead	w1_primary2
			TotalCurrency	50
			TotalCount	30
			MaxActive	10
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	1
			Where spawnbot_invasion
			RandomChoice
			{
					TFBot
					{
						ClassIcon	scout
						Health	125
						Name	Scout
						Class	Scout
						Skill	Easy
						WeaponRestrictions	PrimaryOnly
					}
					TFBot
					{
						ClassIcon	scout
						Health	125
						Name	Scout
						Class	Scout
						Skill	Easy
						WeaponRestrictions	PrimaryOnly
					}
					TFBot
					{
						ClassIcon	scout
						Health	125
						Name	Scout
						Class	Scout
						Skill	Easy
						WeaponRestrictions	PrimaryOnly
					}
					TFBot
					{
						ClassIcon	scout
						Health	125
						Name	Scout
						Class	Scout
						Skill	Easy
						WeaponRestrictions	PrimaryOnly
					}
					TFBot
					{
						ClassIcon	scout
						Health	125
						Name	Scout
						Class	Scout
						Skill	Hard
						WeaponRestrictions	MeleeOnly
					}
			}
		}
		WaveSpawn
		{
			Name	w1_finale
			WaitForAllSpawned	w1_primary3
			TotalCurrency	200
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			Where spawnbot_invasion
			TFBot
			{
				Template	T_TFBot_Giant_Scout_FANBlast
			}
		}
		WaveSpawn
		{
			Name	w1_support
			WaitForAllDead	w1_primary2
			TotalCurrency	0
			TotalCount	10
			MaxActive	3
			SpawnCount	1
			WaitBeforeStarting	30
			WaitBetweenSpawns	5
			Support	1
			Where spawnbot_invasion
			RandomChoice
			{
					TFBot
					{
						ClassIcon	scout
						Health	125
						Name	Scout
						Class	Scout
						Skill	Easy
						WeaponRestrictions	PrimaryOnly
					}
					TFBot
					{
						ClassIcon	scout
						Health	125
						Name	Scout
						Class	Scout
						Skill	Easy
						WeaponRestrictions	PrimaryOnly
					}
					TFBot
					{
						ClassIcon	scout
						Health	125
						Name	Scout
						Class	Scout
						Skill	Easy
						WeaponRestrictions	PrimaryOnly
					}
					TFBot
					{
						ClassIcon	scout
						Health	125
						Name	Scout
						Class	Scout
						Skill	Easy
						WeaponRestrictions	PrimaryOnly
					}
					TFBot
					{
						ClassIcon	scout
						Health	125
						Name	Scout
						Class	Scout
						Skill	Hard
						WeaponRestrictions	MeleeOnly
					}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Sound "Announcer.IncomingMob"
		Checkpoint	Yes
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		WaveSpawn
		{
			Name	w2_mittens
			TotalCurrency	50
			TotalCount	36
			MaxActive	10
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.5
			Where spawnbot_invasion
			TFBot
			{
				Template	T_TFBot_Heavyweapons_Gnome_Beta
			}
		}
		WaveSpawn
		{
			Name	w2_tank
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Where spawnbot_boss_side
			//StartWaveWarningSound "vo/mvm_tank_alerts02.mp3"
			//FirstSpawnWarningSound "mvm/mvm_tank_start.wav"
			//DoneWarningSound "mvm/mvm_tank_end.wav"
			TFBot
			{
				ClassIcon	heavy_heater_giant
				Health	20000
				Name	"Inferno"
				Class	HeavyWeapons
				EventChangeAttributes
				{
					Default
					{
						Skill	Normal
						BehaviorModifiers	Push
						WeaponRestrictions	PrimaryOnly
						Tag	"bot_giant"
						Tag	"bot_gatebot"
						Attributes	"MiniBoss"
						Attributes	"UseBossHealthBar"
						Attributes	"AlwaysFireWeapon"
						Attributes	"IgnoreFlag"
						ItemAttributes
						{
							ItemName	"the huo long heatmaker"
							"damage penalty" 0.5
							"override projectile type"	27
							"weapon burn time increased"	3
							"weapon burn dmg increased"	5
							"minigun spinup time increased"	0.0001
							"minigun no spin sounds"	1
						}
						CharacterAttributes
						{
							"move speed bonus"	0.5
							"override footstep sound set"	2
							"damage force reduction"	0.00
							"airblast vulnerability multiplier"	0.00
							"airblast vertical vulnerability multiplier"	0.00
							"rage giving scale"	0.1
						}
						Item	"the huo long heatmaker"
						Item	"mvm gatebot light heavy"
					}
					RevertGateBotsBehavior
					{
						Skill	Normal
						WeaponRestrictions	PrimaryOnly
						Tag	"bot_giant"
						Attributes	"MiniBoss"
						Attributes	"UseBossHealthBar"
						Attributes	"AlwaysFireWeapon"
						ItemAttributes
						{
							ItemName	"the huo long heatmaker"
							"damage penalty" 0.5
							"override projectile type"	27
							"weapon burn time increased"	3
							"weapon burn dmg increased"	5
							"minigun spinup time increased"	0.0001
							"minigun no spin sounds"	1
						}
						ItemAttributes
						{
							ItemName	"mvm gatebot light heavy"
							"item style override"	1
						}
						CharacterAttributes
						{
							"move speed bonus"	0.5
							"override footstep sound set"	2
							"damage force reduction"	0.00
							"airblast vulnerability multiplier"	0.00
							"airblast vertical vulnerability multiplier"	0.00
							"rage giving scale"	0.1
						}
						Item	"the huo long heatmaker"
						Item	"mvm gatebot light heavy"
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w2_primary
			WaitForAllDead	w2_tank
			TotalCurrency	50
			TotalCount	24
			MaxActive	12
			SpawnCount	6
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Where spawnbot
			TFBot
			{
				ClassIcon	heavy
				Health	300
				Name	"Heavy"
				Class	HeavyWeapons
				EventChangeAttributes
				{
					Default
					{
						Skill	Normal
						BehaviorModifiers	Push
						WeaponRestrictions	PrimaryOnly
						Tag	"bot_gatebot"
						Attributes	"IgnoreFlag"
						Item	"mvm gatebot light heavy"
					}
					RevertGateBotsBehavior
					{
						Skill	Normal
						WeaponRestrictions	PrimaryOnly
						ItemAttributes
						{
							ItemName	"mvm gatebot light heavy"
							"item style override"	1
						}
						Item	"mvm gatebot light heavy"
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w2_primary
			WaitForAllDead	w2_tank
			TotalCurrency	50
			TotalCount	16
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			Where spawnbot_side
			TFBot
			{
				ClassIcon	pyro
				Health	175
				Name	Pyro
				Class	Pyro
				Skill	Normal
				WeaponRestrictions	PrimaryOnly
			}
		}
		WaveSpawn
		{
			Name	w2_giant
			WaitForAllDead	w2_primary
			TotalCurrency	100
			TotalCount	6
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns	15
			Where spawnbot_invasion
			Squad
			{
				TFBot
				{
					ClassIcon	demo_giant
					Health	3300
					Name	"Giant Rapid Fire Demoman"
					Class	Demoman
					EventChangeAttributes
					{
						Default
						{
							Skill	Normal
							BehaviorModifiers	Push
							WeaponRestrictions	PrimaryOnly
							Tag	"bot_giant"
							Tag	"bot_gatebot"
							Tag	"nav_prefer_gate1_flank"
							Attributes	"HoldFireUntilFullReload"
							Attributes	"MiniBoss"
							Attributes	"IgnoreFlag"
							ItemAttributes
							{
								ItemName	tf_weapon_grenadelauncher
								"faster reload rate"	-0.4
								"fire rate bonus"	0.75
							}
							CharacterAttributes
							{
								"move speed bonus"	0.5
								"damage force reduction"	0.5
								"airblast vulnerability multiplier"	0.2
								"override footstep sound set"	4
								"airblast vertical vulnerability multiplier"	0.5
							}
							Item	"mvm gatebot light demoman"
						}
						RevertGateBotsBehavior
						{
							Skill	Normal
							WeaponRestrictions	PrimaryOnly
							Tag	"bot_giant"
							Attributes	"MiniBoss"
							ItemAttributes
							{
								ItemName	tf_weapon_grenadelauncher
								"faster reload rate"	-0.4
								"fire rate bonus"	0.75
							}
							ItemAttributes
							{
								ItemName	"mvm gatebot light demoman"
								"item style override"	1
							}
							CharacterAttributes
							{
								"move speed bonus"	0.5
								"airblast vulnerability multiplier"	0.2
								"airblast vertical vulnerability multiplier"	0.5
								"damage force reduction"	0.5
								"override footstep sound set"	4
							}
							Item	"mvm gatebot light demoman"
						}
					}
				}
				TFBot
				{
					ClassIcon	medic
					Health	150
					Name	"Quick-Fix Medic"
					Class	Medic
					EventChangeAttributes
					{
						Default
						{
							Skill	Normal
							BehaviorModifiers	Push
							Tag	"bot_squad_member"
							Tag	"bot_gatebot"
							//Attributes	"SpawnWithFullCharge"
							Attributes	"IgnoreFlag"
							Attributes IgnoreEnemies
							ItemAttributes
							{
								ItemName "The Quick-Fix"
								"ubercharge rate bonus" 2
							}
							ItemAttributes
							{
								ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
								"damage penalty" 0.1
							}
							Item	"the quick-fix"
							Item	"mvm gatebot light medic"
						}
						RevertGateBotsBehavior
						{
							Skill	Normal
							Tag	"bot_squad_member"
							//Attributes	"SpawnWithFullCharge"
							ItemAttributes
							{
								ItemName "The Quick-Fix"
								"ubercharge rate bonus" 2
							}
							ItemAttributes
							{
								ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
								"damage penalty" 0.1
							}
							ItemAttributes
							{
								ItemName "mvm gatebot light medic"
								"item style override"	1
							}
							Item	"the quick-fix"
							Item	"mvm gatebot light medic"
						}
					}
				}
				TFBot
				{
					ClassIcon	medic
					Health	150
					Name	"Quick-Fix Medic"
					Class	Medic
					EventChangeAttributes
					{
						Default
						{
							Skill	Normal
							BehaviorModifiers	Push
							Tag	"bot_squad_member"
							Tag	"bot_gatebot"
							//Attributes	"SpawnWithFullCharge"
							Attributes	"IgnoreFlag"
							Attributes IgnoreEnemies
							ItemAttributes
							{
								ItemName "The Quick-Fix"
								"ubercharge rate bonus" 2
							}
							ItemAttributes
							{
								ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
								"damage penalty" 0.1
							}
							Item	"the quick-fix"
							Item	"mvm gatebot light medic"
						}
						RevertGateBotsBehavior
						{
							Skill	Normal
							Tag	"bot_squad_member"
							//Attributes	"SpawnWithFullCharge"
							ItemAttributes
							{
								ItemName "The Quick-Fix"
								"ubercharge rate bonus" 2
							}
							ItemAttributes
							{
								ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
								"damage penalty" 0.1
							}
							ItemAttributes
							{
								ItemName "mvm gatebot light medic"
								"item style override"	1
							}
							Item	"the quick-fix"
							Item	"mvm gatebot light medic"
						}
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w2_primary2
			WaitForAllDead	w2_primary
			TotalCurrency	50
			TotalCount	12
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	9
			Where spawnbot
			TFBot
			{
				Template	T_TFBot_Scout_FANBlast
			}
		}
		WaveSpawn
		{
			Name	w2_primary2
			WaitForAllDead	w2_primary
			TotalCurrency	50
			TotalCount	18
			MaxActive	9
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns	7
			Where spawnbot
			TFBot
			{
				Template	T_TFBot_Pyro_Flaregun
			}
		}
		WaveSpawn
		{
			Name	w2_mittens2
			WaitForAllSpawned	w2_primary
			TotalCurrency	50
			TotalCount	16
			MaxActive	6
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			Where spawnbot_invasion
			TFBot
			{
				ClassIcon	heavy_mittens
				Health	60
				Name	"Heavy Mittens"
				Scale	0.65
				Class	HeavyWeapons
				EventChangeAttributes
				{
					Default
					{
						Skill	Easy
						BehaviorModifiers	Push
						WeaponRestrictions	MeleeOnly
						Tag	"bot_gatebot"
						Tag	"nav_prefer_gate1_flank"
						Attributes	"AlwaysCrit"
						Attributes	"IgnoreFlag"
						ItemAttributes
						{
							ItemName	"the holiday punch"
							"damage bonus"	0.2
						}
						CharacterAttributes
						{
							"move speed bonus"	1.3
						}
						Item	"the holiday punch"
						Item	"the all-father"
						Item	"mvm gatebot light heavy"
					}
					RevertGateBotsBehavior
					{
						Skill	Easy
						WeaponRestrictions	MeleeOnly
						Attributes	"AlwaysCrit"
						ItemAttributes
						{
							ItemName	"the holiday punch"
							"damage bonus"	0.2
						}
						ItemAttributes
						{
							ItemName	"mvm gatebot light heavy"
							"item style override"	1
						}
						CharacterAttributes
						{
							"move speed bonus"	1.3
						}
						Item	"the holiday punch"
						Item	"the all-father"
						Item	"mvm gatebot light heavy"
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w2_finale
			WaitForAllSpawned	w2_primary2
			TotalCurrency	100
			TotalCount	6
			MaxActive	6
			SpawnCount	6
			WaitBeforeStarting	4
			WaitBetweenSpawns	10
			Where spawnbot
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Heater_Improved
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickFix
					Tag	"bot_squad_member"
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickFix
					Tag	"bot_squad_member"
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickFix
					Tag	"bot_squad_member"
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickFix
					Tag	"bot_squad_member"
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickFix
					Tag	"bot_squad_member"
				}
			}
		}
		WaveSpawn
		{
			Name	w2_finale
			WaitForAllSPawned	w2_primary2
			TotalCurrency	50
			TotalCount	20
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	0
			WaitBetweenSpawns	8
			Where spawnbot_side
			TFBot
			{
				ClassIcon	pyro
				Health	175
				Name	Pyro
				Class	Pyro
				Skill	Normal
				WeaponRestrictions	PrimaryOnly
			}
		}
		WaveSpawn
		{
			Name	w2_support
			WaitForAllSpawned	w2_primary2
			TotalCurrency	50
			TotalCount	10
			MaxActive	3
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			Support	1
			Where spawnbot_invasion
			TFBot
			{
				ClassIcon	scout
				Health	125
				Name	Scout
				Class	Scout
				Skill	Hard
				WeaponRestrictions	MeleeOnly
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Sound "Announcer.IncomingMob"
		Checkpoint	Yes
		StartWaveOutput
		{
			Target wave_start_ironman_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		WaveSpawn
		{
			Name	w3_midwaveboss
			TotalCurrency	200
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Where spawnbot_boss_side
			Squad
			{
				TFBot
				{
					ClassIcon	soldier_libertylauncher_giant
					Health	25000
					Name	"Sky High"
					Class	Soldier
					EventChangeAttributes
					{
						Default
						{
							Skill	Expert
							BehaviorModifiers	Push
							WeaponRestrictions	PrimaryOnly
							Tag	"bot_giant"
							Tag	"bot_gatebot"
							Tag	"nav_prefer_gate1_flank"
							Attributes	"MiniBoss"
							Attributes	"UseBossHealthBar"
							Attributes	"HoldFireUntilFullReload"
							Attributes	"IgnoreFlag"
							ItemAttributes
							{
								ItemName	"the liberty launcher"
								"damage bonus"	1
								"damage causes airblast"	1
								"fire rate bonus"	0.25
								"clip size upgrade atomic"	5
								"faster reload rate"	0.4
								"Blast radius decreased"	1.2
								"projectile spread angle penalty"	4
								"Projectile speed increased"	0.75
							}
							CharacterAttributes
							{
								"move speed bonus"	0.5
								"override footstep sound set"	3
								"damage force reduction"	0.01
								"airblast vulnerability multiplier"	0.01
								"airblast vertical vulnerability multiplier"	0.01
								"rage giving scale"	0.15
								"cancel falling damage"	1
							}
							Item	"the liberty launcher"
							Item	"mvm gatebot light soldier"
						}
						RevertGateBotsBehavior
						{
							Skill	Expert
							WeaponRestrictions	PrimaryOnly
							Tag	"bot_giant"
							Attributes	"HoldFireUntilFullReload"
							Attributes	"MiniBoss"
							Attributes	"UseBossHealthBar"
							ItemAttributes
							{
								ItemName	"the liberty launcher"
								"damage bonus"	1
								"damage causes airblast"	1
								"fire rate bonus"	0.25
								"clip size upgrade atomic"	5
								"faster reload rate"	0.4
								"Blast radius decreased"	1.2
								"projectile spread angle penalty"	4
								"Projectile speed increased"	0.75
							}
							ItemAttributes
							{
								ItemName	"mvm gatebot light soldier"
								"item style override"	1
							}
							CharacterAttributes
							{
								"move speed bonus"	0.5
								"override footstep sound set"	3
								"damage force reduction"	0.01
								"airblast vertical vulnerability multiplier"	0.01
								"airblast vulnerability multiplier"	0.01
								"rage giving scale"	0.15
								"cancel falling damage"	1
							}
							Item	"the liberty launcher"
							Item	"mvm gatebot light soldier"
						}
					}
				}
				TFBot
				{
					ClassIcon	medic
					Health	150
					Name	"Quick-Fix Medic"
					Class	Medic
					EventChangeAttributes
					{
						Default
						{
							Skill	Normal
							BehaviorModifiers	Push
							Tag	"bot_squad_member"
							Tag	"bot_gatebot"
							//Attributes	"SpawnWithFullCharge"
							Attributes	"IgnoreFlag"
							Attributes IgnoreEnemies
							ItemAttributes
							{
								ItemName "The Quick-Fix"
								"ubercharge rate bonus" 2
							}
							ItemAttributes
							{
								ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
								"damage penalty" 0.1
							}
							Item	"the quick-fix"
							Item	"mvm gatebot light medic"
						}
						RevertGateBotsBehavior
						{
							Skill	Normal
							Tag	"bot_squad_member"
							//Attributes	"SpawnWithFullCharge"
							ItemAttributes
							{
								ItemName "The Quick-Fix"
								"ubercharge rate bonus" 2
							}
							ItemAttributes
							{
								ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
								"damage penalty" 0.1
							}
							ItemAttributes
							{
								ItemName "mvm gatebot light medic"
								"item style override"	1
							}
							Item	"the quick-fix"
							Item	"mvm gatebot light medic"
						}
					}
				}
				TFBot
				{
					ClassIcon	medic
					Health	150
					Name	"Quick-Fix Medic"
					Class	Medic
					EventChangeAttributes
					{
						Default
						{
							Skill	Normal
							BehaviorModifiers	Push
							Tag	"bot_squad_member"
							Tag	"bot_gatebot"
							//Attributes	"SpawnWithFullCharge"
							Attributes	"IgnoreFlag"
							Attributes IgnoreEnemies
							ItemAttributes
							{
								ItemName "The Quick-Fix"
								"ubercharge rate bonus" 2
							}
							ItemAttributes
							{
								ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
								"damage penalty" 0.1
							}
							Item	"the quick-fix"
							Item	"mvm gatebot light medic"
						}
						RevertGateBotsBehavior
						{
							Skill	Normal
							Tag	"bot_squad_member"
							//Attributes	"SpawnWithFullCharge"
							ItemAttributes
							{
								ItemName "The Quick-Fix"
								"ubercharge rate bonus" 2
							}
							ItemAttributes
							{
								ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
								"damage penalty" 0.1
							}
							ItemAttributes
							{
								ItemName "mvm gatebot light medic"
								"item style override"	1
							}
							Item	"the quick-fix"
							Item	"mvm gatebot light medic"
						}
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w3_primary
			WaitForAllDead	w3_midwaveboss
			TotalCurrency	50
			TotalCount	30
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	0
			WaitBetweenSpawns	6
			Where spawnbot_invasion
			TFBot
			{
				ClassIcon	demo
				Health	175
				//Name	"Spudnik"
				Class	Demoman
				EventChangeAttributes
				{
					Default
					{
						Skill	Normal
						BehaviorModifiers	Push
						WeaponRestrictions	PrimaryOnly
						Tag	"bot_gatebot"
						Tag	"nav_prefer_gate1_flank"
						Attributes	"IgnoreFlag"
						ItemAttributes
						{
							ItemName	tf_weapon_grenadelauncher
							//"custom projectile model"	"models/workshop/player/items/all_class/mvm_memes_player/mvm_memes_player_soldier.mdl"
							//"custom projectile model"	"models/workshop/player/items/all_class/mvm_memes_creator/mvm_memes_creator_soldier.mdl"
						}
						Item	"mvm gatebot light demoman"
					}
					RevertGateBotsBehavior
					{
						Skill	Normal
						WeaponRestrictions	PrimaryOnly
						ItemAttributes
						{
							ItemName	tf_weapon_grenadelauncher
							//"custom projectile model"	"models/workshop/player/items/all_class/mvm_memes_player/mvm_memes_player_soldier.mdl"
							//"custom projectile model"	"models/workshop/player/items/all_class/mvm_memes_creator/mvm_memes_creator_soldier.mdl"
						}
						ItemAttributes
						{
							ItemName	"mvm gatebot light demoman"
							"item style override"	1
						}
						Item	"mvm gatebot light demoman"
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w3_primary
			WaitForAllDead	w3_midwaveboss
			TotalCurrency	50
			TotalCount	18
			MaxActive	6
			SpawnCount	6
			WaitBeforeStarting	0
			WaitBetweenSpawns	8
			Where spawnbot
			TFBot
			{
				ClassIcon	scout
				Health	125
				Name	Scout
				Class	Scout
				Skill	Easy
				WeaponRestrictions	PrimaryOnly
			}
		}
		WaveSpawn
		{
			Name	w3_gauntlet
			WaitForAllDead	w3_midwaveboss
			TotalCurrency	50
			TotalCount	6
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns	20
			Where spawnbot_side
			TFBot
			{
				Template	T_TFBot_Heavyweapons_Fist
				Tag	"bot_giant"
			}
		}
		WaveSpawn
		{
			Name	w3_primary2
			WaitForAllDead	w3_primary
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Where spawnbot
			Squad
			{
				TFBot
				{
					ClassIcon	heavy_heal_giant
					Health	5000
					Name	"Giant Heal-on-Hit Heavy"
					Class	HeavyWeapons
					EventChangeAttributes
					{
						Default
						{
							Skill	Expert
							MaxVisionRange	1200
							BehaviorModifiers	Push
							WeaponRestrictions	PrimaryOnly
							Tag	"bot_giant"
							Tag	"bot_gatebot"
							Tag	"nav_prefer_gate1_flank"
							Attributes	"MiniBoss"
							Attributes	"IgnoreFlag"
							Attributes	"UseBossHealthBar"
							ItemAttributes
							{
								ItemName	"iron curtain"
								"fire rate penalty"	1.1
								"heal on hit for rapidfire"	60
							}
							CharacterAttributes
							{
								"override footstep sound set"	2
								"move speed bonus"	0.5
								"damage force reduction"	0.3
								"airblast vertical vulnerability multiplier"	0.5
								"airblast vulnerability multiplier"	0.1
								"rage giving scale"	0.9
							}
							Item	"iron curtain"
							Item	"mvm gatebot light heavy"
							Item	"the tungsten toque"
						}
						RevertGateBotsBehavior
						{
							Skill	Expert
							MaxVisionRange	1200
							WeaponRestrictions	PrimaryOnly
							Tag	"bot_giant"
							Attributes	"MiniBoss"
							Attributes	"UseBossHealthBar"
							ItemAttributes
							{
								ItemName	"iron curtain"
								"fire rate penalty"	1.1
								"heal on hit for rapidfire"	60
							}
							ItemAttributes
							{
								ItemName	"mvm gatebot light heavy"
								"item style override"	1
							}
							CharacterAttributes
							{
								"move speed bonus"	0.5
								"override footstep sound set"	2
								"damage force reduction"	0.3
								"airblast vulnerability multiplier"	0.1
								"airblast vertical vulnerability multiplier"	0.5
								"rage giving scale"	0.9
							}
							Item	"iron curtain"
							Item	"mvm gatebot light heavy"
							Item	"the tungsten toque"
						}
					}
				}
				TFBot
				{
					ClassIcon	medic
					Health	150
					Name	"Quick-Fix Medic"
					Class	Medic
					EventChangeAttributes
					{
						Default
						{
							Skill	Normal
							BehaviorModifiers	Push
							Tag	"bot_squad_member"
							Tag	"bot_gatebot"
							//Attributes	"SpawnWithFullCharge"
							Attributes	"IgnoreFlag"
							Attributes IgnoreEnemies
							ItemAttributes
							{
								ItemName "The Quick-Fix"
								"ubercharge rate bonus" 5
								"uber duration bonus" -3
							}
							ItemAttributes
							{
								ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
								"damage penalty" 0.1
							}
							Item	"the quick-fix"
							Item	"mvm gatebot light medic"
						}
						RevertGateBotsBehavior
						{
							Skill	Normal
							Tag	"bot_squad_member"
							//Attributes	"SpawnWithFullCharge"
							ItemAttributes
							{
								ItemName "The Quick-Fix"
								"ubercharge rate bonus" 5
								"uber duration bonus" -3
							}
							ItemAttributes
							{
								ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
								"damage penalty" 0.1
							}
							ItemAttributes
							{
								ItemName "mvm gatebot light medic"
								"item style override"	1
							}
							Item	"the quick-fix"
							Item	"mvm gatebot light medic"
						}
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w3_giant
			WaitForAllDead	w3_primary
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	15
			Where spawnbot_invasion
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Jumping_Sandman_Improved
			}
		}
		WaveSpawn
		{
			Name	w3_primary2
			WaitForAllDead	w3_primary
			TotalCurrency	50
			TotalCount	15
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			Where spawnbot
			TFBot
			{
				ClassIcon	pyro
				Health	175
				Name	Pyro
				Class	Pyro
				Skill	Normal
				WeaponRestrictions	PrimaryOnly
				//Attributes	"AlwaysFireWeapon"
			}
		}
		WaveSpawn
		{
			Name	w3_giant2
			WaitForAllSpawned	w3_primary2
			TotalCurrency	200
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	5
			WaitBetweenSpawns	20
			Where spawnbot_side
			FirstSpawnOutput
			{
				Target boss_dead_addbomb1_relay
				Action Trigger
			}
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_HealOnHit_Type2
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickFix_QuickUber
					Tag	"bot_squad_member"
				}
			}
		}
		WaveSpawn
		{
			Name	w3_support
			WaitForAllSpawned	w3_primary2
			TotalCurrency	0
			TotalCount	10
			MaxActive	6
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	7
			Support	1
			Where spawnbot_invasion
			TFBot
			{
				ClassIcon	soldier
				Health	200
				Class	Soldier
				Skill	Normal
				WeaponRestrictions	PrimaryOnly
				//Item	"the direct hit"
			}
		}
		WaveSpawn
		{
			Name	w3_support
			TotalCurrency	0
			TotalCount	10
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	20
			WaitBetweenSpawns	30
			Support	1
			Where spawnbot
			TFBot
			{
				Template	T_TFBot_Engineer_MiniSentry_Tele_TeleIn
				CharacterAttributes
				{
					"cannot pick up intelligence"	1
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Sound "Announcer.IncomingMob"
		Checkpoint	Yes
		StartWaveOutput
		{
			Target wave_start_ironman_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		WaveSpawn
		{
			Name	w4_gatebothorde
			WaitForAllSpawned	w4_giant1
			TotalCurrency	100
			TotalCount	30
			MaxActive	10
			SpawnCount	5 //10
			WaitBeforeStarting	5
			WaitBetweenSpawns	10 //15
			Where spawnbot_invasion
			Squad
			{
				TFBot
				{
					ClassIcon	scout_jumping_fan_alt_alt
					Health	125
					AutoJumpMin	5
					AutoJumpMax	5
					Name	"Jumper Scout"
					Class	Scout
					EventChangeAttributes
					{
						Default
						{
							Skill	Hard
							MaxVisionRange	1000
							BehaviorModifiers	Push
							WeaponRestrictions	PrimaryOnly
							Tag	"bot_gatebot"
							Tag	"nav_prefer_gate1_flank"
							Attributes	"AutoJump"
							Attributes	"AlwaysFireWeapon"
							Attributes	"IgnoreFlag"
							ItemAttributes
							{
								ItemName	"the force-a-nature"
								"weapon spread bonus"	0.5
								"fire rate bonus"	2
								"scattergun knockback mult"	1.25
							}
							CharacterAttributes
							{
								"increased jump height"	2
								"cancel falling damage"	1
							}
							Item	"mvm gatebot light spy"
							Item	"the force-a-nature"
							Item	"the hanger-on hood"
							Item	"the flight of the monarch"
						}
						RevertGateBotsBehavior
						{
							Skill	Hard
							MaxVisionRange	1000
							WeaponRestrictions	PrimaryOnly
							Attributes	"AlwaysFireWeapon"
							Attributes	"AutoJump"
							ItemAttributes
							{
								ItemName	"mvm gatebot light spy"
								"item style override"	1
							}
							ItemAttributes
							{
								ItemName	"the force-a-nature"
								"weapon spread bonus"	0.5
								"fire rate bonus"	2
								"scattergun knockback mult"	1.25
							}
							CharacterAttributes
							{
								"increased jump height"	2
								"cancel falling damage"	1
							}
							Item	"mvm gatebot light spy"
							Item	"the force-a-nature"
							Item	"the hanger-on hood"
							Item	"the flight of the monarch"
						}
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w4_giant1
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Where spawnbot
			TFBot
			{
				ClassIcon	scout_fan_giant
				Health	1200
				Name	"Giant Blast-a-Nature Scout"
				Class	Scout
				EventChangeAttributes
				{
					Default
					{
						Skill	Hard
						MaxVisionRange	1200
						BehaviorModifiers	Push
						WeaponRestrictions	PrimaryOnly
						Tag	"bot_giant"
						Tag	"bot_gatebot"
						Tag	"nav_prefer_gate1_flank"
						Attributes	"MiniBoss"
						Attributes	"IgnoreFlag"
						ItemAttributes
						{
							ItemName	"the force-a-nature"
							"damage penalty" 0.35
							"scattergun knockback mult"	9
							"bullets per shot bonus"	3
							"faster reload rate"	1.7
							"weapon spread bonus"	0.65
						}
						CharacterAttributes
						{
							"override footstep sound set"	5
							"damage force reduction"	0.7
							"airblast vulnerability multiplier"	0.3
							"airblast vertical vulnerability multiplier"	0.5
						}
						Item	"the force-a-nature"
						Item	"mvm gatebot light scout"
					}
					RevertGateBotsBehavior
					{
						Skill	Hard
						MaxVisionRange	1200
						WeaponRestrictions	PrimaryOnly
						Tag	"bot_giant"
						Attributes	"MiniBoss"
						ItemAttributes
						{
							ItemName	"the force-a-nature"
							"damage penalty" 0.35
							"scattergun knockback mult"	9
							"bullets per shot bonus"	3
							"faster reload rate"	1.7
							"weapon spread bonus"	0.65
						}
						ItemAttributes
						{
							ItemName	"mvm gatebot light scout"
							"item style override"	1
						}
						CharacterAttributes
						{
							"override footstep sound set"	5
							"damage force reduction"	0.7
							"airblast vulnerability multiplier"	0.3
							"airblast vertical vulnerability multiplier"	0.5
						}
						Item	"the force-a-nature"
						Item	"mvm gatebot light scout"
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w4_giant2
			WaitForAllDead	w4_giant1
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns	20
			Where spawnbot_side
			TFBot
			{
				ClassIcon	scout_fan_giant
				Health	1200
				Name	"Giant Blast-a-Nature Scout"
				Class	Scout
				EventChangeAttributes
				{
					Default
					{
						Skill	Hard
						MaxVisionRange	1200
						BehaviorModifiers	Push
						WeaponRestrictions	PrimaryOnly
						Tag	"bot_giant"
						Tag	"bot_gatebot"
						Tag	"nav_prefer_gate1_flank"
						Attributes	"MiniBoss"
						Attributes	"IgnoreFlag"
						ItemAttributes
						{
							ItemName	"the force-a-nature"
							"damage penalty" 0.35
							"scattergun knockback mult"	9
							"bullets per shot bonus"	3
							"faster reload rate"	1.7
							"weapon spread bonus"	0.65
						}
						CharacterAttributes
						{
							"override footstep sound set"	5
							"damage force reduction"	0.7
							"airblast vulnerability multiplier"	0.3
							"airblast vertical vulnerability multiplier"	0.5
						}
						Item	"the force-a-nature"
						Item	"mvm gatebot light scout"
					}
					RevertGateBotsBehavior
					{
						Skill	Hard
						MaxVisionRange	1200
						WeaponRestrictions	PrimaryOnly
						Tag	"bot_giant"
						Attributes	"MiniBoss"
						ItemAttributes
						{
							ItemName	"the force-a-nature"
							"damage penalty" 0.35
							"scattergun knockback mult"	9
							"bullets per shot bonus"	3
							"faster reload rate"	1.7
							"weapon spread bonus"	0.65
						}
						ItemAttributes
						{
							ItemName	"mvm gatebot light scout"
							"item style override"	1
						}
						CharacterAttributes
						{
							"override footstep sound set"	5
							"damage force reduction"	0.7
							"airblast vulnerability multiplier"	0.3
							"airblast vertical vulnerability multiplier"	0.5
						}
						Item	"the force-a-nature"
						Item	"mvm gatebot light scout"
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w4_primary
			WaitForAllDead	w4_gatebothorde
			TotalCurrency	25
			TotalCount	16
			MaxActive	5
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	1
			Where spawnbot_side
			TFBot
			{
				ClassIcon	soldier
				Health	200
				Name	Soldier
				Class	Soldier
				Skill	Easy
				WeaponRestrictions	PrimaryOnly
			}
		}
		WaveSpawn
		{
			Name	w4_primary
			WaitForAllDead	w4_gatebothorde
			TotalCurrency	25
			TotalCount	18
			MaxActive	9
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns	8
			Where spawnbot
			TFBot
			{
				ClassIcon	heavy
				Health	300
				Name	Heavy
				Class	HeavyWeapons
				Skill	Easy
				WeaponRestrictions	PrimaryOnly
			}
		}
		WaveSpawn
		{
			Name	w4_primary
			WaitForAllDead	w4_gatebothorde
			TotalCurrency	50
			TotalCount	16
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	7
			Where spawnbot_invasion
			Squad
			{
				TFBot
				{
					ClassIcon	pyro
					Health	175
					Name	Pyro
					Class	Pyro
					EventChangeAttributes
					{
						Default
						{
							Skill	Normal
							BehaviorModifiers	Push
							WeaponRestrictions	PrimaryOnly
							Tag	"bot_gatebot"
							Tag	"nav_prefer_gate1_flank"
							Attributes	"IgnoreFlag"
							Item	"mvm gatebot light pyro"
						}
						RevertGateBotsBehavior
						{
							Skill	Normal
							WeaponRestrictions	PrimaryOnly
							ItemAttributes
							{
								ItemName	"mvm gatebot light pyro"
								"item style override"	1
							}
							Item	"mvm gatebot light pyro"
						}
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w4_primary2
			WaitForAllDead	w4_primary
			TotalCurrency	100
			TotalCount	10
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	0
			WaitBetweenSpawns	15
			Where spawnbot
			FirstSpawnOutput
			{
				Target boss_dead_addbomb1_relay
				Action Trigger
			}
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Pyro
					Tag	"bot_giant"
					Attributes	"AlwaysFireWeapon"
					CharacterAttributes
					{
						"airblast vulnerability multiplier"	0.25
						"airblast vertical vulnerability multiplier"	0.5
					}
				}
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman
				}
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman
				}
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman
				}
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman
				}
			}
		}
		WaveSpawn
		{
			Name	w4_primary2
			WaitForAllDead	w4_primary
			TotalCurrency	50
			TotalCount	15
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			Where spawnbot
			TFBot
			{
				Template	T_TFBot_Soldier_Extended_Concheror
			}
		}
		WaveSpawn
		{
			Name	w4_primary2
			WaitForAllDead	w4_primary
			TotalCurrency	50
			TotalCount	4
			MaxActive	4
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Where spawnbot_side
			TFBot
			{
				ClassIcon	heavy_steelfist
				Health	900
				Name	"Steel Gauntlet"
				Scale	1.5
				Class	HeavyWeapons
				EventChangeAttributes
				{
					Default
					{
						Skill	Hard
						BehaviorModifiers	Push
						WeaponRestrictions	MeleeOnly
						Tag	"bot_giant"
						Tag	"bot_gatebot"
						Tag	"nav_prefer_gate1_flank"
						Attributes	"IgnoreFlag"
						Item	"fists of steel"
						Item	"mvm gatebot light heavy"
					}
					RevertGateBotsBehavior
					{
						Skill	Hard
						WeaponRestrictions	MeleeOnly
						Tag	"bot_giant"
						ItemAttributes
						{
							ItemName	"mvm gatebot light heavy"
							"item style override"	1
						}
						Item	"fists of steel"
						Item	"mvm gatebot light heavy"
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w4_primary3
			WaitForAllDead	w4_primary2
			TotalCurrency	25
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	15
			WaitBetweenSpawns	13
			Where spawnbot_invasion
			TFBot
			{
				Template	T_TFBot_Giant_Scout_FANBlast
			}
		}
		WaveSpawn
		{
			Name	w4_primary3
			WaitForAllDead	w4_primary2
			TotalCurrency	25
			TotalCount	18  //21
			MaxActive	9
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns	8
			Where spawnbot_invasion
			TFBot
			{
				Template	T_TFBot_Heavyweapons_HealOnHit
			}
		}
		WaveSpawn
		{
			Name	w4_primary3
			WaitForAllDead	w4_primary2
			TotalCurrency	100 //50
			TotalCount	8 //12
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns	15
			Where spawnbot_invasion
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Spammer
					Tag	"bot_giant"
					CharacterAttributes
					{
						"airblast vulnerability multiplier"	0.15
						"airblast vertical vulnerability multiplier"	0.5
					}
				}
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman
				}
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman
				}
				TFBot
				{
					Template	T_TFBot_Medic_QuickFix_Normal
				}
			}
		}
		WaveSpawn
		{
			Name	w4_support
			WaitForAllDead	w4_primary2
			TotalCurrency	50
			TotalCount	9
			MaxActive	3
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	6
			Where spawnbot_invasion
			TFBot
			{
				ClassIcon	pyro
				Health	175
				Name	Pyro
				Class	Pyro
				Skill	Easy
				WeaponRestrictions	PrimaryOnly
				Attributes	"AlwaysFireWeapon"
			}
		}
	}
	//Wave
	//{
		//WaitWhenDone	65
		//Checkpoint	Yes
		//Sound "Announcer.IncomingMob"
		//StartWaveOutput
		//{
			//Target wave_start_relay
			//Action Trigger
		//}
		//InitWaveOutput
		//{
			//Target initMain
			//Action Trigger
		//}
		//WaveSpawn
		//{
			//Name	w5_tank
			//TotalCurrency	100
			//TotalCount	1
			//MaxActive	5
			//SpawnCount	1
			//WaitBeforeStarting	0
			//WaitBetweenSpawns	10
			//Where spawnbot_g0s0a
			//Where spawnbot_g0s1a
			//Where spawnbot_g0s2a
			//Where spawnbot_g1s1a
			//Where spawnbot_g2s0a
			//Where spawnbot_g0s0b
			//Where spawnbot_g0s1b
			//Where spawnbot_g0s2b
			//Where spawnbot_g1s1b
			//Where spawnbot_g2s0b
			//StartWaveWarningSound "vo/mvm_tank_alerts02.mp3"
			//FirstSpawnWarningSound "mvm/mvm_tank_start.wav"
			//DoneWarningSound "mvm/mvm_tank_end.wav"
			//TFBot
			//{
				//ClassIcon	heavy_heater_giant
				//Health	30000
				//Name	"Giant Heater Ring Heavy"
				//Class	HeavyWeapons
				//Skill	Expert
				//WeaponRestrictions	PrimaryOnly
				//Tag	"bot_giant"
				//Attributes	"MiniBoss"
				//Attributes	"UseBossHealthBar"
				//Attributes	"AlwaysFireWeapon"
				//ItemAttributes
				//{
					//ItemName	"the huo long heatmaker"
					//"override projectile type"	27
					//"weapon burn time increased"	3
					//"damage bonus vs burning"	4
					//"minigun spinup time increased"	0.0001
				//}
				//CharacterAttributes
				//{
					//"move speed bonus"	0.5
					//"override footstep sound set"	2
					//"damage force reduction"	0.0001
					//"airblast vulnerability multiplier"	0.0001
					//"airblast vertical vulnerability multiplier"	0.0001
					//"rage giving scale"	0.1
					//"cancel falling damage"	1
				//}
				//Item	"the huo long heatmaker"
				//Item	"the bunsen brave"
			//}	
		//}
		//WaveSpawn
		//{
			//Name	w5_tank
			//TotalCurrency	50
			//TotalCount	2
			//MaxActive	2
			//SpawnCount	2
			//WaitBeforeStarting	50
			//WaitBetweenSpawns	10
			//Where spawnbot_g0s0a
			//Where spawnbot_g0s1a
			//Where spawnbot_g0s2a
			//Where spawnbot_g1s1a
			//Where spawnbot_g2s0a
			//Where spawnbot_g0s0b
			//Where spawnbot_g0s1b
			//Where spawnbot_g0s2b
			//Where spawnbot_g1s1b
			//Where spawnbot_g2s0b
			//Squad
			//{
				//TFBot
				//{
					//ClassIcon	soldier_spammer_burstfire
					//Health	3800
					//Name	"Giant Rapid Burst Fire Soldier"
					//Class	Soldier
					//EventChangeAttributes
					//{
						//Default
						//{
							//Skill	Expert
							//BehaviorModifiers	Push
							//WeaponRestrictions	PrimaryOnly
							//Tag	"bot_giant"
							//Tag	"bot_gatebot"
							//Tag	"nav_prefer_gate1_flank"
							//Attributes	"MiniBoss"
							//Attributes	"HoldFireUntilFullReload"
							//Attributes	"IgnoreFlag"
							//ItemAttributes
							//{
								//ItemName	tf_weapon_rocketlauncher
								//"faster reload rate" 0.05
								//"fire rate bonus" 0.2
								//"Projectile speed increased" 0.65
								//"projectile spread angle penalty"	1
							//}
							//CharacterAttributes
							//{
								//"damage force reduction"	0.4
								//"airblast vulnerability multiplier"	0.15
								//"airblast vertical vulnerability multiplier"	0.5
								//"override footstep sound set"	3
								//"move speed bonus"	0.5
								//"max health additive bonus"	3800
							//}
							//Item	"mvm gatebot light soldier"
						//}
						//RevertGateBotsBehavior
						//{
							//Skill	Expert
							//WeaponRestrictions	PrimaryOnly
							//Tag	"bot_giant"
							//Attributes	"HoldFireUntilFullReload"
							//Attributes	"MiniBoss"
							//ItemAttributes
							//{
								//ItemName	tf_weapon_rocketlauncher
								//"faster reload rate" 0.05
								//"fire rate bonus" 0.2
								//"Projectile speed increased" 0.65
								//"projectile spread angle penalty"	1
							//}
							//ItemAttributes
							//{
								//ItemName	"mvm gatebot light soldier"
								//"item style override"	1
							//}
							//CharacterAttributes
							//{
								//"damage force reduction"	0.4
								//"airblast vulnerability multiplier"	0.15
								//"airblast vertical vulnerability multiplier"	0.5
								//"override footstep sound set"	3
								//"move speed bonus"	0.5
								//"max health additive bonus"	3800
							//}
							//Item	"mvm gatebot light soldier"
						//}
					//}
				//}
				//TFBot
				//{
					//Template	T_TFBot_Medic_Overheal
					//Tag	"bot_squad_member"
				//}
			//}
		//}
		//WaveSpawn
		//{
			//Name	w5_tank
			//TotalCurrency	50
			//TotalCount	50
			//MaxActive	10
			//SpawnCount	1
			//WaitBeforeStarting	0.5
			//WaitBetweenSpawns	0.5
			//Where spawnbot_g0s0a
			//Where spawnbot_g0s1a
			//Where spawnbot_g0s2a
			//Where spawnbot_g1s1a
			//Where spawnbot_g1s0a
			//Where spawnbot_g2s0a
			//Where spawnbot_g0s0b
			//Where spawnbot_g0s1b
			//Where spawnbot_g0s2b
			//Where spawnbot_g1s1b
			//Where spawnbot_g1s0b
			//Where spawnbot_g2s0b
			//RandomChoice
			//{
					//TFBot
					//{
						//ClassIcon	scout
						//Health	125
						//Name	Scout
						//Class	Scout
						//Skill	Hard
						//WeaponRestrictions	MeleeOnly
					//}
					//TFBot
					//{
						//ClassIcon	scout
						//Health	125
						//Name	Scout
						//Class	Scout
						//Skill	Hard
						//WeaponRestrictions	MeleeOnly
					//}
					//TFBot
					//{
						//ClassIcon	scout
						//Health	125
						//Name	Scout
						//Class	Scout
						//Skill	Hard
						//WeaponRestrictions	MeleeOnly
					//}
					//TFBot
					//{
						//ClassIcon	scout
						//Health	125
						//Name	Scout
						//Class	Scout
						//Skill	Hard
						//WeaponRestrictions	MeleeOnly
					//}
					//TFBot
					//{
						//ClassIcon	scout
						//Health	125
						//Name	Scout
						//Class	Scout
						//Skill	Hard
						//WeaponRestrictions	PrimaryOnly
					//}
					//TFBot
					//{
						//ClassIcon	scout
						//Health	125
						//Name	Scout
						//Class	Scout
						//Skill	Hard
						//WeaponRestrictions	PrimaryOnly
					//}
					//TFBot
					//{
						//ClassIcon	scout
						//Health	125
						//Name	Scout
						//Class	Scout
						//Skill	Normal
						//WeaponRestrictions	PrimaryOnly
					//}
					//TFBot
					//{
						//ClassIcon	scout
						//Health	125
						//Name	Scout
						//Class	Scout
						//Skill	Normal
						//WeaponRestrictions	PrimaryOnly
						//Attributes	"SpawnWithFullCharge"
						//Item	"baby face's blaster"
					//}
					//TFBot
					//{
						//ClassIcon	scout
						//Health	125
						//Name	Scout
						//Class	Scout
						//Skill	Normal
						//WeaponRestrictions	PrimaryOnly
						//Attributes	"SpawnWithFullCharge"
						//Item	"baby face's blaster"
					//}
			//}
		//}
		//WaveSpawn
		//{
			//Name	w5_primary
			//WaitForAllDead	w5_tank
			//TotalCurrency	50
			//TotalCount	30
			//MaxActive	10
			//SpawnCount	5
			//WaitBeforeStarting	10
			//WaitBetweenSpawns	10
			//Where spawnbot_g0s0a
			//Where spawnbot_g0s1a
			//Where spawnbot_g0s2a
			//Where spawnbot_g1s1a
			//Where spawnbot_g2s0a
			//Where spawnbot_g0s0b
			//Where spawnbot_g0s1b
			//Where spawnbot_g0s2b
			//Where spawnbot_g1s1b
			//Where spawnbot_g2s0b
			//Squad
			//{
				//TFBot
				//{
					//ClassIcon	heavy_healonkill
					//Health	300
					//Name	"Ludmila Heavy"
					//Class	HeavyWeapons
					//EventChangeAttributes
					//{
						//Default
						//{
							//Skill	Hard
							//BehaviorModifiers	Push
							//WeaponRestrictions	PrimaryOnly
							//MaxVisionRange	800
							//Tag	"bot_gatebot"
							//Tag	"nav_prefer_gate1_flank"
							//Attributes	"IgnoreFlag"
							//ItemAttributes
							//{
								//ItemName	"iron curtain"
								//"fire rate bonus"	1.2
								//"damage bonus"	0.7
								//"heal on hit for rapidfire"	3
							//}
							//Item	"iron curtain"
							//Item	"mvm gatebot light heavy"
						//}
						//RevertGateBotsBehavior
						//{
							//Skill	Normal
							//WeaponRestrictions	PrimaryOnly
							//ItemAttributes
							//{
								//ItemName	"iron curtain"
								//"fire rate bonus"	1.1
								//"damage bonus"	0.75
								//"heal on hit for rapidfire"	3
							//}
							//ItemAttributes
							//{
								//ItemName	"mvm gatebot light heavy"
								//"item style override"	1
							//}
							//Item	"iron curtain"
							//Item	"mvm gatebot light heavy"
						//}
					//}
				//}
			//}
		//}
		//WaveSpawn
		//{
			//Name	w5_giant0
			//WaitForAllDead	w5_tank
			//TotalCurrency	50
			//TotalCount	4
			//MaxActive	2
			//SpawnCount	1
			//WaitBeforeStarting	0
			//WaitBetweenSpawns	20
			//Where spawnbot_g0s0a
			//Where spawnbot_g0s1a
			//Where spawnbot_g0s2a
			//Where spawnbot_g1s1a
			//Where spawnbot_g2s1a
			//Where spawnbot_g0s0b
			//Where spawnbot_g0s1b
			//Where spawnbot_g0s2b
			//Where spawnbot_g1s1b
			//Where spawnbot_g2s1b
			//TFBot
			//{
				//Template	T_TFBot_Giant_Scout_Jumping_FAN
			//}
		//}
		//WaveSpawn
		//{
			//Name	w5_primary
			//WaitForAllDead	w5_tank
			//TotalCurrency	50
			//TotalCount	22
			//MaxActive	6
			//SpawnCount	1
			//WaitBeforeStarting	20
			//WaitBetweenSpawns	1
			//Where spawnbot_g0s0a
			//Where spawnbot_g0s1a
			//Where spawnbot_g0s2a
			//Where spawnbot_g1s0a
			//Where spawnbot_g2s1a
			//Where spawnbot_g0s0b
			//Where spawnbot_g0s1b
			//Where spawnbot_g0s2b
			//Where spawnbot_g1s0b
			//Where spawnbot_g2s1b
			//RandomChoice
			//{
					//TFBot
					//{
						//ClassIcon	pyro
						//Health	175
						//Name	Pyro
						//Class	Pyro
						//Skill	Normal
						//WeaponRestrictions	PrimaryOnly
					//}
					//TFBot
					//{
						//ClassIcon	pyro
						//Health	175
						//Name	Pyro
						//Class	Pyro
						//Skill	Normal
						//WeaponRestrictions	PrimaryOnly
					//}
					//TFBot
					//{
						//ClassIcon	pyro
						//Health	175
						//Name	Pyro
						//Class	Pyro
						//Skill	Normal
						//WeaponRestrictions	PrimaryOnly
					//}
					//TFBot
					//{
						//ClassIcon	pyro
						//Health	175
						//Name	Pyro
						//Class	Pyro
						//Skill	Normal
						//WeaponRestrictions	PrimaryOnly
					//}
			//}
		//}
		//WaveSpawn
		//{
			//Name	w5_primary2
			//WaitForAllDead	w5_primary
			//TotalCurrency	50
			//TotalCount	12
			//MaxActive	6
			//SpawnCount	3
			//WaitBeforeStarting	0
			//WaitBetweenSpawns	10
			//Where spawnbot_g0s0a
			//Where spawnbot_g0s1a
			//Where spawnbot_g0s2a
			//Where spawnbot_g1s1a
			//Where spawnbot_g2s0a
			//Where spawnbot_g0s0b
			//Where spawnbot_g0s1b
			//Where spawnbot_g0s2b
			//Where spawnbot_g1s1b
			//Where spawnbot_g2s0b
			//TFBot
			//{
				//Template	T_TFBot_Demo_Burst
			//}
		//}
		//WaveSpawn
		//{
			//Name	w5_primary2
			//WaitForAllDead	w5_primary
			//TotalCurrency	50
			//TotalCount	2
			//MaxActive	2
			//SpawnCount	2
			//WaitBeforeStarting	20
			//WaitBetweenSpawns	10
			//Where spawnbot_g0s0a
			//Where spawnbot_g0s1a
			//Where spawnbot_g0s2a
			//Where spawnbot_g1s1a
			//Where spawnbot_g2s0a
			//Where spawnbot_g0s0b
			//Where spawnbot_g0s1b
			//Where spawnbot_g0s2b
			//Where spawnbot_g1s1b
			//Where spawnbot_g2s0b
			//Squad
			//{
				//TFBot
				//{
					//Class Heavyweapons
					//ClassIcon heavy_heater_giant
					//Health 5000
					//Name	"Giant Heavy"

					//EventChangeAttributes
					//{
						//Default
						//{
							//BehaviorModifiers push			// having these will cause bots to run towards gates
							//Attributes IgnoreFlag			// having these will cause bots to run towards gates
							//Tag nav_prefer_gate1_flank 		// having these will cause bots to run towards gates
							//Tag bot_gatebot 				// having these will cause bots to run towards gates
		
							//Item "MvM GateBot Light Heavy"
							//Skill Expert
							//WeaponRestrictions PrimaryOnly
							//Item "The Huo Long Heatmaker"
							//Attributes MiniBoss
							//Tag bot_giant
							//ItemAttributes
							//{
								//ItemName "The Huo Long Heatmaker"
								//"damage bonus"	1.0
							//}
							//CharacterAttributes
							//{
								//"move speed bonus"	0.5
								//"damage force reduction" 0.3
								//"airblast vulnerability multiplier" 0.1
								//"airblast vertical vulnerability multiplier" 0.5
								//"override footstep sound set" 2
								//"max health additive bonus"	5000
							//}
						//}
						//RevertGateBotsBehavior
						//{
							//Item "MvM GateBot Light Heavy"
							//ItemAttributes               // turn off light hat
							//{
								//ItemName "MvM GateBot Light Heavy"
								//"item style override" 1
							//}
							//Skill Expert
							//WeaponRestrictions PrimaryOnly
							//Item "The Huo Long Heatmaker"
							//Attributes MiniBoss
							//Tag bot_giant
							//ItemAttributes
							//{
								//ItemName "The Huo Long Heatmaker"
								//"damage bonus"	1.0
							//}
							//CharacterAttributes
							//{
								//"move speed bonus"	0.5
								//"damage force reduction" 0.3
								//"airblast vulnerability multiplier" 0.1
								//"airblast vertical vulnerability multiplier" 0.5
								//"override footstep sound set" 2
								//"max health additive bonus"	5000
							//}
						//}
					//}
				//}	
				//TFBot
				//{
					//Template	T_TFBot_Medic_Overheal
					//Tag	"bot_squad_member"
				//}
			//}
		//}
		//WaveSpawn
		//{
			//Name	w5_primary2
			//WaitForAllDead	w5_primary
			//TotalCurrency	50
			//TotalCount	12
			//MaxActive	8
			//SpawnCount	2
			//WaitBeforeStarting	0
			//WaitBetweenSpawns	10
			//Where spawnbot_g0s0a
			//Where spawnbot_g0s1a
			//Where spawnbot_g0s2a
			//Where spawnbot_g1s1a
			//Where spawnbot_g2s0a
			//Where spawnbot_g0s0b
			//Where spawnbot_g0s1b
			//Where spawnbot_g0s2b
			//Where spawnbot_g1s1b
			//Where spawnbot_g2s0b
			//Squad
			//{
				//TFBot
				//{
					//ClassIcon	soldier
					//Health	200
					//Name	Soldier
					//Class	Soldier
					//Skill	Normal
					//WeaponRestrictions	PrimaryOnly
				//}
				//TFBot
				//{
					//Template	T_TFBot_Medic_QuickFix
					//Tag	"bot_squad_member"
				//}
			//}
		//}
		//WaveSpawn
		//{
			//Name	w5_tank2
			//WaitForAllDead	w5_primary2
			//TotalCurrency	50
			//TotalCount	1
			//MaxActive	5
			//SpawnCount	1
			//WaitBeforeStarting	0
			//WaitBetweenSpawns	10
			//Where spawnbot_g0s0a
			//Where spawnbot_g0s1a
			//Where spawnbot_g0s2a
			//Where spawnbot_g1s1a
			//Where spawnbot_g2s0a
			//Where spawnbot_g0s0b
			//Where spawnbot_g0s1b
			//Where spawnbot_g0s2b
			//Where spawnbot_g1s1b
			//Where spawnbot_g2s0b
			//FirstSpawnWarningSound "vo/mvm_tank_alerts03.mp3"
			//LastSpawnWarningSound "mvm/mvm_tank_start.wav"
			//DoneWarningSound "mvm/mvm_tank_end.wav"
			//TFBot
			//{
				//ClassIcon	heavy_heater_giant
				//Health	20000
				//Name	"Giant Heater Ring Heavy"
				//Class	HeavyWeapons
				//Skill	Expert
				//WeaponRestrictions	PrimaryOnly
				//Tag	"bot_giant"
				//Attributes	"MiniBoss"
				//Attributes	"UseBossHealthBar"
				//Attributes	"AlwaysFireWeapon"
				//ItemAttributes
				//{
					//ItemName	"the huo long heatmaker"
					//"override projectile type"	27
					//"weapon burn time increased"	3
					//"damage bonus vs burning"	4
					//"minigun spinup time increased"	0.0001
				//}
				//CharacterAttributes
				//{
					//"move speed bonus"	0.4
					//"override footstep sound set"	2
					//"damage force reduction"	0.0001
					//"airblast vulnerability multiplier"	0.0001
					//"airblast vertical vulnerability multiplier"	0.0001
					//"rage giving scale"	0.1
					//"cancel falling damage"	1
				//}
				//Item	"the huo long heatmaker"
				//Item	"the bunsen brave"
			//}
		//}
		//WaveSpawn
		//{
			//Name	w5_tank2
			//WaitForAllDead	w5_primary2
			//TotalCurrency	50
			//TotalCount	4
			//MaxActive	4
			//SpawnCount	2
			//WaitBeforeStarting	1
			//WaitBetweenSpawns	35
			//Where spawnbot_g0s0a
			//Where spawnbot_g0s1a
			//Where spawnbot_g0s2a
			//Where spawnbot_g1s1a
			//Where spawnbot_g2s0a
			//Where spawnbot_g0s0b
			//Where spawnbot_g0s1b
			//Where spawnbot_g0s2b
			//Where spawnbot_g1s1b
			//Where spawnbot_g2s0b
			//Squad
			//{
				//TFBot
				//{
					//Template	T_TFBot_Giant_Soldier_BurstFire_Spammer_Type4
					//CharacterAttributes
					//{
						//"max health additive bonus"	3800
					//}
				//}
				//TFBot
				//{
					//Template	T_TFBot_Medic_Overheal
					//Tag	"bot_squad_member"
				//}
			//}
		//}
		//WaveSpawn
		//{
			//Name	w5_support
			//WaitForAllSpawned	w5_primary2
			//TotalCurrency	0
			//TotalCount	10
			//MaxActive	5
			//SpawnCount	1
			//WaitBeforeStarting	0
			//WaitBetweenSpawns	10
			//Support	1
			//Where spawnbot_g0s0a
			//Where spawnbot_g0s1a
			//Where spawnbot_g0s2a
			//Where spawnbot_g1s1a
			//Where spawnbot_g1s0a
			//Where spawnbot_g2s0a
			//Where spawnbot_g2s1a
			//Where spawnbot_g0s0b
			//Where spawnbot_g0s1b
			//Where spawnbot_g0s2b
			//Where spawnbot_g1s1b
			//Where spawnbot_g1s0b
			//Where spawnbot_g2s0b
			//Where spawnbot_g2s1b
			
			//TFBot
			//{
				//ClassIcon	scout
				//Health	125
				//Name	Scout
				//Class	Scout
				//Skill	Normal
			//}
		//}
	//}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		Sound	Announcer.IncomingMob
		StartWaveOutput
		{
			Target wave_start_ironman_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		WaveSpawn
		{
			Name	w6_boss
			TotalCurrency	300 //100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Where spawnbot_boss_side
			Squad
			{
				TFBot
				{
					ClassIcon	pyro_flare_giant
					Health	35000
					Name	"Flare Rainer"
					Class	Pyro
					EventChangeAttributes
					{
						Default
						{
							Skill	Expert
							BehaviorModifiers	Push
							WeaponRestrictions	SecondaryOnly
							Tag	"bot_giant"
							Tag	"bot_gatebot"
							Tag nav_prefer_gate1_flank
							Attributes	"MiniBoss"
							Attributes	"IgnoreFlag"
							Attributes	"UseBossHealthBar"
							ItemAttributes
							{
								ItemName	"the flare gun"
								"fire rate bonus"	0.1
								"damage bonus"	1.5
								"dmg bonus vs buildings"	1.5
								"projectile spread angle penalty"	4
								"Projectile speed increased"	0.45
							}
							CharacterAttributes
							{
								"move speed bonus"	0.5
								"override footstep sound set"	6
								"airblast vulnerability multiplier"	0
								"damage force reduction"	0
								"airblast vertical vulnerability multiplier"	0
								"increased jump height" 2.5
								"cancel falling damage"	1
								"increased air control"	8
								"health regen"	40
							}
							Item	"the flare gun"
							Item	"mvm gatebot light pyro"
						}
						RevertGateBotsBehavior
						{
							Skill	Expert
							WeaponRestrictions	SecondaryOnly
							Tag	"bot_giant"
							Attributes	"MiniBoss"
							Attributes	"UseBossHealthBar"
							ItemAttributes
							{
								ItemName	"the flare gun"
								"fire rate bonus"	0.1
								"damage bonus"	1.5
								"dmg bonus vs buildings"	1.5
								"projectile spread angle penalty"	4
								"Projectile speed increased"	0.45
							}
							ItemAttributes
							{
								ItemName	"mvm gatebot light pyro"
								"item style override"	1
							}
							CharacterAttributes
							{
								"move speed bonus"	0.5
								"override footstep sound set"	6
								"airblast vulnerability multiplier"	0
								"airblast vertical vulnerability multiplier"	0
								"damage force reduction"	0
								"increased jump height" 2.5
								"cancel falling damage"	1
								"increased air control"	8
								"health regen"	40
							}
							Item	"the flare gun"
							Item	"mvm gatebot light pyro"
						}
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w6_giant
			WaitForAllDead	w6_boss
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	20
			Where spawnbot_invasion
			TFBot
			{
				Template	T_TFBot_Giant_Scout_Jumping_FAN //T_TFBot_Giant_Scout_FANBlast //T_TFBot_Giant_Scout_FAN_Original
			}
		}
		WaveSpawn
		{
			Name	w6_gatebotrush1
			WaitForAllDead	w6_boss
			TotalCurrency	50
			TotalCount	20
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			Where spawnbot_invasion
			TFBot
			{
				ClassIcon	demo
				Health	175
				//Name	"Spudnik"
				Class	Demoman
				EventChangeAttributes
				{
					Default
					{
						Skill	Normal
						BehaviorModifiers	Push
						WeaponRestrictions	PrimaryOnly
						Tag	"bot_gatebot"
						Tag	"nav_prefer_gate1_flank"
						Attributes	"IgnoreFlag"
						ItemAttributes
						{
							ItemName	tf_weapon_grenadelauncher
							//"custom projectile model"	"models/workshop/player/items/all_class/mvm_memes_player/mvm_memes_player_pyro.mdl"
							//"custom projectile model"	"models/workshop/player/items/all_class/mvm_memes_creator/mvm_memes_creator_pyro.mdl"
						}
						Item	"mvm gatebot light demoman"
					}
					RevertGateBotsBehavior
					{
						Skill	Normal
						WeaponRestrictions	PrimaryOnly
						ItemAttributes
						{
							ItemName	tf_weapon_grenadelauncher
							//"custom projectile model"	"models/workshop/player/items/all_class/mvm_memes_player/mvm_memes_player_pyro.mdl"
							//"custom projectile model"	"models/workshop/player/items/all_class/mvm_memes_creator/mvm_memes_creator_pyro.mdl"
						}
						ItemAttributes
						{
							ItemName	"mvm gatebot light demoman"
							"item style override"	1
						}
						Item	"mvm gatebot light demoman"
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w6_gatebotrush1
			WaitForAllDead	w6_boss
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	15
			Where spawnbot_invasion
			Squad
			{
				TFBot
				{
					ClassIcon	pyro_giant
					Health	3000
					Name	"Giant Pyro"
					Class	Pyro
					EventChangeAttributes
					{
						Default
						{
							Skill	Expert
							BehaviorModifiers	Push
							WeaponRestrictions	PrimaryOnly
							Tag	"bot_giant"
							Tag	"bot_gatebot"
							Tag nav_prefer_gate1_flank
							Attributes	"MiniBoss"
							Attributes	"IgnoreFlag"
							CharacterAttributes
							{
								"move speed bonus"	0.5
								"damage force reduction"	0.6
								"airblast vulnerability multiplier"	0.25
								"override footstep sound set"	6
								"airblast vertical vulnerability multiplier"	0.5
							}
							Item	"mvm gatebot light pyro"
						}
						RevertGateBotsBehavior
						{
							Skill	Expert
							WeaponRestrictions	PrimaryOnly
							Tag	"bot_giant"
							Attributes	"MiniBoss"
							//Attributes	"AlwaysFireWeapon"
							ItemAttributes
							{
								ItemName	"mvm gatebot light pyro"
								"item style override"	1
							}
							CharacterAttributes
							{
								"move speed bonus"	0.5
								"override footstep sound set"	6
								"damage force reduction"	0.6
								"airblast vulnerability multiplier"	0.25
								"airblast vertical vulnerability multiplier"	0.5
							}
							Item	"mvm gatebot light pyro"
						}
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w6_primary
			WaitForAllSpawned	w6_gatebotrush1
			TotalCurrency	50
			TotalCount	21
			MaxActive	9
			SpawnCount	3
			WaitBeforeStarting	8
			WaitBetweenSpawns	10
			Where spawnbot_side
			TFBot
			{
				ClassIcon	heavy
				Health	300
				Name	Heavy
				Class	HeavyWeapons
				Skill	Normal
				//MaxVisionRange	800
				WeaponRestrictions	PrimaryOnly
				//Item	"the huo long heatmaker"
			}
		}
		WaveSpawn
		{
			Name	w6_primary
			WaitForAllSpawned	w6_gatebotrush1
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	18
			WaitBetweenSpawns	20
			Where spawnbot
			FirstSpawnOutput
			{
				Target boss_dead_addbomb1_relay
				Action Trigger
			}
			TFBot
			{
				Template	T_TFBot_Giant_Soldier_BurstFire_Spammer_Type4 //T_TFBot_Giant_Soldier_SmallBurstFire //T_TFBot_Giant_Soldier_RocketShotgun_Original
			}
		}
		WaveSpawn
		{
			Name	w6_primary
			WaitForAllDead	w6_gatebotrush1
			TotalCurrency	50
			TotalCount	14
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			Where spawnbot_invasion
			TFBot
			{
				Template	T_TFBot_Scout_Jumping_FAN
			}
		}
		//WaveSpawn
		//{
			//Name	w6_finalgatebots
			//WaitForAllDead	w6_primary
			//TotalCurrency	50
			//TotalCount	4
			//MaxActive	6
			//SpawnCount	2
			//WaitBeforeStarting	0
			//WaitBetweenSpawns	15
			//Where spawnbot_invasion
			//Squad
			//{
				//TFBot
				//{
					//ClassIcon	heavy_heal_giant
					//Health	5000
					//Name	"Giant Heal-on-Hit Heavy"
					//Class	HeavyWeapons
					//EventChangeAttributes
					//{
						///Default
						//{
							//Skill	Expert
							//MaxVisionRange	1200
							//BehaviorModifiers	Push
							//WeaponRestrictions	PrimaryOnly
							//Tag	"bot_giant"
							//Tag	"bot_gatebot"
							//Tag nav_prefer_gate1_flank
							//Attributes	"MiniBoss"
							//Attributes	"IgnoreFlag"
							//Attributes	"UseBossHealthBar"
							//ItemAttributes
							//{
								//ItemName	"iron curtain"
								//"heal on hit for rapidfire"	60
								//"fire rate bonus"	1.1
							//}
							//CharacterAttributes
							//{
								//"override footstep sound set"	2
								//"move speed bonus"	0.5
								//"damage force reduction"	0.3
								//"airblast vertical vulnerability multiplier"	0.5
								//"airblast vulnerability multiplier"	0.1
								//"rage giving scale"	0.9
							//}
							//Item	"iron curtain"
							//Item	"mvm gatebot light heavy"
							//Item	"the tungsten toque"
						//}
						//RevertGateBotsBehavior
						//{
							//Skill	Expert
							//MaxVisionRange	1200
							//WeaponRestrictions	PrimaryOnly
							//Tag	"bot_giant"
							//Attributes	"MiniBoss"
							//Attributes	"UseBossHealthBar"
							//ItemAttributes
							//{
								//ItemName	"iron curtain"
								//"heal on hit for rapidfire"	60
								//"fire rate bonus"	1.1
							//}
							//ItemAttributes
							//{
								//ItemName	"mvm gatebot light heavy"
								//"item style override"	1
							//}
							//CharacterAttributes
							//{
								//"override footstep sound set"	2
								//"move speed bonus"	0.5
								//"damage force reduction"	0.3
								//"airblast vertical vulnerability multiplier"	0.5
								//"airblast vulnerability multiplier"	0.1
								//"rage giving scale"	0.9
							//}
							//Item	"iron curtain"
							//Item	"mvm gatebot light heavy"
							//Item	"the tungsten toque"
						//}
					//}
				//}
				//TFBot
				//{
					//ClassIcon	medic
					//Health	150
					//Name	"Quick-Fix Medic"
					//Class	Medic
					//EventChangeAttributes
					//{
						//Default
						//{
							//Skill	Normal
							//BehaviorModifiers	Push
							//Tag	"bot_squad_member"
							//Tag	"bot_gatebot"
							//Attributes	"SpawnWithFullCharge"
							//Attributes	"IgnoreFlag"
							//Attributes IgnoreEnemies
							//ItemAttributes
							//{
								//ItemName "The Quick-Fix"
								//"ubercharge rate bonus" 2
							//}
							//ItemAttributes
							//{
								//ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
								//"damage penalty" 0.1
							//}
							//CharacterAttributes
							//{
								//"heal rate bonus" 5
							//}
							//Item	"the quick-fix"
							//Item	"mvm gatebot light medic"
						//}
						//RevertGateBotsBehavior
						//{
							//Skill	Normal
							//Tag	"bot_squad_member"
							//Attributes	"SpawnWithFullCharge"
							//ItemAttributes
							//{
								//ItemName "The Quick-Fix"
								//"ubercharge rate bonus" 2
							//}
							//ItemAttributes
							//{
								//ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
								//"damage penalty" 0.1
							//}
							//ItemAttributes
							//{
								//ItemName "mvm gatebot light medic"
								//"item style override"	1
							//}
							//CharacterAttributes
							//{
								//"heal rate bonus" 5
							//}
							//Item	"the quick-fix"
							//Item	"mvm gatebot light medic"
						//}
					//}
				//}
			//}
		//}
		WaveSpawn
		{
			Name	w6_finale
			WaitForAllDead	w6_primary
			TotalCurrency	50
			TotalCount	22
			MaxActive	8
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0.5
			Where spawnbot_invasion
			TFBot
			{
				Template	T_TFBot_Scout_Jumping_FAN
			}
		}
		WaveSpawn
		{
			Name	w6_finale
			WaitForAllDead	w6_primary
			TotalCurrency	50
			TotalCount	24
			MaxActive	8
			SpawnCount	8
			WaitBeforeStarting	0
			WaitBetweenSpawns	5
			Where spawnbot_invasion
			TFBot
			{
				Template	T_TFBot_Demoman
				Tag nav_prefer_flank_1
				Tag nav_prefer_flank_3
				Tag nav_prefer_flank_4
				Tag nav_prefer_flank_5
			}
		}
		WaveSpawn
		{
			Name	w6_finale
			WaitForAllDead	w6_primary
			TotalCurrency	100
			TotalCount	6
			MaxActive	6
			SpawnCount	6
			WaitBeforeStarting	3
			WaitBetweenSpawns	10
			Where spawnbot_invasion
			FirstSpawnOutput
			{
				Target boss_dead_addbomb2_relay
				Action Trigger
			}
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Deflector
					Tag	"bot_giant"
					CharacterAttributes
					{
						"max health additive bonus"	5000
						"airblast vertical vulnerability multiplier"	0.5
						"airblast vulnerability multiplier"	0.1
					}
				}
				TFBot
				{
					Template	T_TFBot_Medic_Overheal
					Tag	"bot_squad_member"
				}
				TFBot
				{
					Template	T_TFBot_Medic_Overheal
					Tag	"bot_squad_member"
				}
				TFBot
				{
					Template	T_TFBot_Medic_Overheal
					Tag	"bot_squad_member"
				}
				TFBot
				{
					Template	T_TFBot_Medic_Overheal
					Tag	"bot_squad_member"
				}
				TFBot
				{
					Template	T_TFBot_Medic_Overheal
					Tag	"bot_squad_member"
				}
			}
		}
		WaveSpawn
		{
			Name	w6_engie
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	20
			WaitBetweenSpawns	20
			Support	1
			Where spawnbot_invasion
			TFBot
			{
				Template	T_TFBot_Engineer_MiniSentry_Battle
			}
		}
		WaveSpawn
		{
			Name	w6_engie_finale
			WaitForAllDead	w6_primary
			TotalCurrency	0
			TotalCount	5
			MaxActive	5
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	8
			Support	1
			Where spawnbot_invasion
			TFBot
			{
				Template	T_TFBot_Engineer_MiniSentry_Battle_Tele
			}
		}
	}
}
