//Intermediate mission made by Super Somario
//Rustvalley - Old Town Road

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

population
{
	CanBotsAttackWhileInSpawnRoom	no
	RespawnWaveTime	2
	StartingCurrency	900
	Templates
	{
		T_TFBot_Giant_Soldier_Charge_NoCrit
		{
			Class Soldier
			Name "Giant Uncharged Soldier"
			ClassIcon soldier_crit
			Skill Normal
			Health 3800
			Item "The Original"
			WeaponRestrictions PrimaryOnly
			Attributes MiniBoss
			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
			}
		}
		T_TFBot_Sniper_Bowman_Giant
		{
			ClassIcon	sniper_bow_giant
			WeaponRestrictions	PrimaryOnly
			Scale	1.75
			Health	1500
			Skill	Normal
			Name	"Giant Bowman"
			Class	Sniper
			Tag "bot_giant"
			MaxVisionRange	2500
			Attributes	"MiniBoss"
			ItemAttributes
			{
				ItemName	"the huntsman"
				"fire rate bonus"	0.5
			}
			CharacterAttributes
			{
				"override footstep sound set"	5
				"move speed penalty"	0.5
			}
			Item	"the huntsman"
		}
		T_TFBot_Medic_Herp_Vac_Blast_Fix
        {
            ClassIcon    medic_blast
            Health    150
            Name    "Vaccinator Medic"
            Class    Medic
            Skill    Expert
            Attributes    "SpawnWithFullCharge"
            Attributes    "VaccinatorBlast"
            ItemAttributes
            {
                ItemName    tf_weapon_syringegun_medic
                "damage penalty"    0.1
            }
            ItemAttributes
            {
                ItemName    tf_weapon_medigun
                "lunchbox adds minicrits"    3
                "heal rate bonus"    10
                "medigun blast resist passive"    0.8
                "medigun blast resist deployed"    0.8
                "medigun charge is resists"    4
                "uber duration bonus"    444
                "ubercharge rate bonus"    200
            }
            CharacterAttributes
            {
                "bot medic uber health threshold"    444
				"bot medic uber deploy delay duration"	999
            }
        }
		T_TFBot_Medic_Herp_Vac_Fire_Fix
        {
            ClassIcon    medic_fire
            Health    150
            Name    "Vaccinator Medic"
            Class    Medic
            Skill    Expert
            Attributes    "SpawnWithFullCharge"
            Attributes    "VaccinatorFire"
            ItemAttributes
            {
                ItemName    tf_weapon_syringegun_medic
                "damage penalty"    0.1
            }
            ItemAttributes
            {
                ItemName    tf_weapon_medigun
                "lunchbox adds minicrits"    3
                "heal rate bonus"    10
                "medigun fire resist passive"    0.8
                "medigun fire resist deployed"    0.8
                "medigun charge is resists"    5
                "uber duration bonus"    444
                "ubercharge rate bonus"    200
            }
            CharacterAttributes
            {
                "bot medic uber health threshold"    444
				"bot medic uber deploy delay duration"	999
            }
        }
		T_TFBot_Medic_Herp_Vac_Bullet_Fix
        {
            ClassIcon    medic_bullet
            Health    150
            Name    "Vaccinator Medic"
            Class    Medic
            Skill    Expert
            Attributes    "SpawnWithFullCharge"
            Attributes    "VaccinatorBullets"
            ItemAttributes
            {
                ItemName    tf_weapon_syringegun_medic
                "damage penalty"    0.1
            }
            ItemAttributes
            {
                ItemName    tf_weapon_medigun
                "lunchbox adds minicrits"    3
                "heal rate bonus"    10
                "medigun bullet resist passive"    0.8
                "medigun bullet resist deployed"    0.8
                "medigun charge is resists"    3
                "uber duration bonus"    444
                "ubercharge rate bonus"    200
            }
            CharacterAttributes
            {
                "bot medic uber health threshold"    444
				"bot medic uber deploy delay duration"	999
            }
        }
		T_TFBot_Giant_Soldier_Spammer_Force
		{
			Class Soldier
			Skill Expert
			WeaponRestrictions PrimaryOnly
			Name "Giant Force Fire Soldier"
			ClassIcon soldier_burstfire
			Health 4000
			Scale 1.8
			Attributes MiniBoss
			Attributes HoldFireUntilFullReload
			ItemAttributes
			{
				ItemName "TF_WEAPON_ROCKETLAUNCHER"
				"faster reload rate" 0.6
				"fire rate bonus" 0.2
				"clip size upgrade atomic" 7.0
				"Projectile speed increased" 1.3
			}
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction" 0.4
				"airblast vulnerability multiplier" 0.4
				"override footstep sound set" 3
				"airblast vertical vulnerability multiplier" 0.1
				"rage giving scale" 0.1
			}
		}
		T_TFBot_Giant_Engineer_Shotgun //Just a copypasta from original giant shotgun heavy
		{
			Class Engineer
			Name "Giant Shotgun Engineer"
			ClassIcon Engineer
			Skill Normal
			Health 3000
			WeaponRestrictions	PrimaryOnly
			MaxVisionRange 1200
			BehaviorModifiers Mobber
			Attributes MiniBoss
			Item "Texas Ten Gallon"
			//Attributes HoldFireUntilFullReload
            Scale 1.8
			ItemAttributes
			{
				ItemName "TF_WEAPON_SHOTGUN_PRIMARY"
				"fire rate bonus" 2.5
				"bullets per shot bonus" 10
				"damage penalty" 0.5
				"faster reload rate" 0.1
			}
			CharacterAttributes
			{
				"move speed bonus"	0.7
				"damage force reduction" 0.3
				"airblast vulnerability multiplier" 0.3
				"attack projectiles" 1	// force ability to shoot down projectiles
				"override footstep sound set" 2
			}
		}
	}
	Mission
	{
		Objective	DestroySentries
		Where	spawnbot_mid0
		Where   spawnbot_main1
		BeginAtWave	1
		RunForThisManyWaves	6
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_SentryBuster
		}
	}
	Mission
	{
		Objective Sniper
		InitialCooldown 40
		Where spawnbot_left0
		Where spawnbot_main1
		BeginAtWave 1
		DesiredCount 2
		RunForThisManyWaves 1
		CooldownTime 40         
        TFBot
		{
			Template T_TFBot_Sniper
        }
	}
	Mission
	{
		Objective Spy
		InitialCooldown 60
		Where spawnbot_left0
		Where spawnbot_main1
		BeginAtWave 2
		DesiredCount 2
		RunForThisManyWaves 1
		CooldownTime 30         
        TFBot
		{
			Template T_TFBot_Spy
			Name "Kunai Spy"
			ClassIcon spy_kunai
			Health 125
			Item "Conniver's Kunai"
		}
	}
	Mission
	{
		Objective Spy
		InitialCooldown 60
		Where spawnbot_left0
		Where spawnbot_main1
		BeginAtWave 3
		DesiredCount 2
		RunForThisManyWaves 2
		CooldownTime 30         
        TFBot
		{
			Template T_TFBot_Spy
		}
	}
	Mission
	{
		Objective Sniper
		InitialCooldown 40
		Where spawnbot_left0
		Where spawnbot_main1
		BeginAtWave 3
		DesiredCount 2
		RunForThisManyWaves 1
		CooldownTime 40         
        TFBot
		{
			Template T_TFBot_Sniper
        }
	}
	Mission
	{
		Objective Engineer
		InitialCooldown 60
		Where spawnbot_left0
		Where spawnbot_main1
		BeginAtWave 4
		DesiredCount 1
		RunForThisManyWaves 3
		CooldownTime 40         
        TFBot
		{
			Template T_TFBot_Engineer_Sentry_Battle_TeleIn
			Item 	"Texas Ten Gallon"
			Name	"Cowboy Engineer"
        }
	}
	Mission
	{
		Objective Sniper
		InitialCooldown 40
		Where spawnbot_left0
		Where spawnbot_main1
		BeginAtWave 5
		DesiredCount 2
		RunForThisManyWaves 1
		CooldownTime 40         
        TFBot
		{
			Template T_TFBot_Sniper_Sydney_Sleeper
        }
	}
	Mission
	{
		Objective Sniper
		InitialCooldown 40
		Where spawnbot_left0
		Where spawnbot_main1
		BeginAtWave 6
		DesiredCount 2
		RunForThisManyWaves 1
		CooldownTime 40         
        TFBot
		{
			Template T_TFBot_Sniper_Razorback
        }
	}
	Mission
	{
		Objective Spy
		InitialCooldown 60
		Where spawnbot_left0
		Where spawnbot_main1
		BeginAtWave 6
		DesiredCount 2
		RunForThisManyWaves 1
		CooldownTime 30         
        TFBot
		{
			Template T_TFBot_Spy
		}
	}
	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_classic
			Action Trigger
		}
		InitWaveOutput
		{
			Target intermediate_hint
			Action Enable
		}
		DoneOutput					
		{
			Target wave_finished_relay
			Action Trigger
		}
		WaveSpawn
		{
			Name	wave01a
			TotalCurrency	150
			TotalCount	35
			MaxActive	7
			SpawnCount	7
			Where	spawnbot_mid0
			Where	spawnbot_main1
			WaitBeforeStarting	1
			TFBot
			{
				Template	T_TFBot_Sniper_Huntsman
			}
		}
		WaveSpawn
		{
			Name	wave01a
			TotalCurrency	150
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			Where	spawnbot_scattered0
			Where   spawnbot_main1
			WaitBeforeStarting	5
			WaitBetweenSpawns	15
			TFBot
			{
				Template	T_TFGateBot_Giant_Pyro_AlwaysFire
			}
		}
		WaveSpawn
		{
			Name	wave01b
			WaitForAllDead	wave01a
			TotalCurrency	150
			TotalCount	21
			MaxActive	7
			SpawnCount	7
			Where	spawnbot_scattered0
			Where   spawnbot_main1
			RandomChoice
			{
				TFBot
				{
					Template	T_TFBot_Demoman_Knight
					Item "MvM Gatebot Light Demoman"
					Attributes IgnoreFlag
					Attributes DisableDodge
					Tag bot_gatebot
					BehaviorModifiers Push
				}
				TFBot
				{
					Template	T_TFBot_Demoman_Knight
				}
			}
		}
		WaveSpawn
		{
			Name	wave01b
			WaitForAllDead	wave01a
			TotalCurrency	150
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			Where	spawnbot_scattered0
			Where   spawnbot_main1
			WaitBeforeStarting	5
			WaitBetweenSpawns	15
			TFBot
			{
				Template	T_TFBot_Giant_DemoMan_PrinceTavish
			}
		}
		WaveSpawn
		{
			Name	wave01support
			TotalCurrency	0
			TotalCount	15
			MaxActive	3
			SpawnCount	3
			Where	spawnbot_main1
			Where	spawnbot_scattered0
			WaitBeforeStarting	5
			WaitBetweenSpawns	5
			Support	Limited
			TFBot
			{
				Template	T_TFGateBot_Scout_Melee
				ClassIcon	scout_bat
			}
		}
	}
	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_classic
			Action Trigger
		}
		InitWaveOutput
		{
			Target intermediate_hint
			Action Enable
		}
		DoneOutput					
		{
			Target wave_finished_relay
			Action Trigger
		}
		WaveSpawn
		{
			Name	wave02tank
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Tank
			{
				Health 20000
				Speed 70
				Name "tankboss"
				StartingPathTrackNode "tank_path_1"
				
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	wave02a
			TotalCurrency	50
			TotalCount	30
			MaxActive	6
			SpawnCount	6
			Where	spawnbot_main1
			Where	spawnbot_mid0
			WaitBeforeStarting	5
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman
					Name	"Cowboy Bowman"
					Item	"the lone star"
				}
				TFBot
				{
					Template	T_TFGateBot_Pyro_AlwaysFireWeapon
				}
			}
		}
		WaveSpawn
		{
			Name	wave02a
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			Where	spawnbot_left0
			Where   spawnbot_main1
			WaitBeforeStarting	15
			WaitBetweenSpawns	10
			TFBot
			{
				Template	T_TFBot_Giant_Soldier_Charge_NoCrit
			}
		}
		WaveSpawn
		{
			Name	wave02b
			WaitForAllDead	wave02a
			TotalCurrency	100
			TotalCount	35
			MaxActive	7
			SpawnCount	7
			Where	spawnbot_right0
			Where   spawnbot_main1
			TFBot
			{
				Class	Soldier
				Skill	Easy
				Name	"Cowboy Soldier"
				Item	"The Hat With No Name"
			}
		}
		WaveSpawn
		{
			Name	wave02b
			WaitForAllDead	wave02a
			TotalCurrency	50
			TotalCount	25
			MaxActive	5
			SpawnCount	5
			Where	spawnbot_left0
			Where   spawnbot_main1
			WaitBeforeStarting	5
			TFBot
			{
				Template	T_TFGateBot_Scout_Normal
			}
		}
		WaveSpawn
		{
			Name	wave02b
			WaitForAllDead	wave02a
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			Where	spawnbot_main1
			Where	spawnbot_mid0
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			TFBot
			{
				Template	T_TFBot_Giant_Demo_RapidFire
				Skill	Easy
			}
		}
		WaveSpawn
		{
			Name	wave02c1
			WaitForAllDead	wave02b
			TotalCurrency	100
			TotalCount	30
			MaxActive	10
			SpawnCount	10
			Where	spawnbot_scattered0
			Where   spawnbot_main1
			TFBot
			{
				Template	T_TFBot_Pyro_Flaregun
			}
		}
		WaveSpawn
		{
			Name	wave02c2
			WaitForAllSpawned	wave02c1
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_main1
			Where	spawnbot_mid0
			TFBot
			{
				Template	T_TFBot_Giant_Heavyweapons
			}
		}
	}
	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_classic
			Action Trigger
		}
		InitWaveOutput
		{
			Target intermediate_hint
			Action Enable
		}
		DoneOutput					
		{
			Target wave_finished_relay
			Action Trigger
		}
		WaveSpawn
		{
			Name	wave03a
			TotalCurrency	50
			TotalCount	25
			MaxActive	5
			SpawnCount	5
			Where	spawnbot_main1
			Where	spawnbot_mid0
			Where	spawnbot_right0
			RandomSpawn	1
			TFBot
			{
				Class	Demoman
				Skill	Normal
				Name	"Cowboy Demoman"
				Item	"The Hat With No Name"
			}
		}
		WaveSpawn
		{
			Name	wave03a
			TotalCurrency	50
			TotalCount	25
			MaxActive	5
			SpawnCount	5
			Where	spawnbot_right0
			Where	spawnbot_mid0
			Where   spawnbot_main1
			RandomSpawn	1
			TFBot
			{
				Template	T_TFGateBot_Heavyweapons_Shotgun
			}
		}
		WaveSpawn
		{
			Name	wave03a
			TotalCurrency	100
			TotalCount	3
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_left0
			Where   spawnbot_main1
			WaitBeforeStarting	10
			WaitBetweenSpawns	2
			TFBot
			{
				Template	T_TFGateBot_Giant_Scout_FAN
			}
		}
		WaveSpawn
		{
			Name	wave03b
			WaitForAllDead	wave03a
			TotalCurrency	100
			TotalCount	50
			MaxActive	10
			SpawnCount	10
			Where	spawnbot_main1
			Where	spawnbot_mid0
			RandomChoice
			{
				TFBot
				{
					Template	T_TFBot_Heavyweapons_Heavyweight_Champ_Fast
				}
				TFBot
				{
					Class	Scout
					Skill	Normal
					WeaponRestrictions	MeleeOnly
					ClassIcon	scout_bat
				}
			}
		}
		WaveSpawn
		{
			Name	wave03b
			WaitForAllDead	wave03a
			TotalCurrency	50
			TotalCount	6
			MaxActive	2
			SpawnCount	2
			Where	spawnbot_left0
			Where   spawnbot_main1
			WaitBeforeStarting	5
			TFBot
			{
				Template	T_TFGateBot_Heavy_IronFist
			}
		}
		WaveSpawn
		{
			Name	wave03b
			WaitForAllDead	wave03a
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			Where	spawnbot_right0
			Where   spawnbot_main1
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			TFBot
			{
				Template	T_TFBot_Giant_Soldier_RocketPush
			}
		}
		WaveSpawn
		{
			Name	wave03c
			WaitForAllDead	wave03b
			TotalCurrency	75
			TotalCount	20
			MaxActive	10
			SpawnCount	10
			Where	spawnbot_main1
			Where	spawnbot_mid0
			WaitBeforeStarting	5
			Squad
			{
				ShouldPreserveSquad	1
				TFBot
				{
					Class	Soldier
					Skill	Easy
					Name	"Cowboy Soldier"
					ClassIcon	shotgun_nys
					WeaponRestrictions	SecondaryOnly
					Item	"The Hat With No Name"
				}
				TFBot
				{
					Class	Engineer
					Skill	Normal
					BehaviorModifiers Mobber
					Name	"Cowboy Engineer"
					Item	"texas tin-gallon"
					WeaponRestrictions	PrimaryOnly
					ClassIcon	shotgun_nys
				}
			}
		}
		WaveSpawn
		{
			Name	wave03c
			WaitForAllDead	wave03b
			TotalCurrency	75
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_main1
			Where	spawnbot_mid0
			TFBot
			{
				Template	T_TFBot_Giant_Soldier_Spammer
				Name	"Giant R.F. Cowboy Soldier"
				Item	"hellhunter's headpiece"
			}
		}
	}
	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_classic
			Action Trigger
		}
		InitWaveOutput
		{
			Target intermediate_hint
			Action Enable
		}
		DoneOutput					
		{
			Target wave_finished_relay
			Action Trigger
		}
		WaveSpawn
		{
			Name	wave04tank
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Tank
			{
				Health 25000
				Speed 70
				Name "tankboss"
				StartingPathTrackNode "tank_path_1"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	wave04a
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_main1
			Where	spawnbot_mid0
			WaitBeforeStarting	10
			TFBot
			{
				Template	T_TFBot_Giant_Soldier
				Skill	Easy
				Item	"the slo-poke"
				Name	"Giant Cowboy Soldier"
			}
		}
		WaveSpawn
		{
			Name	wave04a
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_main1
			Where	spawnbot_right0
			WaitBeforeStarting	10
			TFBot
			{
				Template	T_TFBot_Giant_Soldier
				Item "MvM Gatebot Light Soldier"
				Attributes IgnoreFlag
				Attributes DisableDodge
				Tag bot_gatebot
				BehaviorModifiers Push
			}
		}
		WaveSpawn
		{
			Name	wave04b
			WaitForAllDead	wave04a
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_main1
			Where	spawnbot_mid0
			WaitBeforeStarting	3
			TFBot
			{
				Template	T_TFBot_Giant_DemoMan
				Skill	Easy
				Name	"Cowboy Demoman"
				Item	"The Hat With No Name"
			}
		}
		WaveSpawn
		{
			Name	wave04b
			WaitForAllDead	wave04a
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_main1
			Where	spawnbot_right0
			WaitBeforeStarting	3
			TFBot
			{
				Template	T_TFBot_Giant_Demo_RapidFire
				Item "MvM Gatebot Light Demoman"
				Attributes IgnoreFlag
				Attributes DisableDodge
				Tag bot_gatebot
				BehaviorModifiers Push
			}
		}
		WaveSpawn
		{
			Name	wave04c
			WaitForAllDead	wave04b
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_main1
			Where	spawnbot_mid0
			WaitBeforeStarting	3
			TFBot
			{
				Template	T_TFBot_Sniper_Bowman_Giant
				Skill	Easy
				Item	"the flamingo kid"
				Name	"Giant Cowboy Bowman"
			}
		}
		WaveSpawn
		{
			Name	wave04c
			WaitForAllDead	wave04b
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_main1
			Where	spawnbot_right0
			WaitBeforeStarting	3
			TFBot
			{
				Template	T_TFBot_Sniper_Bowman_Giant
				Item "MvM Gatebot Light Sniper"
				Attributes IgnoreFlag
				Attributes DisableDodge
				Tag bot_gatebot
				BehaviorModifiers Push
			}
		}
		WaveSpawn
		{
			Name	wave04d
			WaitForAllDead	wave04c
			TotalCurrency	200
			TotalCount	4
			MaxActive	2
			SpawnCount	2
			Where	spawnbot_main1
			Where	spawnbot_mid0
			WaitBeforeStarting	3
			Squad
			{
				ShouldPreserveSquad	1
				TFBot
				{
					Template	T_TFBot_Giant_Soldier
					ClassIcon	shotgun_nys
					Name	"Giant Cowboy Soldier"
					Item	"the slo-poke"
				}
				TFBot
				{
					Template	T_TFBot_Giant_Engineer_Shotgun
					Attributes	AlwaysCrit
					Skill	Easy
					Item	"texas tin-gallon"
					Name	"Giant Cowboy Engineer"
					ClassIcon	shotgun_nys
				}
			}
		}
		WaveSpawn
		{
			Name	wave04e
			WaitForAllDead	wave04d
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			Where	spawnbot_main1
			Where	spawnbot_mid0
			WaitBeforeStarting	3
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_SlowBarrage
					Skill	Easy
				}
				TFBot
				{
					Template	T_TFBot_Medic_Herp_Vac_Blast_Fix
					ClassIcon	medic_vac_trio_nys
				}
				TFBot
				{
					Template	T_TFBot_Medic_Herp_Vac_Bullet_Fix
					ClassIcon	medic_vac_trio_nys
				}
				TFBot
				{
					Template	T_TFBot_Medic_Herp_Vac_Fire_Fix
					ClassIcon	medic_vac_trio_nys
				}
			}
		}
		WaveSpawn
		{
			Name	wave04support
			TotalCurrency	0
			TotalCount	100
			MaxActive	5
			SpawnCount	5
			Where	spawnbot_scattered0
			Where   spawnbot_main1
			WaitBeforeStarting	5
			RandomSpawn	1
			Support	1
			RandomChoice
			{
				TFBot
				{
					Template	T_TFBot_Demoman_Knight
					Name	"Cowboy Slayer"
					
				}
				TFBot
				{
					Template	T_TFGateBot_Soldier_Extended_Concheror_Normal
				}
				TFBot
				{
					Class	Pyro
					Skill	Easy
				}
				TFBot
				{
					Template	T_TFGateBot_Pyro_Normal
				}
			}
		}
	}
	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_classic
			Action Trigger
		}
		InitWaveOutput
		{
			Target intermediate_hint
			Action Enable
		}
		DoneOutput					
		{
			Target wave_finished_relay
			Action Trigger
		}
		WaveSpawn
		{
			Name	wave05a
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_main1
			Where	spawnbot_mid0
			TFBot
			{
				Template	T_TFBot_Giant_Soldier_Spammer_Force
				Health	20000
				Attributes	UseBossHealthBar
				Name	"Chief Force Fire Warrior"
				Item	"soldier samurai hat"
				Item	"big steel jaw of summer fun"
				Item 	"eotl_winter_coat"
			}
		}
		WaveSpawn
		{
			Name	wave05a
			TotalCurrency	100
			TotalCount	50
			MaxActive	10
			SpawnCount	5
			Where	spawnbot_main1
			Where	spawnbot_mid0
			WaitBeforeStarting	5
			WaitBetweenSpawns	2
			TFBot
			{
				Template	T_TFBot_Scout_FAN
			}
		}
		WaveSpawn
		{
			Name	wave05a
			TotalCurrency	50
			TotalCount	9
			MaxActive	3
			SpawnCount	3
			Where	spawnbot_left0
			Where   spawnbot_main1
			WaitBeforeStarting	10
			WaitBetweenSpawns	5
			RandomChoice
			{
				TFBot
				{
					Template	T_TFBot_Heavy_IronFist_Airblast
				}
				TFBot
				{
					Template	T_TFGateBot_Heavy_IronFist_Airblast
				}
			}
		}
		WaveSpawn
		{
			Name	wave05b
			WaitForAllDead	wave05a
			TotalCurrency	50
			TotalCount	25
			MaxActive	5
			SpawnCount	5
			Where	spawnbot_main1
			Where	spawnbot_mid0
			Where	spawnbot_right0
			RandomSpawn	1
			TFBot
			{
				Template	T_TFBot_Soldier_RocketShotgun
			}
		}
		WaveSpawn
		{
			Name	wave05b
			WaitForAllDead	wave05a
			TotalCurrency	50
			TotalCount	25
			MaxActive	5
			SpawnCount	5
			Where	spawnbot_main1
			Where	spawnbot_mid0
			Where	spawnbot_right0
			RandomSpawn	1
			TFBot
			{
				Template	T_TFGateBot_Heavy_Easy
			}
		}
		WaveSpawn
		{
			Name	wave05b
			WaitForAllDead	wave05a
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_main1
			Where	spawnbot_mid0
			WaitBeforeStarting	5
			TFBot
			{
				Template	T_TFBot_Giant_Soldier_Extended_Buff_Banner
			}
		}
		WaveSpawn
		{
			Name	wave05b
			WaitForAllDead	wave05a
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_main1
			Where	spawnbot_mid0
			WaitBeforeStarting	20
			TFBot
			{
				Template	T_TFGateBot_Giant_Soldier_Extended_Concheror
			}
		}
		WaveSpawn
		{
			Name	wave05c
			WaitForAllDead	wave05b
			TotalCurrency	150
			TotalCount	3
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_main1
			Where	spawnbot_mid0
			WaitBeforeStarting	2
			WaitBetweenSpawns	1
			TFBot
			{
				Template	T_TFBot_Giant_Scout
			}
		}
		WaveSpawn
		{
			Name	wave05c
			WaitForAllDead	wave05b
			TotalCurrency	50
			TotalCount	25
			MaxActive	10
			SpawnCount	5
			Where	spawnbot_main1
			Where	spawnbot_mid0
			WaitBeforeStarting	5
			WaitBetweenSpawns	2
			TFBot
			{
				Template	T_TFBot_Scout_FAN
				ClassIcon	Scout_fan
				Attributes	AlwaysCrit
			}
		}
	}
	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay_classic
			Action Trigger
		}
		InitWaveOutput
		{
			Target intermediate_hint
			Action Enable
		}
		DoneOutput					
		{
			Target wave_finished_relay
			Action Trigger
		}
                WaveSpawn
		{
			Name	wave06tank
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Tank
			{
				Health 35000
				Speed 70
				Name "tankboss"
				StartingPathTrackNode "tank_path_1"
				
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	wave06a
			WaitForAllDead	wave06tank
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot_main1
			Where	spawnbot_mid0
			WaitBeforeStarting	5
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Soldier_Spammer_Force
					Skill	Easy
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Regen
					Skill	Easy
				}
			}
		}
		WaveSpawn
		{
			Name	wave06b
			WaitForAllDead	wave06a
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot_main1
			Where	spawnbot_mid0
			WaitBeforeStarting	5
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Demo_Burst
					Skill	Easy
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Regen
					Skill	Easy
				}
			}
		}
		WaveSpawn
		{
			Name	wave06c
			WaitForAllDead	wave06b
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot_main1
			Where	spawnbot_mid0
			WaitBeforeStarting	5
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Deflector
					Skill	Easy
				}
				TFBot
				{
					Template	T_TFBot_Giant_Medic_Regen
					Skill	Easy
				}
			}
		}
		WaveSpawn
		{
			Name	wave06d
			WaitForAllDead	wave06b
			TotalCurrency	100
			TotalCount	6
			MaxActive	2
			SpawnCount	2
			Where	spawnbot_main1
			Where	spawnbot_mid0
			WaitBeforeStarting	10
			TFBot
			{
				Template	T_TFBot_Giant_DemoMan_PrinceTavish
				Name	"Giant Cowboy Slayer"
				Item	"the tavish degroot experience"
			}
		}
		WaveSpawn
		{
			Name	wave06tanks
			WaitForAllDead	wave06c
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	10
			FirstSpawnOutput
			{
				Target ST_maker_relay
				Action Trigger
			}
			Tank
			{
				Health 20000
				Speed 60
				Name "sticky_tank"
				StartingPathTrackNode "tank_path_1"
				Skin 1
				OnKilledOutput
				{
					Target ST_kill_relay
					Action Trigger
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	wave06support
			TotalCurrency	100
			TotalCount	100
			MaxActive	5
			SpawnCount	5
			Where	spawnbot_scattered0
			Where   spawnbot_main1
			WaitBeforeStarting	10
			WaitBetweenSpawns	4
			RandomSpawn	1
			Support	1
			RandomChoice
			{
				TFBot
				{
					Class	Soldier
					Skill	Normal
					Item	"the slo-poke"
					Name	"Cowboy Soldier"
				}
				TFBot
				{
					Template	T_TFGateBot_Soldier_Easy
				}
				TFBot
				{
					Class	Demoman
					Skill	Normal
					Item	"the frontier djustice"
					Name	"Cowboy Demoman"
				}
				TFBot
				{
					Class	Demoman
					Skill	Normal
					Item "MvM Gatebot Light Demoman"
					Attributes IgnoreFlag
					Attributes DisableDodge
					Tag bot_gatebot
					BehaviorModifiers Push
				}
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman
					Name	"Cowboy Sniper"
					Item	"brim-full of bullets"
					Skill	Normal
				}
				TFBot
				{
					Template	T_TFBot_Sniper_Huntsman
					Skill	Easy
					Item "MvM Gatebot Light Sniper"
					Attributes IgnoreFlag
					Attributes DisableDodge
					Tag bot_gatebot
					BehaviorModifiers Push
				}
			}
		}
	}
}