//Written by Startacker! https://steamcommunity.com/id/startacker/

//This file has been generated by http://mvm.tf
//Copy this file in your tf/scripts/population folder

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

WaveSchedule
{
	StartingCurrency 800
	CanBotsAttackWhileInSpawnRoom No
	RespawnWaveTime 4
	Advanced	1
	
	PointTemplates  
	{
		spawnfix //avoid the giant hole is spawn
		{
			NoFixup 1
			func_respawnroom //bruh1
			{
				"mins" "-192 -414.5 -928"
				"maxs" "192 414.5 928"
				"Origin" "320 609 736"
				"StartDisabled" "0"
				"targetname" "fuck1"
				"TeamNum" "3"
			}
			func_respawnroom //bruh2
			{
				"mins" "-152 -17 -928"
				"maxs" "152 17 928"
				"Origin" "280 177 736"
				"StartDisabled" "0"
				"targetname" "fuck2"
				"TeamNum" "3"
			}
			func_respawnroom //bruh3
			{
				"mins" "-36 -16 -928"
				"maxs" "36 16 928"
				"Origin" "164 144 736"
				"StartDisabled" "0"
				"targetname" "fuck3"
				"TeamNum" "3"
			}
			trigger_add_tf_player_condition //bruh
			{
				"mins" "-192 -414.5 -928"
				"maxs" "192 414.5 928"
				"Origin" "320 609 736"
				"condition" "51"
				"duration" "-1"
				"spawnflags" "1"
				"filtername" "filter_blue"
				"targetname" "fuckall1"
			}
			trigger_add_tf_player_condition //bruh
			{
				"mins" "-152 -17 -928"
				"maxs" "152 17 928"
				"Origin" "280 177 736"
				"condition" "51"
				"duration" "-1"
				"spawnflags" "1"
				"filtername" "filter_blue"
				"targetname" "fuckall2"
			}
			trigger_add_tf_player_condition //bruh
			{
				"mins" "-36 -16 -928"
				"maxs" "36 16 928"
				"Origin" "164 144 736"
				"condition" "51"
				"duration" "-1"
				"spawnflags" "1"
				"filtername" "filter_blue"
				"targetname" "fuckall3"
			}
		}
	}

    Templates
    {
        T_TFGatebot_Soldier_Trashpanda
        {
            Class Soldier
            Skill Expert
            Name "Trash Panda"
            ClassIcon soldier_shovel
            Scale .75

            EventChangeAttributes
            {
                Default
                {
                    Tag bot_gatebot
                    Tag nav_prefer_gate1_flank
                    BehaviorModifiers push
                    Attributes IgnoreFlag
                    Attributes AlwaysCrit
                    Item "Racc Mann"
                    WeaponRestrictions MeleeOnly
                    Item "MvM GateBot Light Soldier"
                    ItemAttributes
                    {
                        ItemName "Racc Mann"
                        "set item tint rgb" 15185211
                    }
                    CharacterAttributes
                    {
                        "move speed bonus" 1.5
                    }
                }
                RevertGateBotsBehavior
                {
                    Item "Racc Mann"
                    WeaponRestrictions MeleeOnly
                    Attributes AlwaysCrit
                    Item "MvM GateBot Light Soldier"
                    ItemAttributes               // turn off light hat
                    {
                        ItemName "MvM GateBot Light Soldier"
                        "item style override" 1
                    }
                    CharacterAttributes
                    {
                        "move speed bonus" 1.5
                    }
                }
            }
        }
        T_TFBot_Giant_Pyro_Flaregun_RapidFire
        {
			Class Pyro
			Name "Giant Flare Pyro"
			ClassIcon pyro_flare
			Skill Expert
			Health 3000
			Item "The Flare Gun"
			Item "Skullbrero"
			WeaponRestrictions SecondaryOnly
			Attributes MiniBoss
            Tag bot_giant
			ItemAttributes
			{
				ItemName "The Flare Gun"
				"fire rate bonus" 0.15
                "damage bonus" 1.2
			}
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction" 0.6
				"airblast vulnerability multiplier" 0.6
				"override footstep sound set" 6
			}
		}
        T_TFGateBot_Giant_DemoMan_PrinceTavish //Capping gets rid of their gatebot hat and kings them. Like in checkers. I guess
		{
			Class Demoman
			ClassIcon demoknight_giant
			Name "Giant Demoknight"
			Skill Expert
			Health 3300
			EventChangeAttributes
			{
				Default
				{
					Tag bot_gatebot 				// having these will cause bots to run towards gates
					Tag nav_prefer_gate1_flank		// having these will cause bots to run towards gates
					BehaviorModifiers push			// having these will cause bots to run towards gates
					Attributes IgnoreFlag 			// having these will cause bots to run towards gates
					Item "MvM GateBot Light Demoman"
					Item "The Chargin' Targe"
					Item "The Eyelander"
					Item "Ali Baba's Wee Booties"
					WeaponRestrictions MeleeOnly
					Attributes MiniBoss
					Tag bot_giant
                    Attributes AlwaysCrit
					ItemAttributes
					{
						ItemName "The Eyelander"
						"critboost on kill" 3
					}
					CharacterAttributes
					{
						"move speed bonus" 0.5
						"damage force reduction" 0.5
						"airblast vulnerability multiplier" 0.5
						"override footstep sound set" 4
					}
				}
				RevertGateBotsBehavior
				{
					Item "Prince Tavish's Crown"
					Item "The Chargin' Targe"
					Item "The Eyelander"
					Item "Ali Baba's Wee Booties"
					WeaponRestrictions MeleeOnly
					Attributes MiniBoss
					Tag bot_giant
                    Attributes AlwaysCrit
					ItemAttributes
					{
						ItemName "The Eyelander"
						"critboost on kill" 3
					}
					CharacterAttributes
					{
						"move speed bonus" 0.5
						"damage force reduction" 0.5
						"airblast vulnerability multiplier" 0.5
						"override footstep sound set" 4
					}
				}
			}
		}
        T_TFGateBot_Giant_DemoMan_PrinceTavish_Crit //Capping gets rid of their gatebot hat and kings them. Like in checkers. I guess
		{
			Class Demoman
			ClassIcon demoknight_giant
			Name "Giant Demoknight"
			Skill Expert
			Health 3300
			EventChangeAttributes
			{
				Default
				{
					Tag bot_gatebot 				// having these will cause bots to run towards gates
					Tag nav_prefer_gate1_flank		// having these will cause bots to run towards gates
					BehaviorModifiers push			// having these will cause bots to run towards gates
					Attributes IgnoreFlag 			// having these will cause bots to run towards gates
					Item "MvM GateBot Light Demoman"
					Item "The Chargin' Targe"
					Item "The Eyelander"
					Item "Ali Baba's Wee Booties"
					WeaponRestrictions MeleeOnly
					Attributes MiniBoss
					Tag bot_giant
					ItemAttributes
					{
						ItemName "The Eyelander"
						"critboost on kill" 3
					}
					CharacterAttributes
					{
						"move speed bonus" 0.5
						"damage force reduction" 0.5
						"airblast vulnerability multiplier" 0.5
						"override footstep sound set" 4
					}
				}
				RevertGateBotsBehavior
				{
					Item "Prince Tavish's Crown"
					Item "The Chargin' Targe"
					Item "The Eyelander"
					Item "Ali Baba's Wee Booties"
					WeaponRestrictions MeleeOnly
					Attributes MiniBoss
					Tag bot_giant
					ItemAttributes
					{
						ItemName "The Eyelander"
						"critboost on kill" 3
					}
					CharacterAttributes
					{
						"move speed bonus" 0.5
						"damage force reduction" 0.5
						"airblast vulnerability multiplier" 0.5
						"override footstep sound set" 4
					}
				}
			}
		}
        T_TFBot_Medic_Kritz
		{
			Class Medic
			Skill Expert
			Name "Kritzkrieg Medic"
			ClassIcon medic_kritz
			Item "The Kritzkrieg"
			Attributes SpawnWithFullCharge
			
			ItemAttributes
			{
				ItemName "The Kritzkrieg"
				"ubercharge rate bonus"	100
				"uber duration bonus"	100
			}
			CharacterAttributes
			{
				"bot medic uber health threshold" 20000
			}
		}
        T_TFBot_Giant_Medic_Kritz
		{
			Template T_TFBot_Medic_Kritz
			Attributes MiniBoss
            Name "Kinda Giant Kritz Medic"
			Health 4500
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction" 0.6
                "heal rate bonus" 200
				"airblast vulnerability multiplier" 0.6
			}
		}
        T_TFBot_Spy_Crow
        {
            Class Spy
            Skill Normal
            WeaponRestrictions PrimaryOnly
            Name "Crow"
            Item "Avian Amante"
            Item "The B.A.S.E. Jumper"
            Attributes AutoJump
				AutoJumpMin 5
				AutoJumpMax 5

            CharacterAttributes
            {
                "cannot disguise" 1
                "increased jump height" 2
            }
        }
    }

    Mission
	{
		Objective DestroySentries
		Where spawnbot_sentrybuster
		CooldownTime 40

	    TFBot
	    {
			Template T_TFBot_SentryBuster
            Tag bot_giant
		}
	}
    Mission
    {
        Objective Sniper
        Where spawnbot
        BeginAtWave 2
        RunForThisManyWaves 1
        InitialCooldown 25
        CooldownTime 35
        DesiredCount 2

        TFBot
        {
            Template T_TFBot_Sniper
        }
    }
    Mission
    {
        Objective Sniper
        Where spawnbot
        BeginAtWave 3
        RunForThisManyWaves 2
        InitialCooldown 25
        CooldownTime 35
        DesiredCount 2

        TFBot
        {
            Template T_TFBot_Sniper_Sydney_Sleeper
        }
    }
    Mission
    {
        Objective Sniper
        Where spawnbot
        BeginAtWave 6
        RunForThisManyWaves 2
        InitialCooldown 30
        CooldownTime 35
        DesiredCount 2

        TFBot
        {
            Template T_TFBot_Sniper
            Attributes AlwaysCrit
            Name "Crit Sniper"
        }
    }
    Mission
    {
        Objective Spy
        Where spawnbot
        BeginAtWave 4
        RunForThisManyWaves 1
        InitialCooldown 35
        CooldownTime 30
        DesiredCount 3

        TFBot
        {
            Class Spy
            Skill Expert
        }
    }
    Mission
    {
        Objective Spy
        Where spawnbot
        BeginAtWave 6
        RunForThisManyWaves 2
        InitialCooldown 35
        CooldownTime 30
        DesiredCount 3

        TFBot
        {
            Class Spy
            Skill Expert
        }
    }
	
	SpawnTemplate "spawnfix"
	
    Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finish_relay
			Action trigger
		}

        WaveSpawn //100 random choice heavies, all go to bomb
        {
            Name "wave01"
            TotalCount 100
            SpawnCount 1
            MaxActive 12
            WaitBetweenSpawns 0.75
            TotalCurrency 600
            Where spawnbot

            RandomChoice
            {
                TFBot
                {
                    Class Heavy
                    Skill Easy
                }
                TFBot
                {
                    Class Heavy
                    Skill Easy
                }
                TFBot
                {
                    Template T_TFBot_Heavyweapons_Heavyweight_Champ
                    Classicon heavy
                    Skill Hard
                    Name "Heavy"
                }
                TFBot
                {
                    Template T_TFBot_Heavyweapons_Heavyweight_Champ_Fast
                    Classicon heavy
                    Skill Hard
                    Name "Heavy"
                }
                TFBot
                {
                    Template T_TFBot_Heavyweapons_Shotgun
                    Classicon heavy
                    Name "Heavy"
                }
                TFBot
                {
                    Class Heavy
                    Skill Normal
                    Item "Tomislav"
                }
            }
        }
        WaveSpawn //Support giant soldiers, all gatebot
        {
            Name "wave01_support"
            SpawnCount 1
            MaxActive 2
            WaitBeforeStarting 5
            WaitBetweenSpawns 40
            Where spawnbot_giant
            Support 1

            TFBot
            {
                Template T_TFGatebot_Giant_Soldier
                Tag bot_giant
            }
        }
        WaveSpawn //Support giant soldiers, all gatebot
        {
            Name "wave01_support"
            SpawnCount 1
            MaxActive 1
            WaitBeforeStarting 25
            WaitBetweenSpawns 40
            Where spawnbot_giant
            Support 1

            TFBot
            {
                Class Soldier
			    Name "Giant Charged Soldier"
			    Health 3800
                Classicon soldier_giant
                EventChangeAttributes
			    {
				    Default
				    {
			            Item "The Original"
			            Attributes AlwaysCrit
			            WeaponRestrictions PrimaryOnly
			            Attributes MiniBoss
                        Skill Normal
                        Item "MvM GateBot Light Soldier"
				        Tag bot_giant
                        BehaviorModifiers push			// having these will cause bots to run towards gates
					    Attributes IgnoreFlag			// having these will cause bots to run towards gates
					    Tag nav_prefer_gate1_flank 		// having these will cause bots to run towards gates
					    Tag bot_gatebot 				// having these will cause bots to run towards gates
			            ItemAttributes
			            {
			            	ItemName "The Original"
			            	"faster reload rate" 0.2
			            	"fire rate bonus" 2
			            	"Projectile speed increased" 0.5
			            }
			            CharacterAttributes
			            {
			            	"move speed bonus"	0.5
			            	"damage force reduction" 0.4
			            	"airblast vulnerability multiplier" 0.4
			            	"override footstep sound set" 3
                        }
                    }
                    RevertGateBotsBehavior
				    {
                        Item "The Original"
			            Attributes AlwaysCrit
			            WeaponRestrictions PrimaryOnly
			            Attributes MiniBoss
                        Skill Normal
                        Item "MvM GateBot Light Soldier"
				        Tag bot_giant
                        ItemAttributes               // turn off light hat
					    {
					    	ItemName "MvM GateBot Light Soldier"
					    	"item style override" 1
					    }
			            ItemAttributes
			            {
			            	ItemName "The Original"
			            	"faster reload rate" 0.2
			            	"fire rate bonus" 2
			            	"Projectile speed increased" 0.5
			            }
			            CharacterAttributes
			            {
			            	"move speed bonus"	0.5
			            	"damage force reduction" 0.4
			            	"airblast vulnerability multiplier" 0.4
			            	"override footstep sound set" 3
                        }
                    }
                }
            }
        }
    }
    Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finish_relay
			Action trigger
		}

        WaveSpawn
        {
            Name "wave02_a"
            TotalCount 20
            SpawnCount 20
            MaxActive 20
            Where spawnbot
            TotalCurrency 200

            TFBot
            {
                Class Demoman
                ClassIcon demo_caber_nys
                Name "Chargin' Demo"
                Skill Expert
                Attributes AlwaysCrit
                WeaponRestrictions MeleeOnly
                Item "The Chargin' Targe"
                Item "The Ullapool Caber"
                ItemAttributes
                {
                    ItemName "The Chargin' Targe"
                    "charge time increased" 12
                }
		    	ItemAttributes
		    	{
		    		ItemName "The Ullapool Caber"
			    	"damage bonus" 10
			    	"selfdmg on hit for rapidfire" -1000
		    	}
            }
        }
        WaveSpawn
        {
            Name "wave02_b"
            TotalCount 42
            SpawnCount 6
            MaxActive 12
            WaitBeforeStarting 10
            WaitBetweenSpawns 4
            Where spawnbot
            TotalCurrency 50

            TFBot
            {
                Class Pyro
                Skill Normal
                Item "Binoculus"
                Item "Head of the Dead"
                Name "Human Pyro????"

                ItemAttributes
                {
                    ItemName "Binoculus"
                    "set item tint rgb" 15787660
                }
                ItemAttributes
                {
                    ItemName "Head of the Dead"
                    "set item tint rgb" 15787660
                    "item style override" 1
                }
            }
        }
        WaveSpawn
        {
            Name "wave02_gatebot1"
            TotalCount 3
            SpawnCount 1
            MaxActive 3
            WaitBeforeStarting 12
            WaitBetweenSpawns 15
            Where spawnbot_giant
            TotalCurrency 50

            TFBot
            {
                Template T_TFGateBot_Giant_DemoMan_PrinceTavish
                Tag bot_giant
            }
        }
        WaveSpawn
        {
            Name "wave02_gatebot2"
            TotalCount 30
            SpawnCount 10
            MaxActive 10
            WaitBeforeStarting 10
            WaitBetweenSpawns 8
            WaitForAllDead "wave02_gatebot1"
            Where spawnbot
            TotalCurrency 100

            TFBot
            {
                Template T_TFGatebot_Soldier_Trashpanda
            }
        }
        WaveSpawn
        {
            Name "wave02_gatebot3"
            TotalCount 3
            SpawnCount 1
            MaxActive 3
            WaitBeforeStarting 5
            WaitForAllDead "wave02_gatebot1"
            WaitBetweenSpawns 15
            Where spawnbot_giant
            TotalCurrency 50

            TFBot
            {
                Template T_TFGateBot_Giant_DemoMan_PrinceTavish
                Tag bot_giant
            }
        }
        WaveSpawn
        {
            Name "wave02_c"
            TotalCount 15
            SpawnCount 3
            MaxActive 6
            WaitBeforeStarting 5
            WaitBetweenSpawns 6
            WaitForAllDead "wave02_gatebot1"
            Where spawnbot
            TotalCurrency 50

            TFBot
            {
                Class Pyro
                Skill Hard
                WeaponRestrictions SecondaryOnly
                Scale 1.25
                Name "Lo-Fi High-Fire"
                Item "Lo-Fi Longwave"
                Item "The Flare Gun"
                ClassIcon pyro_flare_eo
                Health 550

                ItemAttributes
                {
                    ItemName "The Flare Gun"
                    "fire rate bonus" 0.5
                }
            }
        }
        WaveSpawn
        {
            Name "wave02_d"
            TotalCount 32
            SpawnCount 4
            MaxActive 12
            WaitBeforeStarting 7
            WaitForAllSpawned "wave02_gatebot2"
            WaitBetweenSpawns 4
            Where spawnbot
            TotalCurrency 100

            Squad
            {
                TFBot
                {
                    Template T_TFBot_Soldier_Extended_Buff_Banner
                }
                TFBot
                {
                    Template T_TFBot_Spy_Crow
                }
                TFBot
                {
                    Template T_TFBot_Spy_Crow
                }
                TFBot
                {
                    Template T_TFBot_Spy_Crow
                }
            }
        }
        WaveSpawn
        {
            Name "wave02_e"
            TotalCount 8
            SpawnCount 2
            MaxActive 4
            WaitBeforeStarting 10
            WaitForAllDead "wave02_gatebot2"
            WaitBetweenSpawns 8
            Where spawnbot_giant
            TotalCurrency 100

            Squad
            {
                TFBot
                {
                    Template T_TFBot_Giant_Soldier
                    Tag bot_giant
                }
                TFBot
                {
                    Template T_TFBot_Giant_Pyro_Flaregun_rapidFire
                    Tag bot_giant
                }
            }
        }
    }
    Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finish_relay
			Action trigger
		}

        WaveSpawn
        {
            Name "wave03_gatebot1"
            TotalCount 2
            SpawnCount 2
            MaxActive 2
            Where spawnbot
            TotalCurrency 100

            Squad
            {
                TFBot
                {
                    Template T_TFGateBot_Giant_Heavyweapons_Deflector
                    Tag bot_giant
                }
                TFBot
                {
                    Template T_TFBot_Giant_Medic_Regen
                    Tag bot_giant
                }
            }
        }
        WaveSpawn
        {
            Name "wave03_gatebot1"
            TotalCount 2
            SpawnCount 2
            MaxActive 2
            Where spawnbot
            TotalCurrency 100

            Squad
            {
                TFBot
                {
                    Template T_TFGateBot_Giant_Heavyweapons_Deflector
                    Tag bot_giant
                }
                TFBot
                {
                    Template T_TFBot_Giant_Medic_Regen
                    Tag bot_giant
                }
            }
        }
        WaveSpawn
        {
            Name "wave03_a"
            TotalCount 28
            SpawnCount 2
            MaxActive 8
            WaitBeforeStarting 10
            WaitForAllDead "wave03_gatebot1"
            WaitBetweenSpawns 2
            Where spawnbot
            TotalCurrency 50

            Squad
            {
                TFBot
                {
                    Class Scout
                    Skill Normal
                    WeaponRestrictions SecondaryOnly
                    Item "Fuel Injector"
                    Item "Fortunate Son"

                    ItemAttributes
                    {
                        ItemName "Fuel Injector"
                        "item style override" 2
                    }
                }
                TFBot
                {
                    Template T_TFBot_Medic_QuickUber
                }
            }
        }
        WaveSpawn
        {
            Name "wave03_a"
            TotalCount 28
            SpawnCount 1
            MaxActive 6
            WaitBeforeStarting 10
            WaitForAllDead "wave03_gatebot1"
            WaitBetweenSpawns 2
            Where spawnbot
            TotalCurrency 50

            TFBot
                {
                    Class Scout
                    Skill Normal
                    WeaponRestrictions SecondaryOnly
                    Item "Fuel Injector"
                    Item "Fortunate Son"

                    ItemAttributes
                    {
                        ItemName "Fuel Injector"
                        "item style override" 2
                    }
                }
        }
        WaveSpawn
        {
            Name "wave03_b"
            TotalCount 7
            SpawnCount 1
            MaxActive 3
            WaitBeforeStarting 10
            WaitForAllDead "wave03_gatebot1"
            WaitBetweenSpawns 12
            Where spawnbot_giant
            TotalCurrency 75

            TFBot
            {
                Class Scout
                Skill Expert
                Attributes MiniBoss
                Health 1200
                Item "The Shortstop"
                Item "Fortunate Son"
                Item "Fuel Injector"
                Name "Giant Shortstop Scout"
                ClassIcon scout_shortstop
                Tag bot_giant
                ItemAttributes
                {
                    ItemName "The Shortstop"
                    "fire rate bonus" 0.5
                    "faster reload rate" 1.2
                    "weapon spread bonus" 0.5
                }
                CharacterAttributes
			    {
			    	"damage force reduction" 0.1
			    	"airblast vulnerability multiplier" 0.1
			    	"override footstep sound set" 5
		    	}
            }
        }
        WaveSpawn
        {
            Name "wave03_c"
            TotalCount 28
            SpawnCount 4
            MaxActive 8
            WaitBeforeStarting 6
            WaitForAllDead "wave03_a"
            WaitBetweenSpawns 6
            Where spawnbot
            TotalCurrency 50

            TFBot
            {
                Class Demoman
                Skill Normal
                Name "Burst Demo"
                Item "The Iron Bomber"
                Item "The Frag Proof Fragger"
                Attributes HoldFireUntilFullReload
                ClassIcon demo_burst

                ItemAttributes
                {
                    ItemName "The Iron Bomber"
                    "fire rate bonus" 0.01
                }
            }
        }
        WaveSpawn
        {
            Name "wave03_c"
            TotalCount 12
            SpawnCount 2
            MaxActive 4
            WaitBeforeStarting 6
            WaitForAllDead "wave03_a"
            WaitBetweenSpawns 6
            Where spawnbot
            TotalCurrency 25

            TFBot
            {
                Template T_TFBot_Soldier_Extended_Buff_banner
            }
        }
        WaveSpawn
        {
            Name "wave03_c"
            TotalCount 5
            SpawnCount 1
            MaxActive 3
            WaitBeforeStarting 8
            WaitForAllSpawned "wave03_b"
            WaitBetweenSpawns 8
            Where spawnbot_gatebot
            TotalCurrency 100

            TFBot
            {
                Template T_TFGateBot_Giant_Demo_Burst
                Tag bot_giant
            }
        }
        WaveSpawn
        {
            Name "wave03_d"
            TotalCount 2
            SpawnCount 1
            MaxActive 2
            WaitForAllSpawned "wave03_c"
            WaitBeforeStarting 15
            WaitBetweenSpawns 6
            Where spawnbot_giant
            TotalCurrency 100

            TFBot
            {
                Template T_TFBot_Giant_Pyro
                Tag bot_giant
            }
        }
        WaveSpawn
        {
            Name "wave03_d"
            TotalCount 24
            SpawnCount 6
            MaxActive 12
            WaitForAllDead "wave03_c"
            WaitBeforeStarting 5
            WaitBetweenSpawns 4
            Where spawnbot
            TotalCurrency 100

            TFBot
            {
                Class Soldier
                Skill Normal
            }
        }
        WaveSpawn
        {
            Name "wave03_e"
            TotalCount 1
            SpawnCount 1
            MaxActive 1
            WaitForAllSpawned "wave03_d"
            WaitBeforeStarting 5
            Where spawnbot_chief
            TotalCurrency 100
            FirstSpawnWarningSound "items/scout_boombox_05.wav"

            TFBot
            {
                Class Scout
                Skill Expert
                Attributes MiniBoss
                Attributes UseBossHealthBar
                Health 17500
                Scale 1.8
                Item "The Shortstop"
                Item "The Frag Proof Fragger"
                Item "Fuel Injector"
                Name "Gianter Shortstop Scout"
                ClassIcon scout_shortstop
                Tag bot_giant

                ItemAttributes
                {
                    ItemName "The Shortstop"
                    "fire rate bonus" 0.75
                    "damage bonus" 1.5
                    "faster reload rate" 0.1
                }
                CharacterAttributes
			    {
			    	"move speed bonus"	0.4
			    	"damage force reduction" 0.1
			    	"airblast vulnerability multiplier" 0.1
			    	"override footstep sound set" 5
                    "rage giving scale" 0.1
		    	}
            }
        }
        WaveSpawn
        {
            Name "wave03_support"
            SpawnCount 1
            MaxActive 6
            WaitBeforeStarting 2
            WaitForAllSpawned "wave03_e"
            WaitBetweenSpawns 1
            Where spawnbot
            Support 1

            TFBot
            {
                Class Scout
                Skill Easy
                WeaponRestrictions MeleeOnly
                Item "The Boston Basher"
                Item "Remorseless Raptor"
                Item "Wild Whip"
                Name "Blood Letter"
                Attributes AlwaysCrit
            }
        }
    }
    Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finish_relay
			Action trigger
		}

        WaveSpawn
        {
            Name "wave04_a"
            TotalCount 1
            SpawnCount 1
            Where spawnbot_chief
            TotalCurrency 100

            TFBot
            {
                Class Pyro
                Skill Expert
                Name "Humo de los Muertos"
                Scale 1.8
                Health 30000
                ClassIcon pyro_dragon_fury_swordstone
                Tag bot_giant

                EventChangeAttributes
                {
                    Default
                    {
                        Tag bot_gatebot
                        Tag nav_prefer_gate1_flank
                        Tag bot_giant
                        BehaviorModifiers push
                        Attributes IgnoreFlag			// having these will cause bots to run towards gates
				    	Tag nav_prefer_gate1_flank 		// having these will cause bots to run towards gates
				    	Tag bot_gatebot 				// having these will cause bots to run towards gates
                        Item "Head of the Dead"
                        Item "The Crispy Golden Locks"
                        Item "The Dragon's Fury"
                        Attributes MiniBoss
                        Attributes UseBossHealthBar
                        Attributes AlwaysFireWeapon
                        Attributes AlwaysCrit
                        ItemAttributes
                        {
                            ItemName "The Dragon's Fury"
                            "damage bonus" 2
                        }
                        ItemAttributes
                        {
                            ItemName "TF_WEAPON_SHOTGUN_PYRO"
                            "is_passive_weapon" 1
                            "no self blast dmg" 1
                            "override projectile type" 17
                            "use large smoke explosion" 1
                            "damage bonus" 4
                            "blast radius increased" 1.4
                            "clip size penalty" .8
                            "faster reload rate" 0.7
                        }
                        CharacterAttributes
			            {
			        	    "move speed bonus"	0.4
			        	    "damage force reduction" 0.3
			        	    "airblast vulnerability multiplier" 0.3
			        	    "override footstep sound set" 2
			        	    "airblast vertical vulnerability multiplier" 0.1
			        	    "rage giving scale" 0.1
			            }
                    }
                    RevertGateBotsBehavior
                    {
                        Item "Head of the Dead"
                        Item "The Crispy Golden Locks"
                        Tag bot_giant
                        Item "The Dragon's Fury"
                        Attributes MiniBoss
                        Attributes UseBossHealthBar
                        Attributes AlwaysFireWeapon
                        ItemAttributes
                        {
                            ItemName "The Dragon's Fury"
                            "damage bonus" 2
                        }
                        ItemAttributes
                        {
                            ItemName "TF_WEAPON_SHOTGUN_PYRO"
                            "is_passive_weapon" 1
                            "no self blast dmg" 1
                            "override projectile type" 17
                            "use large smoke explosion" 1
                            "damage bonus" 4
                            "blast radius increased" 1.4
                            "clip size penalty" .8
                            "faster reload rate" 0.7
                        }
                        CharacterAttributes
			            {
			            	"move speed bonus"	0.4
			            	"damage force reduction" 0.3
			            	"airblast vulnerability multiplier" 0.3
			            	"override footstep sound set" 2
			            	"airblast vertical vulnerability multiplier" 0.1
			            	"rage giving scale" 0.1
			            }
                    }   
                }
            }
        }
        WaveSpawn
        {
            Name "wave04_a_support"
            TotalCount 20
            SpawnCount 2
            MaxActive 6
            WaitBeforeStarting 10
            Where spawnbot
            WaitBetweenSpawns 4
            TotalCurrency 50
            
            TFBot
            {
                Template T_TFBot_Pyro_Flaregun
                Name "Rapid Flare Pyro"
                Attributes AlwaysCrit
                ClassIcon pyro_flare_giant
                ItemAttributes
                {
                    ItemName "The Flare Gun"
                    "fire rate bonus" 0.6
                }
            }
        }
        WaveSpawn
        {
            Name "wave04_b"
            TotalCount 24
            SpawnCount 6
            MaxActive 10
            WaitBeforeStarting 0
            WaitForAllDead "wave04_a"
            WaitBetweenSpawns 8
            Where spawnbot
            TotalCurrency 50

            TFBot
            {
                Class Soldier
                Skill Expert
                Name "Charged Soldier"
                ClassIcon soldier_crit
			    Item "The Original"
			    Attributes AlwaysCrit
			    WeaponRestrictions PrimaryOnly
			    ItemAttributes
			    {
			    	ItemName "The Original"
			    	"faster reload rate" 0.2
			    	"fire rate bonus" 2
			    	"Projectile speed increased" 0.5
			    }
            }
        }
        WaveSpawn
        {
            Name "wave04_c"
            TotalCount 18
            SpawnCount 3
            MaxActive 8
            WaitBeforeStarting 0
            WaitForAllDead "wave04_a"
            WaitBetweenSpawns 4
            Where spawnbot
            TotalCurrency 50

            TFBot
            {
                Template T_TFGateBot_Demoman_Normal
            }
        }
        WaveSpawn
        {
            Name "wave04_d"
            TotalCount 6
            SpawnCount 1
            MaxActive 2
            WaitBeforeStarting 10
            WaitForAllSpawned "wave04_a"
            WaitBetweenSpawns 15
            Where spawnbot_giant
            TotalCurrency 50

            TFBot
            {
                Template T_TFGateBot_Giant_Scout_FAN
                Tag bot_giant
            }
        }
        WaveSpawn
        {
            Name "wave04_d"
            TotalCount 3
            SpawnCount 1
            MaxActive 3
            WaitBeforeStarting 10
            WaitForAllDead "wave04_a"
            WaitBetweenSpawns 10
            Where spawnbot_giant
            TotalCurrency 50

            TFBot
            {
                Template T_TFBot_Giant_Pyro_Flaregun_RapidFire
            }
        }
        WaveSpawn
        {
            Name "wave04_e"
            TotalCount 15
            SpawnCount 5
            MaxActive 10
            WaitBeforeStarting 8
            WaitForAllDead "wave04_b"
            WaitBetweenSpawns 10
            Where spawnbot_giant
            TotalCurrency 50

            Squad
            {
                TFBot
                {
                    Template T_TFBot_Soldier_Burstfire
                    Tag bot_giant
                    ItemAttributes
                    {
                        ItemName "TF_WEAPON_ROCKETLAUNCHER"
                        "damage bonus" 1 //revert double damage buff since this bot already has crits
                    }
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
            }
        }
        WaveSpawn
        {
            Name "wave04_f"
            TotalCount 20
            SpawnCount 4
            MaxActive 8
            WaitBeforeStarting 8
            WaitForAllDead "wave04_b"
            WaitBetweenSpawns 8
            Where spawnbot
            TotalCurrency 50

            TFBot
            {
                Class Heavyweapons
                Skill Normal
            }
        }
        WaveSpawn
        {
            Name "wave04_g"
            TotalCount 4
            SpawnCount 4
            MaxActive 4
            WaitBeforeStarting 10
            WaitForAllDead "wave04_e"
            Where spawnbot_giant
            TotalCurrency 200

            Squad
            {
                ShouldPreserveSquad 1
                TFBot
                {
                    Class Soldier
                    Skill Expert
                    Classicon heavy_shotgun 
                    Health 4000
                    Name "Giant Soldier Shotgun"
                    Attributes MiniBoss
                    WeaponRestrictions SecondaryOnly
                    MaxVisionRange 1200
                    Tag bot_giant
                    ItemAttributes
		        	{
		        		ItemName "TF_WEAPON_SHOTGUN_SOLDIER"
			        	"fire rate bonus" 2
			        	"bullets per shot bonus" 5
			        	"damage penalty" 0.7
		        		"faster reload rate" 0.1
		        	}
		        	CharacterAttributes
		        	{
		        		"move speed bonus"	0.7
		        		"damage force reduction" 0.3
		        		"airblast vulnerability multiplier" 0.3
		        		"override footstep sound set" 2
		        	}
                }
                TFBot
                {
                    Class Pyro
                    Skill Expert
                    Classicon heavy_shotgun 
                    Health 3800
                    Name "Giant Pyro Shotgun"
                    Attributes MiniBoss
                    WeaponRestrictions SecondaryOnly
                    MaxVisionRange 1200
                    Tag bot_giant
                    ItemAttributes
		        	{
		        		ItemName "TF_WEAPON_SHOTGUN_PYRO"
			        	"bullets per shot bonus" 2
		        		"faster reload rate" 0.1
		        	}
		        	CharacterAttributes
		        	{
		        		"move speed bonus"	0.7
		        		"damage force reduction" 0.3
		        		"airblast vulnerability multiplier" 0.3
		        		"override footstep sound set" 2
		        	}
                }
                TFBot
                {
                    Template T_TFBot_Giant_Heavyweapons_Shotgun
                    Name "Giant Heavy Shotgun"
                    Tag bot_giant
                }
                TFBot
                {
                    Class Engineer
                    Skill Expert
                    Classicon heavy_shotgun 
                    Health 3500
                    Name "Giant Engineer Shotgun"
                    Attributes MiniBoss
                    Action FetchFlag
                    WeaponRestrictions PrimaryOnly
                    MaxVisionRange 1200
                    Tag bot_giant
                    ItemAttributes
		        	{
		        		ItemName "TF_WEAPON_SHOTGUN_PRIMARY"
			        	"fire rate bonus" 0.25
                        "clip size bonus" 6
		        		"faster reload rate" 0.1
		        	}
		        	CharacterAttributes
		        	{
		        		"move speed bonus"	0.7
		        		"damage force reduction" 0.3
		        		"airblast vulnerability multiplier" 0.3
		        		"override footstep sound set" 2
                        "head scale" 0.5
		        	}
                }
            }
        }
        WaveSpawn
        {
            Name "wave04_support"
            TotalCount 20
            SpawnCount 4
            MaxActive 8
            WaitBeforeStarting 5
            WaitForAllDead "wave04_f"
            WaitBetweenSpawns 6
            Where spawnbot
            TotalCurrency 50
            Support 1
            
            TFBot
            {
                Template T_TFBot_Pyro_Flaregun
                Name "Rapid Flare Pyro"
                Attributes AlwaysCrit
                ItemAttributes
                {
                    ItemName "The Flare Gun"
                    "fire rate bonus" 0.6
                }
            }
        }
        WaveSpawn
        {
            Name "wave04_support"
            TotalCount 20
            SpawnCount 1
            MaxActive 3
            WaitBeforeStarting 8
            WaitForAllDead "wave04_f"
            WaitBetweenSpawns 6
            Where spawnbot
            Support 1

            TFBot
            {
                Template T_TFBot_Soldier_Extended_Battalion
            }
        }
    }
    Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finish_relay
			Action trigger
		}

        WaveSpawn
        {
            Name "wave05_a"
            TotalCount 2
            SpawnCount 2
            MaxActive 2
            Where spawnbot
            TotalCurrency 100

            Squad
            {
                TFBot
                {
                    Template T_TFBot_Giant_Heavyweapons
                    Tag bot_giant
                }
                TFBot
                {
                    Template T_TFBot_Giant_Medic
                    Name "Giant Medic Medigun"
                }
            }
        }
        WaveSpawn
        {
            Name "wave05_support"
            SpawnCount 1
            MaxActive 2
            Where spawnbot
            WaitBetweenSpawns 16
            Support 1

            TFBot
            {
                Class Demoman
                ClassIcon demo_caber_nys
                Name "Chargin' Demo"
                Skill Expert
                Attributes AlwaysCrit
                WeaponRestrictions MeleeOnly
                Item "The Chargin' Targe"
                Item "The Ullapool Caber"
                Scale 1.5
                Health 1000
                Tag bot_giant
                ItemAttributes
                {
                    ItemName "The Chargin' Targe"
                    "charge time increased" 12
                }
		    	ItemAttributes
		    	{
		    		ItemName "The Ullapool Caber"
			    	"damage bonus" 10
			    	"selfdmg on hit for rapidfire" -1000
		    	}
            }
        }
        WaveSpawn
        {
            Name "wave05_b"
            TotalCount 30
            SpawnCount 2
            MaxActive 8
            WaitBeforeStarting 5
            WaitBetweenSpawns 3
            Where spawnbot
            TotalCurrency 50
            
            TFBot
            {
                Class Demoman
			    Skill Hard
			    Item "The Chargin' Targe"
            }
        }
        WaveSpawn
        {
            Name "wave05_gatebot1"
            TotalCount 16
            SpawnCount 2
            MaxActive 8
            WaitBeforeStarting 2
            WaitForAllSpawned "wave05_b"
            WaitBetweenSpawns 8
            Where spawnbot
            TotalCurrency 50

            Squad
            {
                TFBot
                {
                    Template T_TFGateBot_Heavy_IronFist_Airblast
                    Tag bot_giant
                }
                TFBot
                {
                    Template T_TFBot_Medic_QuickUber
                }
            }
        }
        WaveSpawn
        {
            Name "wave05_c"
            TotalCount 36
            SpawnCount 6
            MaxActive 8
            WaitBeforeStarting 3
            WaitForAllSpawned "wave05_b"
            WaitBetweenSpawns 8
            Where spawnbot 
            TotalCurrency 100

            TFBot
            {
                Class Pyro
                Skill Hard
            }
        }
        WaveSpawn
        {
            Name "wave05_d"
            TotalCount 3
            SpawnCount 1
            MaxActive 2
            WaitBeforeStarting 8
            WaitForAllDead "wave05_b"
            WaitBetweenSpawns 10
            Where spawnbot_giant
            TotalCurrency 50

            TFBot
            {
                Template T_TFBot_Giant_Scout_Baseball_Armored
                Tag bot_giant
            }
        }
        WaveSpawn
        {
            Name "wave05_e"
            TotalCount 25
            SpawnCount 5
            MaxActive 8
            WaitBeforeStarting 10
            WaitForAllDead "wave05_c"
            WaitBetweenSpawns 8
            Where spawnbot
            TotalCurrency 100

            TFBot
            {
                Class Soldier
		      	Skill Normal
		    	Name "Burst Fire Soldier"
		    	Attributes HoldFireUntilFullReload
		    	ClassIcon soldier_burstfire
                Tag bot_giant
                Scale 1.4
                Health 750

		    	ItemAttributes
		    	{
		    		ItemName "TF_WEAPON_ROCKETLAUNCHER"
			    	"fire rate bonus" 0.01
		    		"Projectile speed increased" 0.5
                    "hand scale" 1.5
			    }
            }
        }
        WaveSpawn
        {
            Name "wave05_gatebot2"
            TotalCount 10
            SpawnCount 2
            MaxActive 6
            WaitBeforeStarting 10
            WaitForAllDead "wave05_d"
            WaitBetweenSpawns 10
            Where spawnbot_gatebot
            TotalCurrency 50

            Squad
            {
                TFBot
                {
                    Template T_TFGateBot_Giant_Demo_Burst
                    Tag bot_giant
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
            }
        }
        WaveSpawn
        {
            Name "wave05_f"
            TotalCount 18
            SpawnCount 2
            MaxActive 6
            WaitBeforeStarting 5
            WaitForAllSpawned "wave05_e"
            WaitBetweenSpawns 4
            Where spawnbot
            TotalCurrency 50

            TFBot
            {
                Class Pyro
                Skill Easy
                Attributes AlwaysFireWeapon
                Attributes AlwaysCrit
                ClassIcon pyro_giant
            }
        }
        WaveSpawn
        {
            Name "wave05_g"
            TotalCount 22
            SpawnCount 11
            MaxActive 12
            WaitBeforeStarting 8
            WaitForAllDead "wave05_gatebot2"
            WaitBetweenSpawns 0 //My vain attempt at getting the second squad to spawn faster
            Where spawnbot_giant
            TotalCurrency 100

            Squad
            {
                TFBot
                {
                    Template T_TFBot_Giant_Heavyweapons
                    Tag bot_giant
                }
                TFBot
                {
                    Template T_TFBot_Giant_Medic_Kritz
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
            }
        }
    }
    Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finish_relay
			Action trigger
		}

        WaveSpawn
        {
            Name "wave06_a"
            TotalCount 6
            SpawnCount 1
            MaxActive 4
            WaitBetweenSpawns 10
            Where spawnbot
            TotalCurrency 25

            TFBot
            {
                Template T_TFBot_Soldier_Extended_Concheror
                Scale 1.5
                Health 1200
                CharacterAttributes //character attribs from huntsman spammers
		    	{
				    "head scale" 0.7
				    "move speed bonus"	0.85
			    }
            }
        }
        WaveSpawn
        {
            Name "wave06_b"
            TotalCount 42
            SpawnCount 7
            MaxActive 14
            WaitBetweenSpawns 6
            Where spawnbot
            TotalCurrency 50

            TFBot
            {
                Class Demoman
                Skill Normal
                Attributes AlwaysCrit
            }
        }
        WaveSpawn
        {
            Name "wave06_a"
            TotalCount 4
            MaxActive 2
            SpawnCount 1
            WaitBeforeStarting 10
            WaitBetweenSpawns 10
            Where spawnbot
            TotalCurrency 25

            TFBot
            {
                Template T_TFBot_Giant_Scout_Fast
            }
        }
        WaveSpawn
        {
            Name "wave06_constant"
            TotalCount 19
            MaxActive 3
            SpawnCount 1
            WaitBeforeStarting 15
            WaitBetweenSpawns 10
            Where spawnbot
            TotalCurrency 50

            TFBot
            {
                Template T_TFBot_Giant_Pyro_Flaregun_Rapidfire
            }
        }
        WaveSpawn
        {
            Name "wave06_gatebot1"
            TotalCount 30
            SpawnCount 10
            MaxActive 12
            WaitBeforeStarting 4
            WaitForAllDead "wave06_b"
            WaitBetweenSpawns 10
            Where spawnbot_gatebot
            TotalCurrency 50

            TFBot
            {
                Class Scout
			    Name "Hyper League Scout"
			    ClassIcon scout_stun

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

				    	Item "The Sandman"
				    	ItemAttributes
				    	{
				    		ItemName "The Sandman"
				    		"effect bar recharge rate increased" 0.25
				    	}
                        ItemAttributes
                        {
                            ItemName "Batter's Helmet"
                            "set item tint RGB" 15185221
                        }
				    	Item "Batter's Helmet"
				    	Skill Hard
				    	WeaponRestrictions MeleeOnly
				    }
				    RevertGateBotsBehavior
				    {
				    	Item "The Sandman"
				    	ItemAttributes
				    	{
				    		ItemName "The Sandman"
				    		"effect bar recharge rate increased" 0.25
				    	}
                        ItemAttributes
                        {
                            ItemName "Batter's Helmet"
                            "set item tint RGB" 8289918
                        }
				    	Item "Batter's Helmet"
				    	Skill Hard
			    		WeaponRestrictions MeleeOnly
				    }
				}
			}
		}
        WaveSpawn
        {
            Name "wave06_c"
            TotalCount 6
            SpawnCount 2
            MaxActive 4
            WaitBeforeStarting 0
            WaitForAllSpawned "wave06_a"
            WaitBetweenSpawns 6
            Where spawnbot_giant
            TotalCurrency 50

            TFBot
            {
                Template T_TFBot_Giant_Soldier_Spammer
                Tag bot_giant
            }
        }
        WaveSpawn
        {
            Name "wave06_gatebot2"
            TotalCount 1
            SpawnCount 1
            WaitBeforeStarting 8
            WaitForAllDead "wave06_gatebot1"
            Where spawnbot_chief
            TotalCurrency 100
            FirstSpawnWarningSound "mvm\mvm_tank_horn.wav"
            
            TFBot
            {
			    Class Scout
			    ClassIcon tank
		    	Name "Point Runner"
		    	Skill Easy
		    	Health 15000
				Fastupdate 1  
		    	EventChangeAttributes
		    	{
		    		Default
		    		{
		    			Tag bot_gatebot 				// having these will cause bots to run towards gates
		    			Tag nav_prefer_gate1_flank		// having these will cause bots to run towards gates
			    		BehaviorModifiers push			// having these will cause bots to run towards gates
			    		Attributes IgnoreFlag 			// having these will cause bots to run towards gates
			    		Item "MvM GateBot Light Scout"
                        Item "Titanium Tank Participant Medal 2017"
                        Item "Fuel Injector"
                        Attributes AlwaysCrit
			    		WeaponRestrictions SecondaryOnly
			    		Attributes MiniBoss
                        Attributes AlwaysFireWeapon
                        Attributes UseBossHealthBar
			    		Tag bot_giant
			    		CharacterAttributes 
		            	{
	              			"move speed bonus"	1.5
	               			"damage force reduction" 0.7
	            			"override footstep sound set" 5
	            			"airblast vertical vulnerability multiplier" 0.1
	            			"rage giving scale" 0.1
	            		}
                        ItemAttributes
                        {
                            ItemName "Fuel Injector"
                            "item style override" 2
                        }
                        ItemAttributes
                        {
                            ItemName "TF_WEAPON_PISTOL"
                            "fire rate bonus" 0.5
                            "damage bonus" 2
                            "faster reload rate" 0.1
                            "increase player capture value" 18 //Visual only
                        }
			    	}
	    			RevertGateBotsBehavior
	    			{
		    			WeaponRestrictions SecondaryOnly
		    			Attributes MiniBoss
		    			Tag bot_giant
                        Attributes AlwaysCrit
                        Attributes AlwaysFireWeapon
                        Item "Titanium Tank Participant Medal 2017"
                        Item "Fuel Injector"
                        Attributes UseBossHealthBar
		    			CharacterAttributes 
		            	{
	              			"move speed bonus"	1.5
	               			"damage force reduction" 0.7
	            			"override footstep sound set" 5
	            			"airblast vertical vulnerability multiplier" 0.1
	            			"rage giving scale" 0.1
	            		}
                        ItemAttributes
                        {
                            ItemName "Fuel Injector"
                            "item style override" 2
                        }
                        ItemAttributes
                        {
                            ItemName "TF_WEAPON_PISTOL"
                            "fire rate bonus" 0.7
                            "damage bonus" 2
                        }
		    		}
	    		}
	    	}
        }
        WaveSpawn
        {
            Name "wave06_d"
            TotalCount 30
            SpawnCount 5
            MaxActive 10
            WaitBeforeStarting 20
            WaitForAllSpawned "wave06_gatebot2"
            WaitBetweenSpawns 8
            Where spawnbot
            TotalCurrency 50

            Squad
            {
                TFBot
                {
                    Class Soldier
                    SKill Hard
                }
                TFBot
                {
                    Template T_TFBot_Sniper_Huntsman
                }
            }
        }
        WaveSpawn
        {
            Name "wave06_e"
            TotalCount 6
            SpawnCount 1
            MaxActive 4
            WaitBeforeStarting 10
            WaitForAllDead "wave06_gatebot2"
            WaitBetweenSpawns 10
            Where spawnbot_giant
            TotalCurrency 100

            TFBot
            {
                Template T_TFBot_Giant_Soldier_Spammer
                Attributes AlwaysCrit
                Tag bot_giant
            }
        }
        WaveSpawn
        {
            Name "wave06_f"
            TotalCount 30
            SpawnCount 6
            MaxActive 12
            WaitBeforeStarting 5
            WaitForAllDead "wave06_d"
            WaitBetweenSpawns 6
            Where spawnbot
            TotalCurrency 50

            TFBot
            {
                Class Scout
                Skill Hard
                WeaponRestrictions SecondaryOnly
                Attributes AlwaysCrit
            }
        }
        WaveSpawn
        {
            Name "wave06_support"
            TotalCount 30
            SpawnCount 2
            MaxActive 4
            WaitBeforeStarting 5
            WaitForAllSpawned "wave06_f"
            WaitBetweenSpawns 6
            Where spawnbot
            Support 1

            TFBot
            {
                Template T_TFBot_Soldier_Extended_Battalion
            }
        }
        WaveSpawn
        {
            Name "wave06_h"
            TotalCount 4
            SpawnCount 1
            MaxActive 3
            WaitBeforeStarting 25
            WaitForAllDead "wave06_gatebot2"
            WaitBetweenSpawns 6
            Where spawnbot_giant
            TotalCurrency 100

            TFBot
            {
                Template T_TFBot_Giant_Pyro
                Attributes AlwaysCrit
                Tag bot_giant
            }
        }
        WaveSpawn
        {
            Name "wave06_snipercrit"
            TotalCount 0
            Support 1
            TFBot
            {
                Class Sniper
                Attributes AlwaysCrit
            }
        }
    }
    Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finish_relay
			Action trigger
		}

        WaveSpawn
        {
            Name "wave07_gatebot1"
            TotalCount 15
            SpawnCount 3
            MaxActive 12
            WaitBetweenSpawns 2
            Where spawnbot
            TotalCurrency 100

            Squad
            {
                TFBot
                {
                    Template T_TFGateBot_Giant_Soldier_SlowCritBarrage
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
            }
        }
        WaveSpawn
        {
            Name "wave07_a"
            TotalCount 25
            SpawnCount 5
            MaxActive 10
            WaitBeforeStarting 15
            WaitBetweenSpawns 6
            Where spawnbot
            TotalCurrency 50

            TFBot
            {
                Class Demoman
                Skill Hard
            }
        }
        WaveSpawn
        {
            Name "wave07_b"
            TotalCount 44
            SpawnCount 4
            MaxActive 14
            WaitBeforeStarting 3
            WaitForAllDead "wave07_a"
            WaitBetweenSpawns 5
            Where spawnbot
            TotalCurrency 100

            Squad
            {
                TFBot
                {
                    Template T_TFBot_Soldier_Extended_Battalion
                    Attributes AlwaysCrit
                }
                TFBot
                {
                    Template T_TFBot_Soldier_Extended_Concheror
                    Attributes AlwaysCrit
                }
                TFBot
                {
                    Class Pyro
                    Skill Hard
                }
                TFBot
                {
                    Class Pyro
                    Skill Hard
                }
            }
        }
        WaveSpawn
        {
            Name "wave07_c"
            TotalCount 16
            SpawnCount 4
            MaxActive 9
            WaitBeforeStarting 6
            WaitForAllDead "wave07_a"
            WaitBetweenSpawns 8
            Where spawnbot
            TotalCurrency 100

            Squad
            {
                TFBot
                {
                    Template T_TFBot_Giant_Heavyweapons_Deflector
                    Tag bot_giant
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
            }                
        }
        WaveSpawn
        {
            Name "wave07_d"
            TotalCount 24
            SpawnCount 6
            MaxActive 12
            WaitBeforeStarting 0
            WaitForAllDead "wave07_b"
            WaitBetweenSpawns 6
            Where spawnbot
            TotalCurrency 50

            TFBot
            {
                Template T_TFBot_Pyro_Flaregun
                Name "Rapid Flare Pyro"
                Attributes AlwaysCrit
                ItemAttributes
                {
                    ItemName "The Flare Gun"
                    "fire rate bonus" 0.4
                }
            }
        }
        WaveSpawn
        {
            Name "wave07_gatebot2"
            TotalCount 4
            SpawnCount 2
            MaxActive 4
            WaitBeforeStarting 10
            WaitForAllDead "wave07_c"
            WaitBetweenSpawns 12
            Where spawnbot_giant
            TotalCurrency 100

            Squad
            {
                TFBot
                {
                    Class Soldier
		        	Name "Giant Soldier"
                    ClassIcon soldier_dh_nys_giant
		        	Health 4000

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

			        		Item "MvM GateBot Light Soldier"
                            Item "The Direct Hit"
			        		Tag bot_giant
			        		Skill Expert
			        		WeaponRestrictions PrimaryOnly
			        		Attributes HoldFireUntilFullReload
		        			Attributes MiniBoss
                            ItemAttributes
			                {
			                	ItemName "The Direct Hit"
			                	"faster reload rate" 0.3
			                	"fire rate bonus" 0.1
			                	"clip size upgrade atomic" 11
			                }
		        			CharacterAttributes
		        			{
		        				"move speed bonus"	0.5
		        				"damage force reduction" 0.4
		        				"airblast vulnerability multiplier" 0.4
		       	    			"override footstep sound set" 3
		        			}
		        		}
		        		RevertGateBotsBehavior
		        		{
		        			Item "MvM GateBot Light Soldier"
		        			ItemAttributes               // turn off light hat
		        			{
		        				ItemName "MvM GateBot Light Soldier"
		        				"item style override" 1
		        			}
		        			Tag bot_giant
		        			Skill Expert
                            Item "The Direct Hit"
			        		WeaponRestrictions PrimaryOnly
		        			Attributes HoldFireUntilFullReload
		        			Attributes MiniBoss
                            ItemAttributes
			                {
			                	ItemName "The Direct Hit"
			                	"faster reload rate" 0.3
			                	"fire rate bonus" 0.1
			                	"clip size upgrade atomic" 11
			                }
		        			CharacterAttributes
		        			{
		              			"move speed bonus"	0.5
		        				"damage force reduction" 0.4
			        			"airblast vulnerability multiplier" 0.4
			        			"override footstep sound set" 3
			        		}
			        	}
		        	}
                }
                TFBot
                {
                    Template T_TFBot_Giant_Medic
                }
            }
        }
        WaveSpawn
        {
            Name "wave07_e"
            TotalCount 24
            SpawnCount 4
            MaxActive 10
            WaitBeforeStarting 8
            WaitForAllDead "wave07_d"
            WaitBetweenSpawns 5
            Where spawnbot
            TotalCurrency 50

            TFBot
            {
                Class Scout
                Skill Easy
                Attributes AlwaysCrit
            }
        }
        WaveSpawn //begin the final gauntlet at this point
        {
            Name "wave07_e"
            TotalCount 20
            SpawnCount 5
            MaxActive 11 //Accounts for one set of medics dying before preparing a new one
            WaitBeforeStarting 8
            WaitForAllDead "wave07_gatebot2"
            WaitBetweenSpawns 5
            Where spawnbot_giant
            TotalCurrency 50

            Squad
            {
                TFBot
                {
                    Template T_TFBot_Giant_Demo_Burst
                    Tag bot_giant
                    Attributes AlwaysCrit
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
                TFBot
                {
                    Template T_TFBot_Medic
                }
            }
        }
        WaveSpawn //Spy boss with banner soldier
        {
            Name "wave07_g"
            TotalCount 2
            SpawnCount 2
            WaitForAllDead "wave07_e"
            WaitBeforeStarting 10
            Where spawnbot_chief

            Squad
            {
                ShouldPreserveSquad 1
                TFBot
                {
                    Template T_TFBot_Giant_Soldier_Extended_Concheror
                    Tag bot_giant
                }
                TFBot
                {
                    Class Spy
                    Skill Easy
                    Name "Last Ditch Ops"
                    Attributes MiniBoss
                    Attributes UseBossHealthBar
                    Scale 2
                    Health 25000
                    Attributes AlwaysCrit
                    ClassIcon spy_enforcer_nys
                    Item "The Enforcer"
                    Item "The Deep Cover Operator"
                    Tag bot_giant
                    ItemAttributes
                    {
                        ItemName "The Enforcer"
                        "clip size bonus" 3
                        "fire rate bonus" 0.65
                        "faster reload rate" 0.01 //no escape
                    }
                    CharacterAttributes
		        	{
		        		"cannot disguise" 1
                        "move speed bonus"	0.5
			        	"damage force reduction" 0.1
			        	"airblast vulnerability multiplier" 0.1
			        	"override footstep sound set" 4
			        	"rage giving scale" 0.1
		        	}
                }
            }
        }
        WaveSpawn
        {
            Name "wave07_support"
            TotalCount 666
            SpawnCount 1
            MaxActive 10
            WaitBeforeStarting 5
            WaitForAllSpawned "wave07_g"
            WaitBetweenSpawns 3
            Where spawnbot
            Support 1

            TFBot
            {
                Class Soldier
		      	Skill Normal
		    	Name "Burst Fire Soldier"
		    	Attributes HoldFireUntilFullReload
		    	ClassIcon soldier_burstfire
                Tag bot_giant
                Scale 1.4
                Health 750

		    	ItemAttributes
		    	{
		    		ItemName "TF_WEAPON_ROCKETLAUNCHER"
			    	"fire rate bonus" 0.01
		    		"Projectile speed increased" 0.5
                    "hand scale" 1.5
			    }
            }
        }
        WaveSpawn
        {
            Name "wave07_snipercrit"
            TotalCount 0
            Support 1
            TFBot
            {
                Class Sniper
                Attributes AlwaysCrit
            }
        }
    }
}
//This file has been generated by http://mvm.tf