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

WaveSchedule
{
	StartingCurrency 700
	RespawnWaveTime 5
	CanBotsAttackWhileInSpawnRoom no
	
	Templates
	{	
		T_TFGateBot_Giant_Cola_Scout
		{
			Name "Giant Crit-a-Cola Scout"
			Class Scout 
			Health 1200
			ClassIcon scout_cola
			
			EventChangeAttributes
			{
				Default
				{
					Attributes SpawnWithFullCharge
					Attributes MiniBoss
					Attributes IgnoreFlag
					BehaviorModifiers push
			
					Tag bot_giant
					Tag bot_gatebot
					Tag nav_prefer_gate1_flank
					
					Skill Normal
					
					ItemAttributes
					{
						ItemName "Crit-a-Cola"
						"effect bar recharge rate increased" 0.5
					}
					
					CharacterAttributes
					{
						"move speed bonus" 1.1
						"override footstep sound set" 5
						"damage force reduction" 0.7
						"airblast vulnerability multiplier" 0.7
					}
					
					Item "Crit-a-Cola"
					Item "MvM GateBot Light Scout"
				}
				RevertGateBotsBehavior
				{
					Skill Easy
					
					ItemAttributes
					{
						ItemName "MvM GateBot Light Scout"
						"item style override" 1
					}
					
					ItemAttributes
					{
						ItemName "Crit-a-Cola"
						"effect bar recharge rate increased" 0.5
					}
					
					CharacterAttributes
					{
						"move speed bonus" 1.1
						"override footstep sound set" 5
						"damage force reduction" 0.7
						"airblast vulnerability multiplier" 0.7
					}
					
					Item "Crit-a-Cola"
					Item "MvM GateBot Light Scout"
				}
			}
		}	
		
		T_TFBot_Demoknight_Heads
		{
			Class Demoman
			Health 210
			Skill Hard
			Name "Head Hungry Knight"
			ClassIcon demoknight
			WeaponRestrictions MeleeOnly
			Item "The Chargin' Targe"
			Item "The Eyelander"
			Item "Tam O'Shanter"
			
			ItemAttributes
			{
				ItemName "The Eyelander"
				"critboost on kill" 3
				"max health additive penalty" -0
			}
			CharacterAttributes
			{
				"move speed bonus" 1.32
			}
		}
			
		T_TFBot_Soldier_Shotgun
		{
			Class Soldier
			ClassIcon shotgun_nys
			Name "Shotgun Soldier"
			Skill Normal
			WeaponRestrictions SecondaryOnly
			Attributes HoldFireUntilFullReload
			
			Item "tf_weapon_shotgun_soldier"
			Item "Soldier's Stash"
			
			ItemAttributes
			{
				ItemName "tf_weapon_shotgun_soldier"
				"fire rate bonus" 0.5
				"damage penalty" 0.4
				"faster reload rate" 1.1
			}
		}

		T_TFGateBot_Soldier_Shotgun
		{
			Class Soldier
			Name "Shotgun Soldier"
			ClassIcon shotgun_nys
			
			EventChangeAttributes
			{
				Default
				{
					WeaponRestrictions SecondaryOnly
					
					Attributes HoldFireUntilFullReload
					Attributes IgnoreFlag
					BehaviorModifiers push
					
					Skill Normal
					
					Tag bot_gatebot
					Tag nav_prefer_gate1_flank
			
					ItemAttributes
					{
						ItemName "tf_weapon_shotgun_soldier"
						"fire rate bonus" 0.5
						"damage penalty" 0.4
						"faster reload rate" 1.1
					}
					
					Item "MvM GateBot Light Soldier"
					Item "tf_weapon_shotgun_soldier"
					Item "Soldier's Stash"
				}
				
				RevertGateBotsBehavior
				{
					WeaponRestrictions SecondaryOnly
					
					Attributes HoldFireUntilFullReload
					
					Skill Normal
			
					ItemAttributes
					{
						ItemName "tf_weapon_shotgun_soldier"
						"fire rate bonus" 0.5
						"damage penalty" 0.4
						"faster reload rate" 1.1
					}
					
					ItemAttributes
					{
						ItemName "MvM GateBot Light Soldier"
						"item style override" 1
					}	
					
					Item "MvM GateBot Light Soldier"
					Item "tf_weapon_shotgun_soldier"
					Item "Soldier's Stash"
				}
			}
		}
		
		T_TFGateBot_Soldier_EscapePlan
		{
			Class Soldier
			Name "Escape Plan Soldier"
			ClassIcon soldier_escapeplan
			
			EventChangeAttributes
			{
				Default
				{
					WeaponRestrictions MeleeOnly
					
					Attributes IgnoreFlag
					BehaviorModifiers push
					
					Skill Hard
					
					Tag bot_gatebot
					Tag nav_prefer_gate1_flank
					
					Item "The Escape Plan"
					Item "MvM GateBot Light Soldier"
					
				}
				
				RevertGateBotsBehavior
				{
					WeaponRestrictions MeleeOnly
					
					Skill Hard
					
					Item "The Escape Plan"
					Item "MvM GateBot Light Soldier"
					
					ItemAttributes
					{
						ItemName "MvM GateBot Light Soldier"
						"item style override" 1
					}	
					
					ItemAttributes
					{
						ItemName "The Escape Plan"
						"damage bonus" 1.1
					}	
				}
			}
		}
		
		T_TFBot_Engineer_Pistol
		{
			Template T_TFBot_Engineer_Sentry_Battle
			Name "Pistol Engi"
			Scale 1.2
			Health 275
			ClassIcon engineer_pistol
			EventChangeAttributes
			{
				Default
				{
					Tag nav_prefer_gate1_flank
					Tag bot_gatebot
					
					Skill Normal
					
					WeaponRestrictions SecondaryOnly
					
					BehaviorModifiers push
					Attributes IgnoreFlag
					
					Item "MvM GateBot Light Engineer"
					Item "tf_weapon_pistol"
				
					ItemAttributes
					{
						ItemName "tf_weapon_pistol"
						"fire rate bonus" 1.4
						"clip size bonus" 1.6
						"damage bonus" 0.6
						
					}
				}
				
				RevertGateBotsBehavior
				{
					Skill Hard
					
					WeaponRestrictions SecondaryOnly
					
					Item "MvM GateBot Light Engineer"
					Item "tf_weapon_pistol"
					
					ItemAttributes
					{
						ItemName "MvM GateBot Light Engineer"
						"item style override" 1
					}	
					
					ItemAttributes
					{
						ItemName "tf_weapon_pistol"
						"fire rate bonus" 1.4
						"clip size bonus" 1.6	
					}
				}
			}	
		}		
		
		T_TFBot_Heavyweapons_Heater_Smol
		{
			ClassIcon heavy_heater_nys
			Name "Heater Heavy"
			Class Heavyweapons
			Skill Hard
			
			ItemAttributes
			{
				ItemName "The Huo Long Heatmaker"
				"damage bonus" 0.6
			}	
			
			Item "The Huo Long Heatmaker"
			Item "Hard Counter"
		}
		
		T_TFGateBot_Heavyweapons_Heater_Smol
		{
			ClassIcon heavy_heater_nys
			Name "Heater Heavy"
			Class Heavyweapons
			
			EventChangeAttributes
			{
				Default
				{
					Tag nav_prefer_gate1_flank
					Tag bot_gatebot
					
					Skill Hard
					
					BehaviorModifiers push
					Attributes IgnoreFlag
					
					ItemAttributes
					{
						ItemName "The Huo Long Heatmaker"
						"damage bonus" 0.6
					}	
					
					Item "MvM GateBot Light Heavy"
					Item "The Huo Long Heatmaker"
					Item "Hard Counter"
				}
				
				RevertGateBotsBehavior
				{
					Item "MvM GateBot Light Heavy"
					Item "The Huo Long Heatmaker"
					
					Skill Hard
					
					ItemAttributes
					{
						ItemName "MvM GateBot Light Heavy"
						"item style override" 1
					}	
					
					ItemAttributes
					{
						ItemName "The Huo Long Heatmaker"
						"damage bonus" 0.6
					}	
				}
			}
		}
		
		T_TFBot_Charged_Soldier
		{
			Class Soldier
			Health 225
			Scale 1.1
			ClassIcon soldier_crit_blast_sgtc
			Name "Slow Rocket Soldier"
			Skill Normal
			
			
			WeaponRestrictions PrimaryOnly
			
			ItemAttributes
			{
				ItemName "The Original"
				"faster reload rate" 0.2
				"fire rate bonus" 2.4
				"Projectile speed increased" 0.35
				"damage causes airblast" 1
			}
			
			Item "The Original"
			Item "Exquisite Rack"
		}
		
		T_TFGateBot_Charged_Soldier
		{
			Class Soldier
			Health 255
			ClassIcon soldier_crit_blast_sgtc
			Name "Slow Rocket Soldier"
			
			EventChangeAttributes
			{
				Default
				{
					WeaponRestrictions PrimaryOnly
					
					Skill Normal
					
					Tag nav_prefer_gate1_flank
					Tag bot_gatebot
					
					BehaviorModifiers push
					Attributes IgnoreFlag
					
					Item "The Original"
					Item "MvM GateBot Light Soldier"
					
					ItemAttributes
					{
						ItemName "The Original"
						"faster reload rate" 0.35
						"fire rate bonus" 2.4
						"Projectile speed increased" 0.5
						"damage causes airblast" 1
					}
				}
				
				RevertGateBotsBehavior
				{
					WeaponRestrictions PrimaryOnly
					
					Skill Normal
					
					Item "The Original"
					Item "MvM GateBot Light Soldier"
					
					ItemAttributes
					{
						ItemName "MvM GateBot Light Soldier"
						"item style override" 1
					}	
					
					ItemAttributes
					{
						ItemName "The Original"
						"faster reload rate" 0.2
						"fire rate bonus" 2.4
						"Projectile speed increased" 0.5
						"clip size bonus" 0.5
						"damage causes airblast" 1
					}
				}
			}
		}	
		
		T_TFGateBot_Giant_Soldier_Crit
			{
				Class Soldier
				Name "Giant Charged Soldier"
				ClassIcon soldier_crit
				Health 3800
				
				EventChangeAttributes
				{
					Default
					{
						Tag "bot_gatebot"			
						Tag "nav_prefer_gate1_flank"	
						BehaviorModifiers push		
						Attributes IgnoreFlag 	
						
						Skill Normal
						WeaponRestrictions PrimaryOnly
						
						Attributes 	"AlwaysCrit"
						Attributes 	"MiniBoss"
						Tag	"bot_giant"
						
						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.4
							"override footstep sound set" 3
						}
						
						Item 	"The Original"
						Item 	"MvM GateBot Light Soldier"
					}
					RevertGateBotsBehavior
					{
						Skill Normal
						WeaponRestrictions PrimaryOnly
						
						Attributes 	"AlwaysCrit"
						Attributes 	"MiniBoss"
						Tag	"bot_giant"
						
						ItemAttributes 
						{
							ItemName "MvM GateBot Light Soldier"
							"item style override" 1
						}
						
						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.4
							"override footstep sound set" 3
						}
						
						Item 	"The Original"
						Item 	"MvM GateBot Light Soldier"
					}
				}
			}	
					
			
		T_TFGateBot_Giant_Boxing_Heavy
		{
			Class Heavyweapons
			Health 5000
			Name "Giant Boxing Heavy"
			ClassIcon heavy_champ_giant
			
			EventChangeAttributes
			{
				Default
				{	
					WeaponRestrictions MeleeOnly
					
					Tag nav_prefer_gate1_flank	
					Tag bot_gatebot		
					
					Skill Expert
					
					BehaviorModifiers push		
					Attributes IgnoreFlag	
					Attributes MiniBoss
					
					Item "Pugilist's Protector"
					Item "The Killing Gloves of Boxing"
					Item "MvM GateBot Light Heavy"
					
					ItemAttributes
					{
						ItemName "The Killing Gloves of Boxing"
						"fire rate bonus" 0.6
						"damage bonus" 1.2

					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"damage force reduction" 0.3
						"airblast vulnerability multiplier" 0.3
						"override footstep sound set" 2
					}				
				}
				
				RevertGateBotsBehavior
				{
					WeaponRestrictions MeleeOnly			
						
					Attributes MiniBoss
					
					Skill Expert
					
					Item "Pugilist's Protector"
					Item "The Killing Gloves of Boxing"
					Item "MvM GateBot Light Heavy"
					
					ItemAttributes
					{
						ItemName "The Killing Gloves of Boxing"
						"fire rate bonus" 0.6
						"damage bonus" 1.2

					}
					ItemAttributes
					{
						ItemName "MvM GateBot Light Heavy"
						"item style override" 1
					}		
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"damage force reduction" 0.3
						"airblast vulnerability multiplier" 0.3
						"override footstep sound set" 2
					}								
				}
			}
		}
		T_TFBot_Fixed_Medic_Vaccinator_Bullet
        {
            Class Medic
            Skill Expert
            Item "tf_weapon_medigun"
			Item "The Surgeon's Stahlhelm"
            Name "Medic Bullet Vacc"
            classicon    medic_vac_trio_nys
            Attributes SpawnWithFullCharge
            Attributes VaccinatorBullets
            CharacterAttributes
            {
                "ubercharge rate bonus" 25
                "uber duration bonus" 100
                "bot medic uber health threshold"    350
            }
            ItemAttributes
            {
                ItemName    tf_weapon_medigun
                "heal rate bonus"    21
                "medigun bullet resist passive"    0.3
                "medigun bullet resist deployed"    0.5
                "medigun charge is resists"    3
                "lunchbox adds minicrits"    3
                "ubercharge rate bonus"    500
                "uber duration bonus"          300
            }
            ItemAttributes
            {
                ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
                "damage penalty" 0.1
            }
        }
		
		T_TFBot_Fixed_Medic_Vaccinator_Blast
        {
            Class Medic
            Skill Expert
            Item "tf_weapon_medigun"
			Item "The Surgeon's Stahlhelm"
            Name "Medic Blast Vacc"
            Item "tf_weapon_medigun"
            classicon    medic_vac_trio_nys
            Attributes SpawnWithFullCharge
            Attributes VaccinatorBlast
            CharacterAttributes
            {
                "ubercharge rate bonus" 25
                "uber duration bonus" 100
                "bot medic uber health threshold"    350
            }
            ItemAttributes
            {
                ItemName    tf_weapon_medigun
                "heal rate bonus"    21
                "medigun blast resist passive"    0.3
                "medigun blast resist deployed"    0.5
                "medigun charge is resists"    4
                "lunchbox adds minicrits"    3
                "ubercharge rate bonus"    500
                "uber duration bonus"          300
            }
            ItemAttributes
            {
                ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
                "damage penalty" 0.1
            }
        }
		
		T_TFBot_Fixed_Medic_Vaccinator_Fire
        {
            Class Medic
            Skill Expert
            Item "tf_weapon_medigun"
			Item "The Surgeon's Stahlhelm"
            Name "Medic Fire Vacc"
            Item "tf_weapon_medigun"
            classicon    medic_vac_trio_nys
            Attributes SpawnWithFullCharge
            Attributes VaccinatorFire
            CharacterAttributes
            {
                "ubercharge rate bonus" 25
                "uber duration bonus" 100
                "bot medic uber health threshold"    350
            }
            ItemAttributes
            {
                ItemName    tf_weapon_medigun
                "heal rate bonus"    21
                "medigun fire resist passive"    0.3
                "medigun fire resist deployed"    0.5
                "medigun charge is resists"    5
                "lunchbox adds minicrits"    3
                "ubercharge rate bonus"    500
                "uber duration bonus"          300
            }
            ItemAttributes
            {
                ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
                "damage penalty" 0.1
            }
        }

		
		T_TFGateBot_Atomic_Boss1
		{
			Class Soldier
			Name "Quad Atomic Soldier"
			ClassIcon soldier_atomic_quad
			Health 27500
			
			
			WeaponRestrictions PrimaryOnly
			
		
			Tag "bot_giant"
					
			Attributes MiniBoss
			Attributes UseBossHealthBar
			Attributes AlwaysCrit
			Attributes HoldFireUntilFullReload
					
			Skill Expert
					
					
			Item "Full Metal Drill Hat"
					
			ItemAttributes
			{
				ItemName "tf_weapon_rocketlauncher"
				"projectile spread angle penalty" 7
				"fire rate bonus" 0.0001
				"faster reload rate" 1.5
				"projectile speed increased" 0.4
				"damage bonus" 2
				"blast radius increased" 1.4
				"use large smoke explosion" 1
			}
					
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction" 0.3
				"airblast vulnerability multiplier" 0.3
				"override footstep sound set" 5
				"rage giving scale" 0.1
			}	
		}
		
		T_TFGateBot_Atomic_Boss2
		{
			Class Soldier
			Name "Charged Atomic Soldier"
			ClassIcon soldier_atomic_dex
			Health 27500
			
			
			WeaponRestrictions PrimaryOnly
					
			Tag "bot_giant"
					
			Attributes MiniBoss
			Attributes UseBossHealthBar
			Attributes AlwaysCrit
			
			Skill Expert
					
					
			Item "Tyrant's Helm"
					
			ItemAttributes
			{
				ItemName "tf_weapon_rocketlauncher"
				"fire rate bonus" 2.1
				"faster reload rate" 0.65
				"projectile speed increased" 0.35
				"damage bonus" 3
				"blast radius increased" 2
				"use large smoke explosion" 1
			}
					
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction" 0.3
				"airblast vulnerability multiplier" 0.3
				"override footstep sound set" 5
				"rage giving scale" 0.1
			}
		}
		
		T_TFGateBot_Atomic_Boss3
		{
			Class Soldier
			Name "Chief Burst Slow Fire Soldier"
			ClassIcon soldier_crit_burstfire
			Health 35500
			
			WeaponRestrictions PrimaryOnly
					
				
			Tag "bot_giant"
					
			Attributes MiniBoss
			Attributes UseBossHealthBar
			Attributes AlwaysCrit
			Attributes HoldFireUntilFullReload
					
			Skill Expert
					
					
			Item "Stainless Pot"
					
			ItemAttributes
			{
				ItemName "tf_weapon_rocketlauncher"
				"fire rate bonus" 0.3
				"faster reload rate" 1.2
				"clip size bonus" 2.5
				"projectile spread angle penalty" 10
				"projectile speed increased" 0.4
				"damage bonus" 2
			}
					
			CharacterAttributes
			{
				"move speed bonus"	0.35
				"damage force reduction" 0.3
				"airblast vulnerability multiplier" 0.3
				"override footstep sound set" 5
				"rage giving scale" 0.1
			}
		}
		
		T_TFGateBot_Huntsman
		{
			Class Sniper
			ClassIcon sniper_bow
			Name "Bowman"
			
			EventChangeAttributes
			{
				Default
				{
					WeaponRestrictions PrimaryOnly
					
					Tag "nav_prefer_gate1_flank"
					Tag "bot_gatebot"
					
					Attributes IgnoreFlag
					
					Skill Normal
					
					BehaviorModifiers push
					
					Item "The Huntsman"
					Item "MvM GateBot Light Sniper"

					ItemAttributes
					{
						ItemName "The Huntsman"
						"damage bonus" 0.5
					}
				}
				
				RevertGateBotsBehavior
				{
					WeaponRestrictions PrimaryOnly
					
					Skill Normal
					
					Item "The Huntsman"
					Item "MvM GateBot Light Sniper"

					ItemAttributes
					{
						ItemName "The Huntsman"
						"damage bonus" 0.5
					}
					ItemAttributes
					{
						ItemName "MvM GateBot Light Sniper"
						"item style override" 1
					}	
				}
			}
		}
		
		T_TFBot_Heavy_Commander
		{
			Class Heavy
			Health 14000
			Skill Expert
			Name "Commanda Pootis"
			ClassIcon  heavy_steelfist_hok
			WeaponRestrictions MeleeOnly
			
			Item "Fists of Steel"
			Item "Officer's Ushanka"
			
			Tag "bot_giant"
			
			Attributes MiniBoss
			Attributes UseBossHealthBar
			
			ItemAttributes
			{
				ItemName "Fists of Steel"
				"damage bonus" 1.5
				"fire rate bonus" 0.6
				"heal on kill" 1500
			}
			
			CharacterAttributes
			{
				"move speed bonus" 0.4
				"damage force reduction" 0.3
				"airblast vulnerability multiplier" 0.3
				"override footstep sound set" 5
				"rage giving scale" 0.1
			}
		}	
		
		T_TFBot_Giant_Pyro_Helium
		{	
			Class Pyro
			Health 3000
			Skill Expert
			Name "Upward Yeeter"
			ClassIcon pyro_riseupbro_giant
			WeaponRestrictions PrimaryOnly
			
			Item "tf_weapon_flamethrower"
			Item "Pyromancer's Mask"
			
			Tag bot_giant
			
			Attributes AlwaysFireWeapon
			Attributes MiniBoss
			
			ItemAttributes
			{
				ItemName "tf_weapon_flamethrower"
				"apply z velocity on damage" 350
				"afterburn duration bonus" 0.1
				"weapon burn dmg increased" 0
				"damage bonus" 0.35
			}
			
			CharacterAttributes
			{
				"move speed bonus" 0.5
				"damage force reduction" 0.3
				"airblast vulnerability multiplier" 0.3
				"override footstep sound set" 5
				"airblast disabled" 1
			}
		}
		
		T_TFBot_Pyro_Helium
		{	
			Class Pyro
			Skill Expert
			Name "Push-up Buddy"
			ClassIcon pyro_riseupbro
			WeaponRestrictions PrimaryOnly
			
			Item "tf_weapon_flamethrower"
			
			
			Attributes AlwaysFireWeapon
			
			ItemAttributes
			{
				ItemName "tf_weapon_flamethrower"
				"apply z velocity on damage" 300
				"afterburn duration bonus" 0.1
				"weapon burn dmg increased" 0
				"damage bonus" 0.35
			}
			
			CharacterAttributes
			{
				"airblast disabled" 1
			}
		}
		
		T_TFBot_Giant_Demo_Hexafire
		{
			Class Demoman
			Health 4000
			Skill Easy
			Name "Giant Hexafire Demo"
			ClassIcon demo_scatter_giant
			
			Tag bot_giant
			
			Item "tf_weapon_grenadelauncher"
			Item "Scotch Bonnet"
			
			Attributes MiniBoss
			Attributes HoldFireUntilFullReload
			
			ItemAttributes
			{
				ItemName "tf_weapon_grenadelauncher"
				"clip size upgrade atomic" 2
				"fire rate bonus" 0.00001
				"faster reload rate" 0.7
			}
			
			CharacterAttributes
			{
				"move speed bonus" 0.5
				"damage force reduction" 0.3
				"airblast vulnerability multiplier" 0.3
				"override footstep sound set" 5
			}	
		}
		
		T_TFGateBot_Scout_Pistol
		{
			Class Scout
			Health 200
			Scale 1.1
			ClassIcon scout_pistol
			
			EventChangeAttributes
			{
				Default
				{
					WeaponRestrictions SecondaryOnly
					
					Tag bot_gatebot
					Tag nav_prefer_gate1_flank
					
					Skill Hard
					
					Attributes IgnoreFlag
					
					BehaviorModifiers push
					
					Item "tf_weapon_pistol_scout"
					Item "MvM GateBot Light Scout"
					
					ItemAttributes
					{
						ItemName "tf_weapon_pistol_scout"
						"damage bonus" 0.6
						"fire rate bonus" 1.1
					}
				}
				
				RevertGateBotsBehavior
				{
					WeaponRestrictions SecondaryOnly
					
					Skill Hard
					
					Item "tf_weapon_pistol_scout"
					Item "MvM GateBot Light Scout"
					
					ItemAttributes
					{
						ItemName "tf_weapon_pistol_scout"
						"damage bonus" 0.6
						"fire rate bonus" 1.1
					}
					
					ItemAttributes
					{
						ItemName "MvM GateBot Light Scout"
						"item style override" 1
					}	
				}	
			}	
		}	
		
		T_TFBot_Soldier_TheFat
		{
			Class Soldier
			Health 45000
			Name "Chief Barrage Soldier"
			Skill Expert
			ClassIcon soldier_barrage
			
			Item "Ghastly Gibus"
			Item "Pyrovision Goggles"
			Item "warbird_rocketlauncher_warhawk"
			
			Attributes MiniBoss
			Attributes UseBossHealthBar
			Attributes HoldFireUntilFullReload
			
			ItemAttributes
			{
				ItemName "warbird_rocketlauncher_warhawk"
				"clip size upgrade atomic" 30
				"projectile speed increased" 0.6
				"fire rate bonus" 0.1
				"faster reload rate" 0.3
				"apply z velocity on damage" 80
				"minicritboost on kill" 6
				"Set DamageType ignite" 1
			}	
			
			CharacterAttributes
			{
				"move speed bonus" 0.4
				"damage force reduction" 0.3
				"airblast vulnerability multiplier" 0.3
				"override footstep sound set" 5
				"rage giving scale" 0.1
			}	
		}		
	}
	
	Mission
	{
		Objective DestroySentries
		Where spawnbot
		BeginAtWave 1
		RunForThisManyWaves 7
		CooldownTime 35
		DesiredCount 1
		
		TFBot
		{
			Template T_TFBot_SentryBuster
		}
	}
	
	//Sniper #1
	Mission
	{
		Objective Sniper
		Where spawnbot_mission_sniper
		BeginAtWave 1
		RunForThisManyWaves 2
		InitialCooldown 45
		CooldownTime 35
		DesiredCount 2
		
		TFBot
		{
			Template T_TFBot_Sniper
		}
	}
	
	Mission
	{
		Objective Sniper
		Where spawnbot_mission_sniper
		BeginAtWave 5
		RunForThisManyWaves 2
		InitialCooldown 45
		CooldownTime 40
		DesiredCount 2
		
		TFBot
		{
			Template T_TFBot_Sniper
		}
	}
	
	Mission
	{
		Objective Spy
		Where spawnbot_mission_spy
		BeginAtWave 1
		RunForThisManyWaves 1
		InitialCooldown 40
		CooldownTime 30
		DesiredCount 2
		
		TFBot
		{
			Template T_TFBot_Spy
		}	
	}
	
	Mission
	{
		Objective Spy
		Where spawnbot_mission_spy
		BeginAtWave 3
		RunForThisManyWaves 1
		InitialCooldown 40
		CooldownTime 28
		DesiredCount 2
		
		TFBot
		{
			Template T_TFBot_Spy
		}	
	}
	
	Mission
	{
		Objective Spy
		Where spawnbot_mission_spy
		BeginAtWave 6
		RunForThisManyWaves 2
		InitialCooldown 40
		CooldownTime 40
		DesiredCount 3
		
		TFBot
		{
			Template T_TFBot_Spy
		}	
	}
	
	Mission
	{
		Objective Engineer
		Where spawnbot
		BeginAtWave 2
		RunForThisManyWaves 3
		InitialCooldown 60
		CooldownTime 45
		DesiredCount 1
		
		TFBot
		{
			Template T_TFBot_Engineer_Sentry_Battle
		}	
	}
	//Wave 1 [800] [900 possible] 
	Wave
	{
		Checkpoint	Yes
		
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		
		WaveSpawn
		{
			Name wave1asoldier
			TotalCurrency 50
			TotalCount 12
			SpawnCount 2
			MaxActive 10
			WaitBeforeStarting 0
			WaitBetweenSpawns 6
			Where spawnbot
			
			RandomChoice
			{
				TFBot
				{
					Class Soldier
				}
				
				TFBot
				{
					Class Soldier
				}
				
				TFBot
				{
					Template T_TFGateBot_Soldier_Easy
				}	
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_Normal
				}	
			}
		}
		
		WaveSpawn
		{
			Name wave1a
			TotalCurrency 50
			TotalCount 28
			SpawnCount 5
			MaxActive 7
			WaitBeforeStarting 0
			WaitBetweenSpawns 4
			Where spawnbot_left
			
			TFBot
			{
				Template T_TFGateBot_Soldier_EscapePlan
			}
		}
		
		WaveSpawn
		{
			Name wave1a
			TotalCurrency 50
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 15
			WaitBetweenSpawns 0
			Where spawnbot_left
			
			TFBot
			{
				Template T_TFBot_Giant_DemoMan_PrinceTavish
			}
		}	
		
		WaveSpawn
		{
			Name wave1b
			WaitForAllDead wave1a
			TotalCurrency 125
			TotalCount 3
			SpawnCount 3
			MaxActive 3
			WaitBeforeStarting 1
			WaitBetweenSpawns 0
			Where spawnbot_right
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Demo_RapidFire
					Tag bot_giant
				}
			
				TFBot
				{
					Template   T_TFBot_Medic_QuickFix
				}
				
				TFBot
				{
					Template   T_TFBot_Medic_QuickFix
				}
			}
		}
		
		WaveSpawn
		{
			Name wave1b
			WaitForAllDead wave1a
			TotalCurrency 75
			TotalCount 19
			SpawnCount 5
			MaxActive 7
			WaitBeforeStarting 1
			WaitBetweenSpawns 4
			Where spawnbot_left
			
			TFBot
			{
				Template T_TFGateBot_Soldier_EscapePlan
			}
		}
		
		WaveSpawn
		{
			Name wave1ba
			WaitForAllDead wave1b
			TotalCurrency 125
			TotalCount 3
			SpawnCount 3
			MaxActive 3
			WaitBeforeStarting 1
			WaitBetweenSpawns 0
			Where spawnbot_right
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Demo_RapidFire
					Tag bot_giant
				}
			
				TFBot
				{
					Template   T_TFBot_Medic_BigHeal
				}
				
				TFBot
				{
					Template   T_TFBot_Medic_BigHeal
				}
			}
		}
		
		WaveSpawn
		{
			Name wave1ba
			WaitForAllDead wave1b
			TotalCurrency 75
			TotalCount 19
			SpawnCount 5
			MaxActive 7
			WaitBeforeStarting 5
			WaitBetweenSpawns 4
			Where spawnbot_left
			
			TFBot
			{
				Template   T_TFGateBot_Soldier_EscapePlan
			}
		}
		
		WaveSpawn
		{
			Name wave1ba
			WaitForAllDead wave1b
			TotalCurrency 50
			TotalCount 10
			SpawnCount 2
			MaxActive 10
			WaitBeforeStarting 1
			WaitBetweenSpawns 6
			Where spawnbot_left
			
			RandomChoice
			{
				TFBot
				{
					Class Soldier
				}
				
				TFBot
				{
					Class Soldier
				}
				
				TFBot
				{
					Class Soldier
				}
				
				TFBot
				{
					Class Soldier
				}

				TFBot
				{
					Template T_TFGateBot_Soldier_Easy
				}	
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_Normal
				}	
			}
		}
		
		WaveSpawn
		{
			Name wave1support
			WaitForAllDead wave1ba
			TotalCount 30
			SpawnCount 1
			MaxActive 5
			WaitBeforeStarting 1
			WaitBetweenSpawns 4
			Where spawnbot_right
			Support 1
			
			TFBot
			{
				Template  T_TFGateBot_Heavyweapons_Shotgun
			}	
		}
		
		WaveSpawn
		{
			Name wave1c
			WaitForAllDead wave1ba
			TotalCurrency 100
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 1
			WaitBetweenSpawns 0
			Where spawnbot_left
			
			TFBot
			{
				Template  T_TFGateBot_Giant_Boxing_Heavy
				Tag bot_giant
			}
		}
		
		WaveSpawn
		{
			Name wave1ca
			WaitForAllSpawned wave1c
			TotalCurrency 100
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 14
			WaitBetweenSpawns 0
			Where spawnbot_left
			
			TFBot
			{
				Template  T_TFBot_Giant_Boxing_Heavy
				Tag bot_giant
			}
		}
	}
	
	//Wave 2 [700] [800 possible] 
	Wave
	{
		Checkpoint	Yes
		
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		
		WaveSpawn
		{
			Name wave2a
			TotalCurrency 100
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			
			
			FirstSpawnOutput                                                                                                                                                            
			{
				Target boss_spawn_relay                                            
				Action Trigger                         
			}
			
			Tank
			{
				Health 20000
				Name "tankboss"
				Speed 75
				StartingPathTrackNode "boss_path_a1"
				
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
					
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		
		WaveSpawn
		{
			Name wave2a
			TotalCurrency 75
			TotalCount 25
			SpawnCount 5
			MaxActive 15
			WaitBeforeStarting 3
			WaitBetweenSpawns 7
			Where spawnbot
			
			Squad
			{
				TFBot
				{
					Template  T_TFBot_Heavyweapons_Fist
					ClassIcon heavy_steelfist_nys
					Tag bot_giant
				}
				TFBot
				{
					Template  T_TFBot_Heavyweapons_Heavyweight_Champ_Fast
				}
				TFBot
				{
					Template  T_TFBot_Heavyweapons_Heavyweight_Champ_Fast
				}
				TFBot
				{
					Template  T_TFBot_Heavyweapons_Heavyweight_Champ_Fast
				}
				TFBot
				{
					Template  T_TFBot_Heavyweapons_Heavyweight_Champ_Fast
				}
			}
		}
		
		WaveSpawn
		{
			Name wave2b1a
			WaitForAllDead wave2a
			TotalCurrency 50
			TotalCount 12
			SpawnCount 1
			MaxActive 12
			WaitBeforeStarting 0
			WaitBetweenSpawns 1
			Where spawnbot_left
			
			RandomChoice
			{
				TFBot
				{
					Template  T_TFBot_Soldier_Shotgun
				}
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_Shotgun
				}
			}
		}	
		
		WaveSpawn
		{
			Name wave2b2b
			WaitForAllDead wave2b1a
			TotalCurrency 50
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			Where spawnbot
			
			TFBot
			{
				Template  T_TFGateBot_Giant_Cola_Scout
				Tag bot_giant
			}
		}
		
		WaveSpawn
		{
			Name wave2b3a
			WaitForAllDead wave2b2b
			TotalCurrency 25
			TotalCount 6
			SpawnCount 1
			MaxActive 6
			WaitBeforeStarting 0
			WaitBetweenSpawns 1
			Where spawnbot_left
			
			RandomChoice
			{
				TFBot
				{
					Template  T_TFBot_Soldier_Shotgun
				}
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_Shotgun
				}
			}
		}	
		
		WaveSpawn
		{
			Name wave2b3b
			WaitForAllDead wave2b3a
			TotalCurrency 25
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			Where spawnbot
			
			TFBot
			{
				Template  T_TFGateBot_Giant_Cola_Scout
				Tag bot_giant
			}
		}
		
		WaveSpawn
		{
			Name wave2b4a
			WaitForAllDead wave2b3b
			TotalCurrency 25
			TotalCount 12
			SpawnCount 2
			MaxActive 12
			WaitBeforeStarting 0
			WaitBetweenSpawns 1
			Where spawnbot_left
			
			RandomChoice
			{
				TFBot
				{
					Template  T_TFBot_Soldier_Shotgun
				}
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_Shotgun
				}
			}
		}	
		
		WaveSpawn
		{
			Name wave2b4a
			WaitForAllDead wave2b3b
			TotalCurrency 25
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 5
			WaitBetweenSpawns 0
			Where spawnbot
			
			TFBot
			{
				Template  T_TFGateBot_Giant_Cola_Scout
				Tag bot_giant
			}
		}
		
		WaveSpawn
		{
			Name wave2c
			WaitForAllDead wave2b4a
			TotalCurrency 105
			TotalCount 6
			SpawnCount 2
			MaxActive 8
			WaitBeforeStarting 2
			WaitBetweenSpawns 8
			Where spawnbot
			
			Squad
			{
				TFBot
				{
					Template  T_TFBot_Heavyweapons_Fist
					ClassIcon heavy_steelfist_nys
					Tag bot_giant
				}
				TFBot
				{
					Template   T_TFBot_Medic_BigHeal
				}
			}
		}
		
		WaveSpawn
		{
			Name wave2c
			WaitForAllDead wave2b4a
			TotalCurrency 95
			TotalCount 25
			SpawnCount 5
			MaxActive 10
			WaitBeforeStarting 6
			WaitBetweenSpawns 7
			Where spawnbot_left
			
			RandomChoice
			{
				TFBot
				{
					Template  T_TFGateBot_Scout_Melee
				}
				TFBot
				{
					Template  T_TFGateBot_Scout_Normal
				}
				TFBot
				{
					Template  T_TFGateBot_Scout_Normal
				}
			}
		}
		
		WaveSpawn
		{
			Name wave2c
			WaitForAllDead wave2b4a
			TotalCurrency 125
			TotalCount 2
			SpawnCount 1
			MaxActive 2
			WaitBeforeStarting 4
			WaitBetweenSpawns 7
			Where spawnbot_right
			
			TFBot
			{
				Template   T_TFBot_Giant_Pyro
				Tag bot_giant
				
				CharacterAttributes
				{
					"airblast disabled" 1
				}		
			}
		}	
	}
	
	// Wave 3 [850] [950 possible] 
	Wave
	{
		Checkpoint	Yes
		
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		
		WaveSpawn
		{
			Name wave3a
			TotalCurrency 50
			TotalCount 35
			SpawnCount 7
			MaxActive 14
			WaitBeforeStarting 0
			WaitBetweenSpawns 6
			Where spawnbot_right
			
			Squad
			{
				ShouldPreserveSquad 1
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_RocketPush
				}
				
				TFBot
				{
					Template  T_TFBot_Engineer_Pistol
				}	
				
				TFBot
				{
					Template  T_TFBot_Engineer_Pistol
				}	
				
				TFBot
				{
					Template  T_TFBot_Engineer_Pistol
				}	
				
				TFBot
				{
					Template  T_TFBot_Engineer_Pistol
				}	
				
				TFBot
				{
					Template  T_TFBot_Engineer_Pistol
				}	
				
				TFBot
				{
					Template  T_TFBot_Engineer_Pistol
				}	
			}
		}
		
		WaveSpawn
		{
			Name wave3a
			TotalCurrency 50
			TotalCount 2
			SpawnCount 1
			MaxActive 2
			WaitBeforeStarting 0
			WaitBetweenSpawns 20
			Where spawnbot_left
			
			TFBot
			{
				Template  T_TFBot_Giant_DemoMan_PrinceTavish
				Tag bot_giant
			}
		}
		
		WaveSpawn
		{
			Name wave3b
			WaitForAllSpawned wave3a
			TotalCurrency 125
			TotalCount 35
			SpawnCount 1
			MaxActive 10
			WaitBeforeStarting 0
			WaitBetweenSpawns 1
			Where spawnbot_left
			
			RandomChoice
			{
				TFBot
				{
					Template  T_TFBot_Pyro_Flaregun
				}
				
				TFBot
				{
					Template  T_TFGateBot_Pyro_Flaregun
				}
			}
		}
		
		WaveSpawn
		{
			Name wave3b
			WaitForAllDead wave3a
			TotalCurrency 125
			TotalCount 10
			SpawnCount 2
			MaxActive 6
			WaitBeforeStarting 0
			WaitBetweenSpawns 5
			Where spawnbot_left
			
			RandomChoice
			{
				TFBot
				{
					Template  T_TFBot_Heavyweapons_Heater_Smol
				}
				TFBot
				{
					Template  T_TFGateBot_Heavyweapons_Heater_Smol
				}
			}	
		}
		
		WaveSpawn
		{
			Name wave3c
			WaitForAllSpawned wave3b
			TotalCurrency 100
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 2
			WaitBetweenSpawns 15
			Where spawnbot_left
			
			TFBot
			{
				Template  T_TFBot_Giant_Soldier
				Tag bot_giant
			}
		}
		
		WaveSpawn
		{
			Name wave3c
			WaitForAllSpawned wave3b
			TotalCurrency 50
			TotalCount 7
			SpawnCount 2
			MaxActive 7
			WaitBeforeStarting 3
			WaitBetweenSpawns 5
			Where spawnbot_left
			
			RandomChoice
			{
				TFBot
				{
					Template  T_TFBot_Charged_Soldier
				}
				
				TFBot
				{
					Template  T_TFGateBot_Charged_Soldier
				}
			}
		}
		
		WaveSpawn
		{
			Name wave3ca
			WaitForAllDead wave3c
			TotalCurrency 100
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 2
			WaitBetweenSpawns 15
			Where spawnbot_left
			
			TFBot
			{
				Template  T_TFGateBot_Giant_Soldier
				Tag bot_giant
			}
		}
		
		WaveSpawn
		{
			Name wave3ca
			WaitForAllDead wave3c
			TotalCurrency 50
			TotalCount 7
			SpawnCount 2
			MaxActive 7
			WaitBeforeStarting 6
			WaitBetweenSpawns 6
			Where spawnbot
			
			RandomChoice
			{
				TFBot
				{
					Template  T_TFBot_Charged_Soldier
				}
				
				TFBot
				{
					Template  T_TFGateBot_Charged_Soldier
				}
			}
		}
		
		WaveSpawn
		{
			Name wave3d
			WaitForAllDead wave3ca
			TotalCurrency 100
			TotalCount 8
			SpawnCount 4
			MaxActive 8
			WaitBeforeStarting 3
			WaitBetweenSpawns 12
			Where spawnbot_right
			
			Squad
			{
				TFBot
				{
					Template  T_TFBot_Giant_Pyro_Helium
				}	
				
				TFBot
				{
					Template  T_TFBot_Medic_BigHeal
				}
				
				TFBot
				{
					Template  T_TFBot_Medic_BigHeal
				}
				TFBot
				{
					Template  T_TFBot_Medic_BigHeal
				}
			}
		}
		
		WaveSpawn
		{
			Name wave3d
			WaitForAllDead wave3ca
			TotalCurrency 100
			TotalCount 20
			SpawnCount 5
			MaxActive 15
			WaitBeforeStarting 6
			WaitBetweenSpawns 6
			Where spawnbot_right
			
			TFBot
			{
				Template  T_TFBot_Pyro_Helium
			}
		}
		
		WaveSpawn
		{
			Name wave3support
			WaitForAllDead wave3a
			TotalCount 30
			SpawnCount 2
			MaxActive 7
			WaitBeforeStarting 0
			WaitBetweenSpawns 6
			Where spawnbot_left
			Support Limited
			
			TFBot
			{
				Template  T_TFBot_Demoknight_Heads
			}
		}
	}
	
	//Wave 4 [850] [950 possible] 
	Wave
	{
		Checkpoint	Yes
		
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		
		WaveSpawn
		{
			Name wave4a
			TotalCurrency 200
			TotalCount 2
			SpawnCount 1
			MaxActive 2
			WaitBeforeStarting 0
			WaitBetweenSpawns 9
			Where spawnbot
			
			TFBot
			{
				Template  T_TFBot_Giant_Demo_Hexafire
				Tag bot_giant
			}
		}
		
		WaveSpawn
		{	
			Name wave4supportmedic
			WaitForAllDead wave4a
			TotalCurrency 50
			TotalCount 4
			SpawnCount 1
			MaxActive 4
			WaitBeforeStarting 0
			WaitBetweenSpawns 8
			Where spawnbot
			Support Limited 
			
			TFBot
			{
				Template  T_TFBot_Medic_QuickUber
			}
		}
		
		WaveSpawn
		{	
			Name wave4supportmedic
			TotalCurrency 50
			TotalCount 12
			SpawnCount 2
			MaxActive 5
			WaitBeforeStarting 0
			WaitBetweenSpawns 6
			Where spawnbot
			Support Limited 
			
			RandomChoice
			{
				TFBot
				{
					Template   	T_TFBot_Medic_QuickFix
				}
				TFBot
				{
					Template   	T_TFBot_Medic_BigHeal
				}
			}	
		}
		
		
		WaveSpawn
		{
			Name wave4b
			WaitForAllDead wave4a
			TotalCurrency 100
			TotalCount 46
			SpawnCount 6
			MaxActive 12
			WaitBeforeStarting 2
			WaitBetweenSpawns 6
			Where spawnbot
			
			RandomChoice
			{
				TFBot
				{
					Class Demoman
				}
				TFBot
				{
					Class Demoman
				}
				TFBot
				{
					Class Demoman
				}
				TFBot
				{
					Class Demoman
				}
				TFBot
				{
					Class Demoman
				}
				TFBot
				{
					Template  T_TFBot_Demo_Burst
					Skill Hard
				}	
				TFBot
				{
					Template  T_TFBot_Demo_Burst
					Skill Hard
				}	
			}	
		}
		
		WaveSpawn
		{
			Name wave4supportmedic2
			WaitForAllDead wave4supportmedic
			WaitForAllDead wave4b
			TotalCurrency 50
			TotalCount 12
			SpawnCount 2
			MaxActive 4
			WaitBeforeStarting 4
			WaitBetweenSpawns 6
			Where spawnbot
			Support Limited 
			
			RandomChoice
			{
				TFBot
				{
					Template  T_TFBot_Fixed_Medic_Vaccinator_Blast
				}
				
				TFBot
				{
					Template  T_TFBot_Fixed_Medic_Vaccinator_Fire
				}
				
				TFBot
				{
					Template  T_TFBot_Fixed_Medic_Vaccinator_Bullet
				}
			}
		}
		
		WaveSpawn
		{
			Name wave4supportmedic2
			WaitForAllDead wave4supportmedic
			WaitForAllDead wave4b
			TotalCurrency 50
			TotalCount 12
			SpawnCount 2
			MaxActive 6
			WaitBeforeStarting 4
			WaitBetweenSpawns 5
			Where spawnbot
			Support Limited 
			
			RandomChoice
			{
				TFBot
				{
					Template  T_TFBot_Medic_QuickFix
				}
			
				TFBot
				{
					Template  T_TFBot_Medic_QuickFix
				}
			}
		}
		
		WaveSpawn
		{
			Name wave4c
			WaitForAllDead wave4b
			TotalCurrency 75
			TotalCount 60
			SpawnCount 3
			MaxActive 12
			WaitBeforeStarting 2
			WaitBetweenSpawns 2.7
			Where spawnbot
			
			RandomChoice
			{
				TFBot
				{
					Template  T_TFBot_Demo_Burst
					Skill Hard
				}	
				TFBot
				{
					Template  T_TFBot_Soldier_Extended_Buff_Banner
					Skill Hard
				}
				TFBot
				{
					Class Scout
					Skill Normal
				}
				TFBot
				{
					Class Scout
					Skill Normal
				}
				TFBot
				{
					Class Scout
					Skill Hard
				}
				TFBot
				{
					Class Pyro
					Skill Expert
				}	
				TFBot
				{
					Class Pyro
					Attributes AlwaysFireWeapon
					Skill Easy
				}	
			}	
		}
		
		WaveSpawn
		{
			Name wave4c
			WaitForAllDead wave4b
			TotalCurrency 50
			TotalCount 3
			SpawnCount 1
			MaxActive 3
			WaitBeforeStarting 0
			WaitBetweenSpawns 14
			Where spawnbot_left
			
			RandomChoice
			{
				TFBot
				{
					Template  T_TFBot_Giant_Demo_RapidFire
				}
				TFBot
				{
					Template  T_TFBot_Giant_Pyro
				}
				TFBot
				{
					Template  T_TFBot_Giant_Scout_Baseball_Armored
				}
			}	
		}
		
		WaveSpawn
		{
			Name wave4d
			WaitForAllDead wave4c
			TotalCurrency 125
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 1
			WaitBetweenSpawns 0
			
			FirstSpawnOutput                                                                                                                                                            
			{
				Target boss_spawn_relay                                            
				Action Trigger                         
			}
			
			Tank
			{
				Health 25000
				Speed 75
				Name "tankboss"
				StartingPathTrackNode "boss_path_a1"
				
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
					
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		
		WaveSpawn
		{
			Name wave4d
			WaitForAllDead wave4c
			TotalCurrency 50
			TotalCount 4
			SpawnCount 2
			MaxActive 4
			WaitBeforeStarting 0
			WaitBetweenSpawns 12
			Where spawnbot_left
			
			TFBot
			{
				Template  T_TFBot_Giant_Pyro
				Tag bot_giant
				
				CharacterAttributes
				{
					"airblast disabled" 1
				}	
			}
		}
		
		WaveSpawn
		{
			Name wave4d
			WaitForAllDead wave4c
			TotalCurrency 50
			TotalCount 21
			SpawnCount 3
			MaxActive 12
			WaitBeforeStarting 0
			WaitBetweenSpawns 6
			Where spawnbot
			
			RandomChoice
			{
				TFBot
				{
					Class Demoman
				}
				TFBot
				{
					Class Demoman
				}
				TFBot
				{
					Class Demoman
				}
				TFBot
				{
					Class Demoman
				}
				TFBot
				{
					Class Demoman
				}
				TFBot
				{
					Template  T_TFBot_Demo_Burst
					Skill Hard
				}	
				TFBot
				{
					Template  T_TFBot_Demo_Burst
					Skill Hard
				}	
			}		
		}
		
		WaveSpawn
		{
			Name wave4supportmedic3
			WaitForAllDead wave4supportmedic2
			WaitForAllDead wave4c
			TotalCurrency 50
			TotalCount 12
			SpawnCount 2
			MaxActive 6
			WaitBeforeStarting 0
			WaitBetweenSpawns 5
			Where spawnbot_left
			Support Limited 
			
			RandomChoice
			{
				TFBot
				{
					Template  T_TFBot_Medic_QuickFix
				}
				TFBot
				{
					Template  T_TFBot_Medic_QuickFix
					Attributes SpawnWithFullCharge
				}
			}
		}
	}
	
	//Wave 5 [900] [1000 possible] 
	Wave
	{
		Checkpoint	Yes
		
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		
		WaveSpawn
		{
			Name wave5a
			TotalCurrency 125
			TotalCount 20
			SpawnCount 5
			MaxActive 10
			WaitBeforeStarting 0
			WaitBetweenSpawns 7
			Where spawnbot_left
			
			TFBot
			{
				Template  T_TFGateBot_Demoman_Easy
			}
		}
		
		WaveSpawn
		{
			Name wave5a
			TotalCurrency 75
			TotalCount 18
			SpawnCount 6
			MaxActive 8
			WaitBeforeStarting 0
			WaitBetweenSpawns 5
			Where spawnbot
			
			Squad
			{
				TFBot
				{
					Template   T_TFBot_Heavyweapons_Shotgun
				}
				
				TFBot
				{
					Template   T_TFBot_Medic_QuickFix
					Attributes  SpawnWithFullCharge 
				}
			}	
		}
		
		WaveSpawn
		{
			Name wave5b
			WaitForAllDead wave5a
			TotalCurrency 75
			TotalCount 18
			SpawnCount 6
			MaxActive 6
			WaitBeforeStarting 2
			WaitBetweenSpawns 10
			Where spawnbot_right
			
			Squad
			{
				TFBot
				{
					Template  T_TFGateBot_Giant_Demo_Burst
					Tag bot_giant
				}
				
				TFBot
				{
					Template   T_TFBot_Medic_QuickFix
					Attributes  SpawnWithFullCharge 
				}
				TFBot
				{
					Template   T_TFBot_Medic_QuickFix
					Attributes  SpawnWithFullCharge 
				}
				TFBot
				{
					Template   T_TFBot_Medic_QuickFix
					Attributes  SpawnWithFullCharge 
				}
				TFBot
				{
					Template   T_TFBot_Medic_QuickFix
					Attributes  SpawnWithFullCharge 
				}
				TFBot
				{
					Template   T_TFBot_Medic_QuickFix
					Attributes  SpawnWithFullCharge 
				}
			}	
		}
		
		WaveSpawn
		{
			Name wave5b
			WaitForAllDead wave5a
			TotalCurrency 33
			TotalCount 20
			SpawnCount 4
			MaxActive 12
			WaitBeforeStarting 10
			WaitBetweenSpawns 5
			Where spawnbot
			
			RandomChoice
			{
				TFBot
				{
					Template  T_TFGateBot_Pyro_AlwaysFireWeapon
				}
				
				TFBot
				{
					Template  T_TFGateBot_Pyro_Normal
				}
				
				TFBot
				{
					Template  T_TFGateBot_Pyro_Normal
				}
					
				TFBot
				{
					Template   T_TFBot_Sniper_Huntsman
				}
			}	
		}
		
		WaveSpawn
		{
			Name wave5c-a
			WaitForAllDead wave5b
			TotalCurrency 25
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 2
			WaitBetweenSpawns 0
			Where spawnbot_mission_sniper
			
			TFBot
			{
				Template  T_TFBot_Giant_Pyro_Flare_Spammer
			}
		}
		
		WaveSpawn
		{
			Name wave5c-b
			WaitForAllDead wave5b
			TotalCurrency 50
			TotalCount 20
			SpawnCount 1
			MaxActive 10
			WaitBeforeStarting 1
			WaitBetweenSpawns 1
			Where spawnbot
			
			RandomChoice
			{
				TFBot
				{
					Class Demoman
					Skill Easy
				}
				
				TFBot
				{
					Class Demoman
					Skill Normal
				}
			}
		}
		
		WaveSpawn
		{
			Name wave5c-a
			WaitForAllDead wave5c-b
			TotalCurrency 33
			TotalCount 10
			SpawnCount 4
			MaxActive 12
			WaitBeforeStarting 1
			WaitBetweenSpawns 5
			Where spawnbot_right
			
			TFBot
			{
				Template  T_TFGateBot_Pyro_AlwaysFireWeapon
			}
				
			TFBot
			{
				Template   T_TFBot_Sniper_Huntsman
			}
		}
		
		WaveSpawn
		{
			Name wave5c-c
			WaitForAllDead wave5b
			TotalCurrency 25
			TotalCount 16
			SpawnCount 2
			MaxActive 8
			WaitBeforeStarting 0
			WaitBetweenSpawns 3
			Where spawnbot_left
			
			TFBot
			{
				Template  T_TFGateBot_Pyro_Normal
			}
		}
		
		WaveSpawn
		{
			Name wave5c-a
			WaitForAllDead wave5c-b
			TotalCurrency 25
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 2
			WaitBetweenSpawns 0
			Where spawnbot_left
			
			TFBot
			{
				Template  T_TFBot_Giant_Pyro_Flare_Spammer
			}
		}
		
		WaveSpawn
		{
			Name wave5c-a
			WaitForAllDead wave5c-c
			TotalCurrency 25
			TotalCount 10
			SpawnCount 10
			MaxActive 10
			WaitBeforeStarting 3
			WaitBetweenSpawns 0
			Where spawnbot_left
			
			TFBot
			{
				Template  T_TFGateBot_Pyro_Normal
			}
		}
		
		WaveSpawn
		{
			Name wave5c-a
			TotalCurrency 75
			TotalCount 60
			SpawnCount 1
			MaxActive 6
			WaitBeforeStarting 0
			WaitBetweenSpawns 2
			Where spawnbot_left
			Support Limited
			
			TFBot
			{
				Template  T_TFBot_Scout_Sandman
				Attributes AlwaysCrit
			}
		}
					
		WaveSpawn
		{
			Name wave5prepare
			WaitForAllDead wave5c-a
			TotalCurrency 0
			TotalCount 0
			SpawnCount 0
			MaxActive 0
			WaitBeforeStarting 1
			WaitBetweenSpawns 1
			Where spawnbot
			FirstSpawnWarningSound  "vo\announcer_attention.mp3"
				
		}
			
		WaveSpawn
		{
			Name wave5prepare1
			WaitForAllDead wave5prepare
			TotalCurrency 0
			TotalCount 0
			SpawnCount 0
			MaxActive 0
			WaitBeforeStarting 1.5
			WaitBetweenSpawns 0
			Where spawnbot
			FirstSpawnWarningSound  "vo\mvm_general_wav_start03.mp3"		
		}
			
		WaveSpawn
		{
			Name wave5boss
			WaitForAllDead wave5prepare1
			TotalCurrency 200
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 5.8
			WaitBetweenSpawns 0
			Where spawnbot_right
				
			RandomChoice
			{
				TFBot
				{
					Template  T_TFGateBot_Atomic_Boss1
					Tag bot_giant
				}	
				TFBot
				{
					Template  T_TFGateBot_Atomic_Boss2
					Tag bot_giant
				}
				TFBot
				{
					Template  T_TFGateBot_Atomic_Boss3
					Tag bot_giant
				}
			}
		}
		
		WaveSpawn
		{
			Name wave5d
			WaitForAllSpawned wave5boss
			TotalCurrency 100
			TotalCount 20
			SpawnCount 2
			MaxActive 12
			WaitBeforeStarting 4
			WaitBetweenSpawns 1
			Where spawnbot_right
			
			TFBot
			{
				Class Demoman
				Skill Easy
			}
		}
		
		WaveSpawn
		{
			Name wave5d1
			WaitForAllDead wave5d
			TotalCurrency 34
			TotalCount 20
			SpawnCount 4
			MaxActive 12
			WaitBeforeStarting 0
			WaitBetweenSpawns 5
			Where spawnbot_left
				
			TFBot
			{
				Template   T_TFBot_Sniper_Huntsman
			}
		}
	}
// Wave 6 [900 credits] [1000 possible] 
	Wave
	{
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		
		WaveSpawn
		{
			Name wave6a
			TotalCurrency 100
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			
			Tank 
			{
				Health 30000
				Speed 75
				Name "tankboss"
				StartingPathTrackNode "boss_path_a1"
				
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
					
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		
		WaveSpawn
		{
			Name wave6a-a
			TotalCurrency 75
			TotalCount 14
			SpawnCount 7
			MaxActive 14
			WaitBeforeStarting 0
			WaitBetweenSpawns 15
			Where spawnbot_left
			
			Squad
			{
				TFBot
				{
					Template   T_TFBot_Giant_Boxing_Heavy
					Tag bot_giant
				}
				
				TFBot
				{
					Template  T_TFBot_Medic_QuickFix
					Attributes  SpawnWithFullCharge
				}	
				TFBot
				{
					Template  T_TFBot_Medic_QuickFix
					Attributes  SpawnWithFullCharge
				}	
				TFBot
				{
					Template  T_TFBot_Medic_QuickFix
					Attributes  SpawnWithFullCharge
				}	
				TFBot
				{
					Template  T_TFBot_Medic_QuickFix
					Attributes  SpawnWithFullCharge
				}	
				TFBot
				{
					Template  T_TFBot_Medic_QuickFix
					Attributes  SpawnWithFullCharge
				}	
				TFBot
				{
					Template  T_TFBot_Medic_QuickFix
					Attributes  SpawnWithFullCharge
				}	
			}
		}	
		
		WaveSpawn
		{
			Name wave6a-b
			WaitForAllSpawned wave6a-a
			TotalCurrency 50
			TotalCount 11
			SpawnCount 2
			MaxActive 11
			WaitBeforeStarting 1
			WaitBetweenSpawns 2
			Where spawnbot_left
			
			TFBot
			{
				Template  T_TFBot_Demoknight_Heads
			}
		}
		
		WaveSpawn
		{
			Name wave6a-c
			WaitForAllDead wave6a-b
			TotalCurrency 25
			TotalCount 10
			SpawnCount 10
			MaxActive 10
			WaitBeforeStarting 0
			WaitBetweenSpawns 2
			Where spawnbot_right
			
			TFBot
			{
				Template  T_TFBot_Demoknight_Heads
			}
		}
		
		WaveSpawn
		{
			Name wave6b
			WaitForAllSpawned wave6a-c
			WaitForAllDead wave6a-a
			TotalCurrency 100
			TotalCount 5
			SpawnCount 1
			MaxActive 5
			WaitBeforeStarting 0
			WaitBetweenSpawns 6
			Where spawnbot_left
			
			TFBot
			{
				Template  T_TFBot_Sniper_Huntsman_Spammer
				ClassIcon sniper_bow_multi
			}
				
		}
		
		WaveSpawn
		{
			Name wave6b
			WaitForAllSpawned wave6a-c
			WaitForAllDead wave6a-a
			TotalCurrency 50
			TotalCount 20
			SpawnCount 4
			MaxActive 10
			WaitBeforeStarting 0
			WaitBetweenSpawns 6
			Where spawnbot_left
			Support Limited 
			
			TFBot
			{
				Template  T_TFGateBot_Huntsman
			}
		}
		
		WaveSpawn
		{
			Name wave6c-a
			WaitForAllDead wave6b
			TotalCurrency 100
			TotalCount 5
			SpawnCount 5
			MaxActive 5
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			Where spawnbot_left
			
			Squad
			{
				TFBot
				{
					Template  T_TFBot_Giant_Pyro
					Tag bot_giant
					Attributes  AlwaysCrit
					
					CharacterAttributes
					{
						"airblast disabled" 1
					}	
				}	
				TFBot
				{
					Template  T_TFBot_Fixed_Medic_Vaccinator_Fire
				}	
				TFBot
				{
					Template  T_TFBot_Fixed_Medic_Vaccinator_Fire
				}	
				TFBot
				{
					Template  T_TFBot_Fixed_Medic_Vaccinator_Fire
				}	
				TFBot
				{
					Template  T_TFBot_Fixed_Medic_Vaccinator_Fire
				}	
			}
		}	
		
		WaveSpawn
		{
			Name wave6c-b
			WaitForAllDead wave6c-a
			TotalCurrency 100
			TotalCount 5
			SpawnCount 5
			MaxActive 5
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			Where spawnbot_left
			
			Squad
			{
				TFBot
				{
					Template  T_TFBot_Giant_Soldier_Spammer_Reload
					Tag bot_giant
				}	
				TFBot
				{
					Template  T_TFBot_Fixed_Medic_Vaccinator_Blast
				}	
				TFBot
				{
					Template  T_TFBot_Fixed_Medic_Vaccinator_Blast
				}	
				TFBot
				{
					Template  T_TFBot_Fixed_Medic_Vaccinator_Blast
				}	
				TFBot
				{
					Template  T_TFBot_Fixed_Medic_Vaccinator_Blast
				}	
			}
		}
		
		WaveSpawn
		{
			Name wave6c-c
			WaitForAllDead wave6c-b
			TotalCurrency 100
			TotalCount 5
			SpawnCount 5
			MaxActive 5
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			Where spawnbot_left
			
			Squad
			{
				TFBot
				{
					Template  T_TFBot_Giant_Heavyweapons
					Tag bot_giant
				}	
				TFBot
				{
					Template  T_TFBot_Fixed_Medic_Vaccinator_Bullet
				}	
				TFBot
				{
					Template  T_TFBot_Fixed_Medic_Vaccinator_Bullet
				}	
				TFBot
				{
					Template  T_TFBot_Fixed_Medic_Vaccinator_Bullet
				}	
				TFBot
				{
					Template  T_TFBot_Fixed_Medic_Vaccinator_Bullet
				}	
			}
		}
		
		WaveSpawn
		{
			Name wave6d-1
			WaitForAllDead wave6c-c
			TotalCurrency 25
			TotalCount 6
			SpawnCount 6
			MaxActive 6
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			Where spawnbot_right
			
			RandomChoice
			{
				TFBot
				{
					Class Soldier
					Skill Normal
				}
				
				TFBot
				{
					Template  T_TFBot_Soldier_Extended_Concheror
				}	
				
				TFBot
				{
					Template  T_TFBot_Soldier_Extended_Buff_Banner
				}
				
				TFBot
				{
					Template  T_TFBot_Soldier_RocketPush
				}
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_RocketPush
				}
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_Normal
				}
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_Extended_Concheror_Normal
				}
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_Hard
				}
			}
		}
		
		WaveSpawn
		{
			Name wave6d-2
			WaitForAllDead wave6d-1
			TotalCurrency 25
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			Where spawnbot_left
			
			RandomChoice
			{
				TFBot
				{
					Template  T_TFGateBot_Giant_Soldier_Crit
					Tag bot_giant
				}
				TFBot
				{
					Template  T_TFBot_Giant_Soldier_Crit
					Tag bot_giant
				}
			}
		}
		
		WaveSpawn
		{
			Name wave6d-2
			WaitForAllDead wave6d-1
			TotalCurrency 25
			TotalCount 12
			SpawnCount 6
			MaxActive 12
			WaitBeforeStarting 0
			WaitBetweenSpawns 10
			Where spawnbot_right
			
			RandomChoice
			{
				TFBot
				{
					Class Soldier
					Skill Normal
				}
				
				TFBot
				{
					Template  T_TFBot_Soldier_Extended_Concheror
				}	
				
				TFBot
				{
					Template  T_TFBot_Soldier_Extended_Buff_Banner
				}
				
				TFBot
				{
					Template  T_TFBot_Soldier_RocketPush
				}
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_RocketPush
				}
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_Normal
				}
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_Extended_Concheror_Normal
				}
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_Hard
				}
			}
		}
		
		WaveSpawn
		{
			Name wave6d-3
			WaitForAllDead wave6d-2
			TotalCurrency 25
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			Where spawnbot_left
			
			RandomChoice
			{
				TFBot
				{
					Template  T_TFGateBot_Giant_Soldier_Crit
					Tag bot_giant
				}
				TFBot
				{
					Template  T_TFBot_Giant_Soldier_Crit
					Tag bot_giant
				}
			}
		}
		
		WaveSpawn
		{
			Name wave6d-3
			WaitForAllDead wave6d-2
			TotalCurrency 25
			TotalCount 6
			SpawnCount 1
			MaxActive 6
			WaitBeforeStarting 1
			WaitBetweenSpawns 1
			Where spawnbot_right
			
			RandomChoice
			{
				TFBot
				{
					Class Soldier
					Skill Normal
				}
				
				TFBot
				{
					Template  T_TFBot_Soldier_Extended_Concheror
				}	
				
				TFBot
				{
					Template  T_TFBot_Soldier_Extended_Buff_Banner
				}
				
				TFBot
				{
					Template  T_TFBot_Soldier_RocketPush
				}
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_RocketPush
				}
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_Normal
				}
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_Extended_Concheror_Normal
				}
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_Hard
				}
			}
		}
		
		WaveSpawn
		{
			Name wave6d-4
			WaitForAllDead wave6d-3
			TotalCurrency 50
			TotalCount 2
			SpawnCount 2
			MaxActive 2
			WaitBeforeStarting 1
			WaitBetweenSpawns 0
			Where spawnbot_left
			
			RandomChoice
			{
				TFBot
				{
					Template  T_TFGateBot_Giant_Soldier_Crit
					Tag bot_giant
				}
				TFBot
				{
					Template  T_TFBot_Giant_Soldier_Crit
					Tag bot_giant
				}
			}
		}
		
		WaveSpawn
		{
			Name wave6d-4
			WaitForAllDead wave6d-3
			TotalCurrency 25
			TotalCount 12
			SpawnCount 6
			MaxActive 12
			WaitBeforeStarting 0
			WaitBetweenSpawns 6
			Where spawnbot_right
			
			RandomChoice
			{
				TFBot
				{
					Class Soldier
					Skill Normal
				}
				
				TFBot
				{
					Template  T_TFBot_Soldier_Extended_Concheror
				}	
				
				TFBot
				{
					Template  T_TFBot_Soldier_Extended_Buff_Banner
				}
				
				TFBot
				{
					Template  T_TFBot_Soldier_RocketPush
				}
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_RocketPush
				}
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_Normal
				}
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_Extended_Concheror_Normal
				}
				
				TFBot
				{
					Template  T_TFGateBot_Soldier_Hard
				}
			}
		}
	}
	
	Wave
	{
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		
		WaveSpawn
		{
			Name wave7a
			TotalCurrency 50
			TotalCount 30
			SpawnCount 3
			MaxActive 12
			WaitBeforeStarting 0
			WaitBetweenSpawns 3.5
			Where spawnbot_left
				
			TFBot
			{
				Template   T_TFGateBot_Scout_Pistol
			}
		}
		
		WaveSpawn
		{
			Name wave7a-1
			TotalCurrency 50
			TotalCount 3
			SpawnCount 3
			MaxActive 3
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			Where spawnbot
			
			Squad
			{
				TFBot
				{
					Template  T_TFBot_Giant_Demo_Hexafire
					Tag bot_giant
				}
				TFBot
				{
					Template  T_TFBot_Medic_BigHeal
				}	
				TFBot
				{
					Template  T_TFBot_Medic_BigHeal
				}
			}
		}
		
		WaveSpawn
		{
			Name wave7a-1
			TotalCurrency 50
			TotalCount 3
			SpawnCount 3
			MaxActive 3
			WaitBeforeStarting 13
			WaitBetweenSpawns 0
			Where spawnbot_left
			
			Squad
			{	
				TFBot
				{
					Template  T_TFGateBot_Giant_Soldier_Crit
					Tag bot_giant
				}
				TFBot
				{
					Template  T_TFBot_Medic_BigHeal
				}
				TFBot
				{
					Template  T_TFBot_Medic_BigHeal
				}
			}	
		}
		
		WaveSpawn
		{
			Name wave7a-2
			WaitForAllDead wave7a-1
			TotalCurrency 50
			TotalCount 4
			SpawnCount 4
			MaxActive 4
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			Where spawnbot
			
			Squad
			{
				TFBot
				{
					Template  T_TFBot_Giant_Demo_Hexafire
					Tag bot_giant
				}
				TFBot
				{
					Template  T_TFBot_Medic_BigHeal
				}
				TFBot
				{
					Template  T_TFBot_Medic_BigHeal
				}
				TFBot
				{
					Template  T_TFBot_Medic_BigHeal
				}
			}
		}	
		
		WaveSpawn
		{
			Name wave7a-2
			WaitForAllDead wave7a-1
			TotalCurrency 50
			TotalCount 4
			SpawnCount 4
			MaxActive 4
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			Where spawnbot
			
			Squad
			{
				TFBot
				{
					Template  T_TFGateBot_Giant_Soldier_Crit
					Tag bot_giant
				}
				TFBot
				{
					Template  T_TFBot_Medic_BigHeal
				}
				TFBot
				{
					Template  T_TFBot_Medic_BigHeal
				}
				TFBot
				{
					Template  T_TFBot_Medic_BigHeal
				}
			}	
		}
		
		WaveSpawn
		{
			Name wave7b
			WaitForAllDead wave7a
			WaitForAllDead wave7a-2
			TotalCurrency 50
			TotalCount 20
			SpawnCount 4
			MaxActive 10
			WaitBeforeStarting 0
			WaitBetweenSpawns 5
			Where spawnbot_left
			
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			TFBot
			{
				Class Demoman
				Skill Normal
			}
			TFBot
			{
				Class Demoman
				Skill Normal
			}
			TFBot
			{
				Class Demoman
				Skill Normal
			}	
		}
		
		WaveSpawn
		{
			Name wave7b
			WaitForAllDead wave7a
			WaitForAllDead wave7a-2
			TotalCurrency 50
			TotalCount 8
			SpawnCount 4
			MaxActive 8
			WaitBeforeStarting 0
			WaitBetweenSpawns 10
			Where spawnbot
			
			Squad
			{
				TFBot
				{
					Template  T_TFBot_Giant_Demo_RapidFire
					Tag bot_giant
				}
				TFBot
				{
					Template  T_TFBot_Medic_BigHeal
				}
				TFBot
				{
					Template  T_TFBot_Medic_BigHeal
				}
				TFBot
				{
					Template  T_TFBot_Medic_BigHeal
				}
			}	
		}
		
		WaveSpawn
		{
			Name wave7b-1
			WaitForAllDead wave7b
			TotalCurrency 50
			TotalCount 20
			SpawnCount 2
			MaxActive 10
			WaitBeforeStarting 0
			WaitBetweenSpawns 1.5
			Where spawnbot
			
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			TFBot
			{
				Class Demoman
				Skill Normal
			}
			TFBot
			{
				Class Demoman
				Skill Normal
			}
			TFBot
			{
				Class Demoman
				Skill Normal
			}	
		}
		
		WaveSpawn
		{
			Name wave7b-1
			WaitForAllDead wave7b
			TotalCurrency 50
			TotalCount 8
			SpawnCount 4
			MaxActive 8
			WaitBeforeStarting 0
			WaitBetweenSpawns 12
			Where spawnbot
			
			Squad
			{
			
				TFBot
				{
					Template  T_TFBot_Giant_Demo_RapidFire
					Tag bot_giant
				}
				TFBot
				{
					Template  T_TFBot_Medic_BigHeal
				}
				TFBot
				{
					Template  T_TFBot_Medic_BigHeal
				}
				TFBot
				{
					Template  T_TFBot_Medic_BigHeal
				}
			}	
		}	
		
		WaveSpawn
		{
			Name wave7c
			WaitForAllDead wave7b-1
			TotalCurrency 100
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 1
			WaitBetweenSpawns 0
			
			FirstSpawnOutput                                                                                                                                                            
			{
				Target boss_spawn_relay                                            
				Action Trigger                         
			}
			
			Tank
			{
				Health 40000
				Speed 50
				Skin 1
				Name "tankboss"
				StartingPathTrackNode "boss_path_a1"
				
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
					
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		
		WaveSpawn
		{
			Name wave7c
			WaitForAllDead wave7b-1
			TotalCurrency 50
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 2
			WaitBetweenSpawns 0
			Where spawnbot_left
			
			TFBot
			{
				Template  T_TFBot_Heavy_Commander
				Tag bot_giant
			}
		}
		
		WaveSpawn
		{
			Name wave7c
			WaitForAllDead wave7b-1
			TotalCurrency 25
			TotalCount 8
			SpawnCount 1
			MaxActive 8
			WaitBeforeStarting 0
			WaitBetweenSpawns 5
			Where spawnbot_left
			
			TFBot
			{
				Template  T_TFGateBot_Heavy_IronFist_Crit
				Tag bot_giant
			}
		}
		
		WaveSpawn
		{
			Name wave7d-a
			WaitForAllDead wave7c
			TotalCurrency 50
			TotalCount 4
			SpawnCount 1
			MaxActive 3
			WaitBeforeStarting 0
			WaitBetweenSpawns 6
			Where spawnbot_left
			
			TFBot
			{
				Template   T_TFGateBot_Giant_Cola_Scout
				Tag bot_giant
			}
		}
		
		WaveSpawn
		{
			Name wave7d-a
			WaitForAllDead wave7c
			TotalCurrency 100
			TotalCount 20
			SpawnCount 10
			MaxActive 12
			WaitBeforeStarting 5
			WaitBetweenSpawns 10
			Where spawnbot
			
			Squad
			{
				ShouldPreserveSquad 1
				
				TFBot
				{
					Template  T_TFGateBot_Scout_Pistol
				}	
				TFBot
				{
					Template   T_TFBot_Engineer_Pistol
					Skill Expert
				}
			}	
		}
		
		WaveSpawn
		{
			Name wave7demomen
			WaitForAllDead wave7c
			TotalCurrency 50
			TotalCount 20
			SpawnCount 1
			MaxActive 10
			WaitBeforeStarting 20
			WaitBetweenSpawns 1
			Where spawnbot_left
			
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			TFBot
			{
				Class Demoman
				Skill Normal
			}
			TFBot
			{
				Class Demoman
				Skill Normal
			}
			TFBot
			{
				Class Demoman
				Skill Normal
			}	
		}
		
		WaveSpawn
		{
			Name wave7e
			WaitForAllDead wave7d-a
			TotalCurrency 25
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 8
			WaitBetweenSpawns 20
			Where spawnbot_left
			
			TFBot
			{
				Template  T_TFBot_Giant_Heavyweapons
				Tag bot_giant
			}
		}
		
		WaveSpawn
		{
			Name wave7e
			WaitForAllDead wave7d-a
			WaitForAllDead wave7demomen
			TotalCurrency 50
			TotalCount 8
			SpawnCount 8
			MaxActive 8
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			Where spawnbot
			
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			TFBot
			{
				Class Demoman
				Skill Normal
			}
			TFBot
			{
				Class Demoman
				Skill Normal
			}
			TFBot
			{
				Class Demoman
				Skill Normal
			}	
		}
		
		WaveSpawn
		{
			Name wave7e-a
			WaitForAllDead wave7e
			TotalCurrency 50
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 0
			WaitBetweenSpawns 10
			Where spawnbot_left
			
			TFBot
			{
				Template  T_TFBot_Giant_Heavyweapons
				Tag bot_giant
			}
		}
		
		WaveSpawn
		{
			Name wave7e-a
			WaitForAllDead wave7e
			TotalCurrency 50
			TotalCount 5
			SpawnCount 1
			MaxActive 5
			WaitBeforeStarting 0
			WaitBetweenSpawns 3
			Where spawnbot
			
			TFBot
			{
				Template  T_TFGateBot_Heavy_IronFist_Crit
				Tag bot_giant
			}
		}
		
		WaveSpawn
		{
			Name wave7e-a
			WaitForAllDead wave7e
			TotalCurrency 50
			TotalCount 8
			SpawnCount 1
			MaxActive 8
			WaitBeforeStarting 0
			WaitBetweenSpawns 1
			Where spawnbot_left
			
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			TFBot
			{
				Class Demoman
				Skill Easy
			}
			TFBot
			{
				Class Demoman
				Skill Normal
			}
			TFBot
			{
				Class Demoman
				Skill Normal
			}
			TFBot
			{
				Class Demoman
				Skill Normal
			}	
		}
	
		
		WaveSpawn
		{
			Name wave7calmbeforethestorm
			WaitForAllDead wave7e-a
			TotalCount 0
			SpawnCount 0
			MaxActive 0
			WaitBeforeStarting 0
			FirstSpawnWarningSound  "vo\mvm_final_wave_end01.mp3"
			
			FirstSpawnOutput
			{
				Target intel
				Action ForceResetSilent
			}	
		}	
			
		WaveSpawn
		{
			Name wave7calmbeforethestorm4
			WaitForAllDead wave7e-a
			TotalCount 0
			SpawnCount 0
			MaxActive 0
			WaitBeforeStarting 3
			FirstSpawnWarningSound  "vo\announcer_security_alert.mp3"
		}	
		
		WaveSpawn
		{
			Name wave7boss
			WaitForAllDead wave7calmbeforethestorm4
			TotalCurrency 9999
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 2
			WaitBetweenSpawns 0
			Where spawnbot_mission_spy
			

			TFBot
			{
				Template  T_TFBot_Soldier_TheFat
			}
		}	
		
		WaveSpawn
		{
			Name wave7boss
			WaitForAllDead wave7calmbeforethestorm4
			SpawnCount 2
			MaxActive 8
			WaitBeforeStarting 2
			WaitBetweenSpawns 0
			Where spawnbot
			
			Support 1
			

			TFBot
			{
				Template  T_TFBot_Heavyweapons_Shotgun
			}
		}	
	}
}	
	
	
//Fixes/Changes (v2) 

//Wave 1:
//- Reduced the overall Soldier count to 20
//- Made the Soldiers more spread out in the wave (they no longer appear only on the start}
//- Chance for a gatebot Soldier in the first subwave is now 50%
//- Fixed QuickFix Medics not appearing in wavebar
//- Made Escape Plan Soldiers spawn faster to not allow awkward situations

//Wave 2:
//- Added 2 more Fast Heavyweights to each Gauntlet in the first subwave
//- Fixed the Gatebot Cola Scouts picking up the bomb
//- Reduced the Scout bots count in the last subwave
//- Added 2 giant Pyros in the last subwave


//Wave 3:
//- Reduced the Heater Heavies count
//- Made the lil charged soldiers spawn with their giant counterparts

//Wave 4:
//- Changed the Uber Medics to Quick Uber Meds
//- Added 'SpawnWithFullCharge' to one of the Quick Fix meds in rotation of the second med support subwave
//- Added Shortstop Scouts to support the Giant Pistol Scouts
//- Added one Giant Pistol Scout and made them spawn in pairs

//Wave 5:
//- Reduced each Demoman group to 20, which gives 60 total Demoman bots
//- Added 'SpawnWithFullCharge' to the QuickFix meds
//- Fixed (nerfed) the third boss (the one that fires bursts)
//- Made the final subwave demomen spawn a little later to avoid killing most of them before the boss arrives if spawned from the longer spawn

//Wave 6:
//- Added 7 more Demoknights
//- Added 4 Giant Charged Soldiers which appear in between the soldier subwave at the end

//Wave 7:
//- Added one Giant Minefield Demoman
//- Added one Giant Rapid Fire Demoman
//- Slightly buffed Commanda Pootis
//- Added 13 Steel Gauntlets


//Fixes/Changes (v3)

//Overall:
//- Fixed some of the gatebots not turning their hat off after the gate is captured
//- Added some hats
//- Added skill levels to some bots which lacked this


//Wave 1:
//- Fixed the Quick Fix Medics not appearing in wavebar
//- Added one (1) Giant Demoknight

//Wave 2:
//- Removed the Giant Pyros' airblast
//- Made the Giant Pyros spawn sooner

//Wave 3:
//- Added two (2) Giant Demoknights
//- Changed the Giant Charged Soldiers to Giant Rapid Fire Soldiers
//- Added more small Charged Soldiers
//- Removed the Airblast Pyro and added Helium Pyro
//- Added small Helium Pyros to help the giant one


//Wave 4:
//- Removed the Giant Pyros' airblast
//- Buffed the tank's health slightly
//- Added one more Shortstop Scout to each group

//Wave 5:
//- Added two (2) Giant Flare Pyros

//Wave 6:
//- Removed the Giant Pyros' airblast

//Wave 7:
//- Changed the Rapid Fire Demos' spawn rates
//- Fixed FAN Scouts Support not appearing in the wavebar




//Fixes/Changes (v4) 

//Overall:
//- Added InitialCooldown to Snipers
//- Increased the cooldown in Engineers
//- Added 1 or 2 to "WaitBeforeStarting" in some places
//- Changed the mission's name to "Plank Particle"

//Wave 1:
//- Reduced the Soldier bots spawn count
//- Increased the spawn delay between Giant Boxing Heavies

//Wave 2:
//- Seperated Giant Cola Scouts from the Shotgun Soldiers

//Wave 3:
//- Increased the spawn delay between Giant Demoknights
//- The Flare Pyros are now spawning in streams
//- Reduced the Heater Heavy's pressure
//- Removed 2 Giant Soldiers
//- Removed 16 Slow Shot Soldiers 
//- Fixed the Helium Pyro Icon Shenanigans

//Wave 4:
//- Changed the Virgin Minefield Demo to Chad Hexafire Demo
//- Removed the Giant Scout part
//- Moved the tank subwave to the end of the wave
//- Reduced the number of Uber Medics

//Wave 5:
//- Made the Huntsman + Pyro combo more spread out throughout the wave
//- Made a large chunk of the small bots spawn in streams
//- Fixed the Charged Atomic Soldier firing at high rates		

//Wave 6:
//- Added 7 QF Medics to each Boxing Heavy
//- Removed the crits from the Rapid Fire Huntsman
//- Reduced the Soldier bot count to 36 total (was 60) 

//Wave 7:
//- Changed the Virgin Minefield Demo to Chad Hexafire Demo
//- Added 10 QF Medics to aid the Hexafire Demos and Charged Soldiers
//- Spreaded out the demomen
//- Added 2 QF Medics to each Rapid Fire Demoman
//- Nerfed Commanda Pootis's health
//- Switched the subwave "7waveda" and "wave7e" and made subwave "wave7e" a bit more harder
//- Added a SuPrIsE

//Fixes/Changes (v5) 

//Overall:
//-Reduced the support


//Wave 2:
//- Made the Shotgun/Scout subwave faster

//Wave 3:
//- Changed the Helium Pyro's icon to something not made by me

//Wave 4:
//-The Giant Flare Pyro now spawns with the rest of the bots

//Wave 5:
//- Reduced the pause time severly to the point the administrator says the voicelines and the boss spawns
//Wave 7:
//- Removed the first pause and reduced the second pause time severly to the point the administrator says the voicelines and the boss spawns

//Fixes/Changes (v6)

//Wave 2: 
//-Shotgun Soldiers now spawn in streams

//Wave 3:
//- Fixed the Pushup Pyro Shenanigans

//Wave 4:
//-Did small reworks to each boss


				
//Fixes/Changes (v7)
//Overall:
//Changed the "Fat Boss" to a normal whay-you'd-see-in-a-campaign-boss
//Added support to the boss
//Made the boss visible on the wavebar


//Mission Ready For Takeoff