#base robot_standard.pop
#base robot_giant.pop

//A Spawn: spawnbot_g2s1b, spawnbot_g2s1_alt, spawnbot_g2s1a
//B Spawn: spawnbot_g2s0b, spawnbot_g2s0_alt
//B lower Spawn: spawnbot_g2s0a
//gonna use all this space to complain about the spawnbot names, why in the fuck are they called that
//ok just realized its because g2s1a, gate 2, stage 1, a
//...
//that is still stupid

WaveSchedule
{
    StartingCurrency 600
    CanBotsAttackWhileInSpawnRoom No
    RespawnWaveTime 3

    Templates
    {
        T_TFBot_Medic_Shield
        {
            Name    "Shield Medic"
            Template T_TFBot_Medic_Quickfix
            ClassIcon    medic_shield
            Skill        Expert
            Item "The Quick-Fix"
            Attributes   SpawnWithFullCharge
            Attributes   ProjectileShield
            Attributes   IgnoreEnemies
            WeaponRestrictions    SecondaryOnly
            ItemAttributes
            {
                ItemName "The Quick-Fix"
                "generate rage on heal"  1 // Level 1 Projectile Shield
                "increase buff duration" 2
                "uber duration bonus" -8
            }
        }
        T_TFBot_Giant_Medic_Shield
        {
            Name    "Giant Shield Medic"
            Template T_TFBot_Giant_Medic_Regen
            ClassIcon    medic_shield
            Skill        Expert
            Item "The Quick-Fix"
            Attributes   SpawnWithFullCharge
            Attributes   ProjectileShield
            Attributes   IgnoreEnemies
            WeaponRestrictions    SecondaryOnly
            ItemAttributes
            {
                ItemName "The Quick-Fix"
                "generate rage on heal"  1 // Level 1 Projectile Shield
                "increase buff duration" 2
                "uber duration bonus" -8
            }
        }
        T_TFBot_Medic_Kritz
		{
			Name    "Kritz Medic"
			Template T_TFBot_Medic
			ClassIcon    medic_kritz
			Skill        Expert
			Item "The KritzKrieg"
			Attributes   IgnoreEnemies
			WeaponRestrictions    SecondaryOnly
			ItemAttributes
			{
				ItemName "The KritzKrieg"
				"uber duration bonus" 9999
			}
			CharacterAttributes
			{
                "bot medic uber health threshold" 5000
            }
		}
		T_TFBot_Medic_Kritz_Armored
		{
			Name    "Kritz Medic"
			Template T_TFBot_Medic
			ClassIcon    medic_kritz_armored
			Skill        Expert
			Scale 1.3
			Health 600
			Item "The KritzKrieg"
			Attributes   IgnoreEnemies
			WeaponRestrictions    SecondaryOnly
			ItemAttributes
			{
				ItemName "The KritzKrieg"
				"uber duration bonus" 9999
			}
			CharacterAttributes
			{
                "bot medic uber health threshold" 5000
            }
		}
		T_TFBot_Medic_Armored_Uber
		{
			Name    "Uber Medic"
			Template T_TFBot_Medic
			ClassIcon    medic_uber_armored
			Skill        Expert
			Scale 1.3
			Health 600
			Attributes   IgnoreEnemies
			WeaponRestrictions    SecondaryOnly
			ItemAttributes
			{
				ItemName "TF_WEAPON_MEDIGUN"
				"uber duration bonus" -3
			}
			CharacterAttributes
            {
                "bot medic uber health threshold" 200
            }
		}
		T_TFBot_Medic_Armored
		{
			Name    "Biggest-Heal Medic"
			Template T_TFBot_Medic_Bigheal
			ClassIcon    medic_armored
			Skill        Expert
			Scale 1.3
			Health 600
			Attributes   IgnoreEnemies
			WeaponRestrictions    SecondaryOnly
		}
		T_TFBot_Medic_Giant_Kritz
		{
			Name    "Kritz Medic"
			Template T_TFBot_Giant_Medic
			ClassIcon    medic_kritz
			Skill        Expert
			Item "The KritzKrieg"
			Attributes   IgnoreEnemies
			WeaponRestrictions    SecondaryOnly
			ItemAttributes
			{
				ItemName "The KritzKrieg"
				"uber duration bonus" 9999
			}
			CharacterAttributes
			{
                "bot medic uber health threshold" 5000
            }
		}
        T_TFBot_Pyro_Phlog
        {
            Name "Phlog Pyro"
            Template T_TFBot_Pyro
            ClassIcon "pyro_phlog"
            Skill Expert
            Item "The Phlogistinator"
            ItemAttributes
            {
                ItemName "The Phlogistinator"
                "airblast disable" 0
            }
        }
        T_TFBot_Giant_Pyro_Fury
        {
            Name "Fury Pyro"
            Template T_TFBot_Giant_Pyro
            ClassIcon "pyro_dragonfury_giant"
            Skill Expert
            Item "The Dragon's Fury"
        }
        T_TFBot_Pyro_Fury
        {
            Name "Fury Pyro"
            Template T_TFBot_Pyro
            ClassIcon "pyro_dragonfury"
            Skill Expert
            Item "The Dragon's Fury"
        }
        T_TFBot_Soldier_Bison
        {
            Name "Bison Soldier"
            Class Soldier
            WeaponRestrictions SecondaryOnly
            Skill Expert
            Item "The Righteous Bison"
            ClassIcon soldier_bison
        }
        T_TFBot_Extended_DH
        {
            Name "Extended Buff Direct Hit"
            Template T_TFBot_Soldier_Extended_Buff_Banner
            Item "The Direct Hit"
            Skill Expert
            ClassIcon soldier_directhit_buff_lite
        }
        T_TFBot_Giant_Huntsman_Spammer
        {
            Template T_TFBot_Sniper_Huntsman_Spammer
            Tag "bot_giant"
            Attributes MiniBoss
            ClassIcon sniper_bow_multi_giant
            Scale 1.7
            Health 3300
            ItemAttributes
            {
                ItemName "The Huntsman"
                "fire rate bonus" 0.5
            }
            CharacterAttributes
            {
                "move speed bonus" 0.5
                "head scale" 0.6
                "damage force reduction" 0.4
                "airblast vulnerability multiplier" 0.2
                "airblast vertical vulnerability multiplier" 0.5
                "override footstep sound set" 7
            }
        }
        T_TFBot_Giant_Gauntlet
        {
            Template T_TFBot_Heavyweapons_Fist
            Skill Expert
            Attributes MiniBoss
            Item "The Fists of Steel"
            Health 5000
            Scale 1.7
            ItemAttributes
            {
                ItemName "The Fists of Steel"
                "damage bonus" 2
            }
            CharacterAttributes
            {
                "move speed bonus" 0.35
                "head scale" 0.6
                "damage force reduction" 0.4
                "airblast vulnerability multiplier" 0.2
                "airblast vertical vulnerability multiplier" 0.5
                "override footstep sound set" 7
            }
        }
        T_TFBot_Giant_Soldier_Laser_Spammer
        {
            Class Soldier
            Name "Giant Laser Soldier"
            Item    "tf_weapon_rocketlauncher"
            ClassIcon soldier_bison_spammer
            Skill Expert
            Health 4200
            Attributes MiniBoss
            Item "Exquisite Rack"
            Item    "tyrantium helmet"
            ItemAttributes
            {
                ItemName    "tf_weapon_rocketlauncher"
                "override projectile type" 13
                "energy weapon penetration" 1
                "set item tint RGB"    10027263
                "fire rate bonus" 0.05
                "faster reload rate"    0.05
                "clip size upgrade atomic"    -3
                "projectile penetration" 1
            }
            ItemAttributes
            {
                ItemName    "tyrantium helmet"
                "set item tint RGB"    10027263
            }
            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.4
            }
        }
    }
    Mission // Buster
    {
		Objective	DestroySentries
		Where spawnbot_g2s0a
        Where spawnbot_g2s0b
        Where spawnbot_g2s0_alt
		BeginAtWave	1
		RunForThisManyWaves 6
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_SentryBuster
		}
	}
	Mission // Spy - wave 2-4
	{
		Objective Spy

		InitialCooldown 30
		Where spawnbot_g2s0a
        Where spawnbot_g2s0b
        Where spawnbot_g2s0_alt
		BeginAtWave 3
		RunForThisManyWaves 3
		CooldownTime 30
		DesiredCount 2

		TFBot
		{
			Class Spy
			Skill Expert
			Name Spy
		}
	}
    Wave // Wave 1
	{
        WaitWhenDone 60
		Checkpoint Yes

		StartWaveOutput
		{
			Target wave_start_relayB_twobomb
			Action Trigger
		}
		InitWaveOutput
		{
			Target initB
			Action Trigger
		}
		WaveSpawn
		{
            Name W1_01
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 50
            TotalCount 20
            MaxActive 10
            SpawnCount 1
            WaitBeforeStarting 0
            WaitBetweenSpawns 2
            TFBot
            {
                Class Soldier
                Skill Expert
            }
        }
        WaveSpawn
		{
            Name W1_02
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 50
            TotalCount 20
            MaxActive 10
            SpawnCount 1
            WaitBeforeStarting 5
            WaitForAllSpawned W1_01
            WaitBetweenSpawns 1.9
            TFBot
            {
                Class Soldier
                Skill Expert
            }
        }
        WaveSpawn
		{
            Name W1_01
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 100
            TotalCount 6
            MaxActive 6
            SpawnCount 3
            WaitBeforeStarting 0
            WaitBetweenSpawns 20
            Squad
            {
                TFBot
                {
                    Template T_TFBot_Giant_Pyro
                    Skill Expert
                    ItemAttributes
                    {
                        ItemName "TF_WEAPON_FLAMETHROWER"
                        "airblast disable" 0
                    }
                }
                TFBot
                {
                    Template T_TFBot_Medic_QuickUber
                }
                TFBot
                {
                    Template T_TFBot_Medic_QuickUber
                }
            }
        }
        WaveSpawn
		{
            Name W1_01
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 50
            TotalCount 12
            MaxActive 5
            SpawnCount 1
            WaitBeforeStarting 3
            WaitBetweenSpawns 3
            TFBot
            {
                Template T_TFBot_Scout_Bonk
                Attributes AlwaysCrit
            }
        }
        WaveSpawn
		{
            Name W1_02
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 50
            TotalCount 24
            MaxActive 10
            SpawnCount 1
            WaitBeforeStarting 3
            WaitForAllSpawned W1_01
            WaitBetweenSpawns 2
            TFBot
            {
                Template T_TFBot_Demoman_Knight
            }
        }
        WaveSpawn
		{
            Name W1_02
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 100
            TotalCount 6
            MaxActive 4
            SpawnCount 3
            WaitBeforeStarting 15
            WaitForAllSpawned W1_01
            WaitBetweenSpawns 15
            Squad
            {
                TFBot
                {
                    Template T_TFBot_Giant_Demoman
                }
                TFBot
                {
                    Template T_TFBot_Medic_Armored
                }
                TFBot
                {
                    Template T_TFBot_Medic_Armored
                }
            }
        }
        WaveSpawn
		{
            Name W1_02
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 0
            TotalCount 100
            MaxActive 4
            SpawnCount 1
            WaitBeforeStarting 10
            WaitForAllSpawned W1_01
            WaitBetweenSpawns 6
            Support 1
            TFBot
            {
                Template T_TFBot_Soldier_Extended_Buff_Banner
            }
        }
    }
    Wave // Wave 2
	{
        WaitWhenDone 60
		Checkpoint Yes

		StartWaveOutput
		{
			Target wave_start_relayB_twobomb
			Action Trigger
		}
		InitWaveOutput
		{
			Target initB
			Action Trigger
        }
		WaveSpawn
		{
            Name W2_01
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 50
            TotalCount 2
            MaxActive 2
            SpawnCount 2
            WaitBeforeStarting 0
            Squad
            {
                TFBot
                {
                    Template T_TFBot_Giant_Heavyweapons
                    Skill Hard
                }
                TFBot
                {
                    Template T_TFBot_Giant_Medic_Shield
                }
            }
        }
        WaveSpawn
		{
            Name W2_01
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 50
            TotalCount 2
            MaxActive 1
            SpawnCount 1
            WaitBeforeStarting 1
            TFBot
            {
                Template T_TFBot_Giant_Scout_Bonk
            }
        }
        WaveSpawn
		{
            Name W2_01
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 50
            TotalCount 15
            MaxActive 6
            SpawnCount 3
            WaitBeforeStarting 6
            WaitBetweenSpawns 5
            TFBot
            {
                Class Heavy
                Skill Easy
            }
        }
        WaveSpawn
		{
            Name W2_01
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 0
            TotalCount 12
            MaxActive 8
            SpawnCount 2
            WaitBeforeStarting 2
            WaitBetweenSpawns 3
            TFBot
            {
                Template T_TFBot_Heavyweapons_Gnome
            }
        }
        WaveSpawn
		{
            Name W2_02
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 100
            TotalCount 28
            MaxActive 8
            SpawnCount 4
            WaitBeforeStarting 7
            WaitForAllSpawned W2_01
            WaitBetweenSpawns 7
            Squad
            {
                TFBot
                {
                    Template T_TFBot_Heavyweapons_Fist
                    ClassIcon heavy_steelfist_armored
                    Attributes AlwaysCrit
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
                TFBot
                {
                    Template T_TFBot_Heavyweapons_Shotgun
                    Skill Expert
                }
                TFBot
                {
                    Template T_TFBot_Heavyweapons_Shotgun
                    Skill Expert
                }
            }
        }
        WaveSpawn
		{
            Name W2_02
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 50
            TotalCount 6
            MaxActive 4
            SpawnCount 3
            WaitBeforeStarting 20
            WaitForAllSpawned W2_01
            WaitBetweenSpawns 20
            Squad
            {
                TFBot
                {
                    Template T_TFBot_Giant_Demoman_PrinceTavish
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
            }
        }
        WaveSpawn
		{
            Name W2_02
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 50
            TotalCount 3
            MaxActive 3
            SpawnCount 1
            WaitBeforeStarting 12
            WaitForAllSpawned W2_01
            WaitBetweenSpawns 22
            TFBot
            {
                Template T_TFBot_Giant_Soldier_Spammer_Reload
            }
        }
        WaveSpawn
		{
            Name W2_02
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 25
            TotalCount 20
            MaxActive 8
            SpawnCount 1
            WaitBeforeStarting 7
            WaitForAllSpawned W2_01
            WaitBetweenSpawns 3
            TFBot
            {
                Template T_TFBot_Heavyweapons_Fist
                Scale 1
                Health 300
            }
        }
        WaveSpawn
		{
            Name W2_Support
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 25
            TotalCount 25
            MaxActive 8
            SpawnCount 1
            WaitBeforeStarting 7
            WaitForAllSpawned W2_02
            WaitBetweenSpawns 6
            Support 1
            TFBot
            {
                Class Pyro
                Attributes AlwaysFireWeapon
                Skill Easy
            }
        }
    }
    Wave // Wave 3
	{
        WaitWhenDone 60
		Checkpoint Yes

		StartWaveOutput
		{
			Target wave_start_relayB_twobomb
			Action Trigger
		}
		InitWaveOutput
		{
			Target initB
			Action Trigger
		}
		WaveSpawn
		{
            Name W3_01
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 50
            TotalCount 3
            MaxActive 2
            SpawnCount 1
            WaitBeforeStarting 0
            WaitBetweenSpawns 20
            TFBot
            {
                Template T_TFBot_Giant_Scout
                ClassIcon scout_fish_nys
                WeaponRestrictions MeleeOnly
                Attributes AlwaysCrit
                Item "The Holy Mackerel"
                Health 1200
            }
        }
        WaveSpawn
		{
            Name W3_01
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 50
            TotalCount 3
            MaxActive 2
            SpawnCount 1
            WaitBeforeStarting 0.5
            WaitBetweenSpawns 20
            TFBot
            {
                Template T_TFBot_Giant_Scout
                ClassIcon scout_fish_nys
                WeaponRestrictions MeleeOnly
                Attributes AlwaysCrit
                Item "The Holy Mackerel"
                Health 1000
            }
        }
        WaveSpawn
		{
            Name W3_01
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 50
            TotalCount 36
            MaxActive 8
            SpawnCount 1
            WaitBeforeStarting 2
            WaitBetweenSpawns 1.25
            TFBot
            {
                Template T_TFBot_Soldier_Extended_Concheror
            }
        }
        WaveSpawn
		{
            Name W3_01
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 50
            TotalCount 16
            MaxActive 6
            SpawnCount 1
            WaitBeforeStarting 0
            WaitBetweenSpawns 3
            TFBot
            {
                Template T_TFBot_Demo_Burst
            }
        }
        WaveSpawn
		{
            Name W3_01
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 75
            TotalCount 3
            MaxActive 2
            SpawnCount 1
            WaitBeforeStarting 0.1
            WaitBetweenSpawns 18
            TFBot
            {
                Template T_TFBot_Giant_Gauntlet
            }
        }
        WaveSpawn
		{
            Name W3_02
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 75
            TotalCount 12
            MaxActive 6
            SpawnCount 3
            WaitBeforeStarting 0
            WaitForAllSpawned W3_01
            WaitBetweenSpawns 16
            Squad
            {
                TFBot
                {
                    Template T_TFBot_Giant_Demo_Burst
                }
                TFBot
                {
                    Template T_TFBot_Medic_QuickUber
                }
                TFBot
                {
                    Template T_TFBot_Medic_QuickUber
                }
            }
        }
        WaveSpawn
		{
            Name W3_02
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 100
            TotalCount 5
            MaxActive 3
            SpawnCount 1
            WaitBeforeStarting 0
            WaitForAllSpawned W3_01
            WaitBetweenSpawns 12
            TFBot
            {
                Template T_TFBot_Giant_Heavyweapons_Shotgun
            }
        }
        WaveSpawn
		{
            Name W3_02
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 100
            TotalCount 25
            MaxActive 10
            SpawnCount 1
            WaitBeforeStarting 0
            WaitForAllSpawned W3_01
            WaitBetweenSpawns 2.5
            Support 1
            TFBot
            {
                Template T_TFBot_Pyro_Phlog
            }
        }
    }
    Wave // Wave 4
	{
        WaitWhenDone 60
		Checkpoint Yes

		StartWaveOutput
		{
			Target wave_start_relayB_twobomb
			Action Trigger
		}
		InitWaveOutput
		{
			Target initB
			Action Trigger
		}
		WaveSpawn
		{
            Name W4_01
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 50
            TotalCount 4
            MaxActive 3
            SpawnCount 1
            WaitBeforeStarting 0
            WaitBetweenSpawns 16
            TFBot
            {
                Template T_TFBot_Giant_Soldier_Extended_Buff_Banner
            }
        }
        WaveSpawn
		{
            Name W4_01
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 50
            TotalCount 24
            MaxActive 8
            SpawnCount 2
            WaitBeforeStarting 4
            WaitBetweenSpawns 5
            TFBot
            {
                Template T_TFBot_Soldier_Bison
            }
        }
        WaveSpawn
		{
            Name W4_Bison
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 50
            TotalCount 25
            MaxActive 5
            SpawnCount 1
            WaitBeforeStarting 12
            WaitForAllSpawned W4_01
            WaitBetweenSpawns 2
            Support 1
            TFBot
            {
                Template T_TFBot_Soldier_Bison
            }
        }
        WaveSpawn
		{
            Name W4_02
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 50
            TotalCount 32
            MaxActive 8
            SpawnCount 1
            WaitBeforeStarting 0
            WaitBetweenSpawns 2
            TFBot
            {
                Template T_TFBot_Pyro_Fury
            }
        }
        WaveSpawn
		{
            Name W4_02
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 100
            TotalCount 5
            MaxActive 3
            SpawnCount 1
            WaitBeforeStarting 5
            WaitBetweenSpawns 10
            TFBot
            {
                Template T_TFBot_Giant_Soldier_Spammer
            }
        }
        WaveSpawn
		{
            Name W4_03
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 100
            TotalCount 6
            MaxActive 6
            SpawnCount 3
            WaitBeforeStarting 7
            WaitForAllSpawned W4_02
            WaitBetweenSpawns 30
            Squad
            {
                TFBot
                {
                    Template T_TFBot_Giant_Soldier_SlowBarrage
                }
                TFBot
                {
                    Template T_TFBot_Medic_Kritz_Armored
                }
                TFBot
                {
                    Template T_TFBot_Medic_Kritz_Armored
                }
            }
        }
        WaveSpawn
		{
            Name W4_04
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 50
            TotalCount 25
            MaxActive 6
            SpawnCount 1
            WaitBeforeStarting 8
            WaitForAllSpawned W4_02
            WaitBetweenSpawns 2
            Support 1
            TFBot
            {
                Class Scout
                Attributes AlwaysCrit
                Skill Normal
            }
        }
        WaveSpawn
		{
            Name W4_04
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 50
            TotalCount 3
            MaxActive 2
            SpawnCount 1
            WaitBeforeStarting 18
            WaitForAllSpawned W4_03
            WaitBetweenSpawns 20
            TFBot
            {
                Template T_TFBot_Giant_Pyro_Fury
                Attributes AlwaysCrit
            }
        }
        WaveSpawn
		{
            Name W4_04
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 50
            TotalCount 3
            MaxActive 2
            SpawnCount 1
            WaitBeforeStarting 20
            WaitForAllSpawned W4_03
            WaitBetweenSpawns 20
            TFBot
            {
                Template T_TFBot_Giant_Pyro_Fury
                Attributes AlwaysCrit
            }
        }
        WaveSpawn
		{
            Name W4_03
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 50
            TotalCount 3
            MaxActive 3
            SpawnCount 1
            WaitBeforeStarting 15
            WaitForAllSpawned W4_02
            WaitBetweenSpawns 26
            TFBot
            {
                Template T_TFBot_Giant_Heavyweapons_Deflector
                Item "Deflector"
            }
        }
    }
    Wave // Wave 5
	{
        WaitWhenDone 60
		Checkpoint Yes

		StartWaveOutput
		{
			Target wave_start_relayB_twobomb
			Action Trigger
		}
		InitWaveOutput
		{
			Target initB
			Action Trigger
		}
		WaveSpawn
		{
            Name BonkW5
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 50
            TotalCount 2
            MaxActive 1
            SpawnCount 1
            WaitBeforeStarting 0
            TFBot
            {
                Template T_TFBot_Giant_Scout_Bonk
            }
        }
        WaveSpawn
		{
            Name BonkW5
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 50
            TotalCount 2
            MaxActive 1
            SpawnCount 1
            WaitBeforeStarting 0
            TFBot
            {
                Template T_TFBot_Giant_Scout_Bonk
            }
        }
        WaveSpawn
		{
            Name W5_01
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 50
            TotalCount 25
            MaxActive 5
            SpawnCount 5
            WaitBeforeStarting 5
            TFBot
            {
                Template T_TFBot_Demoman_Knight
                Attributes AlwaysCrit
            }
        }
        WaveSpawn
		{
            Name W5_01
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 50
            TotalCount 18
            MaxActive 8
            SpawnCount 2
            WaitBeforeStarting 5
            WaitBetweenSpawns 5
            TFBot
            {
                Template T_TFBot_Extended_DH
            }
        }
        WaveSpawn
		{
            Name W5_01
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 50
            TotalCount 3
            MaxActive 3
            SpawnCount 1
            WaitBeforeStarting 12
            WaitBetweenSpawns 16
            TFBot
            {
                Template T_TFBot_Giant_Huntsman_Spammer
            }
        }
        WaveSpawn
		{
            Name W5_01
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 100
            TotalCount 4
            MaxActive 3
            SpawnCount 1
            WaitBeforeStarting 10
            WaitBetweenSpawns 16
            TFBot
            {
                Template T_TFBot_Giant_Heavyweapons_Shotgun
            }
        }
        WaveSpawn
		{
            Name W5_02
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 50
            TotalCount 25
            MaxActive 8
            SpawnCount 2
            WaitBeforeStarting 5
            WaitForAllDead W5_01
            WaitBetweenSpawns 4.5
            Support 1
            Squad
            {
                TFBot
                {
                    Class Scout
                    Skill Expert
                    Attributes AlwaysCrit
                }
                TFBot
                {
                    Class Heavy
                    Skill Normal
                }
            }
        }
        WaveSpawn
		{
            Name W5_02
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 100
            TotalCount 3
            MaxActive 3
            SpawnCount 1
            WaitBeforeStarting 10
            WaitForAllSpawned W5_01
            WaitBetweenSpawns 15
            TFBot
            {
                Template T_TFBot_Giant_Gauntlet
                Attributes AlwaysCrit
            }
        }
        WaveSpawn
		{
            Name W5_02
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 100
            TotalCount 4
            MaxActive 4
            SpawnCount 2
            WaitBeforeStarting 10
            WaitForAllSpawned W5_01
            WaitBetweenSpawns 30
            Squad
            {
                TFBot
                {
                    Template T_TFBot_Giant_Pyro_Fury
                }
                TFBot
                {
                    Template T_TFBot_Giant_Medic_Regen
                }
            }
        }
        WaveSpawn
		{
            Name W5_02
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 100
            TotalCount 25
            MaxActive 6
            SpawnCount 2
            WaitBeforeStarting 10
            WaitForAllSpawned W5_01
            WaitBetweenSpawns 7
            Support 1
            TFBot
            {
                Template T_TFBot_Demo_Burst
            }
        }
    }
    Wave // Wave 6
	{
        WaitWhenDone 60
		Checkpoint Yes

		StartWaveOutput
		{
			Target wave_start_relayB_twobomb
			Action Trigger
		}
		InitWaveOutput
		{
			Target initB
			Action Trigger
		}
		WaveSpawn
		{
            Name W6_01
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 50
            TotalCount 5
            MaxActive 3
            SpawnCount 1
            WaitBeforeStarting 0
            WaitBetweenSpawns 10
            TFBot
            {
                Template T_TFBot_Giant_Soldier_Laser_Spammer
            }
        }
        WaveSpawn
		{
            Name W6_01
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 50
            TotalCount 5
            MaxActive 3
            SpawnCount 1
            WaitBeforeStarting 0
            WaitBetweenSpawns 10
            TFBot
            {
                Template T_TFBot_Giant_Soldier_Laser_Spammer
            }
        }
        WaveSpawn
		{
            Name W6_01
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 50
            TotalCount 32
            MaxActive 8
            SpawnCount 1
            WaitBeforeStarting 2
            WaitBetweenSpawns 2
            TFBot
            {
                Template T_TFBot_Pyro_Fury
                Attributes AlwaysCrit
            }
        }
        WaveSpawn
		{
            Name W6_01
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 250
            TotalCount 24
            MaxActive 8
            SpawnCount 1
            WaitBeforeStarting 4
            WaitBetweenSpawns 2.5
            TFBot
            {
                Template T_TFBot_Soldier_Extended_Concheror
                Skill Expert
            }
        }
        WaveSpawn
		{
            Name W6_02
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 100
            TotalCount 12
            MaxActive 6
            SpawnCount 2
            WaitBeforeStarting 6
            WaitForAllSpawned W6_01
            WaitBetweenSpawns 9
            Squad
            {
                TFBot
                {
                    Template T_TFBot_Giant_Soldier
                    Skill Expert
                    Attributes AlwaysCrit
                }
                TFBot
                {
                    Template T_TFBot_Medic_Armored_Uber
                }
            }
        }
        WaveSpawn
		{
            Name W6_02
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 50
            TotalCount 6
            MaxActive 3
            SpawnCount 1
            WaitBeforeStarting 5
            WaitForAllDead W6_01
            WaitBetweenSpawns 10
            TFBot
            {
                Template T_TFBot_Giant_Scout_Fast
            }
        }
        WaveSpawn
		{
            Name W6_02
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 100
            TotalCount 6
            MaxActive 4
            SpawnCount 2
            WaitBeforeStarting 10
            WaitForAllSpawned W6_01
            WaitBetweenSpawns 25
            Squad
            {
                TFBot
                {
                    Template T_TFBot_Giant_Soldier_SlowBarrage
                    Item "The Buff Banner"
                    Attributes SpawnWithFullCharge
                    ClassIcon soldier_barrage_buff
                    CharacterAttributes
                    {
                        "increase buff duration"	99.0
                    }
                }
                TFBot
                {
                    Template T_TFBot_Medic_Giant_Kritz
                }
            }
        }
        WaveSpawn
		{
            Name W6_02
            Where spawnbot_g2s0a
            Where spawnbot_g2s0b
            Where spawnbot_g2s0_alt
            TotalCurrency 25
            TotalCount 25
            MaxActive 6
            SpawnCount 2
            WaitBeforeStarting 2
            WaitForAllSpawned W6_01
            WaitBetweenSpawns 4
            Support 1
            TFBot
            {
                Class Scout
                Skill Expert
            }
        }
        WaveSpawn
		{
            Name W6_02
            Where spawnbot_g2s1a
            Where spawnbot_g2s1b
            Where spawnbot_g2s1_alt
            TotalCurrency 25
            TotalCount 25
            MaxActive 5
            SpawnCount 2
            WaitBeforeStarting 4
            WaitForAllSpawned W6_01
            WaitBetweenSpawns 6
            Support 1
            TFBot
            {
                Class Soldier
                Skill Expert
            }
        }
    }
}
//this mission is fucking awful
//why did I even have such a fucking horrendous idea
