WaveSchedule
{
	Templates
	{
		YoovyBot_SentryBuster
		{
			//TFBot
			Class Demoman
			Health 2500
			Name "Sentry Buster"
			ClassIcon sentry_buster
			Attributes MiniBoss
			WeaponRestrictions	MeleeOnly
			Tag bot_giant
			CharacterAttributes
			{
				"airblast vertical vulnerability multiplier" 0.1
				"airblast vulnerability multiplier" 0.1
				"override footstep sound set" 7
				"damage force reduction" 0.1
				"cannot be backstabbed" 1
				"voice pitch scale" 1.5
				"move speed bonus" 2
			}
			
			//Weapons
			Item "The Ullapool Caber"
		}
		YoovyBot_Spy
		{
            //TFBot
            Class Spy
            Attributes IgnoreFlag
		}
        YoovyBot_Spy_Caustic
        {
            //TFBot
            Class Spy
            Name "Caustic Spy"
			Attributes IgnoreFlag

            //Weapons
            Item "Upgradeable TF_WEAPON_REVOLVER"
            ItemAttributes
            {
                ItemName "Upgradeable TF_WEAPON_REVOLVER"
                "paintkit_proto_def_index" 112 //Backwoods Boomstick Mk.II
                "attach particle effect" 702
                "dmg penalty vs players" 0.5
                "set_item_texture_wear" 0
                "ragdolls become ash" 1
                "bleeding duration" 5
            }
            Item "Upgradeable TF_WEAPON_KNIFE"
            ItemAttributes
            {
                ItemName "Upgradeable TF_WEAPON_KNIFE"
                "paintkit_proto_def_index" 112 //Backwoods Boomstick Mk.II
                "attach particle effect" 702
                "set_item_texture_wear" 0
                "ragdolls become ash" 1
                "bleeding duration" 5
            }

            //Cosmetics
            Item "The Stealth Steeler"
            ItemAttributes
            {
                ItemName "The Stealth Steeler"
                "set item tint RGB" 7511618
            }
        }
		YoovyBot_Sniper
		{
            //TFBot
            Class Sniper
            Attributes IgnoreFlag
		}
		YoovyBot_Sniper_Sydney_Razorback
		{
            //TFBot
            Class Sniper
            Name "Razorback Sydney Sniper"
            ClassIcon sniper_sydneysleeper
            Attributes IgnoreFlag

            //Weapons
            Item "The Sydney Sleeper"
            Item "The Razorback"
            Item "The Bushwacka"

            //Cosmetics
            Item "Ol' Snaggletooth"
            Item "Crocodile Dandy"
		}
		YoovyBot_Engineer_Teleporter_WalkIn
		{
            //TFBot
            Class Engineer
            Health 275
            Name "Teleporter Engineer"
            ClassIcon engineer_telein
            Attributes IgnoreFlag

            //Cosmetics
            Item "Wavefinder"
            Item "The Brainiac Goggles"
            Item "The Antarctic Researcher"
		}
		YoovyBot_Scout_Melee_Bonk
		{
            //TFBot
            Class Scout
            ClassIcon scout_bonk
			WeaponRestrictions MeleeOnly
            Name "Bonk Bat Scout"
            CharacterAttributes
            {
				"deploy time decreased" 0.1
            }

            //Weapons
            Item "Bonk! Atomic Punch"
			Item "The Atomizer"
			ItemAttributes
			{
				ItemName "The Atomizer"
				"single wep deploy time increased" 1
				"dmg penalty vs players" 1
			}

            //Cosmetics
            Item "Bonk Leadwear"
		}
		YoovyBot_Heavy_Steelfist_Subgiant
		{
            //TFBot
            Class Heavy
            Health 900
            Scale 1.5
            Name "Steel Gauntlet"
            ClassIcon heavy_steelfist
            WeaponRestrictions MeleeOnly
            Tag bot_giant
            CharacterAttributes
            {
                "airblast vertical vulnerability multiplier" 0.25
                "airblast vulnerability multiplier" 0.25
                "damage force reduction" 0.25
                "voice pitch scale" 0.85
            }

            //Weapons
            Item "Fists of Steel"

            //Cosmetics
            Item "Ol' Reliable"
            ItemAttributes
            {
                ItemName "Ol' Reliable"
                "item style override" 1
            }
		}
		YoovyBot_Medic_Uber_Quick
		{
			//TFBot
			Class Medic
			Name "Quick-Ãœber Medic"
			ClassIcon medic_uber
			Attributes SpawnWithFullCharge

			//Weapons
			Item "gentlemanne_medigun_coffinnail"
			ItemAttributes
			{
				ItemName "gentlemanne_medigun_coffinnail"
				"ubercharge rate bonus" 5
				"set_item_texture_wear" 0
				"uber duration bonus" -3
			}
			//Cosmetics
			Item "Titanium Tyrolean"
            ItemAttributes
            {
                ItemName "Titanium Tyrolean"
                "set item tint RGB" 8626083
            }
		}
		YoovyBot_Scout
		{
			//TFBot
			Class Scout
		}
		YoovyBot_Pyro
		{
			//TFBot
			Class Pyro

			//Weapons
			ItemAttributes
			{
				ItemName "TF_WEAPON_FLAMETHROWER"
				"airblast disabled" 1
			}
		}
		YoovyBot_Soldier
		{
			//TFBot
			Class Soldier
		}
		YoovyBot_Giant_Soldier_RapidFire_Caustic
		{
            //TFBot
            Class Soldier
            Health 3800
            Name "Giant Rapid Fire Caustic Soldier"
            ClassIcon soldier_spammer_giant
            Attributes MiniBoss
            Tag bot_giant
            CharacterAttributes
            {
                "airblast vertical vulnerability multiplier" 0.1
                "airblast vulnerability multiplier" 0.1
				"override footstep sound set" 5
                "damage force reduction" 0.1
                "move speed penalty" 0.5
                "killstreak tier" 1
            }

            //Weapons
			Item "craftsmann_rocketlauncher_americanpastoral"
			ItemAttributes
			{
				ItemName "craftsmann_rocketlauncher_americanpastoral"
				"projectile speed decreased" 0.65
                "attach particle effect" 702
                "dmg penalty vs players" 0.5
                "killstreak idleeffect" 5
				"set_item_texture_wear" 0
				"reload time decreased" -1
                "ragdolls become ash" 1
                "bleeding duration" 4
				"fire rate bonus" 0.5
			}

            //Cosmetics
			Item "The Rebel Rouser"
			ItemAttributes
			{
				ItemName "The Rebel Rouser"
				"set item tint RGB" 7511618
			}
		}
		YoovyBot_Heavy_Steelfist_Subgiant_Caustic
		{
            //TFBot
            Class Heavy
            Health 900
            Scale 1.5
            Name "Caustic Steel Gauntlet"
            ClassIcon heavy_steelfist
            WeaponRestrictions MeleeOnly
            Tag bot_giant
            CharacterAttributes
            {
                "airblast vertical vulnerability multiplier" 0.25
                "airblast vulnerability multiplier" 0.25
                "damage force reduction" 0.25
                "voice pitch scale" 0.85
            }

            //Weapons
            Item "Fists of Steel"
			ItemAttributes
			{
				ItemName "Fists of Steel"
                "killstreak idleeffect" 5
                "bleeding duration" 5
			}

            //Cosmetics
            Item "The U-clank-a"
            ItemAttributes
            {
                ItemName "The U-clank-a"
                "item style override" 1
				"set item tint RGB" 7511618
            }

            //Rafmod
            ItemColor  
            {
                ItemName "Fists of Steel"
                Red 120
                Green 225
                Blue 120
            }
		}
		YoovyBot_Giant_Scout_Fast
		{
            //TFBot
            Class Scout
            Health 1200
            Name "Super Scout"
            ClassIcon scout_giant_fast
            WeaponRestrictions MeleeOnly
            Attributes MiniBoss
            Tag bot_giant
            CharacterAttributes
            {
                "airblast vertical vulnerability multiplier" 0.1
                "airblast vulnerability multiplier" 0.1
				"override footstep sound set" 7
                "damage force reduction" 0.1
                "move speed bonus" 2
                "killstreak tier" 1
            }

            //Weapons
            Item "The Holy Mackerel"

            //Cosmetics
            Item "The Bolt Boy"
		}
		YoovyBot_Giant_Heavy
		{
            //TFBot
            Class Heavy
            Health 5000
            Name "Giant Heavy"
            ClassIcon heavy_giant
            Attributes MiniBoss
			MaxVisionRange 1200
            Tag bot_giant
            CharacterAttributes
            {
                "airblast vertical vulnerability multiplier" 0.1
                "airblast vulnerability multiplier" 0.1
				"override footstep sound set" 5
                "damage force reduction" 0.1
                "move speed penalty" 0.5
                "killstreak tier" 1
            }

            //Weapons
            ItemAttributes
            {
                ItemName "TF_WEAPON_MINIGUN"
                "damage bonus" 1.5
            }
		}
		YoovyBot_Scout_Caustic
		{
            //TFBot
            Class Scout
            Name "Caustic Scout"

            //Weapons
            Item "Upgradeable TF_WEAPON_SCATTERGUN"
            ItemAttributes
            {
                ItemName "Upgradeable TF_WEAPON_SCATTERGUN"
                "paintkit_proto_def_index" 112 //Backwoods Boomstick Mk.II
                "attach particle effect" 702
                "dmg penalty vs players" 0.5
                "killstreak idleeffect" 5
                "set_item_texture_wear" 0
                "bleeding duration" 3
            }

            //Cosmetics
            Item "Commonwealth Commando"
            ItemAttributes
            {
                ItemName "Commonwealth Commando"
                "set item tint RGB" 7511618
            }
		}
		YoovyBot_Heavy
		{
			//TFBot
			Class Heavy
		}
		YoovyBot_Heavy_Caustic
		{
            //TFBot
            Class Heavy
            Name "Caustic Heavy"

            //Weapons
            Item "Upgradeable TF_WEAPON_MINIGUN"
            ItemAttributes
            {
                ItemName "Upgradeable TF_WEAPON_MINIGUN"
                "paintkit_proto_def_index" 112 //Backwoods Boomstick Mk.II
                "attach particle effect" 702
                "dmg penalty vs players" 0.5
                "killstreak idleeffect" 5
                "set_item_texture_wear" 0
                "ragdolls become ash" 1
                "bleeding duration" 1
            }

            //Cosmetics
            Item "L4D Hat"
            ItemAttributes
            {
                ItemName "L4D Hat"
                "set item tint RGB" 7511618
            }
		}
		YoovyBot_Soldier_DirectHit
		{
            //TFBot
            Class Soldier
            Name "Direct Hit Soldier"
            ClassIcon soldier_directhit_lite

            //Weapons
            Item "The Direct Hit"

            //Cosmetics
            Item "The Shellmet"
		}
		YoovyBot_Soldier_Caustic
		{
            //TFBot
            Class Soldier
            Name "Caustic Soldier"

            //Weapons
            Item "Upgradeable TF_WEAPON_ROCKETLAUNCHER"
            ItemAttributes
            {
                ItemName "Upgradeable TF_WEAPON_ROCKETLAUNCHER"
                "paintkit_proto_def_index" 112 //Backwoods Boomstick Mk.II
                "attach particle effect" 702
                "dmg penalty vs players" 0.5
                "killstreak idleeffect" 5
                "set_item_texture_wear" 0
                "ragdolls become ash" 1
                "bleeding duration" 4
            }

            //Cosmetics
            Item "Full Metal Drill Hat"
            ItemAttributes
            {
                ItemName "Full Metal Drill Hat"
                "set item tint RGB" 7511618
            }
		}
		YoovyBot_Giant_Heavy_Deflector
		{
			//TFBot
			Class Heavy
			Name "Giant Deflector Heavy"
			Health 5000
			ClassIcon heavy_deflector_giant
			Attributes MiniBoss
			MaxVisionRange 1200
			Tag bot_giant
			CharacterAttributes
			{
				"airblast vertical vulnerability multiplier" 0.1
				"airblast vulnerability multiplier" 0.1
				"override footstep sound set" 5
				"damage force reduction" 0.1
				"move speed penalty" 0.5
				"killstreak tier" 1
			}
			
			//Weapons
            Item "Upgradeable TF_WEAPON_MINIGUN"
            ItemAttributes
            {
                ItemName "Upgradeable TF_WEAPON_MINIGUN"
                "paintkit_proto_def_index" 411 //Steel Brushed
                "killstreak idleeffect" 1
                "set_item_texture_wear" 0
                "attack projectiles" 1
				"damage bonus" 1.5
            }

			//Cosmetics
			Item "The U-Clank-A"
		}
		YoovyBot_Scout_Melee
		{
            //TFBot
            Class Scout
            ClassIcon scout_bat_nys
            Name "Bat Scout"
            WeaponRestrictions MeleeOnly
		}
		YoovyBot_Sniper_Huntsman
		{
            //TFBot
            Class Sniper
            Name "Bowman"
            ClassIcon sniper_bow

            //Weapons
            Item "The Huntsman"
            ItemAttributes
            {
                ItemName "The Huntsman"
                "damage penalty" 0.71 //85 Max Damage, same as Pre-Huntsman fix
            }

            //Cosmetics 
            Item "Larrikin Robin"
		}
		YoovyBot_Sniper_Huntsman_Caustic
		{
            //TFBot
            Class Sniper
            Name "Caustic Bowman"
            ClassIcon sniper_bow

            //Weapons
            Item "The Huntsman"
            ItemAttributes
            {
                ItemName "The Huntsman"
				"attach particle effect" 9
                "dmg penalty vs players" 0.5
				"bleeding duration" 5
            }

            //Cosmetics 
            Item "The Anger"
			ItemAttributes
			{
				ItemName "The Anger"
				"set item tint RGB" 7511618
			}

            //Rafmod
            ItemColor  
            {
                ItemName "The Huntsman"
                Red 120
                Green 225
                Blue 120
            }
		}
		YoovyBot_Demoman_Knight
		{
            //TFBot
            Class Demoman
            Name "Demoknight"
            ClassIcon demoknight
            WeaponRestrictions MeleeOnly
            CharacterAttributes
            {
                "gesture speed increase" 1.5
            }

            //Weapons
            Item "The Chargin' Targe"
            Item "The Eyelander"
            ItemAttributes
            {
                ItemName "The Eyelander"
                "critboost on kill" 3
            }

            //Cosmetics
            Item "Spiral Sallet"
		}
		YoovyBot_Giant_Scout_Fast_Caustic
		{
			//TFBot
			Class Scout
			Name "Super Caustic Scout"
			Health 1200
			ClassIcon scout_giant_fast
			WeaponRestrictions MeleeOnly
			Attributes MiniBoss
			Tag bot_giant
			CharacterAttributes
			{
				"airblast vertical vulnerability multiplier" 0.25
				"airblast vulnerability multiplier" 0.25
				"override footstep sound set" 7
				"damage force reduction" 0.25
				"move speed bonus" 2
				"killstreak tier" 1
			}
			
			//Weapons
			Item "The Holy Mackerel"
            ItemAttributes
            {
                ItemName "The Holy Mackerel"
                "paintkit_proto_def_index" 112 //Backwoods Boomstick Mk.II
                "attach particle effect" 9
                "set_item_texture_wear" 0
                "bleeding duration" 2
            }

			//Cosmetics
			Item "The Bolt Boy"
            ItemAttributes
            {
                ItemName "The Bolt Boy"
                "set item tint RGB" 7511618
            }
		}
		YoovyBot_Giant_Heavy_Deflector_Caustic
		{
			//TFBot
			Class Heavy
			Name "Giant Caustic Deflector Heavy"
			Health 5000
			ClassIcon heavy_deflector_giant
			Attributes MiniBoss
			MaxVisionRange 1200
			Tag bot_giant
			CharacterAttributes
			{
				"airblast vertical vulnerability multiplier" 0.1
				"airblast vulnerability multiplier" 0.1
				"override footstep sound set" 5
				"damage force reduction" 0.1
				"move speed penalty" 0.5
				"killstreak tier" 1
			}
			
			//Weapons
            Item "concealedkiller_minigun_kingofthejungle"
            ItemAttributes
            {
                ItemName "concealedkiller_minigun_kingofthejungle"
                //"paintkit_proto_def_index" 113 //Woodsy Widowmaker Mk.II
				"attach particle effect" 702
				"dmg penalty vs players" 0.5
                "killstreak idleeffect" 5
                "set_item_texture_wear" 0
                "ragdolls become ash" 1
                "attack projectiles" 1
                "bleeding duration" 1
				"damage bonus" 1.5
            }

			//Cosmetics
			Item "The U-Clank-A"
            ItemAttributes
            {
                ItemName "The U-Clank-A"
                "set item tint RGB" 3329330
            }
		}
		YoovyBot_Giant_Medic_QF_Popping
		{
            //TFBot
			Class Medic
			Name "Giant Popping Quick-Fix Medic"
			Health 4500
			ClassIcon medic_pop_giant
			Attributes SpawnWithFullCharge
			Attributes MiniBoss
			Tag bot_giant
			CharacterAttributes
			{
				"airblast vertical vulnerability multiplier" 0.1
				"airblast vulnerability multiplier" 0.1
				"damage force reduction" 0.1
				"move speed penalty" 0.5
                "killstreak tier" 1
			}
			
            //Weapons
            ItemAttributes
            {
                ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
                "clip size bonus" 2
                "damage bonus" 1.5
            }
			Item "The Quick-Fix"
			ItemAttributes
			{
				ItemName "The Quick-Fix"
				"ubercharge rate penalty" 0.01
				"ubercharge rate bonus" 1
				"heal rate bonus" 200
			}

            //Cosmetics
            Item "The Quadwrangler"
			Item "The Colonel's Coat"
		}
		YoovyBot_Sniper_Huntsman_RapidFire
		{
            //TFBot
            Class Sniper
            Name "Rapid Fire Bowman"
            ClassIcon sniper_bow_multi

            //Weapons
            Item "The Huntsman"
            ItemAttributes
            {
                ItemName "The Huntsman"
                "killstreak idleeffect" 1
                "reload time decreased" 0.6
                "damage penalty" 0.71 //85 Max Damage, same as Pre-Huntsman fix
            }

            //Cosmetics 
            Item "The Classy Capper"
		}
		YoovyBot_Soldier_DirectHit_Buff_Ext
		{
            //TFBot
            Class Soldier
            Name "Direct Buff Soldier"
            ClassIcon soldier_directhit_buff_lite
            Attributes SpawnWithFullCharge
            CharacterAttributes
            {
                "increase buff duration" 11
				"deploy time decreased" 0.1
            }

            //Weapons
            Item "The Direct Hit"
            Item "The Buff Banner"

            //Cosmetics
            Item "The Shellmet"
            ItemAttributes
            {
                ItemName "The Shellmet"
                "set item tint RGB" 15185211
            }
		}
		YoovyBot_Giant_Heavy_Caustic
		{
            //TFBot
            Class Heavy
            Health 5000
            Name "Giant Caustic Heavy"
            ClassIcon heavy_giant
            Attributes MiniBoss
			MaxVisionRange 1200
            Tag bot_giant
            CharacterAttributes
            {
                "airblast vertical vulnerability multiplier" 0.1
                "airblast vulnerability multiplier" 0.1
				"override footstep sound set" 5
                "damage force reduction" 0.1
                "move speed penalty" 0.5
                "killstreak tier" 1
            }

            //Weapons
			Item "Upgradeable TF_WEAPON_MINIGUN"
            ItemAttributes
            {
                ItemName "Upgradeable TF_WEAPON_MINIGUN"
                "paintkit_proto_def_index" 112 //Backwoods Boomstick Mk.II
                "attach particle effect" 702
                "dmg penalty vs players" 0.5
                "killstreak idleeffect" 5
                "set_item_texture_wear" 0
                "ragdolls become ash" 1
                "bleeding duration" 1
				"damage bonus" 1.5
            }

            //Cosmetics
            Item "L4D Hat"
            ItemAttributes
            {
                ItemName "L4D Hat"
                "set item tint RGB" 7511618
            }
		}
	}
	StartingCurrency		400
	RespawnWaveTime 		7
	CanBotsAttackWhileInSpawnRoom no

	Mission // sentry buster
	{
		Objective DestroySentries

		InitialCooldown 5
		Where spawnbot
		BeginAtWave 1
		RunForThisManyWaves 9

		CooldownTime 20            

            TFBot
			{
				Template YoovyBot_SentryBuster
            }
	}
	Mission // Spy - wave 1
	{
		Objective Spy  

		InitialCooldown 10
		Where spawnbot_mission_spy
		BeginAtWave 1
		RunForThisManyWaves 1
		CooldownTime 30
		DesiredCount 4

		TFBot
		{
			Template YoovyBot_Spy
			CustomEyeGlowColor "255 0 0"
			Skill Expert
		}
	}	
	Mission // Spy - wave 2
	{
		Objective Spy  

		InitialCooldown 20
		Where spawnbot_mission_spy
		BeginAtWave 2
		RunForThisManyWaves 1
		CooldownTime 30
		DesiredCount 4

		TFBot
		{
			Template YoovyBot_Spy_Caustic
			CustomEyeGlowColor "255 0 0"
			Skill Expert
		}
	}	
	Mission // Spy - wave 4
	{
		Objective Spy  

		InitialCooldown 80
		Where spawnbot_mission_spy
		BeginAtWave 4
		RunForThisManyWaves 1
		CooldownTime 50
		DesiredCount 4

		TFBot
		{
			Template YoovyBot_Spy_Caustic
			CustomEyeGlowColor "255 0 0"
			Skill Expert
		}
	}	
	Mission // Sniper - wave 1
	{
		Objective Sniper

		InitialCooldown 75
		Where spawnbot_mission_sniper
		BeginAtWave 1
		RunForThisManyWaves 1
		CooldownTime 20
		DesiredCount 4

		TFBot
		{
			Template YoovyBot_Sniper
			Skill Hard
			MaxVisionRange 3000
		}
	}
	Mission // Sniper - wave 5
	{
		Objective Sniper

		InitialCooldown 30
		Where spawnbot_mission_sniper
		BeginAtWave 5
		RunForThisManyWaves 1
		CooldownTime 20
		DesiredCount 6

		TFBot
		{
			Template YoovyBot_Sniper_Sydney_Razorback
			Skill Hard
			MaxVisionRange 2500
		}
	}
	Mission // Sniper - wave 7
	{
		Objective Sniper

		InitialCooldown 30
		Where spawnbot_mission_sniper
		BeginAtWave 7
		RunForThisManyWaves 1
		CooldownTime 20
		DesiredCount 4

		TFBot
		{
			Template YoovyBot_Sniper_Sydney_Razorback
			Skill Hard
			MaxVisionRange 2500
		}
	}
	Mission // Engineer - wave 1
	{
		Objective Engineer  

		InitialCooldown 30
		Where spawnbot
		BeginAtWave 1
		RunForThisManyWaves 1
		CooldownTime 60
		DesiredCount 1

		TFBot
		{
			Template YoovyBot_Engineer_Teleporter_WalkIn
			CustomEyeGlowColor "255 0 0"
			Skill Expert
			Teleportwhere spawnbot_left
		}
	}	
	Mission // Engineer - wave 4
	{
		Objective Engineer  

		InitialCooldown 30
		Where spawnbot
		BeginAtWave 4
		RunForThisManyWaves 1
		CooldownTime 50
		DesiredCount 1

		TFBot
		{
			Template YoovyBot_Engineer_Teleporter_WalkIn
			CustomEyeGlowColor "255 0 0"
			Skill Expert
			Teleportwhere spawnbot_left
		}
	}	
	Mission // Engineer - wave 5
	{
		Objective Engineer  

		InitialCooldown 30
		Where spawnbot
		BeginAtWave 5
		RunForThisManyWaves 1
		CooldownTime 30
		DesiredCount 1

		TFBot
		{
			Template YoovyBot_Engineer_Teleporter_WalkIn
			CustomEyeGlowColor "255 0 0"
			Skill Expert
			Teleportwhere spawnbot_left
		}
	}	
	Mission // Engineer - wave 7
	{
		Objective Engineer  

		InitialCooldown 30
		Where spawnbot
		BeginAtWave 7
		RunForThisManyWaves 1
		CooldownTime 45
		DesiredCount 1

		TFBot
		{
			Template YoovyBot_Engineer_Teleporter_WalkIn
			CustomEyeGlowColor "255 0 0"
			Skill Expert
			Teleportwhere spawnbot_left
		}
	}	
	
	//WAVE 1 //Currency 800 ///////////////////////////////////////////////////////////////////////////////////////////////////////
	Wave
	{
		StartWaveOutput
			{
				Target wave_start_relay
				Action Trigger
			}
		DoneOutput					
			{
				Target wave_finished_relay
				Action trigger
			}
		WaitWhenDone 65
		Checkpoint Yes
		
		// Sniper mission - 4 active (late appearance)		
		// Spy mission - 4 active 		

		WaveSpawn //WAVE 01a: 30 total, 10 active, Scout (bonk) 
		{
			Name "wave01a"
			Where spawnbot
			TotalCount 30
			MaxActive 10
			SpawnCount 10
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			TotalCurrency 200		
		
			TFBot
			{
				Template YoovyBot_Scout_Melee_Bonk
				CustomEyeGlowColor "255 0 0"
				Skill Expert
			}
		}
		WaveSpawn //WAVE 01b: 8(16) total, 6(12) active, Heavyweapons Steel Fist + UberMedic 
		{
			Name "wave01b"
			Where spawnbot
			TotalCount 16
			MaxActive 12
			SpawnCount 2
			WaitBeforeStarting 0
			WaitBetweenSpawns 7
			TotalCurrency 100		
		
			Squad
			{
				TFBot
				{
					Template YoovyBot_Heavy_Steelfist_Subgiant
					CustomEyeGlowColor "255 0 0"
					Skill Expert
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
			}
		}
		WaveSpawn //WAVE 01c: 30 total, 10 active, Scout  
		{
			Name "wave01c"
			WaitForAllDead "wave01a"
			Where spawnbot
			TotalCount 30
			MaxActive 10
			SpawnCount 5
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			TotalCurrency 200		
		
			TFBot
			{
				Template YoovyBot_Scout
				CustomEyeGlowColor "0 255 0"
				Skill Easy
			}
		}
		WaveSpawn //WAVE 01d: 5(15) total, 4(12) active, Heavyweapons Steel Fist + UberMedic + Pyro (AlwaysFireWeapon)
		{
			Name "wave01d"
			Where spawnbot
			TotalCount 15
			MaxActive 12
			SpawnCount 3
			WaitForAllDead "wave01b"
			WaitBeforeStarting 0
			WaitBetweenSpawns 5
			TotalCurrency 150		
		
			Squad
			{
				TFBot
				{
					Template YoovyBot_Heavy_Steelfist_Subgiant
					CustomEyeGlowColor "255 0 0"
					Skill Expert
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Pyro
					CustomEyeGlowColor "0 255 0"
					Skill Easy
					Attributes AlwaysFireWeapon
				}
			}
		}
		WaveSpawn //WAVE 01e: 12 total, 12 active, Soldier  
		{
			Name "wave01e"
			WaitForAllDead "wave01b"
			Where spawnbot
			TotalCount 12
			MaxActive 12
			SpawnCount 12
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			TotalCurrency 150		
		
			TFBot
			{
					Template YoovyBot_Soldier
					Skill Hard
			}
		}
	}	
	//WAVE 2 //Currency 800 ///////////////////////////////////////////////////////////////////////////////////////////////////////
	Wave
	{
		StartWaveOutput
			{
				Target wave_start_relay
				Action Trigger
			}
		DoneOutput					
			{
				Target wave_finished_relay
				Action trigger
			}
		WaitWhenDone 65
		Checkpoint Yes
		
		// Spy mission - 4 active 		

		WaveSpawn
		{
			Name "wave02caustic"
			Where spawnbot
			TotalCount 4
			MaxActive 4
			SpawnCount 4
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			TotalCurrency 40
            FirstSpawnOutPut
            {
                Target tutorial_wave_relay
                Action Trigger
            }
			Squad
			{
				TFBot
				{
					Template YoovyBot_Giant_Soldier_RapidFire_Caustic
					CustomEyeGlowColor "255 0 0"
					Skill Expert
				}
				TFBot
				{
					Template YoovyBot_Heavy_Steelfist_Subgiant_Caustic
					CustomEyeGlowColor "255 0 0"
					Skill Expert
				}
				TFBot
				{
					Template YoovyBot_Heavy_Steelfist_Subgiant_Caustic
					CustomEyeGlowColor "255 0 0"
					Skill Expert
				}
				TFBot
				{
					Template YoovyBot_Heavy_Steelfist_Subgiant_Caustic
					CustomEyeGlowColor "255 0 0"
					Skill Expert
				}
			}
		}
		WaveSpawn //WAVE 02a: [GIANT] 6 total, 6 active,  Scout (fast)
		{
			Name "wave02a"
			WaitForAllDead "wave02caustic"
			Where spawnbot
			TotalCount 6
			MaxActive 6
			SpawnCount 1
			WaitBeforeStarting 0
			WaitBetweenSpawns 7
			TotalCurrency 60		
		
			TFBot
			{
				Template YoovyBot_Giant_Scout_Fast
				CustomEyeGlowColor "0 255 0"
				Skill Easy
			}
		}
		WaveSpawn //WAVE 02b: [GIANT] 2(18) total, 1(9) active,  Heavyweapons + 8 Medic
		{
			Name "wave02b"
			WaitForAllDead "wave02caustic"
			Where spawnbot
			TotalCount 18
			MaxActive 9
			SpawnCount 9
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			TotalCurrency 200		
		
			Squad
			{
				TFBot
				{
					Template YoovyBot_Giant_Heavy
					CustomEyeGlowColor "255 0 0"
					Skill Expert
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
			}
		}
		WaveSpawn //WAVE 02c: 30 total, 10 active,  Scout 
		{
			Name "wave02c"
			Where spawnbot
			TotalCount 30
			MaxActive 12
			SpawnCount 10
			WaitForAllDead "wave02a"
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			TotalCurrency 250		
		
			RandomChoice
			{
				TFBot
				{
					Template YoovyBot_Scout
					Skill Normal
				}
				TFBot
				{
					Template YoovyBot_Scout
					Skill Normal
				}
				TFBot
				{
					Template YoovyBot_Scout
					Skill Normal
				}
				TFBot
				{
					Template YoovyBot_Scout_Caustic
					Skill Normal
				}
			}
		}
		WaveSpawn //WAVE 02d: 10 total, 10 active,  Heavyweapons
		{
			Name "wave02d"
			Where spawnbot
			TotalCount 10
			MaxActive 10
			SpawnCount 10
			WaitForAllSpawned "wave02b"
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			TotalCurrency 150		
		
			RandomChoice
			{
				TFBot
				{
					Template YoovyBot_Heavy
					Skill Normal
				}
				TFBot
				{
					Template YoovyBot_Heavy
					Skill Normal
				}
				TFBot
				{
					Template YoovyBot_Heavy
					Skill Normal
				}
				TFBot
				{
					Template YoovyBot_Heavy_Caustic
					Skill Normal
				}
			}
		}
		WaveSpawn //WAVE 02e: 8 total, 2 active, Soldier  
		{
			Name "wave02e"
			WaitForAllSpawned "wave02b"
			Where spawnbot
			TotalCount 6
			MaxActive 2
			SpawnCount 2
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			TotalCurrency 100		
		
			TFBot
			{
					Template YoovyBot_Soldier_DirectHit
					Skill Hard
					Tag nav_prefer_flank_right
					
			}
		}
	}	
	//WAVE 3 //Currency 900 ///////////////////////////////////////////////////////////////////////////////////////////////////////
	Wave
	{
		StartWaveOutput
			{
				Target wave_start_relay
				Action Trigger
			}
		DoneOutput					
			{
				Target wave_finished_relay
				Action trigger
			}
		WaitWhenDone 65
		Checkpoint Yes
		
		WaveSpawn
		{
			Name W3_01_TANK_HEALTH
			FirstSpawnOutPut
			{
				Target wave_start_relay
				Action RunScriptCode
				Param "
				ClientPrint(null,3,`\x0799CCFFA Tank has arrived with \x07ffffff35,000 \x0799CCFFHP!`)
				"
			}
		}
		WaveSpawn //WAVE 03a: [TANK]  
		{
			Name "wave03a"
			TotalCount 1
			WaitBeforeStarting 0
			TotalCurrency 300
			
			FirstSpawnOutput                                                                                                                                                            
			{
				 Target boss_spawn_relay                                            
				 Action Trigger                         
			}

			Tank
			{
				Health 35000
				Speed 75
				Name "tankboss"
				StartingPathTrackNode "tank_path_a1"

				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}			
		}
		WaveSpawn //WAVE 03a: 10 total, 10 active,  Scout
		{
			Name "wave03a"
			Where spawnbot
			TotalCount 20
			MaxActive 3
			SpawnCount 2
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			TotalCurrency 100	

			Support 1
		
			TFBot
			{
					Template YoovyBot_Scout_Melee
					CustomEyeGlowColor "255 0 0"
					Skill Expert
				Attributes AlwaysCrit
			}
		}		
		WaveSpawn //WAVE 03b: 20 total, 10 active,  Soldier (flank high right)
		{
			Name "wave03b"
			Where spawnbot
			TotalCount 20
			MaxActive 10
			SpawnCount 10
			WaitBeforeStarting 15
			WaitBetweenSpawns 0
			TotalCurrency 200		
		
			RandomChoice
			{
				TFBot
				{
						Template YoovyBot_Soldier
						Skill Hard
						Tag nav_prefer_flank_right
						Tag nav_prefer_front_right
						BehaviorModifiers push
				}
				TFBot
				{
						Template YoovyBot_Soldier
						Skill Hard
						Tag nav_prefer_flank_right
						Tag nav_prefer_front_right
						BehaviorModifiers push
				}
				TFBot
				{
						Template YoovyBot_Soldier
						Skill Hard
						Tag nav_prefer_flank_right
						Tag nav_prefer_front_right
						BehaviorModifiers push
				}
				TFBot
				{
						Template YoovyBot_Soldier_Caustic
						Skill Hard
						Tag nav_prefer_flank_right
						Tag nav_prefer_front_right
						BehaviorModifiers push
				}
			}
		}
		WaveSpawn //WAVE 03c: 20 total, 10 active,  Soldier (flank high left)
		{
			Name "wave03c"
			Where spawnbot
			TotalCount 20
			MaxActive 10
			SpawnCount 10
			WaitBeforeStarting 23
			WaitBetweenSpawns 0
			TotalCurrency 200		
		
			RandomChoice
			{
				TFBot
				{
						Template YoovyBot_Soldier
						Skill Hard
						Tag nav_prefer_flank_left
						Tag nav_prefer_front_left
						BehaviorModifiers push
				}
				TFBot
				{
						Template YoovyBot_Soldier
						Skill Hard
						Tag nav_prefer_flank_left
						Tag nav_prefer_front_left
						BehaviorModifiers push
				}
				TFBot
				{
						Template YoovyBot_Soldier
						Skill Hard
						Tag nav_prefer_flank_left
						Tag nav_prefer_front_left
						BehaviorModifiers push
				}
				TFBot
				{
						Template YoovyBot_Soldier_Caustic
						Skill Hard
						Tag nav_prefer_flank_left
						Tag nav_prefer_front_left
						BehaviorModifiers push
				}
			}
		}
		WaveSpawn //WAVE 03d: [GIANT] 3 total, 3 active,  Heavyweapons (deflector)
		{
			Name "wave03d"
			Where spawnbot
			TotalCount 3
			MaxActive 3
			SpawnCount 1
			WaitBeforeStarting 35
			WaitBetweenSpawns 20
			TotalCurrency 100		
		
			TFBot
			{
					Template YoovyBot_Giant_Heavy_Deflector
					CustomEyeGlowColor "255 0 0"
					Skill Expert
			}
		}
	}
	//WAVE 4 //Currency 900 ///////////////////////////////////////////////////////////////////////////////////////////////////////
	Wave
	{
		StartWaveOutput
			{
				Target wave_start_relay
				Action Trigger
			}
		DoneOutput					
			{
				Target wave_finished_relay
				Action trigger
			}
		WaitWhenDone 65
		Checkpoint Yes
		
		// Spy mission - 4 active (late appearance)			

		WaveSpawn
		{
			Name W4_01_TANK_HEALTH
			FirstSpawnOutPut
			{
				Target wave_start_relay
				Action RunScriptCode
				Param "
				ClientPrint(null,3,`\x0799CCFFA Tank has arrived with \x07ffffff20,000 \x0799CCFFHP!`)
				"
			}
		}
		WaveSpawn
		{
			Name W4_01_TANK_HEALTH
			WaitBeforeStarting 30
			FirstSpawnOutPut
			{
				Target wave_start_relay
				Action RunScriptCode
				Param "
				ClientPrint(null,3,`\x0799CCFFA Tank has arrived with \x07ffffff20,000 \x0799CCFFHP!`)
				"
			}
		}
		WaveSpawn
		{
			Name W4_01_TANK_HEALTH
			WaitBeforeStarting 60
			FirstSpawnOutPut
			{
				Target wave_start_relay
				Action RunScriptCode
				Param "
				ClientPrint(null,3,`\x0799CCFFA Tank has arrived with \x07ffffff20,000 \x0799CCFFHP!`)
				"
			}
		}
		WaveSpawn
		{
			Name W4_01_TANK_HEALTH
			WaitBeforeStarting 90
			FirstSpawnOutPut
			{
				Target wave_start_relay
				Action RunScriptCode
				Param "
				ClientPrint(null,3,`\x0799CCFFA Tank has arrived with \x07ffffff20,000 \x0799CCFFHP!`)
				"
			}
		}
		WaveSpawn //WAVE 04a: [TANK]  
		{
			Name "wave04a"
			TotalCount 2
			WaitBeforeStarting 0
			WaitBetweenSpawns 60
			TotalCurrency 100
			
			FirstSpawnOutput                                                                                                                                                            
			
			{
				 Target boss_spawn_relay                                            
				 Action Trigger                         
			}

			Tank
			{
				Health 20000
				Speed 75
				Name "tankboss"
				StartingPathTrackNode "tank_path_a1"

				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}			
		}
		WaveSpawn //WAVE 04a: [TANK]  
		{
			Name "wave04a"
			TotalCount 2
			WaitBeforeStarting 30
			WaitBetweenSpawns 60
			TotalCurrency 100
			
			FirstSpawnOutput                                                                                                                                                            
			
			{
				 Target boss_spawn_relay                                            
				 Action Trigger                         
			}

			Tank
			{
				Health 20000
				Speed 75
				Name "tankboss"
				StartingPathTrackNode "tank_path_b1"

				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}			
		}
		WaveSpawn //WAVE 04b: 48 total, 12 active,  Scout (crit melee only)
		{
			Name "wave04b"
			Where spawnbot
			TotalCount 48
			MaxActive 12
			SpawnCount 12
			WaitBeforeStarting 30
			WaitBetweenSpawns 20
			TotalCurrency 200	

			TFBot
			{
					Template YoovyBot_Scout_Melee
					CustomEyeGlowColor "255 0 0"
					Skill Expert
				Attributes AlwaysCrit
			}
		}
		WaveSpawn //WAVE 04c: 24 total, 6 active,  Sniper (huntsman, custom high reload rate, low damage) - flank high right and left
		{
			Name "wave04c"
			Where spawnbot
			TotalCount 24
			MaxActive 6
			SpawnCount 6
			WaitBeforeStarting 60
			WaitBetweenSpawns 20
			TotalCurrency 200	

			RandomChoice
			{
				TFBot
				{
					Template YoovyBot_Sniper_Huntsman
					Tag nav_prefer_flank_right
					Tag nav_prefer_front_right
					BehaviorModifiers push
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Sniper_Huntsman_Caustic
					Tag nav_prefer_flank_right
					Tag nav_prefer_front_right
					BehaviorModifiers push
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Sniper_Huntsman
					Tag nav_prefer_flank_left
					Tag nav_prefer_front_left
					BehaviorModifiers push
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Sniper_Huntsman_Caustic
					Tag nav_prefer_flank_left
					Tag nav_prefer_front_left
					BehaviorModifiers push
					Skill Hard
				}
			}
		}
		WaveSpawn //WAVE 04d: 4(8) total, 1(2) active,  Heavyweapons + Uber medic (flank main right)
		{
			Name "wave04de"
			Where spawnbot
			TotalCount 8
			MaxActive 2
			SpawnCount 2
			WaitBeforeStarting 45
			WaitBetweenSpawns 15
			TotalCurrency 50		
		
			Squad
			{
				TFBot
				{
					Template YoovyBot_Heavy
					Skill Hard
					Tag special_right
					Tag nav_prefer_front_right
					BehaviorModifiers push
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
			}
		}
		WaveSpawn //WAVE 04e: 4(8) total, 1(2) active,  Heavyweapons + Uber medic (flank main left)
		{
			Name "wave04de"
			Where spawnbot_left
			TotalCount 8
			MaxActive 2
			SpawnCount 2
			WaitBeforeStarting 45
			WaitBetweenSpawns 15
			TotalCurrency 50		
		
			Squad
			{
				TFBot
				{
					Template YoovyBot_Heavy
					Skill Hard
					Tag special_left
					Tag nav_prefer_front_left
					BehaviorModifiers push
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
			}
		}
		WaveSpawn //WAVE 04f: [GIANT] 1(5) total, 1(5) active,  Heavyweapons + 4 Uber medics (flank main left)
		{
			Name "wave04f"
			Where spawnbot_left
			TotalCount 5
			MaxActive 5
			SpawnCount 5
			WaitForAllSpawned "wave04de"
			WaitBeforeStarting 15
			WaitBetweenSpawns 0
			TotalCurrency 100		
		
			Squad
			{
				TFBot
				{
					Template YoovyBot_Giant_Heavy_Caustic
					CustomEyeGlowColor "255 0 0"
					Skill Expert
					Tag special_left
					BehaviorModifiers push
					Tag nav_prefer_front_left
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
			}
		}
		WaveSpawn //WAVE 04g: [GIANT] 1(5) total, 1(5) active,  Heavyweapons + 4 Uber medics (flank main right)
		{
			Name "wave04g"
			Where spawnbot
			TotalCount 5
			MaxActive 5
			SpawnCount 5
			WaitForAllSpawned "wave04de"
			WaitBeforeStarting 15
			WaitBetweenSpawns 0
			TotalCurrency 100		
		
			Squad
			{
				TFBot
				{
					Template YoovyBot_Giant_Heavy_Caustic
					CustomEyeGlowColor "255 0 0"
					Skill Expert
					Tag special_right
					Tag nav_prefer_front_right
					BehaviorModifiers push
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
			}
		}
	}	
	//WAVE 5 //Currency 800 ///////////////////////////////////////////////////////////////////////////////////////////////////////
	Wave
	{
		StartWaveOutput
			{
				Target wave_start_relay
				Action Trigger
			}
		DoneOutput					
			{
				Target wave_finished_relay
				Action trigger
			}
		WaitWhenDone 65
		Checkpoint Yes

		// Sniper mission - 6 active (Sydney Sleeper)
		
		WaveSpawn //WAVE 05a: 112 total, 16 active,  Demoman (Eyelander, Chage N Targe)
		{
			Name "wave05a"
			Where spawnbot
			TotalCount 112
			MaxActive 16
			SpawnCount 8
			WaitBeforeStarting 0
			WaitBetweenSpawns 7
			TotalCurrency 350		
		
			TFBot
			{
				Template YoovyBot_Demoman_Knight
				CustomEyeGlowColor "255 0 0"
				Attributes AlwaysCrit
				Skill Expert
			}
		}
		WaveSpawn //WAVE 05b: [GIANT] 3(6) total, 2(4) active,  Soldier (rapid fire) + Uber medic (flank main left)
		{
			Name "wave05b"
			Where spawnbot_left
			TotalCount 6
			MaxActive 4
			SpawnCount 2
			WaitBeforeStarting 30
			WaitBetweenSpawns 60
			TotalCurrency 100		
		
			Squad
			{
				TFBot
				{
					Template YoovyBot_Giant_Soldier_RapidFire_Caustic
					CustomEyeGlowColor "255 0 0"
					Skill Expert
					Tag special_left
					BehaviorModifiers push
					Tag nav_prefer_front_left
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
			}
		}
		WaveSpawn //WAVE 05c: [GIANT] 3(6) total, 2(4) active,  Soldier (rapid fire) + Uber medic (flank main right)
		{
			Name "wave05c"
			Where spawnbot
			TotalCount 6
			MaxActive 4
			SpawnCount 2
			WaitBeforeStarting 30
			WaitBetweenSpawns 50
			TotalCurrency 100		
		
			Squad
			{
				TFBot
				{
					Template YoovyBot_Giant_Soldier_RapidFire_Caustic
					CustomEyeGlowColor "255 0 0"
					Skill Expert
					Tag special_right
					BehaviorModifiers push
					Tag nav_prefer_front_right
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
			}
		}
		WaveSpawn //WAVE 05d: [GIANT] 4 total, 1 active,  Scout (fast)
		{
			Name "wave05d"
			Where spawnbot
			TotalCount 4
			MaxActive 4
			SpawnCount 1
			WaitBeforeStarting 60
			WaitBetweenSpawns 37
			TotalCurrency 50		
		
			TFBot
			{
				Template YoovyBot_Giant_Scout_Fast_Caustic
				CustomEyeGlowColor "0 255 0"
				Skill Easy
			}
		}
		WaveSpawn //WAVE 05e: [GIANT] 6 total, 6 active,  Scout (fast)
		{
			Name "wave05e"
			Where spawnbot
			TotalCount 6
			MaxActive 6
			SpawnCount 1
			WaitForAllSpawned "wave05d"
			WaitBeforeStarting 40
			WaitBetweenSpawns 2
			TotalCurrency 40		
		
			TFBot
			{
				Template YoovyBot_Giant_Scout_Fast_Caustic
				CustomEyeGlowColor "0 255 0"
				Skill Easy
			}
		}

	}		
	//WAVE 6 //Currency 700 ///////////////////////////////////////////////////////////////////////////////////////////////////////
	Wave
	{
		StartWaveOutput
			{
				Target wave_start_relay
				Action Trigger
			}
		DoneOutput					
			{
				Target wave_finished_relay
				Action trigger
			}
		WaitWhenDone 65
		Checkpoint Yes
		
		WaveSpawn //WAVE 06a: 36 total, 18 active,  Scout
		{
			Name "wave06a"
			Where spawnbot
			TotalCount 36
			MaxActive 18
			SpawnCount 18
			WaitBeforeStarting 0
			WaitBetweenSpawns 10
			TotalCurrency 300		
		
			RandomChoice
			{
				TFBot
				{
					Template YoovyBot_Scout
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Scout
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Scout_Caustic
					Skill Hard
				}
			}

		}
		WaveSpawn //WAVE 06b: [GIANT] 4(8) total, 2(4) active,  Heavyweapons (Deflector) + Giant Medic
		{
			Name "wave06b"
			Where spawnbot_left
			TotalCount 8
			MaxActive 4
			SpawnCount 2
			WaitBeforeStarting 5
			WaitBetweenSpawns 20
			TotalCurrency 100		
		
			Squad
			{
				TFBot
				{
					Template YoovyBot_Giant_Heavy_Deflector_Caustic
					CustomEyeGlowColor "255 0 0"
					Skill Expert
				}
				TFBot
				{
					Template YoovyBot_Giant_Medic_QF_Popping
					CustomEyeGlowColor "255 0 0"
					Skill Expert
				}
			}
		}
		WaveSpawn //WAVE 06c: [GIANT] 5 total, 5 active,  Scout
		{
			Name "wave06c"
			Where spawnbot
			TotalCount 6
			MaxActive 6
			SpawnCount 2
			WaitForAllDead "wave06a"
			WaitBeforeStarting 0
			WaitBetweenSpawns 25
			TotalCurrency 200		
		
			TFBot
			{
				Template YoovyBot_Giant_Scout_Fast_Caustic
				CustomEyeGlowColor "0 255 0"
				Skill Easy
			}
		}
		WaveSpawn //WAVE 06d: 36 total, 12 active,  Soldier
		{
			Name "wave06d"
			Where spawnbot
			TotalCount 24
			MaxActive 12
			SpawnCount 12
			WaitForAllDead "wave06a"
			WaitBeforeStarting 5
			WaitBetweenSpawns 0
			TotalCurrency 100		
		
			RandomChoice
			{
				TFBot
				{
					Template YoovyBot_Soldier
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Soldier_Caustic
					Skill Hard
				}
			}
		}
	}	
	//WAVE 7 //Currency 1250 ///////////////////////////////////////////////////////////////////////////////////////////////////////
	Wave
	{
		StartWaveOutput
			{
				Target wave_start_relay
				Action Trigger
			}
		DoneOutput					
			{
				Target wave_finished_relay
				Action trigger
			}
		WaitWhenDone 65
		Checkpoint Yes

		// Sniper mission - 4 active (Sydney Sleeper)
		
		WaveSpawn
		{
			Name W7_01_TANK_HEALTH
			FirstSpawnOutPut
			{
				Target wave_start_relay
				Action RunScriptCode
				Param "
				ClientPrint(null,3,`\x0799CCFFA Tank has arrived with \x07ffffff20,000 \x0799CCFFHP!`)
				"
			}
		}
		WaveSpawn
		{
			Name W7_01_TANK_HEALTH
			WaitBeforeStarting 30
			FirstSpawnOutPut
			{
				Target wave_start_relay
				Action RunScriptCode
				Param "
				ClientPrint(null,3,`\x0799CCFFA Tank has arrived with \x07ffffff20,000 \x0799CCFFHP!`)
				"
			}
		}
		WaveSpawn
		{
			Name W7_01_TANK_HEALTH
			WaitBeforeStarting 60
			FirstSpawnOutPut
			{
				Target wave_start_relay
				Action RunScriptCode
				Param "
				ClientPrint(null,3,`\x0799CCFFA Tank has arrived with \x07ffffff20,000 \x0799CCFFHP!`)
				"
			}
		}
		WaveSpawn
		{
			Name W4_01_TANK_HEALTH
			WaitBeforeStarting 90
			FirstSpawnOutPut
			{
				Target wave_start_relay
				Action RunScriptCode
				Param "
				ClientPrint(null,3,`\x0799CCFFA Tank has arrived with \x07ffffff20,000 \x0799CCFFHP!`)
				"
			}
		}
		WaveSpawn
		{
			Name W7_01_TANK_HEALTH
			WaitBeforeStarting 120
			FirstSpawnOutPut
			{
				Target wave_start_relay
				Action RunScriptCode
				Param "
				ClientPrint(null,3,`\x0799CCFFA Tank has arrived with \x07ffffff20,000 \x0799CCFFHP!`)
				"
			}
		}
		WaveSpawn
		{
			Name W7_01_TANK_HEALTH
			WaitBeforeStarting 150
			FirstSpawnOutPut
			{
				Target wave_start_relay
				Action RunScriptCode
				Param "
				ClientPrint(null,3,`\x0799CCFFA Tank has arrived with \x07ffffff20,000 \x0799CCFFHP!`)
				"
			}
		}
		WaveSpawn //WAVE 07a: [TANK]  
		{
			Name "wave07a"
			TotalCount 3
			WaitBeforeStarting 0
			WaitBetweenSpawns 60
			TotalCurrency 300
			
			FirstSpawnOutput                                                                                                                                                            
			
			{
				 Target boss_spawn_relay                                            
				 Action Trigger                         
			}

			Tank
			{
				Health 20000
				Speed 75
				Name "tankboss"
				StartingPathTrackNode "tank_path_b1"

				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}			
		}
		WaveSpawn //WAVE 07a: [TANK]  
		{
			Name "wave07a"
			TotalCount 3
			WaitBeforeStarting 30
			WaitBetweenSpawns 60
			TotalCurrency 200
			
			FirstSpawnOutput                                                                                                                                                            
			
			{
				 Target boss_spawn_relay                                            
				 Action Trigger                         
			}

			Tank
			{
				Health 20000
				Speed 75
				Name "tankboss"
				StartingPathTrackNode "tank_path_a1"

				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}			
		}
		WaveSpawn //WAVE 07b: 54 total, 6 active,  Scout + Medic squad 
		{
			Name "wave07c"
			Where spawnbot
			TotalCount 54
			MaxActive 6
			SpawnCount 4
			WaitBeforeStarting 0
			WaitBetweenSpawns 5
			TotalCurrency 300	

			Squad
			{
				TFBot
				{
					Template YoovyBot_Scout_Caustic
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Medic_Uber_Quick
					Skill Hard
				}
			}
		}
		WaveSpawn //WAVE 07c: 36 total, 12 active,  Heavyweapons + Huntsman squad (Flank main left)
		{
			Name "wave07cd"
			Where spawnbot
			TotalCount 36
			MaxActive 12
			SpawnCount 6
			WaitBeforeStarting 60
			WaitBetweenSpawns 15
			TotalCurrency 200	

			Squad
			{
				FormationSize 225
				
				TFBot
				{
					Template YoovyBot_Heavy_Caustic
					Skill Hard
					Tag special_left
					Tag nav_prefer_front_left
				}
				TFBot
				{
					Template YoovyBot_Heavy_Caustic
					Skill Hard
					Tag special_left
					Tag nav_prefer_front_left
				}
				TFBot
				{
					Template YoovyBot_Heavy_Caustic
					Skill Hard
					Tag special_left
					Tag nav_prefer_front_left
				}
				TFBot
				{
					Template YoovyBot_Sniper_Huntsman_RapidFire
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Sniper_Huntsman_RapidFire
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Sniper_Huntsman_RapidFire
					Skill Hard
				}
			}
		}
		WaveSpawn //WAVE 07d: 36 total, 12 active,  Heavyweapons + Huntsman squad (Flank main right)
		{
			Name "wave07cd"
			Where spawnbot
			TotalCount 36
			MaxActive 12
			SpawnCount 6
			WaitBeforeStarting 60
			WaitBetweenSpawns 15
			TotalCurrency 200	

			Squad
			{
				FormationSize 175
				
				TFBot
				{
					Template YoovyBot_Heavy_Caustic
					Skill Hard
					Tag special_right
					Tag nav_prefer_front_right
				}
				TFBot
				{
					Template YoovyBot_Heavy_Caustic
					Skill Hard
					Tag special_right
					Tag nav_prefer_front_right
				}
				TFBot
				{
					Template YoovyBot_Heavy_Caustic
					Skill Hard
					Tag special_right
					Tag nav_prefer_front_right
				}
				TFBot
				{
					Template YoovyBot_Sniper_Huntsman_RapidFire
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Sniper_Huntsman_RapidFire
					Skill Hard
				}
				TFBot
				{
					Template YoovyBot_Sniper_Huntsman_RapidFire
					Skill Hard
				}
			}
		}
		WaveSpawn //WAVE 07e: 12 total, 12 active,  Soldier (eternal buff banner squad) 
		{
			Name "wave07e"
			Where spawnbot
			TotalCount 12
			MaxActive 12
			SpawnCount 6
			WaitForAllSpawned "wave07cd"
			WaitBeforeStarting 0
			WaitBetweenSpawns 10
			TotalCurrency 50	

			TFBot
			{
				Template YoovyBot_Soldier_DirectHit_Buff_Ext
				CustomEyeGlowColor "255 0 0"
				Skill Expert
			}
		}
		WaveSpawn //WAVE 07f: [GIANT] 1 total, 1 active,  Heavyweapons (Flank main right)
		{
			Name "wave07f"
			Where spawnbot
			TotalCount 3
			MaxActive 3
			SpawnCount 3
			WaitForAllSpawned "wave07e"
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			TotalCurrency 50		
		
			Squad
			{
				TFBot
				{
					Template YoovyBot_Giant_Heavy_Caustic
					CustomEyeGlowColor "255 0 0"
					Skill Expert
					Tag special_left
					Tag nav_prefer_front_left
					BehaviorModifiers push
				}
				TFBot
				{
					Template YoovyBot_Soldier_DirectHit_Buff_Ext
					CustomEyeGlowColor "255 0 0"
					Skill Expert
				}
				TFBot
				{
					Template YoovyBot_Soldier_DirectHit_Buff_Ext
					CustomEyeGlowColor "255 0 0"
					Skill Expert
				}
			}
		}
		WaveSpawn //WAVE 07g: [GIANT] 1 total, 1 active,  Heavyweapons (Flank main left)
		{
			Name "wave07g"
			Where spawnbot
			TotalCount 3
			MaxActive 3
			SpawnCount 3
			WaitForAllSpawned "wave07e"
			WaitBeforeStarting 5
			WaitBetweenSpawns 0
			TotalCurrency 50		
		
			Squad
			{
				TFBot
				{
					Template YoovyBot_Giant_Heavy_Caustic
					CustomEyeGlowColor "255 0 0"
					Skill Expert
					Tag special_right
					Tag nav_prefer_front_right
					BehaviorModifiers push
				}
				TFBot
				{
					Template YoovyBot_Soldier_DirectHit_Buff_Ext
					CustomEyeGlowColor "255 0 0"
					Skill Expert
				}
				TFBot
				{
					Template YoovyBot_Soldier_DirectHit_Buff_Ext
					CustomEyeGlowColor "255 0 0"
					Skill Expert
				}
			}
		}		
		WaveSpawn //WAVE 07h: [GIANT] 1 total, 1 active,  Heavyweapons (Flank high right)
		{
			Name "wave07h"
			Where spawnbot
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			WaitForAllSpawned "wave07e"
			WaitBeforeStarting 10
			WaitBetweenSpawns 0
			TotalCurrency 50		
		
			Squad
			{
				TFBot
				{
					Template YoovyBot_Giant_Heavy_Caustic
					CustomEyeGlowColor "255 0 0"
					Skill Expert
					Tag nav_prefer_flank_right
					Tag nav_prefer_front_right
					BehaviorModifiers push
				}
				TFBot
				{
					Template YoovyBot_Soldier_DirectHit_Buff_Ext
					CustomEyeGlowColor "255 0 0"
					Skill Expert
				}
				TFBot
				{
					Template YoovyBot_Soldier_DirectHit_Buff_Ext
					CustomEyeGlowColor "255 0 0"
					Skill Expert
				}
			}
		}		
		WaveSpawn //WAVE 07i: [GIANT] 1 total, 1 active,  Heavyweapons (Flank high left)
		{
			Name "wave07i"
			Where spawnbot
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			WaitForAllSpawned "wave07e"
			WaitBeforeStarting 15
			WaitBetweenSpawns 0
			TotalCurrency 50		
			Squad
			{
				TFBot
				{
					Template YoovyBot_Giant_Heavy_Caustic
					Skill Expert
					Tag nav_prefer_flank_left
					Tag nav_prefer_front_left
					BehaviorModifiers push
				}
				TFBot
				{
					Template YoovyBot_Soldier_DirectHit_Buff_Ext
					CustomEyeGlowColor "255 0 0"
					Skill Expert
				}
				TFBot
				{
					Template YoovyBot_Soldier_DirectHit_Buff_Ext
					CustomEyeGlowColor "255 0 0"
					Skill Expert
				}
			}
		}
		WaveSpawn
		{
			Name W7_02_TANK_HEALTH
			WaitForAllSpawned "wave07e"
			WaitBeforeStarting 15
			FirstSpawnOutPut
			{
				Target wave_start_relay
				Action RunScriptCode
				Param "
				ClientPrint(null,3,`\x0799CCFFThe final Tank has arrived with \x07ffffff45,000 \x0799CCFFHP!`)
				"
			}
		}
		WaveSpawn //WAVE 07j: [FINAL TANK]  
		{
			Name "wave07j"
			TotalCount 1
			WaitForAllSpawned "wave07e"
			WaitBeforeStarting 15
			WaitBetweenSpawns 0
			TotalCurrency 0
			
			FirstSpawnOutput                                                                                                                                                            
			
			{
				 Target boss_spawn_relay                                            
				 Action Trigger                         
			}

			Tank
			{
				Health 45000
				Speed 75
				Name "tankboss"
				Skin 1
				StartingPathTrackNode "tank_path_b1"

				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}	
		}
	}		
}