//gate0_alarm_blue_on
//gate0_alarm_blue_off
//wave_complete
//wave_reset
//gate1_relay
//sentry_nest_hatch_off
//sentry_nest_hatch_on
//sentry_nest_middle_off
//sentry_nest_middle_on
//sentry_nest_main_off
//sentry_nest_main_on
//boss_deploy_relay
//cap_destroy_relay
//holograms_3way_relay
//gate2_relay
//tank_mini_gate1_drop
//blimp_bomb_deploy
//wave_start_relay
//steam_whistle
//gate2_fence_relay
//force_gate1_open
//reset_wave_relay
//force_gate2_open
//wave_finished_reset_spawns
//holograms_centerpath_relay
//subway_car_relay
//gate2_alarm_door_reset_relay
//gate1_alarm_door_reset_relay
//gate1_alarm_timer_relay
//gate2_alarm_timer_relay
//gate2_alarm_blue_off
//gate2_alarm_blue_on
//gate2_alarm_yellow_on
//gate2_alarm_yellow_off
//gate1_alarm_blue_off
//gate1_alarm_blue_on
//gate1_alarm_yellow_off
//gate1_alarm_yellow_on
//this is for relay lookup

// This will help if you need some assistance with opening up certains gates, make sure to read "mannhattan_gates.nut"
// Please ask to use this
//		WaveSpawn 
//      {
//            Name	GATE_OPEN_B
//			WaitBetweenSpawns 1
//			WaitBeforeStarting	2
//            FirstSpawnOutput
//            {
//                Target message_gate_active_B
//                Action Show
//            }
//        }
//		WaveSpawn
//		{
//			Name Gate_b_Open
//			WaitBeforeStarting 4
//			WaitBetweenSpawns 1
//			WaitForAllSpawned GATE_OPEN_B
//			FirstSpawnOutput
//			{
//				Target gate_b_open
//				Action Trigger
//			}
//		}
//		WaveSpawn 
//      {
//            Name	GATE_OPEN_A
//			WaitBetweenSpawns 1
//			WaitBeforeStarting	2
//            FirstSpawnOutput
//            {
//                Target message_gate_active_A
//                Action Show
//            }
//        }
//		WaveSpawn
//		{
//			Name Gate_a_Open
//			WaitBeforeStarting 4
//			WaitBetweenSpawns 1
//			WaitForAllSpawned GATE_OPEN_A
//			FirstSpawnOutput
//			{
//				Target gate_a_open
//				Action Trigger
//			}
//		}
//{
//	WaitBeforeStarting	0
//  	FirstSpawnOutput
//    {
//        Param 
//        "
//            SendGlobalGameEvent(`show_annotation`, {
//                text =
//                lifetime = 12
//               worldPosX = 
//                worldPosY = 
//                worldPosZ = 
//                id = -1
//                play_sound = `misc/doomsday_lift_warning.wav`
//                show_distance = false
//                show_effect = false
//                visibilityBitfield = 0
//            })"

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

population // I HATE POPEXT
{
	StartingCurrency 4000 
	RespawnWaveTime	3
	CanBotsAttackWhileInSpawnRoom No 
	FixedRespawnWaveTime	Yes
	Advanced	1

	Templates
	{
		T_TFBot_Giant_Sniper_SMG_Spammer
		{
			ClassIcon	sniper_smg_spammer_giant
			Health	3000
			Name	"Giant Bullet Spammer SMGman"
			Class	Sniper
			Skill	Expert
			WeaponRestrictions	SecondaryOnly
			Attributes	"MiniBoss"
			ItemAttributes
			{
				ItemName	tf_weapon_smg
				"damage bonus"	1.5
				"bullets per shot bonus"	1.5
				"fire rate bonus"	0.5
				"faster reload rate"	-0.8
			}
			CharacterAttributes
			{
				"move speed bonus" 0.6
				"damage force reduction" 0.6
				"airblast vulnerability multiplier" 0.6
				"override footstep sound set" 7
				"head scale" 0.8
			}
		}
		T_TFBot_Giant_Pyro_Gaspasser_Explove
		{
			Class Pyro
			Name "Giant Explosive Gas Pyro"
			ClassIcon pyro_gascann_explode_giant
			Skill Expert
			Health 3300
			Attributes MiniBoss
			ItemAttributes
			{
				ItemName  "The Gas Passer"
				"mult_item_meter_charge_rate" 0.1
				"explode_on_ignite" 1
		    }		    
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction" 0.6
				"airblast vulnerability multiplier" 0.6
				"override footstep sound set" 6
			}
			Item    "The Gas Passer"
			Item	"neptune's nightmare"
		}
		T_TFBot_Giant_Medic_Uber
		{
			ClassIcon	medic_uber_giant
			Health	3000
			Name	"Giant Uber Medic"
			Class	Medic
			Skill	Expert
			WeaponRestrictions	SecondaryOnly
			Attributes	"SpawnWithFullCharge"
			Attributes	"MiniBoss"
			ItemAttributes
			{
				ItemName	tf_weapon_syringegun_medic
				"damage penalty"	0.1
			}
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction"	0.6
				"airblast vulnerability multiplier"	0.6
				"heal rate bonus"	200
				// "bot medic uber health threshold" 300
				"ubercharge rate bonus"	2
			}
		}
		T_TFBot_Giant_Scout_Fast_Bonk
		{
			ClassIcon	scout_superbonk_giant
			Health	1200
			Name	"Super Bonk Scout"
			Class	Scout
			Skill	Easy
			WeaponRestrictions	MeleeOnly
			Attributes	"MiniBoss"
			CharacterAttributes
			{
				"damage force reduction"	0.7
				"airblast vulnerability multiplier"	0.7
				"override footstep sound set"	5
				"effect bar recharge rate increased"	0.55
				"move speed bonus"	2.0
				"deploy time increased" 0.5
			}
			Item	"bonk! atomic punch"
			Item	"the holy mackerel"
			Item	"bonk helm"
			Item	"bonk boy"
		}
		T_TFBot_Giant_Scout_Hyper_Armored
		{
			ClassIcon	scout_armored_hyper
			Health	3200
			Name	"Armored Hyper Scout"
			Class	Scout
			Skill	Expert
			WeaponRestrictions	PrimaryOnly
			Attributes	"AlwaysCrit"
			Attributes	"MiniBoss"
			ItemAttributes
			{
				ItemName	"blood botkiller scattergun mk.i"
				"faster reload rate"	-0.8
				"fire rate bonus"	0.5
				"damage bonus"	2.0
			}
			CharacterAttributes
			{
				"move speed bonus"	0.75
				"damage force reduction"	0.7
				"airblast vulnerability multiplier"	0.7
				"override footstep sound set"	5
			}
			Item	"the holy mackerel"
			Item	"bonk boy"
			Item    "Das Metalmeatencasen"
			Item	"blood botkiller scattergun mk.i"	
			Item	"the cross-comm express"
		}
		T_TFBot_Giant_Scout_Blaster_Hyper_Armored
		{
			ClassIcon	scout_publicenemy_armored_giant
			Health	3200
			Name	"Armored Public Enemy Scout"
			Class	Scout
			Skill	Expert
			WeaponRestrictions	PrimaryOnly
			Attributes	"MiniBoss"
			ItemAttributes
			{
				ItemName	"baby face's blaster"
				"bullets per shot bonus"	6
				"scattergun has knockback"	5
				"damage bonus"	2.0
				"faster reload rate"	-0.8
			}
			CharacterAttributes
			{
				"damage force reduction"	0.7
				"airblast vulnerability multiplier"	0.7
				"override footstep sound set"	5
				"move speed bonus"	0.75
			}
			Item	"baby face's blaster"
			Item	"pretty boy's pocket pistol"
			Item    "Das Metalmeatencasen"
			Item	"the fed-fightin' fedora"
		}
		T_TFBot_Giant_Scout_Fast_Bonk_Expert
		{
			ClassIcon	scout_superbonk_giant
			Health	1600
			Name	"Super Bonk Scout"
			Class	Scout
			Skill	Expert
			WeaponRestrictions	PrimaryOnly
			Attributes	"MiniBoss"
			CharacterAttributes
			{
				"damage force reduction"	0.7
				"airblast vulnerability multiplier"	0.7
				"override footstep sound set"	5
				"effect bar recharge rate increased"	0.55
				"move speed bonus"	2.0
				"deploy time increased" 0.5
			}
			Item	"bonk! atomic punch"
			Item	"the holy mackerel"
			Item	"bonk helm"
			Item	"bonk boy"
		}
		T_TFBot_Giant_Scout_Hyper_Bonk
		{
			ClassIcon	scout_superbonk_hyper_giant
			Health	1600
			Name	"Giant Hyper Bonk Scout"
			Class	Scout
			Skill	Expert
			WeaponRestrictions	PrimaryOnly
			Attributes	"AlwaysCrit"
			Attributes	"MiniBoss"
			ItemAttributes
			{
				ItemName	"blood botkiller scattergun mk.i"	
				"damage bonus"	2.0
				"fire rate bonus"	0.5
				"faster reload rate"	-0.8
			}
			CharacterAttributes
			{
				"damage force reduction"	0.7
				"airblast vulnerability multiplier"	0.7
				"override footstep sound set"	5
				"effect bar recharge rate increased"	0.55
				"move speed bonus"	2.0
				"deploy time increased" 0.5
			}
			Item	"bonk! atomic punch"
			Item	"the holy mackerel"
			Item	"bonk boy"
			Item	"the cross-comm express"
			Item	"blood botkiller scattergun mk.i"	
		}
		T_TFBot_Giant_Soldier_Bison
		{
			ClassIcon	soldier_bison_giant
			Health	3800
			Name	"Giant Bison Soldier"
			Class	Soldier
			Skill	Expert
			WeaponRestrictions	SecondaryOnly
			Attributes	"MiniBoss"
			ItemAttributes
			{
				ItemName	"the righteous bison"
				"damage bonus"	1.5
			}
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction"	0.4
				"airblast vulnerability multiplier"	0.4
				"override footstep sound set"	3
			}
			Item	"the righteous bison"
		}
		T_TFBot_Demo_Kamikaze
		{
			ClassIcon	demo_caber_nuke
			Name	"Kamikaze Demo"
			Class	Demoman
			Skill	Expert
			WeaponRestrictions	MeleeOnly
			ItemAttributes
			{
				ItemName	"the ullapool caber"
				"damage bonus"	10
				"blast dmg to self increased"	100
				"blast radius increased"	2
			}
			CharacterAttributes
			{
				"bombinomicon effect on death" 1
			}
			Item	"ali baba's wee booties"
			Item	"the chargin' targe"
			Item	"the ullapool caber"
			Item	"sober stuntman"
		}
		T_TFBot_Sniper_SMG
		{
			ClassIcon	sniper_smg_tind
			Name	SMGman
			Class	Sniper
			Skill	Easy
			WeaponRestrictions	SecondaryOnly
		}
		T_TFBot_Soldier_Airstrike_Hyper
		{
			Name "Hyper Air Strike Soldier"
			Class Soldier
			Skill Expert
			Health 200
			ClassIcon soldier_airstrike_hyper
			AutoJumpMin 5
			AutoJumpMax 5
			WeaponRestrictions PrimaryOnly
			Item "The Air Strike"
			Item "The B.A.S.E. Jumper"
			Item "The Whirly Warrior"
			Attributes AutoJump
			Attributes HoldFireUntilFullReload
			Attributes Parachute
			Attributes AlwaysCrit
			ItemAttributes
			{
				ItemName "The Air Strike"
				"clip size upgrade atomic" 10
				"faster reload rate" 0.2
				"fire rate bonus" 0.1
				"blast radius decreased" 1.1
				"damage penalty" 2.0
			}
			CharacterAttributes
			{
				"cancel falling damage" 1
				"increased jump height" 3
				"increased air control" 3
			}
		}
		Supergiant_Soldier
		{
			ClassIcon	soldier_giant
			Health	20000
			Name	"Supergiant Soldier"
			Scale	2.5
			Class	Soldier
			Skill	Expert
			WeaponRestrictions	PrimaryOnly
			Attributes	"HoldFireUntilFullReload"
			Attributes	"MiniBoss"
			Attributes	"UseBossHealthBar"
			ItemAttributes
			{
				ItemName	tf_weapon_rocketlauncher
				"damage bonus"	2.55
				"clip size penalty"	0.5
				"use large smoke explosion"	1  //might remove
				"Blast radius increased"	2.0
				"Projectile speed decreased"	0.6
				"fire rate penalty"	2.5
				"energy weapon no deflect" 1
			}
			CharacterAttributes
			{
				"override footstep sound set"	3
				"airblast vulnerability multiplier"	0.001
				"airblast vertical vulnerability multiplier" 0.001
				"damage force reduction"	0.1
				"rage giving scale"	0.2
				"move speed penalty"	0.5
			}
		}
		T_TFBot_Giant_Engineer_Pomson // From robot_hole_sigsegv.pop
		{
			Health	3300
			Name	"Giant Pomson Engineer"
			Class	Engineer
			ClassIcon	engineer_pomson_giant
			Skill	Expert
			WeaponRestrictions	PrimaryOnly
			Attributes	MiniBoss
			//Action	FetchFlag
			ItemAttributes
			{
				ItemName	"The Pomson 6000"
				"damage bonus"	1.5
				"fire rate bonus" 0.8
			}
			CharacterAttributes
			{
				"move speed bonus" 0.5
				"damage force reduction" 0.6
				"airblast vulnerability multiplier" 0.6
				"override footstep sound set" 7
				"head scale" 0.8
			}
			Item	"the pomson 6000"
		}
		Direct_Spell_Soldier
        {
			ClassIcon    soldier_directhit_heal_spell
        	Health    3600 //if spy is maxed out on pen and times it right, it can negate him entirely
			Name    "uber jumpscare"
			Class    Soldier
			Skill    Expert
			Tag bot_giant
			Attributes MiniBoss
			ItemAttributes
			{
				ItemName "TF_WEAPON_SPELLBOOK"
				"fire rate bonus" 1
			}

			ItemAttributes
			{
				ItemName "The Direct Hit"
				"faster reload rate" -2
				"mod no reload DISPLAY ONLY" 1
			}
            CharacterAttributes
            {
				"move speed bonus" 0.3
				"damage force reduction"    0.2
                "airblast vulnerability multiplier"    0.01
                "healing received bonus" 15
				//"voice pitch scale" 0
            }
            Item    "The Direct Hit"
            Item    "The Spellbinder's Bonnet"
            Item    "TF_WEAPON_SPELLBOOK"
            Spell  
        	{
				Delay 2
        	    Cooldown 5
           	    IfSeeTarget 0
				Charges 1
				Type "Healing Aura"
			}
        }
		T_TFBot_Giant_Pyro_Flare_Barrage
		{
			Class Pyro
			Name "Giant Flare Rain Pyro"
			ClassIcon pyro_flare_rain_nys
			Skill Expert
			Health 4200
			Item "The Flare Gun"
			Item "Skullbrero"
			WeaponRestrictions SecondaryOnly
			Attributes MiniBoss
			ItemAttributes
			{
				ItemName "The Flare Gun"
				"fire rate bonus" 0.1
				"projectile spread angle penalty" 5
				"projectile speed decreased" 0.3
			}
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction" 0.6
				"airblast vulnerability multiplier" 0.6
				"override footstep sound set" 6
			}
		}
		T_TFBot_Medic_Vaccinator_Blast
		{
			Name "Blast Vaccinator Medic"
			Class Medic
			Skill Expert
			ClassIcon medic_vac_trio_nys
			WeaponRestrictions SecondaryOnly
			Attributes SpawnWithFullCharge
			ItemAttributes
			{
				ItemName "TF_WEAPON_MEDIGUN"
				"lunchbox adds minicrits" 3 
				"medigun bullet resist deployed" 1
				"medigun bullet resist passive"  1
				"medigun charge is resists" 4 //3 for bullet, 4 for blast, 5 for fire
				"ubercharge rate bonus" 200
				"uber duration bonus" -5
			}
			CharacterAttributes
			{
				"bot medic uber health threshold" 444
			}
		}
	}
	Mission //todo -> w4 is a heal on kill/ heal on hit | w5 add tanks if possible and spellcaster. this is for future reference in case I forget add a mysterious bot for w6 and w5
	{
		Objective Engineer
		Where spawnbot_mission_spy
		BeginAtWave 4
		RunForThisManyWaves 4
		InitialCooldown 10
		CooldownTime 20
		DesiredCount 2
		TFBot
		{
			TeleportWhere spawnbot_mission_spy
			Template T_TFBot_Engineer_Sentry_Tele_Battle
			ClassIcon Engineer_build_telein_hyper
			CharacterAttributes
			{
				"fire rate bonus" 0.5
				"move speed bonus" 1.5
				"Repair rate increased" 2
				"engy building health bonus" 10
				"Construction rate increased" 200
				"cannot be sapped" 1
			}
		}
	}
	Mission
	{
		Objective DestroySentries
		Where spawnbot_upper0
		Where spawnbot_upper1
		Where spawnbot_upper2
		BeginAtWave 1
		RunForThisManyWaves 8
		InitialCooldown 10
		CooldownTime 20
		RandomChoice
		{
			TFBot
			{
				Name "Speedy Buster"
				Template T_TFBot_SentryBuster
				WeaponRestrictions PrimaryOnly
				Attributes DisableDodge
				Item "Thunder Dome"
				CharacterAttributes
				{
					"move speed bonus" 5
					"damage force reduction" 0
					"airblast vulnerability multiplier" 0
					"airblast vertical vulnerability multiplier" 0
					"override footstep sound set" 7
					"cannot be backstabbed" 1
					"cannot be sapped" 1
				}
			}
			TFBot
			{
				Template T_TFBot_SentryBuster
				WeaponRestrictions PrimaryOnly
				CharacterAttributes
				{
					"move speed bonus" 1
					"damage force reduction" 0
					"airblast vulnerability multiplier" 0
					"airblast vertical vulnerability multiplier" 0
					"override footstep sound set" 7
					"cannot be backstabbed" 1
					"Cannot be sapped" 1
				}
			}
			TFBot
			{
				Template T_TFBot_SentryBuster
				WeaponRestrictions PrimaryOnly
				CharacterAttributes
				{
					"move speed bonus" 1
					"damage force reduction" 1
					"airblast vulnerability multiplier" 0
					"airblast vertical vulnerability multiplier" 0
					"override footstep sound set" 7
					"cannot be backstabbed" 1
					"cannot be sapped" 1
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	15
		Checkpoint Yes
		StartWaveOutput
		{
			Target wave_start_relay
			Action	Trigger
		}
		InitWaveOutput
		{
			Target gamerules
			Action runscriptcode
			Param "
				IncludeScript(`popextensions_main`, getroottable())
				IncludeScript(`city_extermination_tank_paths`, getroottable())
				IncludeScript(`mvm_mannhattan_master_terminate_meltdown_tags`, getroottable())
							MissionAttrs({
							WaveStartCountdown = 5
							BotHeadshots = 1})
				ClientPrint(null,3, `\x0700FFFFThis Mission is difficult depending on the team, I recommend playing this mission with a good team.`)"
		}
		DoneOutput
		{
			Target holograms_3way_relay
			Action Trigger
		}
		WaveSpawn
		{
			Name w1
			TotalCount 3
			SpawnCount 1
			MaxActive 2
			WaitBetweenSpawns 17
			TotalCurrency 100
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			TFBot
			{
				Name "Sir Barrage"
				Class Demoman
				ClassIcon demo_barrage
				Health 15000
				Skill Expert
				WeaponRestrictions PrimaryOnly
				Attributes MiniBoss
				Attributes HoldFireUntilFullReload
				Tag bot_gatebot
				Tag bot_giant
				Tag nav_prefer_gate1_flank
				//Tag "popext_aimat( target = body )"
				ItemAttributes
				{
					ItemName "TF_WEAPON_GRENADELAUNCHER"
					"clip size upgrade atomic" 33.0
					"faster reload rate" 0.6
					"fire rate bonus" 0.2
					"projectile spread angle penalty" 5
					"damage bonus" 1.5
				}
				CharacterAttributes
				{
					"health regen"	200
					"move speed bonus"	0.4
					"damage force reduction" 0.2
					"airblast vulnerability multiplier" 0.001
					"override footstep sound set" 4
					"airblast vertical vulnerability multiplier" 0.01
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Name w1a
			TotalCount 15
			SpawnCount 3
			MaxActive 6
			WaitBetweenSpawns 9
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			TFBot
			{
				ClassIcon	heavy_buff_lite
				Template T_TFGateBot_Heavy_Hard
				Health 500
				Name	"Extended Buff Heavy"
				Class	Heavy
				Skill	Expert
				Attributes SpawnWithFullCharge
				CharacterAttributes 
				{
					"increase buff duration" 12
					"deploy time increased" 0.5
					"damage bonus" 0.5
					"cannot be sapped" 1
				}
				Item "The Buff Banner"
			}
		}
		WaveSpawn
		{
			Name w1a2
			TotalCount 18
			SpawnCount 2
			MaxActive 4
			WaitBetweenSpawns 4
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			TFBot
			{
				ClassIcon	scout_cola
				Name	"Mini Crit Scout"
				Health 300
				Class	Scout
				Skill	Expert
				Tag bot_gatebot
				CharacterAttributes
				{
					"effect bar recharge rate increased"	0.4
					"damage bonus" 1.5
					"cannot be sapped" 1
				}
				Item	"Crit-a-Cola"
			}
		}
		WaveSpawn
		{
			Name w1b
			TotalCount 6
			SpawnCount 1
			MaxActive 2
			TotalCurrency 200
			WaitForAllSpawned w1
			WaitBetweenSpawns 12
			WaitBeforeStarting 6
			Where spawnbot_upper0
			Where spawnbot_upper1
			Where spawnbot_upper2
			Squad
			{
				TFBot
				{
					Class Heavyweapons
					Name "Giant Penetrator Shotgun Heavy"
					Template T_TFGateBot_Giant_Heavyweapons_Shotgun
					ClassIcon heavy_shotgun_penetrate_giant
					Skill Expert
					Health 12000
					Tag bot_giant
					Tag bot_squad_member
					WeaponRestrictions SecondaryOnly
					Attributes MiniBoss
					Attributes HoldFireUntilFullReload
					ItemAttributes
					{
						ItemName "TF_WEAPON_SHOTGUN_HWG"
						"fire rate bonus" 1.5
						"bullets per shot bonus" 5
						"damage bonus" 1.5
						"faster reload rate" 0.1
						"projectile penetration"	1
					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"damage force reduction" 0.3
						"airblast vulnerability multiplier" 0.01
						"airblast vertical vulnerability multiplier" 0.01
						"attack projectiles" 2	// force ability to shoot down projectiles
						"override footstep sound set" 2
						"healing received bonus" 15
						"cannot be sapped" 1
					}
				}
				TFBot
				{
					ClassIcon    soldier_directhit_heal_spell
        			Health    300
					Name    "Uber Caster Soldier"
					Class    Soldier
					Skill    Expert
					Tag bot_squad_member
					//Attributes SuppressFire
					Tag "popext_stripslot{ slot = SLOT_MELEE }"
					Tag "popext_stripslot{ slot = SLOT_SECONDARY }"
					Tag "popext_spell{ type = SPELL_OVERHEAL cooldown = 5 delay = 5 charges = 2 IfSeeTarget = 0 }"
					ItemAttributes
					{
						ItemName "TF_WEAPON_SPELLBOOK"
						"fire rate bonus" 1
						//"is_passive_weapon" 1
					}
        		    CharacterAttributes
        		    {
						"damage force reduction"    0.3
        		        "airblast vulnerability multiplier"  0.1
						"airblast vertical vulnerability multiplier" 0.1
        		        "healing received bonus" 2
						"cannot be sapped" 1
						//"voice pitch scale" 0
        		    }
        		    Item    "The Direct Hit"
        		    Item    "The Spellbinder's Bonnet"
        		    Item    "TF_WEAPON_SPELLBOOK"
				}
			}
		}
		WaveSpawn
		{
			Name w1b2
			TotalCount 22
			SpawnCount 2
			MaxActive 6
			WaitBetweenSpawns 6
			WaitForAllSpawned w1
			WaitBeforeStarting 12
			Where spawnbot_upper0
			Where spawnbot_upper1
			Where spawnbot_upper2
			TFBot
			{
				ClassIcon	pyro_gascann_slowdown
				Name	"Sticky Gas Thrower"
				Class	Pyro
				Skill	Expert
				Health 400
				WeaponRestrictions	SecondaryOnly
				ItemAttributes
				{
					ItemName "The Gas Passer"
					"mult_item_meter_charge_rate" 0.05
					"applies snare effect" 0.50
					"fire rate penalty" 2
				}
				CharacterAttributes
				{
					"cannot be sapped" 1
				}
				Item	"Neptune's Nightmare"
				Item    "The Gas Passer"
			}
		}
		WaveSpawn
		{
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			TotalCurrency 100
			WaitBetweenSpawns 7
			WaitBeforeStarting 9
			WaitForAllSpawned w1b
			Tank
			{
				Name "tank"
				Speed 75
				Health 65000
				StartingPathTrackNode extratankpath1_1
				OnKilledOutput
				{
					Target boss_dead_relay
					Action Trigger
				}
				OnBombDroppedOutput
				{
					Target boss_deploy_relay
					Action Trigger
				}
			}
		}
		WaveSpawn
		{
			Name w1c
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 5
			WaitForAllSpawned w1b
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			TFBot
			{
				ClassIcon	pyro_phlog_giant
				Template T_TFGateBot_Pyro_Expert
				Health	12000
				Name	"Giant Moonman"
				Class	Pyro
				Skill	Expert
				WeaponRestrictions	PrimaryOnly
				Attributes MiniBoss
				Tag bot_gatebot
				Tag bot_giant
				ItemAttributes
				{
					ItemName	"The Phlogistinator"
					"damage bonus" 1.5
					"critboost on kill" 5
					"speed_boost_on_kill" 5
					"airblast disabled"    0
					"mod rage on hit bonus" 100
				}
				CharacterAttributes
				{
					"gesture speed increase" 2.0
					"move speed bonus"	0.5
					"damage force reduction"	0.1
					"airblast vulnerability multiplier"	0.01
					"airblast vertical vulnerability multiplier" 0.01
					"override footstep sound set"	6
					"cannot be sapped" 1
				}
				Item	"The Phlogistinator"
				Item	"The Bubble Pipe"
				Item	"The Moonman Backpack"
			}
		}
		WaveSpawn
		{
			Name w1c2
			TotalCount 18
			SpawnCount 2
			MaxActive 6
			WaitForAllSpawned w1c
			TotalCurrency 50
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			TFBot
			{
				ClassIcon	scout_burst
				Name	"Burst Scatter Scout"
				Class	Scout
				Skill	Hard
				Health 300
				WeaponRestrictions	PrimaryOnly
				Attributes AlwaysCrit
				Attributes HoldFireUntilFullReload
				ItemAttributes
				{
					ItemName	"The Back Scatter"
    	            "fire rate bonus" 0.2
    	            "faster reload rate" 0.6
					"clip size penalty" 1.5
					"closerange backattack minicrits" 0
					"damage bonus" 1.5
				}
				CharacterAttributes
				{
					"cannot be sapped" 1
				}
				Item	"The Back Scatter"
			}
		}
		WaveSpawn
		{
			Name w1c3
			TotalCount 18
			SpawnCount 1
			MaxActive 4
			WaitForAllSpawned w1c
			TotalCurrency 50
			Where spawnbot_upper0
			Where spawnbot_upper1
			Where spawnbot_upper2
			TFBot
			{
				Name "Sticky Spammer"
				Class Demoman
				ClassIcon demo_sticky_spammer_daan
				Skill Expert
				Health 500
				Tag bot_gatebot
				Attributes HoldFireUntilFullReload
				Attributes AlwaysFireWeapon
				WeaponRestrictions SecondaryOnly
				ItemAttributes
				{
					ItemName "TF_WEAPON_GRENADELAUNCHER"
					"is_passive_weapon" 1
					"clip size upgrade atomic" -4
				}
				ItemAttributes
				{
					ItemName "TF_WEAPON_PIPEBOMBLAUNCHER"
					"stickybomb charge rate" -1
					"fire rate bonus" 0.2
					"max pipebombs increased" -5
					"faster reload rate" -1
					"Projectile speed increased" 1.6
					"dmg falloff decreased" 0.3
					"damage bonus" 1.5
				}
				CharacterAttributes
				{
					"no self blast dmg" 1
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			TotalCurrency 100
			WaitBetweenSpawns 7
			WaitBeforeStarting 15
			WaitForAllDead w1
			Tank
			{
				Name "tank"
				Speed 70
				Health 70000
				StartingPathTrackNode extratankpath1_1
				OnKilledOutput
				{
					Target boss_dead_relay
					Action Trigger
				}
				OnBombDroppedOutput
				{
					Target boss_deploy_relay
					Action Trigger
				}
			}
		}
		WaveSpawn
		{
			Name w1s
			SpawnCount 3
			MaxActive 3
			Support 1
			WaitBetweenSpawns 8
			WaitBeforeStarting 10
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			TFBot
			{
				Name	"Pyro"
				Template T_TFGateBot_Pyro_Expert
				Class	Pyro
				Health 400
				Skill Expert
				CharacterAttributes
				{
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Name w1s2
			SpawnCount 3
			MaxActive 3
			Support 1
			WaitBetweenSpawns 6
			WaitBeforeStarting 19
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			TFBot
			{
				ClassIcon	scout_fan_push
				Template T_TFGateBot_Scout_FAN
				Name	"Force-A-Pusher"
				Health 325
				Class	Scout
				Skill	Expert
				ItemAttributes
				{
					ItemName	"The Force-a-Nature"
					"faster reload rate"	0.5
					"scattergun knockback mult"	10
				}
				CharacterAttributes
				{
					"cannot be sapped" 1
				}
				Item	"The Force-a-Nature"
				Item	"Flipped Trilby"
			}
		}
	}
	Wave
	{
		WaitWhenDone	15
		Checkpoint Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		InitWaveOutput
		{
			Target BigNet
			Action RunScriptCode
			Param "
				IncludeScript(`popextensions_main`, getroottable())
				IncludeScript(`mvm_mannhattan_master_terminate_meltdown_tags`, getroottable())
				MissionAttrs({
								WaveStartCountdown = 5
								BotHeadshots = 1})"
		}
		DoneOutput
		{
			Target	holograms_3way_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name w2
			TotalCount 2
			MaxActive 2
			SpawnCount 1
			TotalCurrency 100
			WaitBetweenSpawns 5
			Where spawnbot_upper0
			Where spawnbot_upper1
			Where spawnbot_upper2
			TFBot
			{
				Class Soldier
				Name "Giant Charged Burst Soldier"
				ClassIcon soldier_crit_burstfire_giant
				Skill Expert
				Health 9800
				Item "The Original"
				Attributes AlwaysCrit
				Attributes HoldFireUntilFullReload
				Attributes MiniBoss
				Attributes IgnoreFlag
				BehaviorModifiers Push
				Tag bot_giant
				WeaponRestrictions PrimaryOnly
				Template T_TFGateBot_Giant_Soldier_BurstFire
				ItemAttributes
				{
					ItemName "The Original"
					"Projectile speed increased"	0.5
					"faster reload rate"	0.4
					"fire rate bonus"	0.2
					"clip size upgrade atomic"	5.0
					"damage bonus" 0.5
				}
				CharacterAttributes
				{
					"move speed bonus"	0.5
					"damage force reduction" 0.2
					"airblast vulnerability multiplier" 0.01
					"airblast vertical vulnerability multiplier" 0.01
					"override footstep sound set" 3
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Name w2a
			TotalCount 20
			MaxActive 10
			SpawnCount 1
			WaitBetweenSpawns 1
			WaitBeforeStarting 12
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			TFBot
			{
				ClassIcon	scout_superbonk_giant
				Health	3600
				Name	"Super Bonk Scout"
				Class	Scout
				Skill	Expert
				WeaponRestrictions	PrimaryOnly
				Attributes	MiniBoss
				CharacterAttributes
				{
					"damage force reduction"	0.4
					"airblast vulnerability multiplier"	0.5
					"airblast vertical vulnerability multiplier" 0.2
					"override footstep sound set"	5
					"effect bar recharge rate increased"	0.55
					"move speed bonus"	2.0
					"deploy time increased" 0.5
					"cannot be sapped" 1
				}
				Item	"Bonk! Atomic Punch"
				Item	"The Holy Mackerel"
				Item	"Bonk Helm"
				Item	"Bonk Boy"
			}
		}
		WaveSpawn
		{
			Name w2a2
			TotalCount 10
			MaxActive 10
			SpawnCount 1
			WaitBetweenSpawns 2
			WaitBeforeStarting 6
			TotalCurrency 100
			Where spawnbot_upper0
			Where spawnbot_upper1
			Where spawnbot_upper2
			TFBot
			{
				Class Scout
				Health 5600
				Template T_TFGateBot_Scout_Hard
				ClassIcon scout_kingbee_nys_giant
				Name "Giant Killer Bee Scout"
				Skill Expert
				Attributes MiniBoss
				Attributes AutoJump
				AutoJumpMin 5
				AutoJumpMax 5
				ItemAttributes
				{
					ItemName	"warbird_scattergun_killerbee"
					"weapon spread bonus" 0.3
					"fire rate bonus"	0.5
					"faster reload rate"	-0.8
					"damage bonus"	1.5	
				}
				CharacterAttributes
				{
					"increased jump height" 2
					"move speed bonus" 2.0
					"damage force reduction"	0.5
					"airblast vulnerability multiplier"	0.5
					"airblast vertical vulnerability multiplier" 0.1
					"override footstep sound set"	5
					"cannot be sapped" 1
				}
				Item "warbird_scattergun_killerbee"
				Item "The Flight of the Monarch"
				Item "Bumble Beenie"
			}
		}
		WaveSpawn
		{
			Name w2b2
			TotalCount 22
			MaxActive 4
			SpawnCount 1
			WaitBetweenSpawns 1
			WaitBeforeStarting 13
			WaitForAllSpawned w2
			TotalCurrency 100
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			TFBot
			{
				ClassIcon	heavy_brass_nys
				Name	"Goldgun Heavy"
				Class	Heavy
				Skill	Expert
				Tag "popext_mobber"
				Attributes IgnoreFlag
				ItemAttributes
				{
					ItemName	"The Brass Beast"
					"turn to gold"	1				
					"fire rate bonus"	0.5
					"damage bonus" 2
				}
				CharacterAttributes
				{
					"cannot be sapped" 1
				}
				Item	"The Brass Beast"
				Item	"The Gridiron Guardian"
			}
		}
		WaveSpawn
		{
			Name w2b
			TotalCount 3
			MaxActive 2
			SpawnCount 1
			WaitForAllSpawned w2
			WaitBetweenSpawns 5
			WaitBeforeStarting 10
			TotalCurrency 100
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			TFBot
			{
				Class Heavy
				Name "Giant Deflector Penetrator Heavy"
				ClassIcon heavy_deflector_penetrate_giant
				Skill Expert
				Health 15000
				Item "The U-clank-a"
				Item "Deflector"
				Template T_TFGateBot_Giant_Heavyweapons_Deflector
				WeaponRestrictions PrimaryOnly
				MaxVisionRange 1500
				Attributes MiniBoss
				Tag bot_giant
				ItemAttributes
				{
					ItemName "Deflector"
					"damage bonus"	1.5
					"attack projectiles" 2
					"projectile penetration"	1
				}
				CharacterAttributes
				{
					"move speed bonus"	0.5
					"damage force reduction" 0.5
					"airblast vulnerability multiplier" 0.01
					"airblast vertical vulnerability multiplier" 0.01
					"override footstep sound set" 2
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Name w2b3
			TotalCount 15
			MaxActive 5
			SpawnCount 1
			WaitBetweenSpawns 2
			WaitBeforeStarting 3
			WaitForAllSpawned w2b2
			Where spawnbot_upper0
			Where spawnbot_upper1
			Where spawnbot_upper2
			TFBot
			{
				Class Soldier
				Skill Expert
				Health 400
				WeaponRestrictions PrimaryOnly		
				Item "The Liberty Launcher"
				Name "Blast Soldier"
				ClassIcon soldier_libertylauncher
				Attributes HoldFireUntilFullReload
				Template T_TFGateBot_Soldier_RocketPush
				ItemAttributes
				{
					ItemName "The Liberty Launcher"
					"damage causes airblast" 1
					"damage bonus" .45
					"fire rate bonus" 0.001
					"clip size upgrade atomic" -2
					"faster reload rate" 1.5
					"Blast radius decreased" 1.2
					"projectile spread angle penalty" 2
				}
				CharacterAttributes
				{
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Name w2c1
			TotalCount 9
			MaxActive 6
			SpawnCount 1
			TotalCurrency 100
			WaitBeforeStarting 4
			WaitBetweenSpawns 8
			WaitForAllDead w2b
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			Squad
			{
				TFBot
				{
					ClassIcon heavy_rocket
					Health	16000
					Name	"Giant Rocket Heavy"
					Class	Heavy
					Skill	Expert
					Tag bot_squad_member
					Tag bot_giant
					Tag nav_prefer_gate1_flank
					MaxVisionRange	1200
					WeaponRestrictions	PrimaryOnly
					Attributes	"MiniBoss"
					Template T_TFGateBot_Giant_Heavyweapons_Deflector
					ItemAttributes
					{
						ItemName	"Iron Curtain"
						"damage bonus"	1
						"override projectile type"	2
						"fire rate penalty"	2.0
					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"damage force reduction"	0.3
						"airblast vulnerability multiplier"	0
						"airblast vertical vulnerability multiplier" 0
						"override footstep sound set"	2
						"no self blast dmg"	1
						"cannot be sapped" 1
					}
					Item	"Iron Curtain"
				}
				TFBot
				{
					Name "Rapid Hipfire Sniper"
					ClassIcon sniper_rapid_vaccpierce
					Health 500
					Class Sniper
					Tag bot_squad_member
					Attributes AlwaysFireWeapon
					Attributes AlwaysCrit
					WeaponRestrictions PrimaryOnly
					ItemAttributes
					{
						ItemName "TF_WEAPON_SNIPERRIFLE"
						"fire rate bonus" 0.7
						"dmg pierces resists absorbs" 1
					}
					CharacterAttributes
					{
						"airblast vulnerability multiplier" 0
						"damage force reduction" 0.2
						"head scale" 0.8
						"cannot be sapped" 1
					}
				}
				TFBot
				{
					Name "Rapid Hipfire Sniper"
					ClassIcon sniper_rapid_vaccpierce
					Health 500
					Class Sniper
					Tag bot_squad_member
					Attributes AlwaysFireWeapon
					Attributes AlwaysCrit
					WeaponRestrictions PrimaryOnly
					ItemAttributes
					{
						ItemName "TF_WEAPON_SNIPERRIFLE"
						"fire rate bonus" 0.6
						"dmg pierces resists absorbs" 1
					}
					CharacterAttributes
					{
						"airblast vulnerability multiplier" 0
						"damage force reduction" 0.2
						"head scale" 0.8
						"cannot be sapped" 1
					}
				}
			}
		}
		WaveSpawn
		{
			Name w2c2
			TotalCount 15
			MaxActive 10
			SpawnCount 1
			WaitBetweenSpawns 2
			WaitForAllDead w2b
			WaitBeforeStarting 8
			Where spawnbot_upper0
			Where spawnbot_upper1
			Where spawnbot_upper2
			TFBot
			{
				ClassIcon	demo_cannon_burst
				Name	"Scatter Cannon Demo"
				Class	Demoman
				Skill	Expert
				Tag bot_gatebot
				Attributes	"HoldFireUntilFullReload"
				Template T_TFGateBot_Demo_Burst_Normal
				CharacterAttributes
				{
					"grenade launcher mortar mode"	-2
					"damage causes airblast"	1
					"faster reload rate"	0.9
					"fire rate bonus"	0.001
					"projectile spread angle penalty"	2
					"clip size upgrade atomic"	3
					"cannot be sapped" 1
				}
				Item	"The Loose Cannon"
			}
		}
		WaveSpawn
		{
			Name w2d1
			TotalCount 4
			MaxActive 4
			SpawnCount 2
			WaitBetweenSpawns 7
			WaitForAllSpawned w2c1
			WaitBeforeStarting 3
			TotalCurrency 100
			Where spawnbot_upper0
			Where spawnbot_upper1
			Where spawnbot_upper2
			Squad
			{
				TFBot
				{
					ClassIcon Demo_loch_spammer_giant
					Health	9000
					Name	"Burst Loch-n-Load Demoman"
					Class	Demoman
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					Tag	bot_giant
					//Tag "popext_aimat{ target = `head` }" //doesnt work, gives errors, not sure if its fixed
					Attributes MiniBoss
					Attributes AlwaysFireWeapon
					Template T_TFGateBot_Demoman_Hard

					ItemAttributes
					{
						ItemName	"The Loch-n-Load"
						"damage bonus"	0.2
						"faster reload rate" -0.8
						"clip size upgrade atomic" 2
						"fire rate bonus" 0.1
						"mod no reload DISPLAY ONLY" 1
					}
					CharacterAttributes
					{
						"move speed bonus" 0.4
						"airblast vulnerability multiplier"	0.1
						"airblast vertical vulnerability multiplier" 0.01
						"damage force reduction"	0.2
						"reload time decreased while healed" 0.1
						"cannot be sapped" 1
					}
					Item	"The Loch-n-Load"
				}
				TFBot
				{
					Health	8500
					Name	"Boosted Duration Quickfix Medic"
					ClassIcon medic_quickfix_giant
					WeaponRestrictions	SecondaryOnly
					Template	T_TFBot_Giant_Medic_Regen
					Attributes SpawnWithFullCharge
					ItemAttributes
					{
						ItemName	"The Quick-Fix"
						"ubercharge rate bonus"	0.8
						"uber duration bonus" 5
					}
					CharacterAttributes
					{
						"damage force reduction"	0.2
						"airblast vulnerability multiplier"	0.01
						"airblast vertical vulnerability multiplier" 0.01
						"heal rate bonus"	200
						"health regen"	200
						"bot medic uber health threshold" 2000
						"cannot be sapped" 1
					}
					Item	"Honest Halo"
				}
			}
		}
		WaveSpawn
		{
			Name w2d2
			TotalCount 18
			MaxActive 10
			SpawnCount 1
			WaitBetweenSpawns 1
			WaitForAllDead w2c1
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			TFBot
			{
				Class Sniper
				Name "Bowman Rapid Fire"
				Item "The Huntsman"
				ClassIcon sniper_bow
				Skill Hard
				Health 1200
				Scale 1.5
				Attributes AlwaysCrit
				ItemAttributes
				{
					ItemName "The Huntsman"
					"fire rate bonus" 0.6
				}
				CharacterAttributes
				{
					"head scale" 0.7
					"move speed bonus"	0.85
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Name w2d3
			TotalCount 3
			MaxActive 3
			SpawnCount 1
			WaitForAllSpawned w2d1
			WaitBetweenSpawns 6
			Where spawnbot_upper0
			Where spawnbot_upper1
			Where spawnbot_upper2
			TFBot
			{
				ClassIcon	demoknight_skullcutter_lite_giant
				Health	7800
				Name	"Giant BattleAxe Demoknight"
				Class	Demoman
				Skill	Expert
				Tag nav_prefer_gate1_flank
				WeaponRestrictions	MeleeOnly
				Attributes	"MiniBoss"
				ItemAttributes
				{
					ItemName	"The Scotsman's Skullcutter"
					"critboost on kill"	10
					"damage bonus"	2.0
				}
				ItemAttributes
				{
					ItemName "The Chargin' Targe"
					"Attack not cancel charge" 1
				}	
				CharacterAttributes
				{
					"move speed bonus"	0.5
					"damage force reduction"	0.5
					"airblast vulnerability multiplier"	0.1
					"airblast vertical vulnerability multiplier" 0.1
					"override footstep sound set"	4
					"cannot be sapped" 1
				}
				Item	"Ali Baba's Wee Booties"
				Item	"The Chargin' Targe"
				Item	"The Scotsman's Skullcutter"
				Item	"Glengarry Bonnet"
			}
		}
		WaveSpawn
		{
			Name w2s
			SpawnCount 3
			MaxActive 3
			WaitBetweenSpawns 10
			WaitBeforeStarting 16
			Support 1
			Where spawnbot_mission_spy
			TFBot
			{
				Name	"Swift Silent Spy"
				Class	Spy
				ClassIcon spy_saharan
				Skill	Expert
				Attributes DisableDodge //spies are annoying even with yer so might enable this
				Item	"Your Eternal Reward"
				CharacterAttributes
				{
					"voice pitch scale"	0
					"disguise speed penalty" -4
					"gesture speed increase" 0.01
					"move speed bonus" 1.5
					"damage bonus" 1.5
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone 10
		Checkpoint Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		InitWaveOutput
		{
			Target gamerules
			Action runscriptcode
			Param "
				IncludeScript(`popextensions_main`, getroottable())
				IncludeScript(`mvm_mannhattan_master_terminate_meltdown_tags`, getroottable())
				IncludeScript(`city_extermination_tank_paths`, getroottable())
				IncludeScript(`tankextensions_main`, getroottable())
				IncludeScript(`tankextensions/gatetank`, getroottable())
				IncludeScript(`tankextensions/teletank`, getroottable())
				MissionAttrs({
								WaveStartCountdown = 5
								BotHeadshots = 1})"
		}
		DoneOutput
		{
			Target	holograms_3way_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name w3a
			TotalCount 25
			SpawnCount 5
			MaxActive 10
			WaitBetweenSpawns 5
			WaitBeforeStarting 6
			Where spawnbot_upper0
			Where spawnbot_upper1
			Where spawnbot_upper2
			TFBot
			{
				Class Heavyweapons
				ClassIcon heavy_shotgun
				Name "Shotgun Heavy"
				Health 500
				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 "MvM GateBot Light Heavy"
						Skill Normal
						WeaponRestrictions SecondaryOnly

						ItemAttributes
						{
							ItemName "TF_WEAPON_SHOTGUN_HWG"
							"faster reload rate" 0.1
							"fire rate bonus" 2.5
							"bullets per shot bonus" 3
							"damage penalty" 0.33
						}
						CharacterAttributes
						{
							"cannot be sapped" 1
						}
					}
					RevertGateBotsBehavior
					{
						Item "MvM GateBot Light Heavy"
						ItemAttributes               // turn off light hat
						{
							ItemName "MvM GateBot Light Heavy"
							"item style override" 1
						}

						Skill Hard
						WeaponRestrictions SecondaryOnly
						ItemAttributes
						{
							ItemName "TF_WEAPON_SHOTGUN_HWG"
							"faster reload rate" 0.1
							"fire rate bonus" 2.5
							"bullets per shot bonus" 3
							"damage penalty" 0.33
						}
						CharacterAttributes
						{
							"cannot be sapped" 1
						}
					}
				}
			}
		}
		WaveSpawn
		{
			Name w3a2
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			TotalCurrency 100
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			TFBot
			{
				Class Heavyweapons
				Name "Giant Deflector Heavy"
				Health 45000
				ClassIcon heavy_deflector

				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 "The U-clank-a"
						Item "Deflector"
						Item "MvM GateBot Light Heavy"
						Skill Expert
						WeaponRestrictions PrimaryOnly
						//MaxVisionRange 1200
						Attributes UseBossHealthBar
						Attributes MiniBoss
						Attributes AlwaysCrit
						Tag bot_giant
						Tag bot_gatebot
						ItemAttributes
						{
							ItemName "Deflector"
							"damage bonus"	1.5 // copied from base mighty heavy
							"attack projectiles" 1	// force ability to shoot down projectiles
						}
						CharacterAttributes
						{
							"move speed bonus"	0.5
							"damage force reduction" 0.2
							"airblast vulnerability multiplier" 0
							"override footstep sound set" 2
							"cannot be sapped" 1
						}
					}
					RevertGateBotsBehavior
					{
						Item "The U-clank-a"
						Item "Deflector"
						Item "MvM GateBot Light Heavy"
						ItemAttributes               // turn off light hat
						{
							ItemName "MvM GateBot Light Heavy"
							"item style override" 1
						}
						Skill Expert
						WeaponRestrictions PrimaryOnly
						MaxVisionRange 1200
						Attributes MiniBoss
						BehaviorModifiers Mobber
						Tag bot_giant
						ItemAttributes
						{
							ItemName "Deflector"
							"damage bonus"	1.5 // copied from base mighty heavy
							"attack projectiles" 2	// force ability to shoot down projectiles
						}
						CharacterAttributes
						{
							"move speed bonus"	0.5
							"damage force reduction" 0.1
							"airblast vulnerability multiplier" 0
							"override footstep sound set" 2
							"cannot be sapped" 1
						}
					}
				}
			}
		}
		WaveSpawn
		{
			Name w3a3
			TotalCount 6
			SpawnCount 2
			MaxActive 6
			WaitBetweenSpawns 13
			TotalCurrency 100
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			TFBot
			{
				Class Pyro
				Name "Giant Flare Pyro"
				ClassIcon pyro_flare_giant
				Skill Expert
				Health 8000
				Tag nav_prefer_gate1_flank
				Item "The Scorch Shot"
				WeaponRestrictions SecondaryOnly
				Attributes MiniBoss
				ItemAttributes
				{
					ItemName "The Scorch Shot"
					"fire rate bonus" 0.2
					"damage causes airblast" 1
				}
				CharacterAttributes
				{
					"move speed bonus"	0.35
					"damage force reduction" 0.5
					"airblast vulnerability multiplier" 0.1
					"airblast vertical vulnerability multiplier" 0.1
					"override footstep sound set" 6
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			WaitForAllSpawned w3a2
			WaitBeforeStarting 12
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			Name w3tank
			TotalCurrency 200
			Tank //Will have to make a new path to go to Gate B
			{
				Name "gatetank|extratankpath8_19|extratankpath8_25"
                ClassIcon tank_gate
				Speed 70
				Health 90000
				StartingPathTrackNode extratankpath8_1
	    		OnKilledOutput
	    		{
	    			Target boss_dead_relay
	    			Action Trigger
	    		}
				OnBombDroppedOutput
				{
					Target boss_deploy_relay
					Action Trigger
				}
			}
		}
		WaveSpawn //add bot_teletank
		{
			Name w3teletank
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			WaitBeforeStarting 12
			WaitForAllSpawned w3tank
			WaitBetweenSpawns 2
			TotalCurrency 200
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			Tank
			{
				Name "teletank"
				ClassIcon tank_tele
				Speed 75
				Health 50000
				StartingPathTrackNode extratankpath1_3
				OnKilledOutput
	    		{
	    			Target boss_dead_relay
	    			Action Trigger
	    		}
				OnBombDroppedOutput
				{
					Target boss_deploy_relay
					Action Trigger
				}
			}
		}
		WaveSpawn
		{
			Name w3b1
			TotalCount 22
			MaxActive 10
			SpawnCount 2
			WaitForAllSpawned w3teletank
			WaitBetweenSpawns 5
			TotalCurrency 100
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			TFBot
			{
				ClassIcon	heavy_juggernaut_minigun
				Health	1300
				Name	"Minigun Juggernaut"
				Scale	1.5
				Class	Heavyweapons
				Skill	Expert
				Attributes AlwaysCrit
				Tag bot_teletank
				WeaponRestrictions	PrimaryOnly
				ItemAttributes
				{
					ItemName	"Iron Curtain"
					"damage bonus"	3.0
					"fire rate bonus"	0.8
					"attack projectiles"	2
					"weapon spread bonus"	0.5
				}
				CharacterAttributes
				{
					"cannot be sapped" 1
				}
				Item	"Iron Curtain"
				Item	"Fists of Steel"
				Item	"War Head"
			} 
		}
		WaveSpawn
		{
			Name w3b2
			TotalCount 20
			SpawnCount 3
			MaxActive 6
			WaitForAllSpawned w3teletank
			WaitBetweenSpawns 5
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			TFBot
			{
				ClassIcon	pyro_conch
				Name	"Extended Conch Pyro"
				Class	Pyro
				Skill	Expert
				Health 400
				Tag bot_teletank
				Attributes SpawnWithFullCharge
				CharacterAttributes 
				{
					"increase buff duration" 9
					"deploy time increased" 0.5
					"cannot be sapped" 1
				}
				Item "The Concheror"
			}
		}
		WaveSpawn
		{
			Name w3c1
			TotalCount 2
			SpawnCount 1
			MaxActive 2
			TotalCurrency 50
			WaitBetweenSpawns 14
 			WaitForAllDead w3tank
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			TFBot
			{
				Class Soldier
				Name "Direct Hit Barrage"
				ClassIcon soldier_barrage_directhit_buff
				Health 32000
				Skill Expert
				Tag nav_prefer_gate1_flank
				WeaponRestrictions PrimaryOnly
				Attributes MiniBoss
				Attributes HoldFireUntilFullReload
				ItemAttributes
				{
					ItemName "The Direct Hit"
					"clip size upgrade atomic" 26.0
					"faster reload rate" 0.22
					"fire rate bonus" 0.2
					"projectile spread angle penalty" 5
				}
				CharacterAttributes
				{
					"health regen"	200
					"move speed bonus"	0.5
					"damage bonus" 1.5
					"damage force reduction" 0.4
					"airblast vulnerability multiplier" 0
					"override footstep sound set" 3
					"airblast vertical vulnerability multiplier" 0.1
					"increase buff duration"	11.0
					"deploy time increased" 0.5
					"cannot be sapped" 1	
				}
				Item	"The Direct Hit"
				Item	"The Buff Banner"
				Item	"Defiant Spartan"
			}
		}
		WaveSpawn
		{
			Name w3c2
			TotalCount 28
			SpawnCount 2
			MaxActive 8
			WaitForAllDead w3tank
			WaitBeforeStarting 2
			WaitBetweenSpawns 4
			Where spawnbot_upper0
			Where spawnbot_upper1
			Where spawnbot_upper2
			TFBot
			{
				Name "Hyper Air Strike Soldier"
				Class Soldier
				Skill Expert
				Health 600
				ClassIcon soldier_airstrike_hyper
				AutoJumpMin 5
				AutoJumpMax 5
				Tag bot_teletank
				WeaponRestrictions PrimaryOnly
				Item "The Air Strike"
				Item "The B.A.S.E. Jumper"
				Item "The Whirly Warrior"
				Attributes AutoJump
				Attributes HoldFireUntilFullReload
				Attributes Parachute
				Attributes AlwaysCrit
				ItemAttributes
				{
					ItemName "The Air Strike"
					"clip size upgrade atomic" 10
					"faster reload rate" 0.2
					"fire rate bonus" 0.1
					"blast radius decreased" 1.1
					"damage penalty" 2.0
				}
				CharacterAttributes
				{
					"cancel falling damage" 1
					"increased jump height" 3
					"increased air control" 3
					//"cannot be sapped" 1 //I think they should be able to be sapped they are kinda dangerous
				}
			}
		}
		WaveSpawn
		{
			Name w3d1
			TotalCount 4
			SpawnCount 4
			MaxActive 4
			TotalCurrency 50
			WaitForAllSpawned w3c1
			WaitBetweenSpawns 10
			Where spawnbot_upper0
			Where spawnbot_upper1
			Where spawnbot_upper2
			Squad
			{
				TFBot
				{
					Health	24000
					Name	"Sturdy Giant SMG Sniper"
					Scale	1.9
					Template T_TFBot_Giant_Sniper_SMG_Spammer
					Tag bot_squad_member
					Tag bot_gatebot
					Tag bot_giant
					Attributes	"UseBossHealthBar"
					ItemAttributes
					{
						ItemName "TF_WEAPON_SMG"
						"fire rate bonus"	0.33
						"heal on kill"	8000
					}
					CharacterAttributes
					{
						"move speed bonus"	0.475
						"damage force reduction"	0.2
						"airblast vulnerability multiplier"	0
						"health regen" 450
						"cannot be sapped" 1
					}
					Item	"Final Frontiersman"
					Item	"Brim-Full Of Bullets"
				}
				TFBot
				{
					ClassIcon	medic_fire_giant
					Health	9000
					Name	"Giant Vaccinator Medic"
					Class	Medic
					Skill	Expert
					Tag bot_squad_member
					Attributes	"SpawnWithFullCharge"
					Attributes	"VaccinatorFire"
					Attributes	"MiniBoss"
					ItemAttributes
					{
						ItemName	TF_WEAPON_SYRINGEGUN_MEDIC
						"damage penalty"	0.1
					}
					CharacterAttributes
					{
						"ubercharge rate bonus"	50
						"heal rate bonus"	200
						"medigun fire resist passive"	1
						"medigun fire resist deployed" 1
						"move speed bonus"	0.5
						"damage force reduction"	0.2
						"airblast vulnerability multiplier"	0
						"bot medic uber health threshold"	12000
						"cannot be sapped" 1
					}
					Item	"The Vaccinator"
				}
				TFBot
				{
					ClassIcon	medic_bullet_giant
					Health	9000
					Name	"Giant Vaccinator Medic"
					Class	Medic
					Skill	Expert
					Tag bot_squad_member
					Attributes	"SpawnWithFullCharge"
					Attributes	"VaccinatorBullets"
					Attributes	"MiniBoss"
					ItemAttributes
					{
						ItemName	TF_WEAPON_SYRINGEGUN_MEDIC
						"damage penalty"	0.1
					}
					CharacterAttributes
					{
						"ubercharge rate bonus"	50
						"heal rate bonus"	200
						"medigun bullet resist passive"	1
						"medigun bullet resist deployed" 1
						"move speed bonus"	0.5
						"damage force reduction"	0.2
						"airblast vulnerability multiplier"	0
						"bot medic uber health threshold"	12000
						"cannot be sapped" 1
					}
					Item	"The Vaccinator"
				}
				TFBot
				{
					ClassIcon	medic_kritz_shield_ala_giant
					Health	9500
					Name	"Giant Shield Medic"
					Class	Medic
					Skill	Expert
					Tag bot_squad_member
					WeaponRestrictions	SecondaryOnly
					Attributes	"SpawnWithFullCharge"
					Attributes	"AlwaysCrit"
					Attributes	"MiniBoss"
					Attributes  "ProjectileShield"
					Attributes  "IgnoreEnemies"
					ItemAttributes
					{
						ItemName	TF_WEAPON_SYRINGEGUN_MEDIC
						"damage penalty"	0.1
					}
					ItemAttributes
					{
						ItemName	"the kritzkrieg"
						"ubercharge rate bonus"	100
						"uber duration bonus"	200
						"generate rage on heal"	2
						"increase buff duration"	2
					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"damage force reduction"	0.2
						"airblast vulnerability multiplier"	0.01
						"heal rate bonus"	200
						"bot medic uber health threshold"	9000
						"cannot be sapped" 1
					}
					Item	"The Kritzkrieg"
					Item	"Vintage Tyrolean"
				}
			}
		}
		WaveSpawn
		{
			Name w3d2
			TotalCount 30
			SpawnCount 2
			MaxActive 8
			WaitBetweenSpawns 1
			WaitBeforeStarting 7
			WaitForAllDead w3c1
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			TFBot
			{
				ClassIcon	medic_crossbow_burst_penetration
				Name	"Burst Crossbow Medic"
				Class	Medic
				Skill	Expert
				//Tag "popext_aimat( target = `head` )"
				Tag "popext_mission{ mission = NO_MISSION }"
				WeaponRestrictions	PrimaryOnly
				ItemAttributes
				{
					ItemName	"The Crusader's Crossbow"
					"clip size upgrade atomic"	3.0
					"auto fires full clip" 1
					"auto fires when full" 1
					"fire rate bonus"	0.2
					"faster reload rate"	0.6
					"projectile penetration" 1
					"damage bonus" 1.5
				}
				CharacterAttributes
				{
					"cannot be sapped" 1
				}
				Item	"The Crusader's Crossbow"
				Item	"The Quick-Fix"
				Item	"Berliner's Bucket Helm"
			}
		}
		WaveSpawn
		{
			Name w3S
			SpawnCount 2
			MaxActive 2
			WaitBetweenSpawns 15
			WaitBeforeStarting 20
			Support 1
			Where spawnbot_upper0
			Where spawnbot_upper1
			Where spawnbot_upper2
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			TFBot
			{
				Template T_TFBot_Demo_Kamikaze
				Tag bot_teletank
			}
		}
		WaveSpawn
		{
			Name w3S2
			SpawnCount 2
			MaxActive 2
			WaitBeforeStarting 5
			WaitBetweenSpawns 15
			Support 1
			Where spawnbot_mission_spy
			TFBot
			{
				Name	"Swift Silent Spy"
				Class	Spy
				ClassIcon spy_saharan
				Skill	Expert
				Attributes DisableDodge //spies are annoying even with yer so might enable this
				Item	"Your Eternal Reward"
				CharacterAttributes
				{
					"voice pitch scale"	0
					"disguise speed penalty" -4
					"gesture speed increase" 0.01
					"move speed bonus" 1.5
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone 10
		Checkpoint Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		InitWaveOutput
		{
			Target gamerules
			Action runscriptcode
			Param "
				IncludeScript(`popextensions_main`, getroottable())
				IncludeScript(`mannhattan_gates`, getroottable())
				IncludeScript(`mvm_mannhattan_master_terminate_meltdown_tags`, getroottable())
				
				SpawnTemplate(`gate_logic`)
				ClientPrint(null,3, `\x07FF0000From this wave onwards, there is no need for gatebots.`)
				ClientPrint(null,3, `\x0700FF50No more throwing to reset gates.`)
				MissionAttrs({
								WaveStartCountdown = 5
								BotHeadshots = 1})"
		}
		DoneOutput
		{
			Target	holograms_3way_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name w4a1
			TotalCount 4
			MaxActive 3
			SpawnCount 1
			TotalCurrency 100
			WaitBetweenSpawns 10
			Where spawnbot_upper0
			Where spawnbot_upper1
			Where spawnbot_upper2
			TFBot
			{
				Health	12000
				Name	"Giant Flare Pyro"
				ClassIcon pyro_flare_rain_nys
				Scale	1.9
				Template	T_TFBot_Giant_Pyro_Flare_Barrage
				Attributes	"UseBossHealthBar"
				ItemAttributes
				{
					ItemName	"The Flare Gun"
					"projectile speed decreased"	0.6
					"crit vs burning players"	1
					"Blast radius increased"	1.22
					"damage bonus" 1.22
					"maxammo secondary increased" 2
					"fire rate bonus" 0.05
				}
				CharacterAttributes
				{
					"damage force reduction"	0.3
					"airblast vulnerability multiplier"	0.1
					"airblast vertical vulnerability multiplier" 0.1
					"fire retardant" 1
					"cannot be sapped" 1
					"health regen" 300
				}
				Item	"The Rusty Reaper"
				Item	"The Sengoku Scorcher"
			}
		}
		WaveSpawn
		{
			Name w4a2
			TotalCount 18
			SpawnCount 1
			MaxActive 6
			WaitBetweenSpawns 5
			TotalCurrency 50
			Where spawnbot_upper0
			Where spawnbot_upper1
			Where spawnbot_upper2
			TFBot
			{
				ClassIcon	shotgun_reserve_armored
				Health	1250
				Name	"Airborne Soldier"
				Scale	1.4
				Class	Soldier
				Skill	Expert
				Attributes AlwaysCrit
				Attributes HoldFireUntilFullReload
				WeaponRestrictions	SecondaryOnly
				Tag "popext_customattr{attribute = `explosive bullets ext`, value = 20}"
				ItemAttributes
				{
					ItemName	TF_WEAPON_SHOTGUN_SOLDIER
					"damage bonus"	1.5
					"bullets per shot bonus"	2
					"apply z velocity on damage" 300
					"heal on kill" 1250
					"faster reload rate" 0.8
					//"explosive bullets" 20
				}
				CharacterAttributes
				{
					"cannot be sapped" 1
				}
				Item	"The Reserve Shooter"
				Item	"Jumper's Jeepcap"
			}
		}
		WaveSpawn
		{
			Name w4a3
			TotalCount 14
			SpawnCount 2
			MaxActive 4
			WaitBetweenSpawns 4
			TotalCurrency 50
			Where spawnbot_upper0
			Where spawnbot_upper1
			Where spawnbot_upper2
			TFBot
			{
				ClassIcon	scout_publicenemy
				Name	"Public Enemy Scout"
				Health 425
				Class	Scout
				Skill	Expert
				MaxVisionRange	500
				Attributes AlwaysCrit
				WeaponRestrictions PrimaryOnly
				BehaviorModifiers Mobber
				ItemAttributes
				{
					ItemName	"Baby Face's Blaster"
					"scattergun has knockback"	5
					"bullets per shot bonus"	6
					"damage bonus"	2.0
					"faster reload rate"	-0.8
				}
				CharacterAttributes
				{
					"move speed bonus"	1.3
					"cannot be sapped" 1
				}
				Item	"Baby Face's Blaster"
				Item	"Pretty Boy's Pocket Pistol"
				Item	"The Fed-Fightin' Fedora"
				Item	"Dillinger's Duffel"
			}
		}
		WaveSpawn //soldier boss
		{
			Name w4b2
			TotalCount 6
			SpawnCount 3
			MaxActive 6
			TotalCurrency 100
			WaitForAllDead w4a1
			WaitBetweenSpawns 10
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			Squad
			{
				TFBot
				{
					ClassIcon	soldier_quadshot
					Health	15000
					Name	"Giant Quadblast Soldier"
					Scale	1.8
					Class	Soldier
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					Attributes "UseBossHealthBar"
					Attributes	"HoldFireUntilFullReload"
					Attributes	"MiniBoss"
					ItemAttributes
					{
						ItemName	TF_WEAPON_ROCKETLAUNCHER
						"damage bonus"	1.25
						"fire rate bonus"	-1
						"projectile spread angle penalty"	4
					}
					CharacterAttributes
					{
						"override footstep sound set"	3
						"airblast vulnerability multiplier"	0.01
						"damage force reduction"	0.2
						"move speed bonus"	0.4
						"cannot be sapped" 1
					}
				}
				TFBot
				{
					Class Heavyweapons
					Name "Extended Buff Steel Gauntlet"
					Skill Hard
					ClassIcon heavy_steelfist_buff
					Health 1500
					Scale 1.5
					WeaponRestrictions MeleeOnly
					Attributes SpawnWithFullCharge
					Item "Fists of Steel"
					Item "the buff banner"
					ItemAttributes
					{
						ItemName	"Fists of Steel"
						"mod rage on hit bonus" 10001
					}
					CharacterAttributes
					{
						"increase buff duration"	9.0
						"deploy time increased" 0.5
						"cannot be sapped" 1
					}
				}
				TFBot
				{
					Class Heavyweapons
					Name "Extended Backup Steel Gauntlet"
					Skill Hard
					ClassIcon heavy_steelfist_battalion
					Health 1500
					Scale 1.5
					WeaponRestrictions MeleeOnly
					Attributes SpawnWithFullCharge
					Item "Fists of Steel"
					Item "The Battalion's Backup"
					ItemAttributes
					{
						ItemName	"Fists of Steel"
						"mod rage on hit bonus" 10001
					}
					CharacterAttributes
					{
						"increase buff duration"	9.0
						"deploy time increased" 0.5
						"cannot be sapped" 1
					}
				}
			}
		}
		WaveSpawn
		{
			Name w4b3
			TotalCount 12
			SpawnCount 2
			MaxActive 6
			WaitForAllSpawned w4b2
			WaitBetweenSpawns 2
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			TFBot
			{
				Template T_TFBot_Soldier_Extended_Concheror
				Health 500
				CharacterAttributes
				{
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Name w4c1
			TotalCount 4
			SpawnCount 2
			MaxActive 4
			TotalCurrency 200
			WaitForAllSpawned w4b2
			WaitBeforeStarting 15
			WaitBetweenSpawns 20
			Where spawnbot_upper0
			Where spawnbot_upper1
			Where spawnbot_upper2
			Squad
			{
				TFBot
				{
					Health	16000
					Name	"The Lasers Brothers"
					Template	T_TFBot_Giant_Engineer_Pomson
					//Attributes	UseBossHealthBar
                    //Attributes AlwaysFireWeapon
					Tag bot_squad_member
					//Tag "popext_aimat{ target = `lower` }" //apparently it doesnt work / hasnt been finished
					ItemAttributes
					{
						ItemName	"The Pomson 6000"
						"damage bonus" 1.5 //1.11
						"fire rate bonus"	0.05
						"faster reload rate"	-1
						"Projectile speed increased"	1.5
						"energy weapon penetration"	6
						"ragdolls plasma effect"	1
						"mod no reload DISPLAY ONLY"	1
						"Set DamageType Ignite"	1
					}
					CharacterAttributes
					{
						"damage force reduction"	0.3
						"airblast vulnerability multiplier"	0.1
						"airblast vertical vulnerability multiplier" 0.1
						"cannot be sapped" 1
						"health regen" 300
					}
					Item	"The Data Mining Light"
					Item	"dec2014 Thermal Insulation Layer"
				}
				TFBot
				{
					Template T_TFBot_Giant_Soldier_Bison
					ClassIcon soldier_bison_spammer
					Name "The Laser Brothers"
					Health 16000
					//Attributes UseBossHealthBar
					WeaponRestrictions SecondaryOnly
					//Attributes AlwaysFireWeapon
					Tag bot_squad_member
					//Tag "popext_aimat{ target = `lower` }"
					ItemAttributes
					{
						ItemName "The Righteous Bison"
						"damage bonus" 1.5
						"fire rate bonus" 0.05
						"faster reload rate" -1
						"Projectile speed increased" 1.3
						"ragdolls plasma effect" 1
						"mod no reload DISPLAY ONLY" 1
					}
					CharacterAttributes
					{
						"move speed bonus" 0.5
						"damage force reduction" 0.3
						"airblast vulnerability multiplier" 0.1
						"airblast vertical vulnerability multiplier" 0.1
						"health regen" 300
						"cannot be sapped" 1
					}
				}
			}
		}
		WaveSpawn 
		{
            Name	GATE_OPEN_A
			WaitBetweenSpawns 1
			WaitBeforeStarting	2
            FirstSpawnOutput
            {
                Target message_gate_active_A
                Action Show
            }
        }
		WaveSpawn
		{
			Name Gate_a_Open
			WaitBeforeStarting 4
			WaitBetweenSpawns 1
			WaitForAllSpawned GATE_OPEN_A
			FirstSpawnOutput
			{
				Target gate_a_open
				Action Trigger
			}
		}
		WaveSpawn
		{
			Name w4c2
			TotalCount 15
			SpawnCount 1
			MaxActive 5
			WaitBetweenSpawns 1
			WaitBeforeStarting 16
			WaitForAllDead w4b2
			Where spawnbot_main1
			TFBot
			{
			    Name "HipFire Sniper"
                Class Sniper
                ClassIcon sniper_alwaysfire
                Skill Expert
                Health 450
                Attributes AlwaysFireWeapon
				Attributes AlwaysCrit
				BehaviorModifiers Mobber
                Item "TF_WEAPON_SNIPERRIFLE"
                WeaponRestrictions PrimaryOnly
                ItemAttributes
                {
                    ItemName "TF_WEAPON_SNIPERRIFLE"
                    "damage penalty" 1.5
                }
				CharacterAttributes
				{
					"head scale" 0.8
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Name w4d1
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			TotalCurrency 100
			WaitBeforeStarting 6
			WaitForAllDead w4c1
			Where spawnbot_main1
			TFBot
			{
				Health 70000 //120000
				ClassIcon demo_nuker
				Name	"Supergiant Demo Nuker"
				Scale	1.8
				Template	T_TFBot_Chief_Demo_Atomic
				ItemAttributes
				{
					ItemName	"The Loose Cannon"
					"faster reload rate"	2.5
					"Projectile speed increased"	0.95
					"projectile spread angle penalty"	3
					"damage bonus" 10 //35
					"blast radius increased"	2.65
					"fuse bonus"	1.2
					"energy weapon no deflect" 1
					"apply z velocity on damage"	400
					"apply look velocity on damage"	400
					"custom projectile model"	"models/props_td/atom_bomb.mdl"
					"clip size upgrade atomic"	-1
				}
				CharacterAttributes
				{
					"move speed bonus"	0.25
					"damage force reduction"	0.4
					"airblast vulnerability multiplier"	0
					"airblast vertical vulnerability multiplier" 0
					"cancel falling damage"	1
					"hand scale"	1.2
					"no self blast dmg" 1
					"cannot be sapped" 1
				}
				Item	"The Battery Bandolier"
				Item	"Prince Tavish's Crown"
			}
		}
		WaveSpawn
		{
			Name w4d2
			TotalCount 14
			SpawnCount 2
			MaxActive 10
			WaitBetweenSpawns 4
			WaitForAllSpawned w4d1
			Where spawnbot_main0
			Where spawnbot_upper0
			Where spawnbot_main1
			Where spawnbot_upper1
			TFBot
			{
				ClassIcon	demo_caber_nuke
		    	Name	"Kamikaze Demo"
		    	Class	Demoman
		    	Skill	Expert
                Health 400
		    	WeaponRestrictions	MeleeOnly
		    	ItemAttributes
		    	{
		    		ItemName	"The Ullapool Caber"
		    		"damage bonus"	10
		    		"blast dmg to self increased"	100
		    		"blast radius increased" 2
		    	}
		    	CharacterAttributes
		    	{
		    		"bombinomicon effect on death" 1
					//"cannot be sapped" 1
		    	}
		    	Item	"Ali Baba's Wee Booties"
		    	Item	"The Chargin' Targe"
		    	Item	"The Ullapool Caber"
		    	Item	"Sober Stuntman"
			}
 		}
		WaveSpawn
		{
			Name w4S2
			SpawnCount 3
			MaxActive 3
			WaitBeforeStarting 30
			WaitBetweenSpawns 15
			Support 1
			Where spawnbot_mission_spy
			TFBot
			{
				ClassIcon	spy_hyper
				Name	"Hyper Spy"
				Class	Spy
				Skill	Expert
				Attributes	"AlwaysCrit"
				ItemAttributes
				{
					ItemName	"the ambassador"
					"damage bonus"	2.0
					"fire rate bonus"	0.5
					"faster reload rate"	-0.8
				}
				ItemAttributes
				{
					ItemName	"the black rose"
					"damage bonus"	2.0
					"fire rate bonus"	0.6
				}
				CharacterAttributes
				{
				    "move speed bonus"	2.0
					"sapper damage bonus"	2.0
					"sapper health bonus"	2.0
				}
				Item	"The Ambassador"
				Item	"The Black Rose"
				Item	"The Stealth Steeler"
				Item	"Bowtie"
			}
		}
	}
	Wave 	//2 options HOK/HOH wave or Tank wave
	{
		WaitWhenDone 10
		Checkpoint Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		InitWaveOutput
		{
			Target gamerules
			Action runscriptcode
			Param "
				IncludeScript(`popextensions_main`, getroottable())
				IncludeScript(`city_extermination_tank_paths`, getroottable())
				IncludeScript(`tankextensions_main`, getroottable())
				IncludeScript(`mannhattan_gates`, getroottable())
				IncludeScript(`mvm_mannhattan_master_terminate_meltdown_tags`, getroottable())
				IncludeScript(`tankextensions/sentrytank`, getroottable())
				IncludeScript(`tankextensions/teletank`, getroottable())
				IncludeScript(`tankextensions/speedtank`, getroottable())
				IncludeScript(`tankextensions/stickytank`, getroottable())
				IncludeScript(`tankextensions/vactank`, getroottable())
				
				SpawnTemplate(`gate_logic`)
				MissionAttrs({
								WaveStartCountdown = 5
								BotHeadshots = 1})"
		}
		DoneOutput
		{
			Target	holograms_3way_relay
			Action	Trigger
		}
		WaveSpawn 
    	{
            Name	GATE_OPEN
			WaitBetweenSpawns 1
			WaitBeforeStarting	2
            FirstSpawnOutput
            {
                Target message_gate_active_A
                Action Show
            }
        }
		WaveSpawn 
		{
            Name	GATE_OPEN
			WaitBetweenSpawns 1
			WaitBeforeStarting	2
            FirstSpawnOutput
            {
                Target message_gate_active_B
                Action Show
            }
        }
		WaveSpawn
		{
			Name Gate_b_Open
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			WaitForAllSpawned GATE_OPEN
			FirstSpawnOutput
			{
				Target gate_all_open
				Action Trigger
			}
		}
		WaveSpawn
		{
			WaitBeforeStarting 5
			FirstSpawnOutput
			{
		        Target BigNet
        		Action RunScriptCode
        		Param "
				SendGlobalGameEvent(`show_annotation`,
				{
			    	worldPosX = -1093
			    	worldPosY = 816
    				worldPosZ = -341
				    text = `Tank will spawn here soon.`
					id = 1
    				lifetime = 20
    				show_distance = false
				    play_sound = `misc/null.wav`
				})"
			}
		}
		WaveSpawn
		{
			WaitBeforeStarting 5
			FirstSpawnOutput
			{
				Target BigNet
				Action RunScriptCode
				Param "
				SendGlobalGameEvent(`show_annotation`,
				{
					worldPosX = 623
					worldPosY = 820
					worldPosZ = -415
					text = `Tank will spawn here soon.`
					id = 2
					lifetime = 20
					show_distance = false
					play_sound = `misc/null.wav`
				})"
			}
		}
		WaveSpawn
		{
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			Name w5tank
			//WaitForAllSpawned Gate_b_Open
			WaitBeforeStarting 3
			WaitBetweenSpawns 5
			TotalCurrency 100
			Tank
			{
				Name "tank"
				Speed 17
				Health 400000
				StartingPathTrackNode extratankpath1_1
				OnKilledOutput
				{
					Target boss_dead_relay
					Action Trigger
				}
				OnBombDroppedOutput
				{
					Target boss_deploy_relay
					Action Trigger
				}
			}
		}
		WaveSpawn
		{
			Name w5tank2
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			TotalCurrency 100
			WaitForAllSpawned Gate_b_Open
			WaitBeforeStarting 15
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			Tank
			{
				Name "tank"
				Speed 50
				Health 80000
				StartingPathTrackNode extratankpath2_1
				OnKilledOutput
				{
					Target boss_dead_relay
					Action Trigger
				}
				OnBombDroppedOutput
				{
					Target boss_deploy_relay
					Action Trigger
				}
			}
		}
		WaveSpawn
		{
			Name w5tank3
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			TotalCurrency 100
			WaitForAllSpawned Gate_b_Open
			WaitBeforeStarting 25
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			Tank
			{
				Name "tank"
				Speed 70
				Health 60000
				StartingPathTrackNode extratankpath3_1
				OnKilledOutput
				{
					Target boss_dead_relay
					Action Trigger
				}
				OnBombDroppedOutput
				{
					Target boss_deploy_relay
					Action Trigger
				}
			}
		}
		WaveSpawn
		{
			Name w5sentrytank
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			TotalCurrency 100
			WaitForAllDead w5tank2
			WaitBeforeStarting 5
			Tank
			{
				Name "sentrytank"
				Speed 50
				Health 80000
				ClassIcon tank_sentry_lvl3
				StartingPathTrackNode extratankpath2_1
				OnKilledOutput
				{
					Target boss_dead_relay
					Action Trigger
				}
				OnBombDroppedOutput
				{
					Target boss_deploy_relay
					Action Trigger
				}
			}
		}
		WaveSpawn
		{
			Name w5sentrytank
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			TotalCurrency 100
			WaitForAllDead w5tank3
			WaitBeforeStarting 8
			Tank
			{
				Name "teletank"
				Speed 70
				Health 70000
				ClassIcon tank_tele
				StartingPathTrackNode extratankpath3_1
				OnKilledOutput
				{
					Target boss_dead_relay
					Action Trigger
				}
				OnBombDroppedOutput
				{
					Target boss_deploy_relay
					Action Trigger
				}
			}
		}
		WaveSpawn
		{
			Name w5tank4
			TotalCount 1
			SpawnCount 1
			TotalCurrency 100
			WaitForAllDead w5tank2
			WaitBeforeStarting 7
			Tank
			{
				Name "speedtank" //speed_lowhealth causes a error that harmless
				Speed 100 //increased speed, speed_lowhealth doesnt work, unless potato is aware
				Health 60000
				ClassIcon tank_blitz
				StartingPathTrackNode extratankpath4_1
				OnKilledOutput
				{
					Target boss_dead_relay
					Action Trigger
				}
				OnBombDroppedOutput
				{
					Target boss_deploy_relay
					Action Trigger
				}
			}
		}
		WaveSpawn
		{
			Name w5tank4a
			TotalCount 1
			SpawnCount 1
			TotalCurrency 100
			WaitForAllSpawned w5tank4
			WaitBeforeStarting 3
			Tank
			{
				Name "speedtank"
				Speed 140
				Health 50000
				ClassIcon tank_blitz
				StartingPathTrackNode extratankpath5_1
				OnKilledOutput
				{
					Target boss_dead_relay
					Action Trigger
				}
				OnBombDroppedOutput
				{
					Target boss_deploy_relay
					Action Trigger
				}
			}
		}
		WaveSpawn
		{
			Name w5speedtank
			TotalCount 1
			SpawnCount 1
			TotalCurrency 100
			WaitForAllSpawned w5tank4
			WaitBeforeStarting 15
			Tank
			{
				Name "speedtank"
				Speed 120
				Health 66000
				ClassIcon tank_blitz
				StartingPathTrackNode extratankpath7_1
				OnKilledOutput
				{
					Target boss_dead_relay
					Action Trigger
				}
				OnBombDroppedOutput
				{
					Target boss_deploy_relay
					Action Trigger
				}
			}
		}
		WaveSpawn
		{
			Name w5tank6
			TotalCount 1
			SpawnCount 1
			TotalCurrency 100
			WaitForAllDead w5tank3
			WaitBeforeStarting 10
			Tank
			{
				Name "stickytank"
				Speed 70
				Health 80000
				ClassIcon tank_sticky_hellmet
				StartingPathTrackNode extratankpath4_1
				OnKilledOutput
				{
					Target boss_dead_relay
					Action Trigger
				}
				OnBombDroppedOutput
				{
					Target boss_deploy_relay
					Action Trigger
				}
			}
		}
		WaveSpawn
		{
			Name w5tank7
			TotalCount 1
			SpawnCount 1
			TotalCurrency 100
			WaitForAllSpawned w5tank6
			WaitBeforeStarting 25
			Tank
			{
				Name "vactank_bullet_blast_fire"
				Speed 70
				Health 30000
				ClassIcon tank_vac_trio_lite
				StartingPathTrackNode extratankpath4_1
				OnKilledOutput
				{
					Target boss_dead_relay
					Action Trigger
				}
				OnBombDroppedOutput
				{
					Target boss_deploy_relay
					Action Trigger
				}
			}
		}
		WaveSpawn
		{
			Name w5s_soldier4upgraded
			Support 1
			SpawnCount 2
			MaxActive 4
			WaitBeforeStarting 2
			WaitBetweenSpawnsAfterDeath 6
			Where spawnbot_main1
			TFBot
			{
				ClassIcon	soldier_tankbuster_armored
				Name	"Tank Buster Soldier"
				Health	850
				Scale	1.4
				Class	Soldier
				Skill	Expert
				Attributes	"SpawnWithFullCharge"
				ItemAttributes
				{
					ItemName	"the black box"
					"damage bonus"	0.33
					"Blast radius increased"	3.0
					"Projectile speed increased"	0.5
					"dmg bonus vs buildings"	50
				}
				CharacterAttributes
				{
					"increase buff duration"	9.0
					"deploy time increased" 0.5
					"cannot be sapped" 1
				}
				Item	"the black box"
				Item	"the battalion's backup"
				Item	"the grenadier's softcap"
			}
		}
		WaveSpawn
		{
			Name w5s_engineer3upgrade
			Support 1
			SpawnCount 1
			MaxActive 4
			WaitBeforeStarting 1
			WaitBetweenSpawnsAfterDeath 3
			Where spawnbot_main0
			TFBot
			{
				Class Engineer
				Health 3800
				Scale 1.5
				Name "Armored Infinity Engineer"
				ClassIcon engineer_widowmaker_inf_armored_nys
				Skill Expert
				Attributes AlwaysCrit
				Tag bot_teletank
				Tag "popext_mission( mission = NO_MISSION)"
				Item	"The Widowmaker"
				ItemAttributes
				{
					ItemName "The Widowmaker"
					"fire rate bonus"	0.8
					"damage bonus" 1.5
				}
				CharacterAttributes
				{
					"move speed bonus" 0.85
					"cannot be sapped" 1
				}
				Item	"The Virtual Reality Headset"
				Item	"The Deus Specs"
				Item    "The Gunslinger"
			}
		}
		WaveSpawn
		{
			Name w5s
			Support 1
			SpawnCount 2
			MaxActive 4
			WaitBetweenSpawns 3
			Where spawnbot_main0
			Where spawnbot_main1
			TFBot
			{
				ClassIcon	heavy_accurate_lite
				Name	"Mafia Heavy"
				Class	Heavyweapons
				Skill	Hard
				Health 600
				Tag bot_teletank
				ItemAttributes
				{
					ItemName	"tomislav"
					"aiming movespeed increased"	2.0
					"weapon spread bonus"	0.5
				}
				CharacterAttributes
				{
					"cannot be sapped" 1
				}
				Item	"Tomislav"
				Item	"The Family Business"
				Item	"The Eviction Notice"
				Item	"Capone's Capper"
			}
		}
		WaveSpawn
		{
			Name w5s
			Support 1
			SpawnCount 2
			MaxActive 4
			WaitBetweenSpawns 4
			Where spawnbot_main0
			Where spawnbot_main1
			TFBot
			{
				ClassIcon	demo_sticky_nuke
				Name	"Powered Sticky Demo"
				Class	Demoman
				Skill	Expert
				Health 400
				Attributes HoldFireUntilFullReload
				Attributes AlwaysCrit
				Tag bot_teletank
				WeaponRestrictions	SecondaryOnly
				ItemAttributes
				{
					ItemName "TF_WEAPON_GRENADELAUNCHER"
					"is_passive_weapon" 1 
					"override projectile type" 27
				}
				ItemAttributes
				{
					ItemName	TF_WEAPON_PIPEBOMBLAUNCHER
					"stickybomb charge rate" 0.001
					"Projectile range increased" 0.5
					"max pipebombs increased" -7
					"clip size upgrade atomic" -4
					"damage bonus" 5
					"fire rate bonus" 2
					"Blast radius increased"	1.25
					"damage causes airblast"	1
				}
				CharacterAttributes
				{
					"no self blast dmg"	1
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Name w5s
			Support 1
			MaxActive 3
			WaitBeforeStarting 15
			WaitBetweenSpawnsAfterDeath 7
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			Where spawnbot_mission_spy
			TFBot
			{
				Class	Spy
				ClassIcon	spy_ambassador_headshot
				Name	"Explosive Ambassador Spy"
				Skill	Expert
				Health 300
				WeaponRestrictions	PrimaryOnly
				//Tag "popext_aimat( target = `head` )"
				Tag "popext_mission{ mission = NO_MISSION }"
				Tag "popext_stripslot{ slot = SLOT_MELEE }"
				Item	"The Ambassador"
				Item	"L'homme Burglerre"
				ItemAttributes
				{
					ItemName "The Ambassador"
					"damage bonus"	1.5
					"explosive sniper shot"	1
					"weapon spread bonus" 0
				}
				CharacterAttributes
				{
					"cannot disguise" 1
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Name w5s_heavyupgrade
			Support 1
			SpawnCount 1
			MaxActive 2
			WaitBeforeStarting 5
			WaitBetweenSpawns 25
			Where spawnbot_main0
			Where spawnbot_main1
			TFBot
			{
			    Name "Hyper Penetration Bulletspread Heavy"
			    ClassIcon heavy_spammer_penetrator_hyper
			    Class Heavyweapons
			    Skill Expert
			    Health 8000
			    Attributes AlwaysCrit
			    Attributes AlwaysFireWeapon
			    Attributes MiniBoss
			    MaxVisionRange 1000
			    Item TF_WEAPON_MINIGUN
			    ItemAttributes
			    {
			    	ItemName "TF_WEAPON_MINIGUN"
			    	"bullets per shot bonus" 2
			    	"damage bonus" 1.5
			    	"Fire rate bonus" 0.4
			    	"projectile penetration heavy" 6
			    	"weapon spread bonus" 0.8
        	        "killstreak tier" 3
        	        "killstreak effect" 7
			    }
			    CharacterAttributes
			    {
			    	"rage giving scale" 0.4
			    	"move speed bonus" 0.4
			    	"airblast vulnerability multiplier" 0.1
			    	"airblast vertical vulnerability multiplier" 0.01
			    	"damage force reduction" 0.4
        	        "attach particle effect" 105
        	        "particle effect use head origin" 1
        	        "particle effect vertical offset" 20
					"cannot be sapped" 1
			    }
			    Item "The Brotherhood of Arms"
			}
		}
		WaveSpawn
		{
			Name w5s
			Support 1
			SpawnCount 1
			MaxActive 3
			WaitBeforeStarting 2
			WaitBetweenSpawns 10
			Where spawnbot_main1
			Where spawnbot_main2
			TFBot
			{
				ClassIcon	scout_tagger_armored_giant
				Health	5000
				Name	"Armored Marker Scout"
				Class	Scout
				Skill	Expert
				WeaponRestrictions	MeleeOnly
				Attributes	"MiniBoss"
				ItemAttributes
				{
					ItemName	"The Sandman"
					"effect bar recharge rate increased"	0.0001
					"fire rate bonus"	0.6
					"mark for death"	1
					"set damagetype ignite"	 1
				}
				CharacterAttributes
				{
					"damage force reduction"	0.7
					"airblast vulnerability multiplier"	0.5
					"airblast vertical vulnerability multiplier" 0.1
					"override footstep sound set"	5
					"move speed penalty"	0.75
					"cannot be sapped" 1
				}
				Item	"The Sandman"
				Item	"The Backwards Ballcap"
				Item	"MNC Mascot Outfit"
			}
		}
		WaveSpawn
		{
			Name w5s
			Support 1
			SpawnCount 1
			MaxActive 1
			WaitBeforeStarting 10
			WaitBetweenSpawns 7
			Where spawnbot_main2
			TFBot
			{
			    Name "The Regenerator"
        	    Class Soldier
        	    Health 9500
        	    Scale 1.8
				Skill Expert
        	    ClassIcon soldier_escape_conch
        	    Attributes MiniBoss
        	    BehaviorModifiers Mobber
        	    Attributes IgnoreFlag
        	    //Attributes DisableDodge //I will enable this if he proves to be an issue
				Attributes SpawnWithFullCharge
				Attributes AlwaysCrit
				Tag "popext_stripslot{ slot = SLOT_PRIMARY }"
        	    Item "The Concheror"
        	    Item "The Escape Plan"
        	    Item "Chieftain's Challenge"
        	    ItemAttributes
        	    {
        	        ItemName "The Escape Plan"
        	        "damage bonus" 1.5
					"fire rate bonus" 0.8
        	    }
        	    CharacterAttributes
        	    {
        	        "health regen" 900
					"rage giving scale" 0.2
        	        "move speed bonus" 2.2
        	        "airblast vulnerability multiplier" 0.01
        	        "airblast vertical vulnerability multiplier" 0.01
        	        "damage force reduction" 0.3
        	        "add uber charge on hit" 10
					"cannot be sapped" 1
				}
			}
		}
	}
	Wave //im in a bit of a bind. cannot decide if i should just point what gates bots will be spawning in
	{ // or uhhh.... I cant remember the other one
		WaitWhenDone 1
		Checkpoint Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		InitWaveOutput
		{
			Target gamerules
			Action runscriptcode
			Param "
				IncludeScript(`popextensions_main`, getroottable())
				IncludeScript(`mannhattan_gates`, getroottable())
				IncludeScript(`mvm_mannhattan_master_terminate_meltdown_tags`, getroottable())
				
				SpawnTemplate(`gate_logic`)
				MissionAttrs({
								WaveStartCountdown = 5
								BotHeadshots = 1})
				ClientPrint(null,3, `\x07FF0170It only gets harder from here...`)
				ClientPrint(null,3, `\x07FF5050Some Giants heal full, Some Giants heal half or some hp, bots heal full, some bots heal on hit.`)
				//ClientPrint(null,3, `All Giants have a slight increased of hp.`)"
		}
		DoneOutput
		{
			Target	holograms_3way_relay
			Action	Trigger
		}
		WaveSpawn
		{
            Name GATE_OPEN
			WaitBetweenSpawns 1
            FirstSpawnOutput
            {
                Target message_gate_active_A
                Action Show
            }
        }
		WaveSpawn
		{
			Name gateAopen
			WaitForAllSpawned GATE_OPEN
			FirstSpawnOutput
			{
				Target gate_a_open
				Action Trigger
			}
		}
		WaveSpawn
		{
			Name w6a1
			TotalCount 8
			SpawnCount 1
			MaxActive 4
			WaitBetweenSpawns 7
			TotalCurrency 50
			Where spawnbot_main0
			TFBot
			{
				Name "Giant HOK Deflector Heavy"
				ClassIcon heavy_deflector_healonkill
				Class Heavyweapons
				Skill Expert
				Attributes MiniBoss
				Health 15000
				Item "Deflector"
				ItemAttributes
				{
					ItemName "Deflector"
					"damage bonus" 1.5
					"heal on kill" 8000
					"attack projectiles" 3
				}
				CharacterAttributes
				{
					"move speed bonus" 0.5
					"airblast vulnerability multiplier" 0
					"airblast vertical vulnerability multiplier" 0
					"override footstep sound set" 4
					"damage force reduction" 0.4
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Name w6a1
			TotalCount 30
			SpawnCount 3
			MaxActive 6
			WaitBetweenSpawns 3
			WaitBeforeStarting 6
			TotalCurrency 30
			Where spawnbot_main1
			TFBot
			{
				Name "Crit HOK Heater Heavies"
				Class Heavyweapons
				Skill Expert
				ClassIcon heavy_heater_heal
				Attributes AlwaysCrit
				Health 500
				Item "The Huo Long Heatmaker"
				ItemAttributes
				{
					ItemName "The Huo Long Heatmaker"
					"weapon burn dmg increased" 1.5
					"weapon burn time increased" 2
					"damage penalty" 1.5
				}
				CharacterAttributes
				{
					"cannot be sapped" 1
				}
			}
 		}
		WaveSpawn
		{
			Name w6b1
			TotalCount 8
			SpawnCount 1
			MaxActive 2
			WaitForAllSpawned w6a1
			WaitBetweenSpawns 8
			TotalCurrency 50
			Where spawnbot_main1
			TFBot
			{
				ClassIcon demo_loch_heal_nys
				Health	8000
				Name	"Giant Spammer HOK Loch Demo"
				Class	Demoman
				Skill	Expert
				WeaponRestrictions	PrimaryOnly
				Attributes MiniBoss
				Attributes AlwaysFireWeapon
				//Tag "popext_aimat( target = `body` )"
				ItemAttributes
				{
					ItemName	"The Loch-n-Load"
					"damage bonus"	1.5
					"faster reload rate" -1
					"fire rate bonus" 0.5
					"heal on kill" 8000
				}
				CharacterAttributes
				{
					"move speed bonus" 0.33
					"airblast vulnerability multiplier"	0
					"airblast vertical vulnerability multiplier" 0
					"override footstep sound set" 3
					"damage force reduction"	0.2
					"cannot be sapped" 1
				}
				Item	"The Loch-n-Load"
			}
		}
		WaveSpawn
		{
			Name w6b2
			TotalCount 28
			SpawnCount 4
			MaxActive 4
			WaitForAllSpawned w6a1
			WaitBetweenSpawns 3
			TotalCurrency 20
			Where spawnbot_main1
			TFBot
			{
				ClassIcon	soldier_burstfire_heal
				Name	"Burst Fire Soldier"
				Health 500
				Class	Soldier
				Skill	Expert
				Attributes	"HoldFireUntilFullReload"
				ItemAttributes
				{
					ItemName "TF_WEAPON_ROCKETLAUNCHER"
					"Projectile speed increased"	0.65
					"faster reload rate"	0.6
					"fire rate bonus"	0.1
					"heal on kill" 500
				}
				CharacterAttributes
				{
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Name w6c1
			TotalCount 6
			SpawnCount 1
			MaxActive 3
			WaitForAllSpawned w6b1
			TotalCurrency 100
			Where spawnbot_upper0
			TFBot
			{
				Class Demoman
				Name "Giant Samurai Demo"
				ClassIcon demoknight_samurai
				Skill Expert
				Item "The Half-Zatoichi"
				Item "The Splendid Screen"
				Item "Demo Kabuto"
				WeaponRestrictions MeleeOnly
				Health 7000
				Attributes MiniBoss
				Attributes AlwaysCrit
				ItemAttributes
				{
					ItemName "The Half-Zatoichi"
					"charge time increased" 2
					"charge recharge rate increased" 4
					"damage bonus" 2.5
				}
				CharacterAttributes
				{
					"move speed bonus" 0.4
					"airblast vulnerability multiplier" 0.01
					"airblast vertical vulnerability multiplier" 0.01
					"override footstep sound set" 3
					"damage force reduction" 0.4
					"cannot be sapped" 1
				}
				ItemAttributes
				{
					ItemName "The Splendid Screen"
					"Attack not cancel charge" 1
				}
			}
		}
		WaveSpawn
		{
			Name w6c2
			TotalCount 7
			SpawnCount 1
			MaxActive 2
			WaitForAllSpawned w6c1
			WaitBeforeStarting 6
			WaitBetweenSpawns 11
			TotalCurrency 50
			Where spawnbot_main1
			TFBot
			{
				ClassIcon	heavy_shotgun_explosive_heal //this needs a HOK Icon
				Health	8800
				Name	"Giant Explosive Shotgun Soldier"
				Class	Soldier
				Skill	Expert
				WeaponRestrictions	SecondaryOnly
				Attributes HoldFireUntilFullReload
				Attributes MiniBoss
				Tag "popext_customattr{attribute = `explosive bullets ext`, value = 30}"
				ItemAttributes
				{
					ItemName "TF_WEAPON_SHOTGUN_SOLDIER"
					"bullets per shot bonus"	5
					"damage bonus"	2.0
					//"explosive bullets" 30
					"heal on kill" 4400
					"faster reload rate" 0.8
				}
				CharacterAttributes
				{
					"move speed bonus"	0.5
					"damage force reduction"	0.2
					"airblast vulnerability multiplier"	0.01
					"airblast vertical vulnerability multiplier" 0.01
					"override footstep sound set"	3
					"cannot be sapped" 1
				}
				Item "dec2014 Skullcap"
			}
		}
		WaveSpawn
		{
			Name w6d1
			TotalCount 8
			SpawnCount 1
			MaxActive 2
			WaitForAllDead w6c1
			WaitBeforeStarting 4
			WaitBetweenSpawns 10
			TotalCurrency 20
			Where spawnbot_main1
			TFBot
			{
				Template T_TFBot_Giant_Pyro
				ClassIcon pyro_heal
				Health 8000
				Attributes AlwaysCrit
				ItemAttributes
				{
					ItemName "TF_WEAPON_FLAMETHROWER"
					"heal on kill" 4500
					"damage penalty" 2
				}
				CharacterAttributes
				{
					"airblast vulnerability multiplier" 0
					"airblast vertical vulnerability multiplier" 0
					"damage force reduction" 0.4
					"move speed bonus" 0.4
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
            Name gateBmessage
			WaitBetweenSpawns 1
            FirstSpawnOutput
            {
                Target message_gate_active_B
                Action Show
            }
        }
		WaveSpawn
		{
			Name gatebopen
			WaitForAllSpawned gateBmessage
			FirstSpawnOutput
			{
				Target gate_b_open
				Action Trigger
			}
		}
		WaveSpawn //needs a hok icon
		{
			Name w6d2
			TotalCount 24
			SpawnCount 2
			MaxActive 6
			WaitForAllDead w6c1
			WaitBeforeStarting 2
			WaitBetweenSpawns 2
			TotalCurrency 20
			Where spawnbot_upper0
			Where spawnbot_main1
			TFBot
			{
				Name "HOK Soda Popper Scout"
				ClassIcon scout_cola_popper_heal
				Skill Expert
				Class Scout
				Health 325
				Item "The Soda Popper"
				Item "Crit-a-Cola"
				Attributes SpawnWithFullCharge
				ItemAttributes
				{
					ItemName "The Soda Popper"
					"fire rate bonus" 0.2
					"bullets per shot bonus" 2
					"damage bonus" 1.5
					"faster reload rate" 0.3
					"weapon spread bonus" 1
					"heal on kill" 325
				}
				CharacterAttributes
				{
					"move speed bonus" 1.4
					"increase buff duration HIDDEN" 9
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Name w6e1
			TotalCount 1
			SpawnCount 1
			WaitForAllSpawned w6d1
			TotalCurrency 100
			Where spawnbot_main2
			TFBot
			{
				Name "John Laser Beam"
				Item "The C.A.P.P.E.R"
				ClassIcon scout_capper_heal_nys
				Class Scout
				Skill Expert
				//Tag "popext_aimat( target = `body` )"
				Health 42000
				WeaponRestrictions SecondaryOnly
				Attributes MiniBoss
				Attributes AlwaysFireWeapon
				Attributes UseBossHealthBar
				ItemAttributes
				{
					ItemName "The C.A.P.P.E.R"
					"faster reload rate" -2
					"mod no reload DISPLAY ONLY" 1
					"fire rate bonus HIDDEN" 0.6
					"ragdolls plasma effect" 1
					"weapon spread bonus" 0
					"projectile penetration" 1
					"damage bonus" 1.5
					"heal on kill" 5000
				}
				CharacterAttributes
				{
					"move speed bonus" 1.2
					"airblast vulnerability multiplier" 0.01
					"airblast vertical vulnerability multiplier" 0.01
					"override footstep sound set" 1
					"damage force reduction" 0.5
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Name w6e2
			TotalCount 32
			SpawnCount 3
			MaxActive 10
			WaitForAllSpawned w6e1
			TotalCurrency 20
			Where spawnbot_main1
			TFBot
			{
				ClassIcon	scout_publicenemy_heal
				Name	"Public Enemy Scout"
				Class	Scout
				Skill	Expert
				Health 500
				Attributes AlwaysCrit
				MaxVisionRange	500
				ItemAttributes
				{
					ItemName	"Baby Face's Blaster"
					"scattergun has knockback"	5
					"bullets per shot bonus"	6
					"damage bonus"	2.0
					"faster reload rate"	-0.8
					"heal on kill" 500
				}
				CharacterAttributes
				{
					"move speed bonus"	1.3
					"cannot be sapped" 1
				}
				Item	"Baby Face's Blaster"
				Item	"Pretty Boy's Pocket Pistol"
				Item	"The Fed-Fightin' Fedora"
				Item	"Dillinger's Duffel"
			}
		}
		WaveSpawn
		{
			Name w6e3
			TotalCount 24
			SpawnCount 1
			MaxActive 8
			WaitForAllSpawned w6e1
			WaitBeforeStarting 10
			TotalCurrency 20
			Where spawnbot_main2
			TFBot
			{
				Name "Rapid Bison Soldier"
				Class Soldier
				Skill Expert
				Health 400
				ClassIcon soldier_bison_heal
				WeaponRestrictions SecondaryOnly
				Item "The Righteous Bison"
				ItemAttributes
				{
					ItemName	"The Righteous Bison"
					"damage bonus" 1.5
					"fire rate bonus" 0.6
					"reload time decreased" -0.8
					"heal on kill" 400
				}
				CharacterAttributes
				{
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Name w6f1
			TotalCount 6
			SpawnCount 2
			MaxActive 4
			WaitForAllDead w6e1
			WaitBeforeStarting 3
			WaitBetweenSpawns 10
			TotalCurrency 50
			Where spawnbot_main1
			Squad
			{
				TFBot
				{
					Name "Doctor Needles"
					Class Medic
					Skill Expert
					ClassIcon medic_syringe_heal //needs hok icon
					Health 8500
					Attributes MiniBoss
					Attributes UseBossHealthBar
					Tag bot_squad_member
					WeaponRestrictions PrimaryOnly
					ItemAttributes
					{
						ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
						"clip size bonus" 2
						"damage bonus" 1.5
						"weapon spread bonus" 0.5
						"fire rate bonus" 0.6
						"faster reload rate" 0.7
						"heal on kill" 3200
					}
					CharacterAttributes
					{
						"move speed bonus" 0.4
						"airblast vulnerability multiplier" 0
						"airblast vertical vulnerability multiplier" 0
						"damage force reduction" 0.5
						"max health additive bonus" 2
						"reload time decreased while healed" -1
						"cannot be sapped" 1
					}
				}
				TFBot
				{
					ClassIcon	medic_battery_giant
					Health	6000
					Name	"Giant Blinking Uber Medic"
					Class	Medic
					Skill	Expert
					Tag bot_squad_member
					WeaponRestrictions	SecondaryOnly
					Attributes	"SpawnWithFullCharge"
					Attributes	"MiniBoss"
					ItemAttributes
					{
						ItemName	tf_weapon_syringegun_medic
						"damage penalty"	0.1
					}
					ItemAttributes
					{
						ItemName "TF_WEAPON_MEDIGUN"
						"ubercharge rate bonus" 60
						"uber duration bonus" -5
						"bot medic uber health threshold" 6050
						"overheal bonus" 3
					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"damage force reduction"	0.4
						"airblast vulnerability multiplier"	0.1
						"airblast vertical vulnerability multiplier" 0.1
						"heal rate bonus"	200
						"cannot be sapped" 1
					}
				}
			}
		}
		WaveSpawn
		{
			Name w6f2
			TotalCount 26
			SpawnCount 1
			MaxActive 6
			WaitForAllSpawned w6f1
			WaitBeforeStarting 10
			TotalCurrency 20
			Where spawnbot_main2
			TFBot
			{
				ClassIcon	scout_burst_heal
				Name	"Tough Burst Scatter Scout"
				Class	Scout
				Skill	Expert
				Health 600
				WeaponRestrictions	PrimaryOnly
				BehaviorModifiers Mobber
				Attributes AlwaysCrit
				Attributes HoldFireUntilFullReload
				ItemAttributes
				{
					ItemName	"The Back Scatter"
					"damage bonus"	1.5
    	            "fire rate bonus" 0.2
    	            "faster reload rate" 0.6
					"clip size penalty" 1.5
					"closerange backattack minicrits" 0
					"heal on kill" 600
				}
				CharacterAttributes
				{
					"cannot be sapped" 1
				}
				Item	"The Back Scatter"
			}
		}
		WaveSpawn
		{
			Name w6g1
			TotalCount 30
			SpawnCount 4
			MaxActive 10
			WaitForAllDead w6f1
			WaitBeforeStarting 10
			WaitBetweenSpawns 6
			TotalCurrency 20
			Where spawnbot_upper0
			Where spawnbot_upper1
			Squad
			{
				TFBot
				{
					ClassIcon	heavy_juggernaut_minigun_heal
					Health	1200
					Name	"Minigun Juggernaut"
					Scale	1.5
					Class	Heavyweapons
					Tag bot_squad_member
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName	"Iron Curtain"
						"damage bonus"	3.0
						"fire rate bonus"	0.8
						"attack projectiles"	2
						"weapon spread bonus"	0.5
						"heal on hit for rapidfire" 50
					}
					CharacterAttributes
					{
						"cannot be sapped" 1
					}
					Item	"Iron Curtain"
					Item	"Fists of Steel"
					Item	"War Head"
				}
				TFBot
				{
					Class Medic
					Name "Extended Shield Uber Medic"
					ClassIcon medic_uber_shield_ala
					Skill Expert
					Tag bot_squad_member
					Health 350
					Attributes SpawnWithFullCharge
					Attributes ProjectileShield
					Attributes IgnoreEnemies
					ItemAttributes
					{
						ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
						"damage penalty" 0.1
					}
					ItemAttributes
					{
						ItemName "TF_WEAPON_MEDIGUN"
						"generate rage on heal" 2
						"increase buff duration" 15
						"uber duration bonus" 5
						"ubercharge rate bonus" 2
					}
					CharacterAttributes
					{
						"bot medic uber health threshold" 200
						"cannot be sapped" 1
					}
				}
			}
		}
		WaveSpawn
		{
			Name w6g2
			TotalCount 12
			SpawnCount 4
			MaxActive 8
			WaitForAllDead w6f1
			WaitBetweenSpawns 12
			TotalCurrency 100
			Where spawnbot_main0
			Squad
			{
				TFBot
				{
					ClassIcon soldier_airstrike_hyper_heal //needs a hok icon
					Health 55000 //8000
					Name	"Ultra Blast Soldier"
					Scale	1.95
					Template	Supergiant_Soldier
					Attributes "UseBossHealthBar"
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName	warbird_rocketlauncher_warhawk
						"damage bonus" 3 //1.60
						"Blast radius increased"	2.75
						"fire rate bonus" 1.2
						"faster reload rate" 1.5
						"mini rockets"	1
						"apply z velocity on damage"	800
						"apply look velocity on damage"	800
						"use large smoke explosion" 1
						"heal on kill" 8000
					}
					CharacterAttributes
					{
						"airblast vulnerability multiplier" 0.001
						"airblast vertical vulnerability multiplier" 0
						"override footstep sound set" 2
						"damage force reduction"	0.2
						"move speed penalty"	0.4
						"cannot be sapped" 1
					}
					Item	"warbird_rocketlauncher_warhawk"
					Item	"The Diplomat"
					Item	"The Patriot Peak"
				}
				TFBot
				{
					Name "Bullet Vaccinator Medic"
					Class Medic
					Skill Expert
					ClassIcon medic_vac_trio_nys
					WeaponRestrictions SecondaryOnly
					Attributes SpawnWithFullCharge
					ItemAttributes
					{
						ItemName "TF_WEAPON_MEDIGUN"
						"lunchbox adds minicrits" 3 
						"medigun bullet resist deployed" 1
						"medigun bullet resist passive"  1
						"uber duration bonus" -4
						"medigun charge is resists" 3 //3 for bullet, 4 for blast, 5 for fire
						"ubercharge rate bonus" 200
					}
					CharacterAttributes
					{
						"bot medic uber health threshold" 444
					}
				}
				TFBot
				{
					Name "Blast Vaccinator Medic"
					Class Medic
					Skill Expert
					ClassIcon medic_vac_trio_nys
					WeaponRestrictions SecondaryOnly
					Attributes SpawnWithFullCharge
					ItemAttributes
					{
						ItemName "TF_WEAPON_MEDIGUN"
						"lunchbox adds minicrits" 3 
						"medigun bullet resist deployed" 1
						"medigun bullet resist passive"  1
						"uber duration bonus" -4
						"medigun charge is resists" 4 //3 for bullet, 4 for blast, 5 for fire
						"ubercharge rate bonus" 200
					}
					CharacterAttributes
					{
						"bot medic uber health threshold" 444
					}
				}
				TFBot
				{
					Name "Fire Vaccinator Medic"
					Class Medic
					Skill Expert
					ClassIcon medic_vac_trio_nys
					WeaponRestrictions SecondaryOnly
					Attributes SpawnWithFullCharge
					ItemAttributes
					{
						ItemName "TF_WEAPON_MEDIGUN"
						"lunchbox adds minicrits" 3 
						"medigun bullet resist deployed" 1
						"medigun bullet resist passive"  1
						"uber duration bonus" -4
						"medigun charge is resists" 5 //3 for bullet, 4 for blast, 5 for fire
						"ubercharge rate bonus" 200
					}
					CharacterAttributes
					{
						"bot medic uber health threshold" 444
					}
				}
			}
		}
		WaveSpawn
		{
			Name w6h1
			TotalCount 8
			SpawnCount 1
			MaxActive 4
			WaitForAllSpawned w6g2
			WaitBeforeStarting 25
			WaitBetweenSpawns 10
			Where spawnbot_main2
			TFBot
			{
				Template T_TFBot_Sniper_SMG
				Attributes MiniBoss
				Attributes AlwaysCrit
				ClassIcon sniper_smg_accu_hyper_heal
				Health 12000
				Class Sniper
				Skill Expert
				WeaponRestrictions SecondaryOnly
				ItemAttributes
				{
					ItemName "TF_WEAPON_SMG"
					"fire rate bonus" 0.35
					"damage bonus" 1.5 //1.5
					"faster reload rate" 0.7
					"bullets per shot bonus" 2
					"weapon spread bonus" 0
					"heal on kill" 4000 
				}
				CharacterAttributes
				{
					"head scale" 0.9
					"airblast vulnerability multiplier" 0.01
					"airblast vertical vulnerability multiplier" 0.01
					"damage force reduction" 0.3
					"move speed bonus" 0.4
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Name w6h1
			TotalCount 25
			SpawnCount 1
			MaxActive 10
			WaitForAllSpawned w6g2
			WaitBeforeStarting 15
			WaitBetweenSpawns 2
			TotalCurrency 30
			Where spawnbot_main2
			TFBot
			{
		        Name "Hyper Pen. Bulletspread Heavy"
			    ClassIcon heavy_spammer_penetrator_heal_hyper
			    Class Heavyweapons
			    Skill Expert
			    Health 500
			    Attributes AlwaysFireWeapon
				Attributes AlwaysCrit
			    Item TF_WEAPON_MINIGUN
			    ItemAttributes
			    {
			    	ItemName "TF_WEAPON_MINIGUN"
			    	"bullets per shot bonus" 2
			    	"damage bonus" 1.5
			    	"Fire rate bonus" 0.4
		    		"projectile penetration heavy" 6
			    	"weapon spread bonus" 0.8
            	    "killstreak tier" 3
            	    "killstreak effect" 7
					"heal on hit for rapidfire" 30
		    	}
			    CharacterAttributes
			    {
        	        "attach particle effect" 105
            	    "particle effect use head origin" 1
            	    "particle effect vertical offset" 20
					"cannot be sapped" 1
		    	}
			    Item "The Brotherhood of Arms"
			}
		}
	}
	Wave
	{
		WaitWhenDone 1
		Checkpoint Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		InitWaveOutput
		{
			Target gamerules
			Action runscriptcode
			Param "
				IncludeScript(`popextensions_main`, getroottable())
				IncludeScript(`mannhattan_gates`, getroottable())
				IncludeScript(`mvm_mannhattan_master_terminate_meltdown_tags`, getroottable())
				
				SpawnTemplate(`gate_logic`)
				MissionAttrs({
								WaveStartCountdown = 5
								BotHeadshots = 1})
				ClientPrint(null,3, `\x07FF0000Gates open every 50 seconds.`)"
		}
		DoneOutput
		{
			Target	holograms_3way_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name w7boss
			TotalCurrency 200
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			Where spawnbot_main0
			TFBot
			{
				Class Demoman
				Skill Expert
				Name "Giant Hyper Sticky Bomb Demo"
				ClassIcon demo_sticky_daan_hyper
				Health 50000
				Attributes MiniBoss
				Attributes HoldFireUntilFullReload
				Attributes AlwaysCrit
				Attributes UseBossHealthBar
				WeaponRestrictions SecondaryOnly
				ItemAttributes
				{
					ItemName "TF_WEAPON_GRENADELAUNCHER"
					"is_passive_weapon" 1 
					"override projectile type" 15 
					"faster reload rate" -1
				}
				ItemAttributes
				{
					ItemName "TF_WEAPON_PIPEBOMBLAUNCHER"
					"stickybomb charge rate" -1
					"sticky arm time bonus" 5
					"damage bonus" 2.5
					"stickies detonate stickies"	1
					"Blast radius increased"	1.5
					"faster reload rate" -1
					"max pipebombs increased" -7
				}
				CharacterAttributes
				{
					"move speed bonus"	0.2
					"damage force reduction" 0.5
					"airblast vulnerability multiplier" 0.01
					"airblast vertical vulnerability multiplier" 0.01
					"dmg taken from bullets reduced" -0.1
					"override footstep sound set" 4
					"no self blast dmg"	1
					"cannot pick up intelligence" 1
					"healing received bonus" 6.5
					"cannot be sapped" 1
				}
			}	
		}
		WaveSpawn
		{
			Name gate
			WaitForAllSpawned w7boss
			WaitBeforeStarting 50
			FirstSpawnOutput
			{
				Target message_gate_active_A
				Action Show
			}
		}
		WaveSpawn
		{
			Name gateAopen
			WaitForAllSpawned gate
			FirstSpawnOutput
			{
				Target gate_a_open
				Action Trigger
			}

		}
		WaveSpawn
		{
			Name w7boss2
			TotalCurrency 200
			MaxActive 1
			SpawnCount 1
			TotalCount 1
			WaitForAllSpawned gateAopen
			WaitBeforeStarting 10
			Where spawnbot_main1
			TFBot
			{
				Class Demoman
				Skill Expert
				Name "Giant Nuclear Sticky Demo"
				ClassIcon demo_sticky_nuke_giant
				Health 60000
				Attributes MiniBoss
				Attributes HoldFireUntilFullReload
				Attributes AlwaysCrit
				Attributes UseBossHealthBar
				WeaponRestrictions SecondaryOnly
				ItemAttributes
				{
					ItemName "TF_WEAPON_GRENADELAUNCHER"
					"is_passive_weapon" 1 
					"override projectile type" 15 
					"faster reload rate" -1
				}
				ItemAttributes
				{
					ItemName "TF_WEAPON_PIPEBOMBLAUNCHER"
					"stickybomb charge rate" -1
					"sticky arm time bonus" 5
					"max pipebombs increased" -7
					"faster reload rate"	2
					"fire rate bonus"	2
					"damage bonus"	10
					"damage causes airblast"	1
					"Blast radius increased"	2.0
					"use large smoke explosion"	1
				}
				CharacterAttributes
				{
					"move speed bonus"	0.2
					"damage force reduction" 0.5
					"airblast vulnerability multiplier" 0.01
					"airblast vertical vulnerability multiplier" 0.01
					"dmg taken from bullets reduced" -0.1
					"override footstep sound set" 4
					"no self blast dmg"	1
					"cannot pick up intelligence" 1
					"healing received bonus" 7.5
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Name gateb
			WaitForAllSpawned gateaopen
			WaitBeforeStarting 50
			FirstSpawnOutput
			{
				Target message_gate_active_B
				Action Show
			}
		}
		WaveSpawn
		{
			Name gatebopen
			WaitForAllSpawned gateb
			FirstSpawnOutput
			{
				Target gate_b_open
				Action Trigger
			}
		}
		WaveSpawn
		{
			Name w7boss3
			TotalCurrency 200
			MaxActive 1
			SpawnCount 1
			TotalCount 1
			WaitBeforeStarting 10
			WaitForAllSpawned gatebopen
			Where spawnbot_main2
			TFBot
			{
				Class Demoman
				Skill Expert
				Name "Giant Hyper Sticky Bomb Demo"
				ClassIcon demo_sticky_burst_infinite_hyper
				Health 70000
				Attributes MiniBoss
				Attributes HoldFireUntilFullReload
				Attributes AlwaysFireWeapon
				Attributes AlwaysCrit
				Attributes UseBossHealthBar
				WeaponRestrictions SecondaryOnly
				ItemAttributes
				{
					ItemName "TF_WEAPON_GRENADELAUNCHER"
					"is_passive_weapon" 1 
					"override projectile type" 15
					"faster reload rate" -1
				}
				ItemAttributes
				{
					ItemName "TF_WEAPON_PIPEBOMBLAUNCHER"
					"stickybomb charge rate" -3
        	        "sticky arm time bonus" 2
                	"fire rate bonus" 0.01
					"faster reload rate" 0.01
                	"damage bonus" 2.0
				}
				CharacterAttributes
				{
					"move speed bonus"	0.2
					"damage force reduction" 0.4
					"airblast vulnerability multiplier" 0.01
					"airblast vertical vulnerability multiplier" 0.01
					"dmg taken from bullets reduced" -0.3
					"override footstep sound set" 4
					"no self blast dmg"	1
					"cannot pick up intelligence" 1
					"healing received bonus" 8.5
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Name w7s
			SpawnCount 1
			MaxActive 3
			Support 1
			WaitBetweenSpawns 4
			WaitBeforeStarting 10
			Where spawnbot_upper0
			TFBot
			{
				ClassIcon	pyro_gascann_explode
				Name	"Explosive Gas Thrower"
				Class	Pyro
				Skill	Expert
				Health 600
				WeaponRestrictions	SecondaryOnly
				ItemAttributes
				{
					ItemName "The Gas Passer"
					"mult_item_meter_charge_rate" 0.05
					"explode_on_ignite" 1
					"fire rate penalty" 3
					"damage bonus" 2
				}
				CharacterAttributes
				{
					"cannot be sapped" 1
				}
				Item    "The Gas Passer"
				Item	"Neptune's Nightmare"
			}
		}
		WaveSpawn
		{
			Name w7s
			Support 1
			SpawnCount 3
			MaxActive 3
			WaitBetweenSpawns 15
			Where spawnbot_main0
			TFBot
			{
				Name "BurstWave"
				Class Soldier
				ClassIcon soldier_burstfire_hyper
				Attributes AlwaysCrit 
				Skill Expert
				Health 500
				WeaponRestrictions PrimaryOnly
				ItemAttributes
				{
					ItemName "TF_WEAPON_ROCKETLAUNCHER"
					"clip size upgrade atomic" 4
					"faster reload rate" 0.6
					"fire rate bonus" 0.1
					"damage bonus" 1.5
				}
				CharacterAttributes
				{
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Name w7s
			Support 1
			SpawnCount 1
			MaxActive 3
			WaitForAllSpawned w7boss2
			WaitBeforeStarting 15
			Where spawnbot_main1
			TFBot
			{
				ClassIcon	sniper_bow_multi_penetrator
				Name	"Penetrator Bowman"
				Class	Sniper
				Skill	Expert
				Health 500
				Attributes AlwaysCrit
				ItemAttributes
				{
					ItemName	"The Huntsman"
					"fire rate bonus"	0.6
					"damage bonus" 1.5
					"projectile penetration" 1
				}
				CharacterAttributes
				{
					"cannot be sapped" 1
				}
				Item	"The Huntsman"
			}
		}
		WaveSpawn
		{
			Name w7s
			Support 1
			SpawnCount 1
			MaxActive 2
			WaitBetweenSpawnsAfterDeath 5
			WaitForAllSpawned w7boss2
			Where spawnbot_main1
			TFBot
			{
				ClassIcon	heavy_juggernaut
				Health	1300
				Name	"Juggernaut"
				Scale	1.5
				Class	Heavyweapons
				Skill	Expert
				WeaponRestrictions	MeleeOnly
				ItemAttributes
				{
					ItemName	"Fists of Steel"
					"damage bonus"	5.0
					"fire rate bonus"	0.6
				}
				CharacterAttributes
				{
					"cannot be sapped" 1
				}
				Item	"Fists of Steel"
				Item	"War Head"
			}
		}
		WaveSpawn
		{
			Name w7s
			Support 1
			SpawnCount 1
			MaxActive 3
			WaitForAllSpawned w7boss3
			WaitBeforeStarting 15
			Where spawnbot_main2
			TFBot
			{
				ClassIcon	demoknight_charge
				Name	Chargeknight
				Class	Demoman
				Skill	Expert
				Health 600
				ItemAttributes
				{
					ItemName	"The Tide Turner"
					"Attack not cancel charge"	1
					"charge time increased" 5
					"charge recharge rate increased" 5
				}
				ItemAttributes
				{
					ItemName	"The Claidheamohmor"
					"critboost on kill"	3
				}
				CharacterAttributes
				{
					//"cannot be sapped" 1
				}
				Item	"Ali Baba's Wee Booties"
				Item	"The Tide Turner"
				Item	"The Claidheamohmor"
			}
		}
		WaveSpawn
		{
			Name w7s
			Support 1
			SpawnCount 2
			MaxActive 4
			WaitForAllSpawned w7boss3
			WaitBeforeStarting 10
			Where spawnbot_main2
			TFBot
			{
				ClassIcon soldier_directhit_heal_spell
        		Health    600
				Name    "Double Uber Caster"
				Class    Soldier
				Skill    Expert
				Tag "popext_spell( type = SPELL_OVERHEAL cooldown = 7 delay = 7 charges = 2 IfSeeTarget = 0 )"
				ItemAttributes
				{
					ItemName "TF_WEAPON_SPELLBOOK"
					"is_passive_weapon" 1
					"fire rate bonus" 1
				}
				ItemAttributes
				{
					ItemName "The Direct Hit"
					"faster reload rate" -2
					"mod no reload DISPLAY ONLY" 1
				}
        	    CharacterAttributes
        	    {
					"damage force reduction" 0.3
        	        "airblast vulnerability multiplier" 0.3
        	        "healing received bonus" 4
					"cannot be sapped" 1
					//"voice pitch scale" 0
        	    }
        	    Item    "The Direct Hit"
        	    Item    "The Spellbinder's Bonnet"
        	    Item    "TF_WEAPON_SPELLBOOK"
			}
		}
		WaveSpawn
		{
			Name w7dangertrio //ill think about changing Action Mobber
			Support 1
			TotalCount 999 //this was placed to show on the wavebar, "WHY ARE THEY NOT ON THE WAVEBAR"
			SpawnCount 1 //not going to point out names, its suppose to sneak suprise attack stoopid
			MaxActive 1
			WaitForAllSpawned w7boss
			WaitBetweenSpawns 25
			Where spawnbot_main0
			Where spawnbot_main1
			Where spawnbot_main2
			RandomChoice
			{
				TFBot
				{
				    Name "The Regenerator"
        		    Class Soldier
        		    Health 8500
    			    Scale 1.8
					Skill Expert
        		    ClassIcon soldier_escape_conch
        		    Attributes MiniBoss
        		    Attributes IgnoreFlag
					Attributes SpawnWithFullCharge
					Attributes AlwaysCrit
					Tag "popext_mobber{threat_type = `closest`, threat_dist = 256.0, lookat = false, turnrate = 150}"
					Tag "popext_stripslot( slot = SLOT_PRIMARY )"
         		    Item "The Concheror"
        		    Item "The Escape Plan"
        		    Item "Chieftain's Challenge"
        		    ItemAttributes
        		    {
        		        ItemName "The Escape Plan"
        		        "damage bonus" 2
						"fire rate bonus" 0.7
						"heal on hit for rapidfire" 100
        		    }
        		    CharacterAttributes
        		    {
        		        "health regen" 900
						"increase buff duration HIDDEN" 999
        	    	    "move speed bonus" 2.2
    		    	    "airblast vulnerability multiplier" 0.01
        	    	    "airblast vertical vulnerability multiplier" 0
        		        "damage force reduction" 0.4
        		        "add uber charge on hit" 10
						"rage giving scale" 0.6
						"mod see enemy health" 1
						"cannot be sapped" 1
					}
				}
				TFBot //need to test the popext version
				{
				    Name "The Resistor"
        		    Class Soldier
        		    Health 9000
        		    Scale 1.8
					Skill Expert
        		    ClassIcon soldier_equalizer_backup
        		    Attributes MiniBoss
        		    Attributes IgnoreFlag
					Attributes SpawnWithFullCharge
					Attributes AlwaysCrit
					Tag "popext_mobber{threat_type = `closest`, threat_dist = 256.0, lookat = false, turnrate = 150}"
					Tag "popext_stripslot( slot = SLOT_PRIMARY )"
         		    Item "The Battalion's Backup"
        		    Item "The Equalizer"
					Item "Big Chief"
        		    ItemAttributes
        		    {
        		        ItemName "The Equalizer"
        		        "damage bonus" 1.5
						"fire rate bonus" 0.6
        		    }
        		    CharacterAttributes
        		    {
        		        "move speed bonus" 2.2
        		        "airblast vulnerability multiplier" 0.01
        		        "airblast vertical vulnerability multiplier" 0
        		        "damage force reduction" 0.4
        		        "add uber charge on hit" 10
						"rage giving scale" 0.6
						"increase buff duration HIDDEN" 999
						"mod see enemy health" 1
						"cannot be sapped" 1
					}
				}
				TFBot //need tot test the popext version
				{
					Name "The Reinforcer"
					Class Soldier
					Health 8500
					Scale 1.8
					Skill Expert
					ClassIcon soldier_shovel_buff
					Attributes MiniBoss
					Attributes IgnoreFlag
					Attributes AlwaysCrit
					Attributes SpawnWithFullCharge
					Item "The Buff Banner"
					Item "TF_WEAPON_SHOVEL"
					Item "Defiant Spartan"
					Tag "popext_stripslot( slot = SLOT_PRIMARY )"
					Tag "popext_mobber{threat_type = `closest`, threat_dist = 256.0, lookat = false, turnrate = 150}"
					ItemAttributes
					{
						ItemName "TF_WEAPON_SHOVEL"
						"damage bonus" 1.5
						"fire rate bonus" 0.8
					}
					CharacterAttributes
					{
						"move speed bonus" 2.2
						"airblast vulnerability multiplier" 0.01
						"airblast vertical vulnerability multiplier" 0
						"damage force reduction" 0.5
						"rage giving scale" 0.6
						"add uber charge on hit" 10
						"increase buff duration HIDDEN" 999
						"cannot be sapped" 1
					}
				}
			}
		}
		WaveSpawn
		{
			Name w7s
			Support 1
			SpawnCount 1
			MaxActive 1
			WaitForAllSpawned w7boss
			WaitBeforeStarting 5
			Where spawnbot_main0
			TFBot
			{
				ClassIcon	heavy_deflector_fire_giant
				Health	15000
				Name	"Giant Flame Deflector Heavy"
				Class	Heavyweapons
				Skill	Expert
				MaxVisionRange	1200
				WeaponRestrictions	PrimaryOnly
				Attributes	"MiniBoss"
				ItemAttributes
				{
					ItemName	"The Huo Long Heatmaker"
					"damage bonus"	1.5
					"ragdolls become ash"	1
					"ring of fire while aiming"	50
					"attack projectiles"	1
					"set damagetype ignite"	 1
				}
				CharacterAttributes
				{
					"move speed bonus"	0.5
					"damage force reduction"	0.3
					"airblast vulnerability multiplier"	0.1
					"override footstep sound set"	2
					"cannot be sapped" 1
				}
				Item	"The Huo Long Heatmaker"
				Item	"The U-clank-a"
			}
		}
		WaveSpawn
		{
			Name w7s
			Support 1
			SpawnCount 1
			MaxActive 1
			WaitForAllSpawned w7boss2
			WaitBeforeStarting 9
			WaitBetweenSpawns 20
			Where spawnbot_main1
			TFBot
			{
				Health	9000
				Name	"Giant Death-Ray Engineer"
				Template	T_TFBot_Giant_Engineer_Pomson
				Attributes AlwaysCrit
                //Attributes AlwaysFireWeapon
				//Tag "popext_aimat( target = `body` )"
				MaxVisionRange 1000
				ItemAttributes
				{
					ItemName	"The Pomson 6000"
					"damage bonus" 1.3 //1.11
					"fire rate bonus"	0.05
					"faster reload rate"	-1
					"Projectile speed increased"	1.5
					"energy weapon penetration"	6
					"ragdolls plasma effect"	1
					"mod no reload DISPLAY ONLY"	1
					"Set DamageType Ignite"	1
				}
				CharacterAttributes
				{
					"damage force reduction"	0.2
					"airblast vulnerability multiplier"	0.1
					"airblast vertical vulnerability multiplier" 0.1
					"cannot be sapped" 1
				}
				Item	"The Data Mining Light"
				Item	"dec2014 Thermal Insulation Layer"
			}
		}
		WaveSpawn
		{
			Name w7s
			Support 1
			SpawnCount 1
			MaxActive 2
			WaitForAllSpawned w7boss3
			WaitBeforeStarting 10
			WaitBetweenSpawns 11
			Where spawnbot_main2
			TFBot
			{
				ClassIcon	scout_superbonk_giant
				Health	2600
				Name	"Super Bonk Scout"
				Class	Scout
				Skill	Expert
				WeaponRestrictions	PrimaryOnly
				Attributes	"MiniBoss"
				CharacterAttributes
				{
					"damage force reduction"	0.7
					"airblast vulnerability multiplier"	0.7
					"override footstep sound set"	5
					"effect bar recharge rate increased"	0.35
					"move speed bonus"	2.0
					"deploy time increased" 0.5
				}
				Item	"Bonk! Atomic Punch"
				Item	"The Holy Mackerel"
				Item	"Bonk Helm"
				Item	"Bonk Boy"
			}
		}
	}
	Wave //make sure to add something interesting here add the bots from city extermination the one that never made the cut
	{
		WaitWhenDone 1
		Checkpoint Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		InitWaveOutput
		{
			Target gamerules
			Action runscriptcode
			Param "
				IncludeScript(`popextensions_main`, getroottable())
				IncludeScript(`mannhattan_gates`, getroottable())
				IncludeScript(`mvm_mannhattan_master_terminate_meltdown_tags`, getroottable())
				
				SpawnTemplate(`gate_logic`)
				
				MissionAttrs({
								WaveStartCountdown = 5
								BotHeadshots = 1})
				ClientPrint(null,3, `\x07FF0000Its a good time to turn back now and play something else.`)"
		}
		DoneOutput
		{
			Target	holograms_3way_relay
			Action	Trigger
		}
		WaveSpawn //switch this with annotation
		{
			Name message1
			FirstSpawnOutput
			{
		        Target BigNet
        		Action RunScriptCode
        		Param "
				SendGlobalGameEvent(`show_annotation`,
				{
			    	worldPosX = -1391
			    	worldPosY = -2912
    				worldPosZ = -117
				    text = `This Wave is unforgiving.`
					id = 1
    				lifetime = 5
    				show_distance = false
				    play_sound = `misc/null.wav`
				})"
			}
		}
		WaveSpawn
		{
			Name message2
			WaitForAllSpawned message1
			WaitBeforeStarting 5
			FirstSpawnOutput
			{
		        Target BigNet
        		Action RunScriptCode
        		Param "
				SendGlobalGameEvent(`show_annotation`,
				{
			    	worldPosX = -1391
			    	worldPosY = -2912
    				worldPosZ = -117
				    text = `Are you sure you want to continue?`
					id = 2
    				lifetime = 5
    				show_distance = false
				    play_sound = `misc/null.wav`
				})"
			}
		}
		WaveSpawn
		{
			Name message3
			WaitBeforeStarting 7
			WaitForAllSpawned message2
			//DoneWarningSound "vo\announcer_am_lastmanalive04.mp3"
			FirstSpawnOutput
			{
		        Target BigNet
        		Action RunScriptCode
        		Param "
				SendGlobalGameEvent(`show_annotation`,
				{
			    	worldPosX = -1391
			    	worldPosY = -2912
    				worldPosZ = -117
				    text = `Its your funeral.`
					id = 3
    				lifetime = 10
    				show_distance = false
				    play_sound = `misc/null.wav`
				})"
			}
		}
		WaveSpawn
		{
			Name gateopen
			FirstSpawnOutput
			{
				Target gate_all_open
				Action Trigger
			}
		}
		WaveSpawn //boss after getting certain hp, it will use uber casts to heal himself back to full hp ; future carb here, yeah that would be too op
		{
			Name w8a1
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			Where spawnbot_main0
			WaitForAllSpawned message3
			TotalCurrency 40
			FirstSpawnWarningSound "vo\mvm\mght\heavy_mvm_m_domination01.mp3"
			DoneWarningSound "vo\mvm\mght\heavy_mvm_m_autodejectedtie01.mp3"
			TFBot
			{
				Name "The Infamous W2 Heavy"
				ClassIcon heavy_spammer_penetrator_hyper
				Class Heavyweapons
				Skill Expert
				Health 60000
				Attributes AutoJump
				//Attributes AlwaysFireWeapon
				Attributes UseBossHealthBar
				Attributes AlwaysCrit
				MaxVisionRange 1000
				Scale 1.5
				ItemAttributes
				{
					ItemName "TF_WEAPON_MINIGUN"
					"bullets per shot bonus" 4.4
					"damage bonus" 0.5
					"Fire rate bonus" 0.7
					"fire rate bonus with reduced health" 0.5
					"projectile penetration heavy" 5
                    "killstreak idleeffect" 7
                    "killstreak tier" 3
				}
				CharacterAttributes
				{
					"cannot be sapped" 1
					"cannot be backstabbed" 1
					"rage giving scale" 0.7
					"move speed bonus" 1.75
					"airblast vulnerability multiplier" 0
					"airblast vertical vulnerability multiplier" 0
					"damage force reduction" 0.2
					"cancel falling damage" 1
					"cannot pick up intelligence" 1
                    "attach particle effect" 105
                    "particle effect use head origin" 1
                    "particle effect vertical offset" 20
					"voice pitch scale" 0.4
					"cannot be sapped" 1
				}
				Item "The Brotherhood of Arms"	
			}
		}
		WaveSpawn
		{
			Name w8a1
			TotalCount 1
			SpawnCount 1
			MaxActive 1
			Where spawnbot_upper0
			WaitForAllSpawned message3
			TotalCurrency 20
			WaitBeforeStarting 9
			FirstSpawnWarningSound "vo\mvm\mght\soldier_mvm_m_hatoverhearttaunt03.mp3"
			DoneWarningSound "vo\mvm\mght\soldier_mvm_m_hatoverhearttaunt05.mp3"
			TFBot
			{
				ClassIcon	boss_atomic_admiral_direct_hit
				Health 56000
				Name	"Direct Hit Atomic"
				Scale	1.5
				Class	Soldier
				Skill	Expert
				WeaponRestrictions	PrimaryOnly
				Attributes UseBossHealthBar
				Attributes AlwaysCrit
				Attributes HoldFireUntilFullReload
				ItemAttributes
				{
					ItemName "The Direct Hit"
					"attach particle effect" 14
					"item style override" 1
					"Damage bonus" 10
					"faster reload rate" -1
					"fire rate bonus" 5
					"Projectile speed increased" 2.5
					"blast radius increased" 4.5
					"clip size upgrade atomic" -3
					"fire rate bonus with reduced health" 1.5
					"energy weapon no deflect" 1
					"is australium item" 1
					"dmg bonus vs buildings" 0.2
                    "killstreak idleeffect" 7
                    "killstreak tier" 3
				}
				CharacterAttributes
				{
					"cannot pick up intelligence" 1
					"cannot be backstabbed" 1
					"cancel falling damage" 1
					"cannot be sapped" 1
					"no self blast dmg" 1
					"move speed bonus"	2
					"damage force reduction" 0.3
					"airblast vertical vulnerability multiplier" 0
					"airblast vulnerability multiplier"	0
					"rage giving scale"	0.7
					"override footstep sound set"	3
				}
				Item	"The Direct Hit"
				Item	"The Classified Coif"
				Item	"The War on Smissmas Battle Hood"
			}
		}
		WaveSpawn
		{
			Name w8b1
			TotalCount 1
			SpawnCount 1
			TotalCurrency 20
			Where spawnbot_main1
			WaitForAllDead w8a1
			FirstSpawnWarningSound "vo\mvm\norm\spy_mvm_meleedare01.mp3"
			DoneWarningSound "vo\mvm\norm\spy_mvm_cheers07.mp3"
			TFBot
			{
				Name "Killer Spy"
				Skill Expert
				Class Spy
				ClassIcon "spy_revolver_infinite"
				Tag "popext_mission( mission = NO_MISSION )"
				Health 65000
				Attributes AlwaysCrit
				Attributes AlwaysFireWeapon
				Attributes UseBossHealthBar
				WeaponRestrictions PrimaryOnly
				Scale 1.4
				ItemAttributes
				{
					ItemName "TF_WEAPON_REVOLVER"
					"fire rate bonus" 0.8
					"mod no reload DISPLAY ONLY" 1
					"faster reload rate" -2
					"damage bonus" 1.5
					"fire rate bonus with reduced health" 0.5
					//"sniper fires tracer" 1 //thought about it and I think it would crash everyone at some point
					"maxammo secondary increased" 20
					"subtract victim medigun charge on hit" 5
					"subtract victim cloak on hit" 5
                    "killstreak idleeffect" 7
                    "killstreak tier" 3
				}
				CharacterAttributes
				{
					"cannot disguise" 1
					"airblast vulnerability multiplier" 0
					"airblast vertical vulnerability multiplier" 0
					"damage force reduction" 0.3
					"rage giving scale" 0.7
					"add uber charge on hit" 10
					"move speed bonus" 2
					"voice pitch scale" 0.6
					"cannot be sapped" 1
					"cannot pick up intelligence" 1
					"cannot be backstabbed" 1
					"cancel falling damage" 1
				}
				Item "L'Inspecteur"
				Item "The Business Casual"
			}
		}
		WaveSpawn
		{
			Name w8b1
			TotalCount 1
			SpawnCount 1
			TotalCurrency 20
			WaitForAllDead w8a1
			Where spawnbot_upper1
			FirstSpawnWarningSound "vo\mvm\norm\engineer_mvm_dominationheavy01.mp3"
			DoneWarningSound "vo\mvm\norm\engineer_mvm_laughevil02.mp3"
			TFBot
			{
				Name "Rescue Ranger Engineer" //I had him called "Dawnful Engineer", it doesnt make sense after thinking about it
				Class Engineer
				ClassIcon "engineer_ranger_nys_spammer"
				Health 55000
				Skill Expert
				Tag "popext_mission( mission = NO_MISSION )"
				Attributes AlwaysCrit
				Attributes UseBossHealthBar
				Attributes HoldFireUntilFullReload
				Scale 1.4
				//Tag "popext_aimat( target = `body` )"
				Item "The Rescue Ranger"
				MaxVisionRange 1000
				ItemAttributes
				{
					ItemName "The Rescue Ranger"
					"clip size bonus" 3
					"projectile penetration heavy" 2
					"fire rate bonus" -3
					"damage bonus" 2
					"maxammo primary increased" 3
					"projectile spread angle penalty" 3
					"faster reload rate" 0.5
                    "killstreak idleeffect" 7
                    "killstreak tier" 3
					//"projectile lifetime" 0.30 //this does apparently, Future person reading this, this is for servers that have rafmod/$SIGSEGV
					//"arrow hit kill time" 0.1 //this doesnt work, tried multiple times, tried a lot of values and still doesnt work
					//ranger are considered arrows not sure why they dont disappear after hitting a wall unless im doing something wrong
				}
				CharacterAttributes
				{
					"move speed bonus" 2
					"airblast vulnerability multiplier" 0
					"airblast vertical vulnerability multiplier" 0
					"damage force reduction" 0.6
					"cannot be backstabbed" 1
					"cannot be sapped" 1
					"cancel falling damage" 1
					"voice pitch scale" 0.6
					"cannot pick up intelligence" 1
				}
				Item "Defragmenting Hard Hat 17%"
			}
		}
		WaveSpawn
		{
			Name w8c1
			TotalCount 1
			SpawnCount 1
			TotalCurrency 20
			WaitForAllDead w8b1
			Where spawnbot_main2
			FirstSpawnWarningSound "vo\mvm\mght\demoman_mvm_m_dominationengineer06.mp3"
			DoneWarningSound "vo\mvm\mght\demoman_mvm_m_dominationsoldierupdate02.mp3"
			TFBot
			{
				Name "Danger Demo"
				Class Demoman
				ClassIcon "demo_barrage"
				Health 55000
				Attributes AlwaysCrit
				Attributes HoldFireUntilFullReload
				Attributes UseBossHealthBar
				//Tag "popext_aimat( target = `body` )"
				Scale 1.5
				ItemAttributes
				{
					ItemName "TF_WEAPON_GRENADELAUNCHER" //will switch weapon if causes to much mayhem
					"damage bonus" 1.3
					"fire rate bonus" -2
					"faster reload rate" 0.4
					"clip size upgrade atomic" 25
					"maxammo primary increased" 3
					"Projectile speed increased HIDDEN" 1.2
					"projectile spread angle penalty" 5
                    "killstreak idleeffect" 7
                    "killstreak tier" 3
				}
				CharacterAttributes
				{
					"move speed bonus" 2
					"airblast vulnerability multiplier" 0
					"airblast vertical vulnerability multiplier" 0
					"damage force reduction" 0.4
					"no self blast dmg" 1
					"cannot be sapped" 1
					"cannot be backstabbed" 1
					"cannot pick up intelligence" 1
					"cancel falling damage" 1
					"voice pitch scale" 0.5
				}
				Item "The Headtaker's Hood"
				Item "The Horsemann's Hand-Me-Down"
			}
		}
		WaveSpawn
		{
			Name w8c1
			TotalCount 1
			SpawnCount 1
			TotalCurrency 20
			WaitForAllDead w8b1
			Where spawnbot_main2
			FirstSpawnWarningSound "vo\mvm\mght\pyro_mvm_m_laughevil01.mp3"
			DoneWarningSound "vo\mvm\mght\pyro_mvm_m_autodejectedtie01.mp3"
			TFBot
			{
                Name "Spectralnaut"
                Class Pyro
                Health 45000
                Skill Expert
                Scale 1.5
                Template T_TFBot_Pyro
                ClassIcon spectralnaut
				Attributes AlwaysCrit
				Attributes AlwaysFireWeapon
				Attributes UseBossHealthBar
                Item "Upgradeable TF_WEAPON_FLAMETHROWER"
				Tag "popext_spell{ type = SPELL_METEOR cooldown = 15 delay = 0 charges = 1 }"
                ItemAttributes
                {
                    ItemName "TF_WEAPON_SPELLBOOK"
                    "fire rate bonus" 1
                }
                ItemAttributes
                {
                    ItemName "Upgradeable TF_WEAPON_FLAMETHROWER"
                    "paintkit_proto_def_index" 241
                    "set_item_texture_wear" 1
                    "damage bonus" 3.5
                    //"critboost on kill" 8
    				"flame_drag" 3
			    	"max_flame_reflection_count" 1000
			    	"flame_reflect_on_collision" 1000
				    "flame_spread_degree" 8
		    		"flame_up_speed" 75
					"flame_spread_degree" 8
                    "weapon burn dmg increased" 3
                    "weapon burn time increased" 4
                    "killstreak idleeffect" 7
                    "killstreak tier" 3
                    "attach particle effect static" 3042
                    "ragdolls become ash" 1
                }
                ItemAttributes
                {
                    ItemName "The Spectralnaut"
                    "attach particle effect" 13
                    "particle effect use head origin" 1
                    "particle effect vertical offset" 16
                }
                CharacterAttributes
                {
                    "move speed bonus"	2
			    	"damage force reduction" 0.5
			    	"airblast vulnerability multiplier" 0
                    "airblast vertical vulnerability multiplier" 0
                    "add uber charge on hit" 10
                    "healing received bonus" 30
					"voice pitch scale" 0.5
					"cannot be backstabbed" 1
                    "cannot be sapped" 1
                    "cannot pick up intelligence" 1
					"cancel falling damage" 1
                }
				Item "TF_WEAPON_SPELLBOOK"
                Item "The Spectralnaut"
                Item "Scorched Earth Stompers"
			}
		}
		WaveSpawn
		{
			Name w8d1
			TotalCount 1
			SpawnCount 1
			TotalCurrency 20
			Where spawnbot_main2
			WaitForAllDead w8c1
			TFBot
			{
				Name "Terminal Medic"
				Health 55000
				Class Medic
				Skill Expert
				ClassIcon "medic_crossbow_penetration"
				Attributes AlwaysCrit
				Attributes HoldFireUntilFullReload
				Attributes UseBossHealthBar
				Tag "popext_mission{ mission = NO_MISSION }"
				//Tag "popext_aimat( target = `body` )"
				Tag "popext_spell{ type = SPELL_OVERHEAL cooldown = 20 delay = 20 repeats = 1 charges = 4 ifhealthbelow = 3000 }"
				Scale 1.5
				Item "The Crusader's Crossbow"
				Item "TF_WEAPON_SPELLBOOK"
				ItemAttributes
				{
					ItemName "TF_WEAPON_SPELLBOOK"
					"fire rate bonus" 1
					"is_passive_weapon" 1
				}
				ItemAttributes
				{
					ItemName "The Crusader's Crossbow"
					"fire rate bonus" -2
					"clip size bonus" 9
					"faster reload rate" 0.4
					"projectile spread angle penalty" 3.5
					"maxammo primary increased" 8
					"projectile penetration heavy" 2
					"damage bonus" 2.0
				}
				CharacterAttributes
				{
					"move speed bonus" 2
					"airblast vulnerability multiplier" 0
					"airblast vertical vulnerability multiplier" 0
					"damage force reduction" 0.2
					"mod see enemy health" 1
					"health regen" -2.1
					"cannot be backstabbed" 1
					"cannot pick up intelligence" 1
					"cannot be sapped" 1
					"cancel falling damage" 1
					"healing received bonus" 35
				}
			}
		}
		WaveSpawn
		{
			Name w8d1
			TotalCount 1
			SpawnCount 1
			TotalCurrency 20
			Where spawnbot_main0
			WaitForAllDead w8c1
			TFBot
			{
				Name "Scopeless Headless Sniper"
				Class Sniper
				Skill Expert
				ClassIcon "sniper_explosive"
				Health 55000
				Tag "popext_customattr{attribute = `explosive bullets ext`, value = 20}" //causes errors but only happens to sniper? errors are harmless?
				Attributes AlwaysFireWeapon
				Attributes AlwaysCrit
				Attributes UseBossHealthBar
				Scale 1.5
				ItemAttributes
				{
					ItemName "The Bazaar Bargain"
					"fire rate bonus" 0.7
					"fire rate bonus with reduced health" 0.5
					"damage bonus" 2
					//"explosive bullets" 200
				}
				CharacterAttributes
				{
					"head scale" 0.00001
					"move speed bonus" 2
					"airblast vulnerability multiplier" 0
					"airblast vertical vulnerability multiplier" 0
					"mod see enemy health" 1
					"damage force reduction" 0.2
					"no self blast dmg" 1
					"voice pitch scale" 0.5
					"cannot be sapped" 1
					"cannot be backstabbed" 1
					"cancel falling damage" 1
					"cannot pick up intelligence" 1
					"healing received bonus" 32
				}
				Item "The Bazaar Bargain"
			}
		}
		WaveSpawn //this was going to be cut, but I brought it back to this server only
		{
			Name w8e1
			TotalCount 1
			SpawnCount 1
			TotalCurrency 20
			Where spawnbot_main1
			WaitForAllDead w8d1
			TFBot
			{
				Template T_TFBot_Demoman_Samurai
				ClassIcon "demo_samurai_hook1"
				Name "Ursed Demo"
				Health 48000
				Attributes AlwaysCrit
				Attributes UseBossHealthBar
				Attributes SpawnWithFullCharge
				Scale 1.6
				ItemAttributes
				{
					ItemName "The Half-Zatoichi"
					"fire rate bonus HIDDEN" 0.8
					"fire rate bonus with reduced health" 0.5
					"damage bonus" 2
					"apply look velocity on damage" -400
					"apply z velocity on damage" -400
					//"applies snare effect" 0.55
				}
				CharacterAttributes
				{
					"move speed bonus" 2
					"airblast vulnerability multiplier" 0
					"airblast vertical vulnerability multiplier" 0
					"damage force reduction" 0.2
					"rage giving scale" 0.6
					"add uber charge on hit" 10
					"cannot be backstabbed" 1
					"cannot pick up intelligence" 1
					"cancel falling damage" 1
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn //this too
		{
			Name w8e1
			TotalCount 1
			SpawnCount 1
			TotalCurrency 20
			Where spawnbot_main0
			WaitForAllDead w8d1
			TFBot
			{
				Name "Chaotic Deserted Soldier"
				Class Soldier
				ClassIcon "heavy_shotgun_explosive"
				Attributes AlwaysCrit
				Tag "popext_customattr{attribute = `explosive bullets ext`, value = 35}"
				WeaponRestrictions SecondaryOnly
				Health 40000
				Scale 1.6
				ItemAttributes
				{
					ItemName "TF_WEAPON_SHOTGUN_SOLDIER"
					//"explosive shot" 34
					"fire rate bonus HIDDEN" 0.7
					"fire rate bonus with reduced health" 0.4
					"faster reload rate" 0.5
					"clip size bonus" 4
					"damage bonus" 1.5
					"weapon spread bonus" 0.3
					"bullets per shot bonus" 4
				}
				CharacterAttributes
				{
					"move speed bonus" 2
					"airblast vulnerability multiplier" 0
					"airblast vertical vulnerability multiplier" 0
					"damage force reduction" 0.2
					"cancel falling damage" 1
					"cannot pick up intelligence" 1
					"cannot be backstabbed" 1
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Name w8f1
			TotalCount 1
			SpawnCount 1
			TotalCurrency 20
			Where spawnbot_main1
			//HideIcon 1  
			WaitForAllDead w8e1
			TFBot
			{
				Name "A Failed Experiment"
				Class Scout
				Skill Expert
				ClassIcon "scout_capper_lite"
				Attributes AlwaysCrit
				//Attributes AlwaysFireWeapon
				Attributes UseBossHealthBar
				WeaponRestrictions SecondaryOnly
				//DropWeapon 1  
				Health 75000
				Scale 1.4
				MaxVisionRange 800
				//Tag dontdoublehp
				//Tag dontdamage
				Item "The C.A.P.P.E.R"
				ItemAttributes
				{
					ItemName "The C.A.P.P.E.R"
					"faster reload rate" -2
					"fire rate bonus" 0.7
					"fire rate bonus with reduced health" 0.4
					"damage bonus" 2.25
					"weapon spread bonus" 0.4
					"mod no reload DISPLAY ONLY" 1
					"Set DamageType Ignite" 1
					"maxammo secondary increased" 500
					"set item tint RGB" 7804179
				}
				CharacterAttributes
				{
					"move speed bonus" 2
					"airblast vulnerability multiplier" 0
					"airblast vertical vulnerability multiplier" 0
					"damage force reduction" 0.2
					"cancel falling damage" 1
					"cannot pick up intelligence" 1
					"cannot be backstabbed" 1
					"cannot be sapped" 1
					"head scale" 0.0001
					"voice pitch scale" 0.5
 					"rage giving scale" 0.6
					"add uber charge on hit" 20
				}
			}
		}
		WaveSpawn
		{
			FirstSpawnWarningSound "vo\mvm\mght\scout_mvm_m_revenge05.mp3"
			DoneWarningSound "vo\mvm\norm\scout_mvm_autodejectedtie03.mp3"
			Name w8finalboss
			TotalCount 1
			SpawnCount 1
			TotalCurrency 20
			//HideIcon 1  
			Where spawnbot_main2
			WaitForAllDead w8f1
			TFBot
			{
				Name "John Laser Beam Mark X"
				Class Scout
				ClassIcon "scout_capper_nys"
				Attributes AlwaysCrit
				WeaponRestrictions SecondaryOnly
				//Attributes AlwaysFireWeapon
				Attributes UseBossHealthBar
				Scale 1.7
				Health 85000
				Skill Expert
				Tag "popext_stripslot{ slot = SLOT_PRIMARY }"
				Tag "popext_stripslot{ slot = SLOT_MELEE }"
				Tag "popext_spell{ type = SPELL_OVERHEAL cooldown = 18 delay = 0 repeats = 3 charges = 4 }"
				Item "The C.A.P.P.E.R"
				Item "TF_WEAPON_SPELLBOOK"
				ItemAttributes
				{
					ItemName "TF_WEAPON_SPELLBOOK"
					"fire rate bonus" 1
					//"is_passive_weapon" 1
				}
				ItemAttributes
				{
					ItemName "The C.A.P.P.E.R"
					"fire rate bonus" 0.5
					"damage bonus" 1.15
					"fire rate bonus with reduced health" 0.2
					"faster reload rate" -2
					"mod no reload DISPLAY ONLY" 1
					"weapon spread bonus" 0
					"damage all connected" 1
					"projectile penetration heavy" 6
					"set item tint RGB" 2960676
 				}
				CharacterAttributes
				{
					"cannot be backstabbed" 1
					"cannot pick up intelligence" 1
					"cancel falling damage" 1
					"move speed bonus" 2
					"voice pitch scale" 0.4
					"add uber charge on hit" 9
					"add cloak on hit" 1
					"cannot be sapped" 1
					"airblast vulnerability multiplier" 0
					"airblast vertical vulnerability multiplier" 0
					"damage force reduction" 0.1
					"healing received bonus" 46
				}
			}
		}
		WaveSpawn
		{
			Name w8supportengie
			Where spawnbot_main0
			Where spawnbot_main0_squad
			Where spawnbot_main1
			Where spawnbot_main1_slow
			Where spawnbot_main2
			Where spawnbot_main2_giants
			Support 1
			SpawnCount 2
			MaxActive 2
			WaitBetweenSpawns 25
			WaitForAllSpawned message3
			WaitBeforeStarting 2
			TFBot
			{
				Health 700
				Name "Lethal SpawnIn Engineer"
				Template T_TFBot_Engineer_Sentry_Battle_TeleIn
				ClassIcon "engineer_battle"
				Item "Cargo Constructor"
				Item "Hazard Handler"
				ItemAttributes
				{
					ItemName "TF_WEAPON_WRENCH"
					"Repair rate decreased" 0.05
					"fire rate bonus" 0.3
					"engy sentry damage bonus" 2
					"engy sentry fire rate increased" 3
				}
				CharacterAttributes
				{
					"engineer sentry build rate multiplier" 100
					"engy building health bonus" 8
					"move speed bonus" 2
				}
			}
		}
		WaveSpawn
		{
			Name w8s
			Support 1
			SpawnCount 2
			MaxActive 2
			WaitBetweenSpawnsAfterDeath 11
			WaitForAllSpawned message3
			WaitBeforeStarting 4
			Where spawnbot_upper0
			TFBot
			{
				Template T_TFBot_Soldier_Airstrike_Hyper
				//Attributes MiniBoss
				Health 900
			}
		}
		WaveSpawn
		{
			Name w8s
			Support 1
			SpawnCount 1
			MaxActive 1
			WaitBetweenSpawns 8
			WaitForAllSpawned message3
			WaitBeforeStarting 2
			Where spawnbot_main2
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Giant_Scout_Hyper_Bonk
				}
				TFBot
				{
					Template T_TFBot_Giant_Scout_Hyper_Armored
				}
				TFBot
				{
					Template T_TFBot_Giant_Scout_Fast_Bonk_Expert
				}
				TFBot
				{
					Template T_TFBot_Giant_Scout_Fast_Bonk
				}
				TFBot
				{
					Template T_TFBot_Giant_Scout_Blaster_Hyper_Armored
				}
			}
		}
		WaveSpawn
		{
			Name w8s
			Support 1
			SpawnCount 1
			MaxActive 1
			WaitBetweenSpawns 12
			WaitForAllSpawned message3
			WaitBeforeStarting 2
			Where spawnbot_mission_spy
			FirstSpawnWarningSound "vo\mvm\norm\spy_mvm_laughevil01.mp3"
			TFBot
			{
				Name "Giant Tesla Bolt Spy Caster"
				ClassIcon "spy_spell_teslabolt"
				Class Spy
				Health 6000
				Attributes MiniBoss
				Attributes SuppressFire //this still lets him cast spells
				Item "TF_WEAPON_SPELLBOOK"
				Tag "popext_addcond{cond = TF_COND_STEALTHED_USER_BUFF_FADING}"
				Tag "popext_mobber{threat_type = `closest`}"//this makes it where he will chase after anyone, just stalking them
				Tag "popext_customweaponmodel{model = `models/empty.mdl`, slot = SLOT_SECONDARY}"
				Tag "popext_customweaponmodel{model = `models/empty.mdl`, slot = SLOT_PRIMARY}"
				Tag "popext_customweaponmodel{model = `models/empty.mdl`, slot = SLOT_MELEE}"
				Tag "popext_spell{ type = SPELL_ENERGYORB cooldown = 15 delay = 15 charges = 1 IfSeeTarget = 0 }"
				ItemAttributes
				{
					ItemName "TF_WEAPON_SPELLBOOK"
					"fire rate bonus" 1
					"is_passive_weapon" 1
				}
				CharacterAttributes
				{
					"cannot pick up intelligence" 1
					"cannot disguise" 1
					"override footstep sound set" 5
					"move speed bonus" 0.4
				}
			}
		}
		WaveSpawn
		{
			Name w8s
			Support 1
			SpawnCount 1
			MaxActive 2
			WaitBetweenSpawns 7
			WaitForAllSpawned message3
			WaitBeforeStarting 2
			Where spawnbot_main0
			TFBot
			{
				ClassIcon    soldier_directhit_heal_spell
    	    	Health    7800
				Name    "Giant Uber Caster Soldier"
				Class    Soldier
				Skill    Expert
				Attributes MiniBoss
				Tag "popext_spell{ type = SPELL_OVERHEAL cooldown = 5 delay = 5 charges = 1 IfSeeTarget = 0 }"
				ItemAttributes
				{
					ItemName "TF_WEAPON_SPELLBOOK"
					"fire rate bonus" 1
				}
				ItemAttributes
				{
					ItemName "The Direct Hit"
					"faster reload rate" -2
					"damage bonus" 1.5
					"mod no reload DISPLAY ONLY" 1
				}
	            CharacterAttributes
	            {
					"move speed bonus" 0.5
					"damage force reduction"    0.2
	                "airblast vulnerability multiplier"    0.1
					"airblast vertical vulnerability multiplier" 0
            	    "healing received bonus" 27
					//"cannot pick up intelligence" 1
					"cannot be sapped" 1
					//"voice pitch scale" 0
    	        }
    	        Item    "The Direct Hit"
    	        Item    "The Spellbinder's Bonnet"
    	        Item    "TF_WEAPON_SPELLBOOK"
			}
		}
		WaveSpawn //needs testing
		{
			Name w8s
			Support 1
			SpawnCount 1
			MaxActive 2
			WaitBetweenSpawns 8
			WaitForAllSpawned message3
			WaitBeforeStarting 2
			Where spawnbot_main1
			TFBot
			{
				Name "Giant Burst Shotgun Spammer Heavy"
				ClassIcon "heavy_shotgun_infinite"
				Health 12000
				Class Heavyweapons
				WeaponRestrictions SecondaryOnly
				Attributes MiniBoss
				Attributes AlwaysCrit
				Attributes HoldFireUntilFullReload
				Skill Expert
				MaxVisionRange 1000
				ItemAttributes
				{
					ItemName "TF_WEAPON_SHOTGUN_HWG"
					"damage bonus HIDDEN" 1.5
					"fire rate bonus" 0.5
					"faster reload rate" -2
					//"mod no reload DISPLAY ONLY" 1
				}
				CharacterAttributes
				{
					"move speed bonus" 0.5
					"airblast vulnerability multiplier" 0.2
					"airblast vertical vulnerability multiplier" 0.1
					"damage force reduction" 0.3
					"add uber charge on hit" 20
					"add cloak on hit" 10
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn
		{
			Name w8s
			Support 1
			TotalCount 40
			SpawnCount 2
			MaxActive 2
			WaitBetweenSpawnsAfterDeath 10
			WaitForAllSpawned message3
			WaitBeforeStarting 2
			Where spawnbot_main0
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Pyro_Gaspasser_Explove
					Health 8000
					Item "The Dragon's Fury"
					ItemAttributes
					{
						ItemName "The Dragon's Fury"
						"damage bonus" 1.5
						"fire rate bonus" 0.5
						"critboost on kill" 4
					}
					ItemAttributes
					{
						ItemName "The Gas Passer"
						"force weapon switch" 1
						"damage bonus" 2
					}
					CharacterAttributes
					{
						"cannot be sapped" 1
						"airblast vulnerability multiplier" 0.2
						"airblast vertical vulnerability multiplier" 0.1
						"damage force reduction" 0.2
					}
					Tag bot_squad_member
				}
				TFBot
				{
					Template T_TFBot_Giant_Medic_Uber
					Health 8000
					Name "Giant Extended Uber Medic"
					Tag bot_squad_member
					CharacterAttributes
					{
						"move speed bonus" 0.5
						"airblast vulnerability multiplier" 0.3
						"airblast vertical vulnerability multiplier" 0.1
						"damage force reduction" 0.3
						"heal rate bonus" 200
						"bot medic uber health threshold" 3000
						"bot medic uber deploy delay duration" 2
						"uber duration bonus" 6
						"cannot be sapped" 1
					}
				}
			}
		}
		WaveSpawn
		{
			Name w8s
			Support 1
			SpawnCount 1
			MaxActive 2
			WaitBetweenSpawns 7
			WaitForAllSpawned message3
			WaitBeforeStarting 4
			Where spawnbot_main0
			TFBot
			{
				ClassIcon "soldier_barrage"
				Template T_TFBot_Giant_Soldier
				Health 12000
				Name "Giant Barrage Soldier"
				Skill Expert
				Attributes HoldFireUntilFullReload
				Attributes AlwaysCrit
				Item "TF_WEAPON_ROCKETLAUNCHER"
				ItemAttributes
				{
					ItemName "TF_WEAPON_ROCKETLAUNCHER"
					"faster reload rate" 0.6
					"fire rate bonus" -1.7
					"damage bonus" 2
					"clip size upgrade atomic" 7
					"projectile spread angle penalty" 1.5
					"Projectile speed increased HIDDEN" 1.5
				}
				CharacterAttributes
				{
					"move speed bonus" 0.4
					"airblast vulnerability multiplier" 0.1
					"airblast vertical vulnerability multiplier" 0.1
					"damage force reduction" 0.4
					"add uber charge on hit" 15
					"add cloak on hit" 8
					"rage giving scale" 0.4
					"cannot be sapped" 1
				}
			}
		}
		WaveSpawn //need to test all dangertrios
		{
			Name w8dangertrio
			Support 1
			SpawnCount 1
			MaxActive 1
			WaitBetweenSpawnsAfterDeath 6
			WaitForAllSpawned message3
			WaitBeforeStarting 2
			Where spawnbot_main2
			TFBot
			{
				Name "The Reinforcer"
				Class Soldier
				Health 8500
				Scale 1.8
				Skill Expert
				ClassIcon soldier_shovel_buff
				Attributes MiniBoss
				Tag "popext_mobber{threat_type = `closest`}"
				Tag "popext_stripslot{ slot = SLOT_PRIMARY }"
				//Attributes UseBossHealthBar
				Attributes IgnoreFlag
				Attributes AlwaysCrit
				Attributes SpawnWithFullCharge
				Item "The Buff Banner"
				Item "TF_WEAPON_SHOVEL"
				Item "Defiant Spartan"
				ItemAttributes
				{
					ItemName "TF_WEAPON_SHOVEL"
					"damage bonus" 1.5
					"fire rate bonus" 0.8
				}
				CharacterAttributes
				{
					"move speed bonus" 2
					"airblast vulnerability multiplier" 0.01
					"airblast vertical vulnerability multiplier" 0
					"damage force reduction" 0.5
					"rage giving scale" 0.4
					"add uber charge on hit" 15
					"increase buff duration HIDDEN" 999
				}
			}
		}
		WaveSpawn
		{
			Name w8dangertrio
			Support 1
			SpawnCount 1
			MaxActive 1
			WaitBetweenSpawnsAfterDeath 6
			WaitForAllSpawned message3
			WaitBeforeStarting 2
			Where spawnbot_main1
			TFBot
			{
			    Name "The Resistor"
        	    Class Soldier
        	    Health 6000
        	    Scale 1.8
				Skill Expert
        	    ClassIcon soldier_equalizer_backup
        	    Attributes MiniBoss
        	    Attributes IgnoreFlag
				Attributes SpawnWithFullCharge
        	    //Attributes DisableDodge
				Attributes AlwaysCrit
				Tag "popext_stripslot{ slot = SLOT_PRIMARY }"
				Tag "popext_mobber{threat_type = `closest`}"
         	    Item "The Battalion's Backup"
        	    Item "The Equalizer"
				Item "Big Chief"
        	    ItemAttributes
        	    {
        	        ItemName "The Equalizer"
        	        "damage bonus" 1.5
					"fire rate bonus" 0.7
        	    }
        	    CharacterAttributes
        	    {
        	        "move speed bonus" 2
        	        "airblast vulnerability multiplier" 0.01
        	        "airblast vertical vulnerability multiplier" 0
        	        "damage force reduction" 0.4
        	        "add uber charge on hit" 10
					"rage giving scale" 0.5
					"increase buff duration HIDDEN" 999
					"mod see enemy health" 1
				}
			}
		}
		WaveSpawn
		{
			Name w8dangertrio
			Support 1
			SpawnCount 1
			MaxActive 1
			WaitBetweenSpawnsAfterDeath 6
			WaitForAllSpawned message3
			WaitBeforeStarting 2
			Where spawnbot_main0
			TFBot
			{
			    Name "The Regenerator"
        	    Class Soldier
        	    Health 7500
    		    Scale 1.8
				Skill Expert
        	    ClassIcon soldier_escape_conch
        	    Attributes MiniBoss
				//Attributes UseBossHealthBar
        	    Attributes IgnoreFlag
				Attributes SpawnWithFullCharge
				Attributes AlwaysCrit
				Tag "popext_stripslot{ slot = SLOT_PRIMARY }"
				Tag "popext_mobber{threat_type = `closest`}"
         	    Item "The Concheror"
        	    Item "The Escape Plan"
        	    Item "Chieftain's Challenge"
        	    ItemAttributes
        	    {
        	        ItemName "The Escape Plan"
        	        "damage bonus" 1.1
					"fire rate bonus" 0.7
					"heal on hit for rapidfire" 100
        	    }
        	    CharacterAttributes
        	    {
        	        "health regen" 800
					"increase buff duration HIDDEN" 999
        	        "move speed bonus" 2
    		        "airblast vulnerability multiplier" 0.01
        	        "airblast vertical vulnerability multiplier" 0
        	        "damage force reduction" 0.1
        	        "add uber charge on hit" 10
					"rage giving scale" 0.4
					"mod see enemy health" 1
				}
			}
		}
	}
}