//Hectic Haywire
//An Advanced mission for the map Outlands by botrot. https://steamcommunity.com/id/BotRot
					
//Wave 1: $850; Wave 2: $900; Wave 3: $800; Wave 4: $850; Wave 5: $900; Wave 6: $1000
//Total Mission Money (including starting money): $6700; $7300 with bonus from A+ rating

#base robot_giant.pop
#base robot_standard.pop
#base robot_outlands.pop
WaveSchedule
{
	PrecacheModel   "models/props_mvm/robot_spawnpoint.mdl"	//preloads custom robot spawn model

	RobotLimit 26   //increased to make way for reprogrammed robots
	Eventpopfile Halloween
	ZombiesNoWave666		1
	ForceHoliday			2
	NoThrillerTaunt		1
	NoRomevisionCosmetics	1
	NoCritPumpkin			1 
	NoHolidayPickups		1
	UpgradeStationKeepWeapons 1

	PointTemplates  
    {
		spawnerst33ve
		{
			NoFixup 1
			prop_dynamic
			{
				"targetname" "spawnprop"
				"classname" "prop_dynamic"
				"model" "models/props_mvm/robot_spawnpoint.mdl"
				"DefaultAnim" "idle"
				"disableshadows" "1"
				"DisableBoneFollowers" "1"
				"solid" "0"
				"spawnflags" "0"
				"modelscale" 2.2
			}
			prop_dynamic
			{
				"targetname" "spawnprop"
				"classname" "prop_dynamic"
				"model" "models/buildables/teleporter_light.mdl"
				"DefaultAnim" "running"
				"disableshadows" "1"
				"DisableBoneFollowers" "1"
				"solid" "0"
				"spawnflags" "0"
				"modelscale" 2.5
			}
		}
		nobuilds
		{
			func_nobuild
			{
				"targetname" "pt_nobuild"
				"origin" "392 -88 416"
				"mins" "-120 -168 -16"
				"mins" "120 168 16"
				"AllowTeleporters" "0"
				"AllowSentry" "0"
				"AllowDispenser" "0" 
			}
			func_nobuild
			{
				"targetname" "pt_nobuild"
				"origin" "-448 96 416"
				"mins" "-64 -352 -16"
				"mins" "64 352 16"
				"AllowTeleporters" "0"
				"AllowSentry" "0"
				"AllowDispenser" "0"
			}
		}
	}
	SpawnTemplate    //spawns St33ve spawn point on mission load
	{
		Name   "spawnerst33ve"
		Origin "5 1209 220"                    
		Angles "0 90 0"
	}
	SpawnTemplate "nobuilds"  //spawns nobuild templates on mission load; credits to Athazar for the code
	ExtraSpawnPoint   //St333ve spawn point
	{
		Name "spawnbot_red"
		TeamNum 3
		X	"5"                     
		Y	"1209"                  
		Z	"289"        
	}
	ExtraSpawnPoint   //St333ve spawn point #2
	{
		Name "spawnbot_red2"
		TeamNum 3
		X	"840"                     
		Y	"-2106"                  
		Z	"80"        
	}
	Templates
    {
		T_TFBot_Scout_Wrap
		{
			Class Scout
			Skill Hard
			Name "Wrap Assassin Scout"
			ClassIcon scout_wrap_lite
			ExtAttr AlwaysFireWeaponAlt    //Sigsegv mod-exclusive
			WeaponRestrictions MeleeOnly
			Item  "the wrap assassin"
			ItemAttributes
			{
				ItemName  "the wrap assassin"
				"effect bar recharge rate increased"    0.2
			}
			CharacterAttributes
			{
				"kill forces attacker to laugh"	1
			}
		}
		T_TFBot_Soldier_Mangler_Charged
		{
			Class Soldier
			Name "Charged Mangler Soldier"
			ClassIcon soldier_mangler_v2
			Skill Normal
			Attributes AlwaysCrit
			Health 200
			Item "The Cow Mangler 5000"
			Item "Lord Cockswain's Pith Helmet"	
			Item "Lord Cockswain's Novelty Mutton Chops and Pipe"
			ExtAttr AlwaysFireWeaponAlt   //Sigsegv mod-exclusive
			ItemAttributes
			{
				ItemName "The Cow Mangler 5000"
				"faster reload rate"	0.6
			}
			CharacterAttributes
			{
				"kill forces attacker to laugh"	1
			}
		}
		T_TFBot_Demoman_Stickybomb
		{
			Name  "Stickybomb Demoman"
			Class Demoman
			Skill Hard
			Classicon demo_sticky_daan
			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
				"max pipebombs decreased" -7
				"Projectile range increased" 0.35
			}
			CharacterAttributes
			{
				"kill forces attacker to laugh"	1
			}
		}
		T_TFBot_Demoman_RapidFire_Loch
		{
			Name  "Rapid Fire Demoman"
			Class Demoman
			Skill Expert
			Health 750
			Scale 1.5
			Tag	bot_giant
			Classicon demo_loch_spammer
			Item    "the loch-n-load"
			Item    "scotch bonnet"
			ItemAttributes
			{
				ItemName "the loch-n-load"
				"fire rate bonus" 0.75
				"faster reload rate" -0.8
			}
			CharacterAttributes
			{
				"health regen"	1
				"kill forces attacker to laugh"	1
			}
		}
		T_TFBot_Giant_Demoknight_Charger
		{
			Class Demoman
			ClassIcon demoknight_charge
			Name "Giant Demoknight Charger"
			Skill Expert
			Health 3300
			Item "The Splendid Screen"
			Item "the claidheamohmor"
			Item "ali baba's Wee Booties"
			Item "the dark age defender"
			Item "the glasgow great helm"
			WeaponRestrictions MeleeOnly
			Attributes AlwaysCrit
			Attributes MiniBoss
			ItemAttributes
			{
				ItemName "ali baba's wee booties"
				"max health additive bonus" 0
			}
			ItemAttributes
			{
				ItemName "The Splendid Screen"
				"Attack not cancel charge" 1
			}
			ItemAttributes
			{
				ItemName "the claidheamohmor"
				"dmg taken increased" 1
				"charge time increased" 1
				"kill refills meter" 0.75
			}
			CharacterAttributes
			{
				"move speed bonus" 0.5
				"damage force reduction" 0.5
				"airblast vulnerability multiplier" 0.5
				"override footstep sound set" 4
			}
		}
		T_TFBot_Heavyweapons_Tomislav
		{
			Name	"Tomislav Heavy"
			Class	Heavyweapons
			Skill	Normal
			ClassIcon heavy_accurate
			WeaponRestrictions	PrimaryOnly
			Item	"tomislav"
			Item    "capone's capper"
			ItemAttributes
			{
				ItemName "tomislav"
				"projectile penetration heavy" 3
			}
			CharacterAttributes
            {
                "kill forces attacker to laugh"	1
            }
		}
		T_TFBot_Giant_Heavyweapons_Steeve_MKI //Minigiant Shotgun Heavy, he is giant in heart
		{
			UseMeleeThreatPrioritization 1   //Sigsegv-mod exclusive; will prioritize closest target
			Class Heavyweapons
			Name "Badass St33ve"
			ClassIcon heavy_allyred
			Skill Expert
			Health 1200
			Scale 1.5
			MaxVisionRange 750
			Attributes DisableDodge
			AlwaysGlow 1   //Bot always glows in the map like the bomb
			Action FetchFlag //Bot will "defend" the bomb
			Item "The Bot Dogger"
			WeaponRestrictions SecondaryOnly
			ItemAttributes
			{
				ItemName "The Bot Dogger"
				"attach particle effect" 71 //Green Black Hole Unusual effect
			}
			ItemAttributes
			{
				ItemName "TF_WEAPON_SHOTGUN_HWG" //Berry's Bane
				"custom weapon fire sound" "=80|weapons\shotgun\shotgun_dbl_fire.wav" //Double Barrel Shotgun sound from Half-Life 2
				"force weapon switch" 1
				"fire rate bonus" 2.5
				"bullets per shot bonus" 10
				"damage penalty" 0.5
				"faster reload rate" 0.1
			}
			CharacterAttributes
			{
				"healing received penalty" 0.25
				"crit mod disabled" 0 //disables random crits
				"deploy time increased" 0.5
				"cannot be teleported" 1
				"cannot pick up intelligence" 1
				"voice pitch scale" 0
				"rage giving scale" 0
				"hand scale" 1.25
				"ammo regen" 1
				"health regen" 4 //only heals 1 hp due to healing received penalty
			}
			AddCond  
			{
				Name TF_COND_REPROGRAMMED //Bot is part of RED team and will shoot at Gray Mann robots
			}
			AddCond  
			{
				Name TF_COND_INVULNERABLE_USER_BUFF //ubercharged like enemy bots when taking teleporter
				Duration 3
			}
		}
		T_TFBot_Giant_Heavyweapons_Steeve_MKII
		{
			UseMeleeThreatPrioritization 1   //Sigsegv-mod exclusive; will prioritize closest target
			Class Heavyweapons
			Name "Badass St33ve MK.II"
			ClassIcon heavy_allyred
			Skill Expert
			Health 5000
			MaxVisionRange 1000
			Attributes MiniBoss
			Attributes DisableDodge
			Attributes UseBossHealthBar
			AlwaysGlow 1   //Bot always glows in the map like the bomb
			DropWeapon 1   //Robot drops weapon on death. Weapon cannot be upgraded
			Action FetchFlag //Bot will "defend" the bomb
			Item "The Bot Dogger"
			WeaponRestrictions SecondaryOnly
			ItemAttributes
			{
				ItemName "TF_WEAPON_SHOTGUN_HWG" //Berry's Bane
				"custom weapon fire sound" "=80|weapons\shotgun\shotgun_dbl_fire.wav" //Double Barrel Shotgun sound from Half-Life 2
				"force weapon switch" 1
				"fire rate bonus" 2.5
				"bullets per shot bonus" 10
				"damage penalty" 0.5
				"faster reload rate" 0.1
				"maxammo secondary increased" 2
				"single wep holster time increased" 1.5
			}
			Item "Battery Canteens"
			ExtAttr SuppressCanteenUse  
			ItemAttributes
			{
				ItemName "Battery Canteens"
				"ubercharge" 1
				"powerup charges" 1
			}
			ItemAttributes
			{
				ItemName "The Bot Dogger"
				"attach particle effect" 71 //Green Black Hole Unusual effect
			}
			CharacterAttributes
			{
				"healing received penalty" 0.25
				"crit mod disabled" 0 //disables random crits
				"not solid to players" 1 //reduces bot's effectiveness to bodyblock the bomb
				"move speed bonus"	0.5
				"deploy time increased" 0.5
				"damage force reduction" 0.1
				"airblast vulnerability multiplier" 0.1
				"override footstep sound set" 2
				"cannot be backstabbed" 1
				"cannot be teleported" 1
				"cannot pick up intelligence" 1
				"voice pitch scale" 0
				"rage giving scale" 0
				"ammo regen" 1
			}
			FireWeapon // Activates Uber Canteen when moderately damaged
			{
				Delay 0
				IfHealthBelow 2500
				Repeats 1
				Type "Action"
			}
			Taunt //Taunts when moderately damaged
			{
				Delay 1
				IfHealthBelow 2500 
				Repeats 1
			}	
			AddCond  
			{
				Name TF_COND_REPROGRAMMED //Bot is part of RED team and will shoot at Gray Mann robots
			}
			AddCond  
			{
				Name TF_COND_INVULNERABLE_USER_BUFF //ubercharged like enemy bots when taking teleporter
				Duration 3
			}
		}
	}
	StartingCurrency	900
	RespawnWaveTime	3
	CanBotsAttackWhileInSpawnRoom	no
	FixedRespawnWaveTime	Yes
	Advanced   1
	Mission 
	{
		Objective	DestroySentries
		Where	spawnbot_mission_sentry_buster
		BeginAtWave	1
		RunForThisManyWaves	6
		InitialCooldown	0
		CooldownTime	30
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_Outlands_SentryBuster
			Name "Sentry Buster"
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	1
		RunForThisManyWaves	1
		InitialCooldown	50
		CooldownTime	50
		DesiredCount	2
		TFBot
		{
			Template T_TFBot_Outlands_Sniper
			Name "Camper Sniper"
			Item "the cozy camper"
			Item "The AWPer Hand"
			CharacterAttributes
            {
                "kill forces attacker to laugh"	1
            }
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	2
		RunForThisManyWaves	2
		InitialCooldown	60
		CooldownTime	60
		DesiredCount	2
		TFBot
		{
			Template T_TFBot_Outlands_Spy_Kunai
			Name "Kunai Spy"
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	4
		RunForThisManyWaves	1
		InitialCooldown	60
		CooldownTime	75
		DesiredCount	1
		TFBot
		{
			Class Sniper
			Name "Giant Machina Sniper"
			ClassIcon sniper_machina_nys
			Skill Expert
			Health 3000
			MaxVisionRange 2500
			Attributes MiniBoss
			Item "the cozy camper"
			Item "The Machina"
			ItemAttributes
			{
				ItemName "The Machina"
				"sniper charge per sec" 3
			}
			CharacterAttributes
			{
				"move speed bonus"					0.75
				"damage force reduction" 			0.6
				"airblast vulnerability multiplier" 0.6
				"override footstep sound set" 		5
			}
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	5
		RunForThisManyWaves	1
		InitialCooldown	50
		CooldownTime	50
		DesiredCount	2
		TFBot
		{
			Template T_TFBot_Outlands_Sniper
			Name "Camper Sniper"
			Item "the cozy camper"
			Item "The AWPer Hand"
			CharacterAttributes
            {
                "kill forces attacker to laugh"	1
            }
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave 6
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	65
		DesiredCount	2
		TFBot
		{
			Template T_TFBot_Outlands_Spy_Kunai
			Name "Kunai Spy"
			ItemAttributes
			{
				ItemName	"Upgradeable TF_WEAPON_REVOLVER"
				"auto fires when full" 1
				"auto fires full clip" 1
				"reload time increased hidden" 1.5
			}
		}
	}
	//Wave 1: $850
	Wave 
	{
		Explanation   //Sigsegv mod-exclusive; displays a message before a wave starts
		{
			Line "{blue}///WRECKLAMATOR AI STATUS///"
			Line "{00FFFF}Reanimation systems operational. Super Teleporter status green. Reconditioning templates online."
			Line "{00FFFF}INPUT: {red}NO BLUEPRINT DETECTED. TARGETS IDENTIFIED FOR REVERSE-ENGINEERING."
			Line "{00FFFF}CODENAME: {yellow}Giant Shotgun Heavy"
			Line "{00FFFF}ASSESSMENT: {yellow}DESTROY designated Giant Zombie. Reconditioned version will be created from remains!"
		}
		StartWaveOutput
		{
			Target	wave_start_classic_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		InitWaveOutput
        {
            	Target gamerules
            	Action RunScriptCode
            	Param "
                local ent = Entities.FindByClassname(null, `tf_objective_resource`)
                if (ent)
                {
                    NetProps.SetPropString(ent, `m_iszMvMPopfileName`, `Hectic Haywire (Advanced)`)
                }	
            	"
        }
		WaveSpawn
		{
			Name	wave1a
			TotalCurrency	100
			TotalCount	24
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns   3
			Where	spawnbot
			TFBot
			{
				Template T_TFBot_Outlands_Demoman
				Name "Demoman"
				CharacterAttributes
				{
					"kill forces attacker to laugh"	1
				}
			}
		}
		WaveSpawn
		{
			Name	wave1a
			TotalCurrency	100
			TotalCount	32
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	2
			WaitBetweenSpawns   3
			Where	spawnbot
			TFBot
			{
				Template T_TFBot_Outlands_Scout_FaN
				Name "Force-a-Nature Scout"
				CharacterAttributes
				{
					"kill forces attacker to laugh"	1
				}
			}
		}
		WaveSpawn
		{
			Name	wave1a
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	15
			WaitBetweenSpawns   25
			Where	spawnbot_right
			TFBot
			{
				Template T_TFBot_Giant_Demoknight_Charger
			}
		}
		WaveSpawn
		{
			Name	wave1b
			WaitForAllDead wave1a
			TotalCurrency	100
			TotalCount	10
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns   3
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template T_TFBot_Soldier_Mangler_Charged
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_QuickFix
					Name "Quick-Fix Medic"
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave1b2
			WaitForAllDead wave1a
			TotalCurrency	50
			TotalCount	32
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns   2
			Where	spawnbot
			Where   spawnbot_left
			TFBot
			{
				Template T_TFBot_Outlands_Sniper_Bow
				Name "Bowman"
				CharacterAttributes
				{
					"kill forces attacker to laugh"	1
				}
			}
		}
		WaveSpawn
		{
			Name	wave1b2
			WaitForAllDead wave1a
			TotalCurrency	50
			TotalCount	6
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	8
			WaitBetweenSpawns   20
			Where	spawnbot
			Squad
			{
				NoWaitForFormation 1
				TFBot
				{
					Template T_TFBot_Outlands_Sniper_Giant_SMG
					Name "Giant SMG Sniper"
				}
				TFBot
				{
					Template T_TFBot_Outlands_Soldier_Backup
					Name "Extended Backup Soldier"
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Soldier_Backup
					Name "Extended Backup Soldier"
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave1c1
			WaitForAllSpawned wave1b2
			TotalCurrency 50
			TotalCount	20
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	2
			WaitBetweenSpawns   3
			Where spawnbot
			TFBot
			{
				Template T_TFBot_Outlands_Heavy_Heater
				Name "Heater Heavy"
				Skill Easy
				CharacterAttributes
				{
					"kill forces attacker to laugh"	1
				}
			}
		}
		WaveSpawn
		{
			Name	wave1c2
			WaitForAllSpawned wave1b2
			TotalCurrency	100
			TotalCount	14
			MaxActive	14
			SpawnCount	7
			WaitBeforeStarting	10
			WaitBetweenSpawns   15
			Where	spawnbot
			TFBot
			{
				Template T_TFBot_Outlands_Demoman
				Name "Demoman"
				CharacterAttributes
				{
					"kill forces attacker to laugh"	1
				}
			}
		}
		WaveSpawn
		{
			Name	wave1c3
			WaitForAllSpawned wave1c2
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	0
			Where spawnbot
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Heavyweapons_Shotgun //dont tell the map creator, dont ask why
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_QuickFix
					Name "Quick-Fix Medic"
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_QuickFix
					Name "Quick-Fix Medic"
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_QuickFix
					Name "Quick-Fix Medic"
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave1c1
			WaitForAllSpawned wave1c3
			TotalCurrency 50
			TotalCount	7
			MaxActive	7
			SpawnCount	7
			WaitBeforeStarting	8
			Where spawnbot
			TFBot
			{
				Template T_TFBot_Outlands_Heavy_Heater
				Name "Heater Heavy"
				Skill Easy
				CharacterAttributes
				{
					"kill forces attacker to laugh"	1
				}
			}
		}
		WaveSpawn
		{
			Name	wave1bomb
			TotalCurrency	50
			TotalCount	10
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	60
			WaitBetweenSpawnsAfterDeath   12
			Where	spawnbot
			Support 1
			TFBot
			{
				Template T_TFBot_Scout_Wrap
			}
		}
	}
	//Wave 2: $900
	Wave 
	{
		Explanation   //Sigsegv mod-exclusive; displays a message before a wave starts
		{
			Line "{blue}///WRECKLAMATOR AI STATUS///"
			Line "{00FFFF}INPUT: {red}Giant Heavy Zombie remains. Reverse-engineering in progress."
			Line "{00FFFF}OUTPUT: {red}Reconditioned Mini-Giant Heavy Zombie. Delivered at Super Teleporter during wave start."
			Line "{00FFFF}ASSESSMENT: {yellow}Will defend dropped bomb. Hostile to Gray Mann {blue}ZOMBIES{yellow} instead of {red}MANNCO {yellow}fleshbags."
			Line "{00FFFF}ADDENDUM 1: {yellow}Can be UPGRADED from salvaged zombies parts. Upgrade applied on next wave."
			Line "{00FFFF}ADDENDUM 2: {yellow}Will be rebuilt TWICE every wave if DESTROYED."

		}
		StartWaveOutput
		{
			Target	wave_start_classic_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave2a
			TotalCurrency	100
			TotalCount	6
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	0
			WaitBetweenSpawns   35
			Where	spawnbot
			Squad
			{
				NoWaitForFormation 1
				TFBot
				{
					Template T_TFBot_Outlands_Pyro_Giant_Fury
					Name "Giant Fast Furious Pyro"
					ClassIcon pyro_dragon_fury_fast
					ItemAttributes
					{
						ItemName "The Dragon's Fury"
						"speed_boost_on_hit" 5
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Pyro_Manmelter
					Name "Manmelter Pyro"
					Health 650
					Scale 1.3
					ItemAttributes
					{
						ItemName "The Manmelter"
						"damage bonus"	1
					}
					CharacterAttributes
					{
						"health regen"	1
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Pyro_Manmelter
					Name "Manmelter Pyro"
					Health 650
					Scale 1.3
					ItemAttributes
					{
						ItemName "The Manmelter"
						"damage bonus"	1
					}
					CharacterAttributes
					{
						"health regen"	1
						"kill forces attacker to laugh"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave2a
			TotalCurrency	100
			TotalCount	30
			MaxActive	12
			SpawnCount	6
			WaitBeforeStarting	6
			WaitBetweenSpawns  	3
			Where 	spawnbot
			Where	spawnbot_left
			TFBot
			{
				Template T_TFBot_Outlands_Soldier
				Name "Soldier"
				Item "the mantreads"
				CharacterAttributes
				{
					"kill forces attacker to laugh"	1
				}
			}
		}
		WaveSpawn
		{
			Name	wave2a
			TotalCurrency	100
			TotalCount	12
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	6
			WaitBetweenSpawns   2
			Where	spawnbot
			Where	spawnbot_left
			TFBot
			{
				Template T_TFBot_Outlands_Pyro_Manmelter
				Name "Manmelter Pyro"
				Health 650
				Scale 1.3
				ItemAttributes
				{
					ItemName "The Manmelter"
					"damage bonus"	1
				}
				CharacterAttributes
				{
					"kill forces attacker to laugh"	1
					"health regen"	1
				}
			}
		}
		WaveSpawn
		{
			Name	wave2b
			WaitForAllSpawned wave2a
			TotalCurrency	100
			TotalCount	42
			MaxActive	14
			SpawnCount	7
			WaitBeforeStarting	6
			WaitBetweenSpawns   3
			Where	spawnbot
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Outlands_Pyro
					Name "Pyro"
					Skill Easy
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Pyro
					Name "Pyro"
					Skill Easy
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Pyro
					Name "Pyro"
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave2b
			WaitForAllSpawned wave2a
			TotalCurrency	100
			TotalCount	3
			MaxActive	3
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns   20
			Where	spawnbot_left
			TFBot
			{
				Template T_TFBot_Outlands_Soldier_Giant_Buff
				Name "Giant Buff Banner Soldier"
			}
		}
		WaveSpawn
		{
			Name	wave2b
			WaitForAllSpawned wave2a
			TotalCurrency	100
			TotalCount	3
			MaxActive	3
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns   20
			Where	spawnbot
			TFBot
			{
				Template T_TFBot_Outlands_Demoman_Giant_Scatter
				Name "Giant Ipecac Demoman"
			}
		}
		WaveSpawn
		{
			Name	wave2c1
			WaitForAllSpawned wave2b
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	10
			Where	spawnbot
			Squad
			{
				FormationSize 300
				TFBot
				{
					Template T_TFBot_Outlands_Soldier_Giant_RapidFire
					Name "Giant Rapid Fire Soldier"
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Regen
					Name  "Regen Medic"
					ClassIcon medic_armored_lite
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Regen
					Name  "Regen Medic"
					ClassIcon medic_armored_lite
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Regen
					Name  "Regen Medic"
					ClassIcon medic_armored_lite
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave2c2
			WaitForAllSpawned wave2c1
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	15
			Where	spawnbot
			Squad
			{
				FormationSize 300
				TFBot
				{
					Template T_TFBot_Outlands_Soldier_Giant_RapidFire
					Name "Giant Rapid Fire Soldier"
					DropWeapon 1   //Robot drops weapon on death. Weapon cannot be upgraded
					Item "The Galvanized Gibus"
					ItemAttributes
					{
						ItemName "Upgradeable TF_WEAPON_ROCKETLAUNCHER"
						"custom weapon fire sound" "MVM.GiantSoldierRocketShoot"
						"item style override" 1 //australium skin
						"maxammo primary increased" 3
						"no primary ammo from dispensers while active" 1
						"single wep holster time increased" 1.5
					}
					CharacterAttributes
					{
						"head scale" 1.25
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Regen
					Name  "Regen Medic"
					ClassIcon medic_armored_lite
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Regen
					Name  "Regen Medic"
					ClassIcon medic_armored_lite
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Regen
					Name  "Regen Medic"
					ClassIcon medic_armored_lite
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave2support
			WaitForAllSpawned  wave2b
			TotalCurrency	100
			TotalCount	30
			MaxActive	9
			SpawnCount	3
			WaitBeforeStarting	5
			WaitBetweenSpawns   3
			Where	spawnbot
			Where   spawnbot_left
			Support 1
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Outlands_Scout
					Name "Scout"
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Scout
					Name "Scout"
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Scout
					Name "Pistol Scout"
					Skill Normal
					WeaponRestrictions SecondaryOnly
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave2st33ve
			TotalCurrency	0
			TotalCount	3
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	60
			WaitBetweenSpawnsAfterDeath 60
			Where	spawnbot_red
			Support Limited
			TFBot
			{
				Template T_TFBot_Giant_Heavyweapons_Steeve_MKI
			}
		}
	}
	//Wave 3: $850
	Wave
	{
		Explanation   //Sigsegv mod-exclusive; displays a message before a wave starts
		{
			Line "{blue}//WRECKLAMATOR AI STATUS///"
			Line "{00FFFF}INPUT: {red}Uber Medic Zombie cadavers."
			Line "{00FFFF}OUTPUT: {red}Uber Power Up Canteen BOT UPGRADE. 1 Charge available for EMERGENCIES."
			Line "{00FFFF}ASSESSMENT: {yellow}Detecting special Zombie with GIBUS HATS. Destruction = DROPPED WEAPONS!"
			Line "{00FFFF}ADDENDUM: {yellow}Zombie weapons are 90% INCOMPATIBLE with Dispensers and Upgrade Stations!"
		}
		StartWaveOutput
		{
			Target	wave_start_classic_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave3a
			TotalCurrency	100
			TotalCount	6
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns   7
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template T_TFBot_Outlands_Soldier_Giant_Mangler
					Name "Giant Laser Soldier"
					ClassIcon soldier_bison_giant
					Attributes AlwaysCrit
					ItemAttributes
					{
						ItemName "The Cow Mangler 5000"
						"energy weapon no hurt building" 0
						"dmg bonus vs buildings" 2
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Uber
					Name  "Uber Medic"
					ItemAttributes
					{
						ItemName "Upgradeable TF_WEAPON_MEDIGUN"
						"ubercharge rate bonus" 2
						"heal rate bonus" 5
					}
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave3a
			TotalCurrency	50
			TotalCount	22
			MaxActive	11
			SpawnCount	11
			WaitBeforeStarting	3
			WaitBetweenSpawns   5
			Where	spawnbot
			TFBot
			{
				Template T_TFBot_Demoman_Stickybomb
			}
		}
		WaveSpawn
		{
			Name	wave3a2
			WaitForAllSpawned wave3a
			TotalCurrency	50
			TotalCount	11
			MaxActive	11
			SpawnCount	11
			WaitBeforeStarting	12
			Where	spawnbot_right
			TFBot
			{
				Template T_TFBot_Demoman_Stickybomb
			}
		}
		WaveSpawn
		{
			Name	wave3b1
			WaitForAllDead wave3a
			TotalCurrency	100
			TotalCount	28
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns   3
			Where	spawnbot
			Where   spawnbot_left
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Heavyweapons_Tomislav
					Skill Easy
				}
				TFBot
				{
					Template T_TFBot_Heavyweapons_Tomislav
					Skill Easy
				}
				TFBot
				{
					Template T_TFBot_Heavyweapons_Tomislav
				}
			}
		}
		WaveSpawn
		{
			Name	wave3b1
			WaitForAllDead wave3a
			TotalCurrency	50
			TotalCount	32
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns   2
			Where	spawnbot_right
			TFBot
			{
				Template T_TFBot_Demoman_Stickybomb
			}
		}
		WaveSpawn
		{
			Name	wave3b2
			WaitForAllDead wave3a
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	5
			WaitBetweenSpawns   30
			Where	spawnbot
			TFBot
			{
				Template T_TFBot_Outlands_Scout_Giant_FaN_Armoured
				Name "Giant Armored FaN Scout"
				ClassIcon scout_fan_armored
			}
		}
		WaveSpawn
		{
			Name	wave3b3
			WaitForAllSpawned wave3b2
			TotalCurrency	50
			TotalCount	4
			MaxActive	4
			SpawnCount	4
			WaitBeforeStarting	10
			Where	spawnbot
			Squad
			{
				NoWaitForFormation 1
				TFBot
				{
					Class Demoman
					Name "Giant Burst Fire Demoman"
					ClassIcon demo_burst_giant
					Skill Expert
					Health 3300
					WeaponRestrictions PrimaryOnly
					Attributes MiniBoss
					Attributes HoldFireUntilFullReload
					Item "Upgradeable TF_WEAPON_GRENADELAUNCHER"
					Item "The Galvanized Gibus"
					Item "The Juggernaut Jacket"
					DropWeapon 1   //Robot drops weapon on death. Weapon cannot be upgraded
					ItemAttributes
					{
						ItemName "Upgradeable TF_WEAPON_GRENADELAUNCHER"
						//"custom weapon fire sound" "=80|mvm/giant_demoman/giant_demoman_grenade_shoot.wav"
						"faster reload rate"				0.6
						"fire rate bonus"					0.1
						"clip size upgrade atomic"			8
						"Projectile speed increased"		1.2
						"projectile spread angle penalty"	3
						"item style override" 1 //australium skin
						"maxammo primary increased" 3
						"no primary ammo from dispensers while active" 1
						"single wep holster time increased" 1.5
					}
					CharacterAttributes
					{
						"move speed bonus"					0.5
						"damage force reduction"			0.5
						"airblast vulnerability multiplier"	0.5
						"override footstep sound set"		4
						"head scale" 1.25
					}
				}
				TFBot
				{
					Template T_TFBot_Heavyweapons_Tomislav
				}
				TFBot
				{
					Template T_TFBot_Heavyweapons_Tomislav
				}
				TFBot
				{
					Template T_TFBot_Heavyweapons_Tomislav
				}
			}
		}
		WaveSpawn
		{
			Name	wave3c1
			WaitForAllDead	wave3b3
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	5
			Tank
			{
				Health	25000
				Name	"tankboss"
				Speed	75
				StartingPathTrackNode	tankpath_river_alt
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	wave3c1
			WaitForAllDead	wave3b3
			TotalCurrency	100
			TotalCount	8
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	10
			WaitBetweenSpawns   20
			Where	spawnbot_right
			Squad
			{
				TFBot
				{
					Template T_TFBot_Outlands_Demoman_Giant_BurstFire
					Name "Giant Burst Fire Demoman"
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Uber
					Name  "Uber Medic"
					ItemAttributes
					{
						ItemName "Upgradeable TF_WEAPON_MEDIGUN"
						"ubercharge rate bonus" 2
						"heal rate bonus" 5
					}
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Uber
					Name  "Uber Medic"
					ItemAttributes
					{
						ItemName "Upgradeable TF_WEAPON_MEDIGUN"
						"ubercharge rate bonus" 2
						"heal rate bonus" 5
					}
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Uber
					Name  "Uber Medic"
					ItemAttributes
					{
						ItemName "Upgradeable TF_WEAPON_MEDIGUN"
						"ubercharge rate bonus" 2
						"heal rate bonus" 5
					}
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave3c2
			WaitForAllDead wave3b3
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			WaitBeforeStarting	15
			WaitBetweenSpawns   15
			Where	spawnbot_left
			TFBot
			{
				Template T_TFBot_Outlands_Scout_Giant
				Name "Giant Scout"
			}
		}
		WaveSpawn
		{
			Name	wave3c3
			WaitForAllSpawned wave3c2
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	15
			Where	spawnbot_left
			TFBot
			{
				Template T_TFBot_Outlands_Scout_Giant
				Name "Giant Scout"
			}
		}
		WaveSpawn
		{
			Name	wave3support
			TotalCurrency	0
			TotalCount	20
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	60
			WaitBetweenSpawnsAfterDeath  10
			Where   spawnbot_right
			Support 1
			TFBot
			{
				Template T_TFBot_Scout_Wrap
				Attributes AlwaysCrit
			}
		}
		WaveSpawn
		{
			Name	wave3support2
			WaitForAllDead wave3b3
			TotalCurrency	25
			TotalCount	25
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	6
			WaitBetweenSpawns   3
			Where   spawnbot
			Where	spawnbot_left
			Support 1
			TFBot
			{
				ClassIcon	demo_skullcutter
				Name	"Skullcutter Demoknight"
				Health  200
				Class	Demoman
				Skill	Hard
				WeaponRestrictions	MeleeOnly
				Attributes	DisableDodge
				ItemAttributes
				{
					ItemName	"the scotsman's skullcutter"
					"critboost on kill"	3
				}
				Item	"ali baba's wee booties"
				Item	"the splendid screen"
				Item	"the scotsman's skullcutter"
				CharacterAttributes
				{
					"kill forces attacker to laugh"	1
				}
			}
		}
		WaveSpawn
		{
			Name	wave3support2
			WaitForAllDead wave3b3
			TotalCurrency	25
			TotalCount	25
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	6
			WaitBetweenSpawns   0.5
			Where	spawnbot_right
			Support 1
			TFBot
			{
				Template T_TFBot_Outlands_Pyro_Flare
				Name "Flare Pyro"
				CharacterAttributes
				{
					"kill forces attacker to laugh"	1
				}
			}
		}
		WaveSpawn
		{
			Name	wave3st33ve
			TotalCurrency	0
			TotalCount	3
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	60
			WaitBetweenSpawnsAfterDeath 60
			Where	spawnbot_red
			Support Limited
			TFBot
			{
				Template T_TFBot_Giant_Heavyweapons_Steeve_MKI
				Item "Battery Canteens"
				ExtAttr SuppressCanteenUse  
				ItemAttributes
				{
					ItemName "Battery Canteens"
					"ubercharge" 1
					"powerup charges" 1
				}
				FireWeapon // Activates Uber Canteen when moderately damaged
				{
					Delay 0
					IfHealthBelow 600
					Repeats 1
					Type "Action"
				}	
				Taunt //Taunts when moderately damaged
				{
					Delay 1
					IfHealthBelow 600
					Repeats 1
				}	
			}
		}
	}
	//Wave 4: $850
	Wave
	{
		Explanation   //Sigsegv mod-exclusive; displays a message before a wave starts
		{
			Line "{blue}///WRECKLAMATOR AI STATUS///"
			Line "{00FFFF}INPUT: {red}Reclaimed Tomislav Heavy Zombie parts."
			Line "{00FFFF}OUTPUT: {red}Giant ZOMBIE UPGRADE. Health increased significantly."
			Line "{00FFFF}ADDENDUM 1: {yellow}Additional optimizations required. Giant deployment will be DELAYED on wave start."
			Line "{00FFFF}ADDENDUM 2: {yellow}CANNOT rebuild Giant when destroyed due to insufficient Giant parts."
			Line "{00FFFF}WARNING: {yellow}Scout Boss detected! This boss can STUN MANNCO fleshbags!"
		}
		StartWaveOutput
		{
			Target	wave_start_classic_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave4a
			TotalCurrency	150
			TotalCount	22
			MaxActive	8
			SpawnCount	2
			WaitBeforeStarting	0
			WaitBetweenSpawns   1
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Template T_TFBot_Demoman_RapidFire_Loch
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Vaccinator_Bullet
					Name "Vaccinator Bullet Medic"
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave4a
			TotalCurrency	50
			TotalCount	28
			MaxActive	7
			SpawnCount	7
			WaitBeforeStarting	8
			WaitBetweenSpawns   0
			Where	spawnbot_left
			Where   spawnbot_right
			TFBot
			{
				Template T_TFBot_Outlands_Scout_Combat
				Name "Blaster Scout"
				ClassIcon scout_blaster_nys
				CharacterAttributes
				{
					"kill forces attacker to laugh"	1
				}
			}
		}
		WaveSpawn
		{
			Name	wave4a
			TotalCurrency	50
			TotalCount	28
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	1
			WaitBetweenSpawns   2
			Where	spawnbot
			TFBot
			{
				Template T_TFBot_Outlands_Soldier
				Name "Soldier"
				Item "the mantreads"
				CharacterAttributes
				{
					"kill forces attacker to laugh"	1
				}
			}
		}
		WaveSpawn
		{
			Name	wave4b
			WaitForAllDead  wave4a
			TotalCurrency	100
			TotalCount	45
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	1
			WaitBetweenSpawns   1
			Where	spawnbot
			Where   spawnbot_left
			TFBot
			{
				Template T_TFBot_Outlands_Pyro_Fury
				Name "Dragon's Fury Pyro"
				ClassIcon pyro_dragon_fury_swordstone
				CharacterAttributes
				{
					"kill forces attacker to laugh"	1
				}
			}
		}
		WaveSpawn
		{
			Name	wave4b
			WaitForAllDead  wave4a
			TotalCurrency	100
			TotalCount	3
			MaxActive	3
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns   20
			Where   spawnbot_right
			TFBot
			{
				Class Soldier
				Name "Giant Air Strike Soldier"
				ClassIcon soldier_airstrike_lite_giant
				Skill Expert
				Health 4200
				RocketJump 2    //Rocket jumps when fully reloaded
				WeaponRestrictions PrimaryOnly
				Attributes MiniBoss
				Attributes HoldFireUntilFullReload
				Attributes Parachute
				Attributes AlwaysCrit
				Item "The Air Strike"
				Item "The B.A.S.E. Jumper"
				Item "The Whirly Warrior"
				Item "The Compatriot"
				ItemAttributes
				{
					ItemName "The Air Strike"
					"damage penalty"					1
					"clip size upgrade atomic"			8
					"faster reload rate"				0.3
					"fire rate bonus"					0.6
					"rocketjump attackrate bonus"       0.1
					"Projectile speed decreased"		0.8
				}
				CharacterAttributes
				{
					"cancel falling damage"				1
					"increased jump height"				2.5
					"move speed bonus"					0.5
					"damage force reduction"			0.4
					"airblast vulnerability multiplier"	0.4
					"override footstep sound set"		3
				}
			}
		}
		WaveSpawn
		{
			Name	wave4b
			WaitForAllDead  wave4a
			TotalCurrency	50
			TotalCount	5
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	25
			Where	spawnbot
			Squad
			{
				NoWaitForFormation 1   // Prevents squad leader from waiting for squad members
				FormationSize 300
				TFBot
				{
					Class Heavyweapons
					Name "Giant Deflector Heavy"
					ClassIcon heavy_deflector
					Skill Expert
					Health 5000
					WeaponRestrictions PrimaryOnly
					MaxVisionRange 1200
					Attributes MiniBoss
					DropWeapon 1   //Robot drops weapon on death. Weapon cannot be upgraded
					Item "Upgradeable TF_WEAPON_MINIGUN"
					Item "The Galvanized Gibus"
					Item "Batter's Bracers"
					ItemAttributes
					{
						ItemName "Upgradeable TF_WEAPON_MINIGUN"
						"damage bonus"			1.25
						"attack projectiles"	2
						"maxammo primary increased" 2
						"item style override" 1 //australium skin
						"no primary ammo from dispensers while active" 1
						"single wep holster time increased" 1.5
					}
					CharacterAttributes
					{
						"move speed bonus"					0.5
						"damage force reduction"			0.4
						"airblast vulnerability multiplier"	0.4
						"override footstep sound set"		2
						"head scale" 1.25
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Soldier_Conch
					Name "Extended Conch Soldier"
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Soldier_Conch
					Name "Extended Conch Soldier"
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Pyro_Manmelter
					Name "Manmelter Pyro"
					Health 650
					Scale 1.3
					ItemAttributes
					{
						ItemName "The Manmelter"
						"damage bonus"	1
					}
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
						"health regen"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Pyro_Manmelter
					Name "Manmelter Pyro"
					Health 650
					Scale 1.3
					ItemAttributes
					{
						ItemName "The Manmelter"
						"damage bonus"	1
					}
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
						"health regen"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave4b
			WaitForAllDead  wave4a
			TotalCurrency	50
			TotalCount	5
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	40
			Where	spawnbot
			Squad
			{
				NoWaitForFormation 1   // Prevents squad leader from waiting for squad members
				FormationSize 300
				TFBot
				{
					Template T_TFBot_Outlands_Heavy_Giant_Deflector
					Name "Giant Deflector Heavy"
					ItemAttributes
					{
						ItemName "Deflector"
						"damage bonus"			1.25
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Soldier_Conch
					Name "Extended Conch Soldier"
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Soldier_Conch
					Name "Extended Conch Soldier"
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Pyro_Manmelter
					Name "Manmelter Pyro"
					Health 650
					Scale 1.3
					ItemAttributes
					{
						ItemName "The Manmelter"
						"damage bonus"	1
					}
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
						"health regen"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Pyro_Manmelter
					Name "Manmelter Pyro"
					Health 650
					Scale 1.3
					ItemAttributes
					{
						ItemName "The Manmelter"
						"damage bonus"	1
					}
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
						"health regen"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave4c
			WaitForAllSpawned  wave4b
			TotalCurrency	100
			TotalCount	15
			MaxActive	15
			SpawnCount	5
			WaitBeforeStarting	15
			WaitBetweenSpawns   20
			Where	spawnbot
			Squad
			{
				NoWaitForFormation 1
				TFBot
				{
					Template T_TFBot_Outlands_Demoman_Giant_Bomber
					Name "Giant Bomber Demoman"
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Uber_BloodyQuick
					Name "Flash Uber Medic"
				}
				TFBot
				{
					Template T_TFBot_Outlands_Pyro_Manmelter
					Name "Manmelter Pyro"
					Health 650
					Scale 1.3
					ItemAttributes
					{
						ItemName "The Manmelter"
						"damage bonus"	1
					}
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
						"health regen"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Pyro_Manmelter
					Name "Manmelter Pyro"
					Health 650
					Scale 1.3
					ItemAttributes
					{
						ItemName "The Manmelter"
						"damage bonus"	1
					}
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
						"health regen"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Pyro_Manmelter
					Name "Manmelter Pyro"
					Health 650
					Scale 1.3
					ItemAttributes
					{
						ItemName "The Manmelter"
						"damage bonus"	1
					}
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
						"health regen"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave4c
			WaitForAllSpawned  wave4b
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	35
			Where	spawnbot_chief
			TFBot
			{
				Template T_TFBot_Giant_Major_League
				ClassIcon scout_stun_spammer
				Name  "Major League Omega"
				Scale 1.9
				Action Mobber
				Attributes AlwaysCrit
				Attributes DisableDodge
				DropWeapon 1   //Robot drops weapon on death. Weapon cannot be upgraded
				//DesiredAttackRange 500  //Robot attacks at the same range as when holding a regular weapon, letting it use Sandman balls more
				ItemAttributes
				{
					ItemName "The Sandman"
					"effect bar recharge rate increased" 0.25
					"killstreak tier" 1
					"dmg penalty vs players"	3	// 45 damage balls
				    "damage penalty"	0.34 //deals regular melee damage (34)
					"dmg bonus vs buildings" 2
					"max health additive penalty" 0
					"mod bat launches balls" 2 // launches Sandman balls that stun players like in pre-Jungle Inferno times
				}
				CharacterAttributes
				{
					"damage force reduction" 0
					"airblast vulnerability multiplier" 0
					"airblast vertical vulnerability multiplier" 0
					"wet immunity" 1 //immune to mad milk and jarate
					"head scale" 1.25
				}
			}
		}
		WaveSpawn
		{
			Name	wave4support
			WaitForAllSpawned  wave4b
			TotalCurrency	100
			TotalCount	24
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	5
			WaitBetweenSpawns   2
			Where	spawnbot
			Support 1
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Outlands_Scout_Bonk
					Name "Bonk Scout"
					Attributes AlwaysCrit
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Scout_Bonk
					Name "Bonk Scout"
					Attributes AlwaysCrit
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Pyro
					Name "Pyro"
					Skill Easy
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Pyro
					Name "Pyro"
					Skill Easy
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Pyro
					Name "Pyro"
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave4st33ve
			WaitForAllDead wave4a
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			FirstSpawnWarningSound "mvm/giant_heavy/giant_heavy_entrance.wav"
			Where	spawnbot_red
			Support Limited
			TFBot
			{
				Template T_TFBot_Giant_Heavyweapons_Steeve_MKII
			}
		}
	}
	//Wave 5: $900
	Wave
	{
		Explanation   //Sigsegv mod-exclusive; displays a message before a wave starts
		{
			Line "{blue}///WRECKLAMATOR AI STATUS///"
			Line "{00FFFF}INPUT: {red}Recovered Flash Uber Medic corpses."
			Line "{00FFFF}OUTPUT: {red}Flash Uber Medic Robot ZOMBIE COMPANION."
		}
		StartWaveOutput
		{
			Target	wave_start_classic_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	wave5a
			TotalCurrency	50
			TotalCount	20
			MaxActive	8
			SpawnCount	4
			WaitBeforeStarting	0
			WaitBetweenSpawns   2
			Where   spawnbot
			Squad
			{
				TFBot
				{
					Template T_TFBot_Outlands_Soldier_DirectHit
					ClassIcon soldier_stun_dh
					Name "Stun Soldier"
					Skill Expert
					ItemAttributes
					{
						ItemName "the direct hit"
						"rocket specialist" 1
					}
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
					Item "the mantreads"
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Uber
					Name  "Uber Medic"
					ItemAttributes
					{
						ItemName "Upgradeable TF_WEAPON_MEDIGUN"
						"ubercharge rate bonus" 2
						"heal rate bonus" 5
					}
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave5a
			TotalCurrency	50
			TotalCount	40
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	2
			WaitBetweenSpawns   2
			Where   spawnbot
			Where   spawnbot_right
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Outlands_Heavy_Heater
					Name "Heater Heavy"
					Skill Easy
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Heavy_Heater
					Name "Heater Heavy"
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave5a
			TotalCurrency	100
			TotalCount	6
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	15
			WaitBetweenSpawns   20
			Where   spawnbot_right
			TFBot
			{
				Template T_TFBot_Giant_Demoknight_Charger
			}
		}
		WaveSpawn
		{
			Name	wave5b1
			WaitForAllSpawned wave5a
			TotalCurrency	50
			TotalCount	36
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	5
			WaitBetweenSpawns   2
			Where   spawnbot
			Where   spawnbot_right
			TFBot
			{
				Template T_TFBot_Outlands_Demoman_Bomber
				Name "Bomber Demoman"
				CharacterAttributes
				{
					"kill forces attacker to laugh"	1
				}
			}
		}
		WaveSpawn
		{
			Name	wave5b1
			WaitForAllSpawned wave5a
			TotalCurrency	50
			TotalCount	36
			MaxActive	12
			SpawnCount	4
			WaitBeforeStarting	5
			WaitBetweenSpawns   2
			Where   spawnbot_left
			TFBot
			{
				Template T_TFBot_Outlands_Sniper_Bow_RapidFire_Light
				Name "Rapid Fire Bowman"
				Attributes AlwaysCrit
				ItemAttributes
				{
					ItemName "The Huntsman"
					"damage penalty"		0.5
					"faster reload rate"	0.3
				}
				CharacterAttributes
				{
					"kill forces attacker to laugh"	1
				}
			}
		}
		WaveSpawn
		{
			Name	wave5b2
			WaitForAllSpawned wave5a
			TotalCurrency	50
			TotalCount	5
			MaxActive	5
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns   5
			Where   spawnbot
			TFBot
			{
				Template T_TFBot_Outlands_Soldier_Giant_RapidFire
				Name "Giant Rapid Fire Soldier"
			}
		}
		WaveSpawn
		{
			Name	wave5b3
			WaitForAllSpawned  wave5b2
			TotalCurrency	50
			TotalCount	5
			MaxActive	5
			SpawnCount	5
			WaitBeforeStarting	0
			Where   spawnbot_right
			Squad
			{
				TFBot
				{
					Template T_TFBot_Outlands_Soldier_Giant_RapidFire
					Name "Giant Rapid Fire Soldier"
					DropWeapon 1   //Robot drops weapon on death. Weapon cannot be upgraded
					Item "The Galvanized Gibus"
					ItemAttributes
					{
						ItemName "Upgradeable TF_WEAPON_ROCKETLAUNCHER"
						"custom weapon fire sound" "MVM.GiantSoldierRocketShoot"
						"item style override" 1 //australium skin
						"maxammo primary increased" 3
						"no primary ammo from dispensers while active" 1
						"single wep holster time increased" 1.5
					}
					CharacterAttributes
					{
						"head scale" 1.25
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Uber
					Name  "Uber Medic"
					ItemAttributes
					{
						ItemName "Upgradeable TF_WEAPON_MEDIGUN"
						"ubercharge rate bonus" 2
						"heal rate bonus" 5
					}
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Uber
					Name  "Uber Medic"
					ItemAttributes
					{
						ItemName "Upgradeable TF_WEAPON_MEDIGUN"
						"ubercharge rate bonus" 2
						"heal rate bonus" 5
					}
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Uber
					Name  "Uber Medic"
					ItemAttributes
					{
						ItemName "Upgradeable TF_WEAPON_MEDIGUN"
						"ubercharge rate bonus" 2
						"heal rate bonus" 5
					}
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Uber
					Name  "Uber Medic"
					ItemAttributes
					{
						ItemName "Upgradeable TF_WEAPON_MEDIGUN"
						"ubercharge rate bonus" 2
						"heal rate bonus" 5
					}
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave5c
			WaitForAllDead wave5b3
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	10
			Tank
			{
				Health	20000
				Name	"tankboss"
				Speed	75
				StartingPathTrackNode	tankpath_river_same
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	wave5c
			WaitForAllDead wave5b3
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	30
			Tank
			{
				Health	17500
				Name	"tankboss"
				Speed	75
				StartingPathTrackNode	tankpath_garage_alt
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	wave5c
			WaitForAllDead wave5b3
			TotalCurrency	50
			TotalCount	3
			MaxActive	3
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns   8
			Where   spawnbot
			TFBot
			{
				Template T_TFBot_Outlands_Pyro_Giant_GasPasser
				Name "Giant Gas Passer Pyro"
				ClassIcon pyro_gascann
				Attributes AlwaysCrit
				ItemAttributes
				{
					ItemName "The Gas Passer"
					"weapon burn dmg increased"	3
					"weapon burn time reduced"	0.5
				}
			}
		}
		WaveSpawn
		{
			Name	wave5c
			WaitForAllDead wave5b3
			TotalCurrency	50
			TotalCount	6
			MaxActive	6
			SpawnCount	2
			WaitBeforeStarting	30
			WaitBetweenSpawns   12
			Where   spawnbot_right
			TFBot
			{
				Template T_TFBot_Outlands_Scout_Giant_Fast
				Name "Super Scout"
				Attributes AlwaysCrit
			}
		}
		WaveSpawn
		{
			Name	wave5support
			WaitForAllSpawned wave5b3
			TotalCurrency	100
			TotalCount	50
			MaxActive	8
			SpawnCount	2
			WaitBeforeStarting	8
			WaitBetweenSpawns   1
			Where	spawnbot
			Where   spawnbot_right
			Support 1
			RandomChoice
			{
				TFBot
				{
					Class Soldier
					Skill Normal
					Name "Mangler Soldier"
					ClassIcon soldier_mangler_v2
					Item "The Cow Mangler 5000"
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Class Soldier
					Skill Normal
					Name "Mangler Soldier"
					ClassIcon soldier_mangler_v2
					Item "The Cow Mangler 5000"
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Soldier_Mangler_Charged
				}
			}
		}
		WaveSpawn
		{
			Name	wave5st33ve
			TotalCurrency	0
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	60
			Where	spawnbot_red
			FirstSpawnWarningSound "mvm/giant_heavy/giant_heavy_entrance.wav"
			Support Limited
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Heavyweapons_Steeve_MKII
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Uber_BloodyQuick
					Name "BL00DYQUICK Uber Medic"
					Item "The Bot Dogger"
					ClassIcon heavy_allyred
					ItemAttributes
					{
						ItemName "The Bot Dogger"
						"attach particle effect" 71 //Green Black Hole Unusual effect
					}
					CharacterAttributes
					{
						"voice pitch scale" 0
						"cannot be teleported" 1
					}
					AddCond   
					{
						Name TF_COND_REPROGRAMMED //Bot is part of RED team and will shoot at Gray Mann robots
					}
					AddCond  
					{
						Name TF_COND_INVULNERABLE_USER_BUFF
						Duration 3
					}
				}
			}
		}
	}
	//Wave 6: $1000
	Wave
	{
		Explanation   //Sigsegv mod-exclusive; displays a message before a wave starts
		{
			Line "{blue}///WRECKLAMATOR AI STATUS///"
			Line "{00FFFF}INPUT: {red}Reverse-engineered Zombie Bomb remnants."
			Line "{00FFFF}OUTPUT: {red}Bomb Buff ZOMBIE UPGRADE. Reconditioned Zombies gain ALL bomb buffs."
			Line "{00FFFF}ASSESSMENT: {yellow}FINAL Zombie horde detected. DESTROY to ensure successful POOPY JOE rocket launch."
			Line "{00FFFF}ADDENDUM 1: {yellow}Reconditioned Zombies will now be rebuilt CONSTANTLY until mission is completed!"
			Line "{00FFFF}ADDENDUM 2: {yellow}Additional Super Teleporter to be deployed close to bomb hatch."
		}
		StartWaveOutput
		{
			Target	wave_start_classic_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	mission_finished_relay
			Action	Trigger
		}
		SpawnTemplate    //spawns St33ve spawn point on wave start
		{
			Name   "spawnerst33ve"
			Origin "840 -2106 0"                    
			Angles "0 90 0"
			Delay 2
		}
		WaveSpawn
		{
			Name	wave6a
			TotalCurrency	75
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	0
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Class Demoman
					Name "Giant Burst Fire Demoman"
					ClassIcon demo_burst_giant
					Skill Expert
					Health 3300
					WeaponRestrictions PrimaryOnly
					Attributes MiniBoss
					Attributes HoldFireUntilFullReload
					Item "Upgradeable TF_WEAPON_GRENADELAUNCHER"
					Item "The Galvanized Gibus"
					Item "The Juggernaut Jacket"
					DropWeapon 1   //Robot drops weapon on death. Weapon cannot be upgraded
					ItemAttributes
					{
						ItemName "Upgradeable TF_WEAPON_GRENADELAUNCHER"
						//"custom weapon fire sound" "=80|mvm/giant_demoman/giant_demoman_grenade_shoot.wav"
						"faster reload rate"				0.6
						"fire rate bonus"					0.1
						"clip size upgrade atomic"			8
						"Projectile speed increased"		1.2
						"projectile spread angle penalty"	3
						"item style override" 1 //australium skin
						"maxammo primary increased" 3
						"no primary ammo from dispensers while active" 1
						"single wep holster time increased" 1.5
					}
					CharacterAttributes
					{
						"move speed bonus"					0.5
						"damage force reduction"			0.5
						"airblast vulnerability multiplier"	0.5
						"override footstep sound set"		4
						"head scale" 1.25
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Soldier_Giant_Conch
					Name "Giant Concheror Soldier"
					Attributes AlwaysCrit
				}
			}
		}
		WaveSpawn
		{
			Name	wave6a
			TotalCurrency	75
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting	30
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Class Demoman
					Name "Giant Burst Fire Demoman"
					ClassIcon demo_burst_giant
					Skill Expert
					Health 3300
					WeaponRestrictions PrimaryOnly
					Attributes MiniBoss
					Attributes HoldFireUntilFullReload
					Item "Upgradeable TF_WEAPON_GRENADELAUNCHER"
					Item "The Galvanized Gibus"
					Item "The Juggernaut Jacket"
					DropWeapon 1   //Robot drops weapon on death. Weapon cannot be upgraded
					ItemAttributes
					{
						ItemName "Upgradeable TF_WEAPON_GRENADELAUNCHER"
						//"custom weapon fire sound" "=80|mvm/giant_demoman/giant_demoman_grenade_shoot.wav"
						"faster reload rate"				0.6
						"fire rate bonus"					0.1
						"clip size upgrade atomic"			8
						"Projectile speed increased"		1.2
						"projectile spread angle penalty"	3
						"item style override" 1 //australium skin
						"maxammo primary increased" 3
						"no primary ammo from dispensers while active" 1
						"single wep holster time increased" 1.5
					}
					CharacterAttributes
					{
						"move speed bonus"					0.5
						"damage force reduction"			0.5
						"airblast vulnerability multiplier"	0.5
						"override footstep sound set"		4
						"head scale" 1.25
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Giant_Uber
					Name "Giant Uber Medic"
					Health 4500
				}
			}
		}
		WaveSpawn
		{
			Name	wave6a
			TotalCurrency	100
			TotalCount	40
			MaxActive	10
			SpawnCount	5
			WaitBeforeStarting	2
			WaitBetweenSpawns   1
			Where	spawnbot
			TFBot
			{
				Template T_TFBot_Outlands_Pyro_Phlog
				Name "Phlogiston Pyro"
				CharacterAttributes
				{
					"kill forces attacker to laugh"	1
				}
			}
		}
		WaveSpawn
		{
			Name	wave6a
			TotalCurrency	100
			TotalCount	32
			MaxActive	8
			SpawnCount	8
			WaitBeforeStarting	6
			WaitBetweenSpawns   0.5
			Where   spawnbot_left
			Where   spawnbot_right
			TFBot
			{
				Template T_TFBot_Demoman_Stickybomb
			}
		}
		WaveSpawn
		{
			Name	wave6b
			WaitForAllSpawned  wave6a
			TotalCurrency	100
			TotalCount	36
			MaxActive	12
			SpawnCount	6
			WaitBeforeStarting	5
			WaitBetweenSpawns   1
			Where   spawnbot_left
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Heavyweapons_Tomislav
					Skill Easy
				}
				TFBot
				{
					Template T_TFBot_Heavyweapons_Tomislav
					Skill Normal
				}
			}
		}
		WaveSpawn
		{
			Name	wave6b
			WaitForAllSpawned  wave6a
			TotalCurrency	100
			TotalCount	8
			MaxActive	8
			SpawnCount	2
			WaitBeforeStarting	5
			WaitBetweenSpawns   10
			Where   spawnbot_right
			TFBot
			{
				Template T_TFBot_Outlands_Pyro_Giant_Fury
				Name "Giant Fast Furious Pyro"
				Attributes AlwaysCrit
				ClassIcon pyro_dragon_fury_fast
				ItemAttributes
				{
					ItemName "The Dragon's Fury"
					"speed_boost_on_hit" 5
				}
			}
		}
		WaveSpawn
		{
			Name	wave6b
			WaitForAllSpawned  wave6a
			TotalCurrency	100
			TotalCount	6
			MaxActive	6
			SpawnCount	3
			WaitBeforeStarting	25
			WaitBetweenSpawns   20
			Where	spawnbot_right
			Squad
			{
				TFBot
				{
					Template T_TFBot_Outlands_Soldier_Giant_Conch
					Name "Giant Concheror Soldier"
					Attributes AlwaysCrit
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Vaccinator_Bullet
					Name "Vaccinator Bullet Medic"
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Vaccinator_Bullet
					Name "Vaccinator Bullet Medic"
					CharacterAttributes
					{
						"kill forces attacker to laugh"	1
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave6c
			WaitForAllDead  wave6b
			TotalCurrency	50
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	10
			WaitBetweenSpawns   15
			Where   spawnbot_right
			TFBot
			{
				Template T_TFBot_Outlands_Demoman_Giant_AirBurst
				Name "Giant Air Burst Demoman"
				Attributes AlwaysCrit
				Item "the splendid screen"
			}
		}
		WaveSpawn
		{
			Name	wave6c
			WaitForAllDead  wave6b
			TotalCurrency	50
			TotalCount	3
			MaxActive	3
			SpawnCount	1
			WaitBeforeStarting	40
			WaitBetweenSpawns   15
			Where   spawnbot_right
			TFBot
			{
				Template T_TFBot_Outlands_Demoman_Giant_AirBurst
				Name "Giant Air Burst Demoman"
				Attributes AlwaysCrit
				Item "the splendid screen"
			}
		}
		WaveSpawn
		{
			Name	wave6c
			WaitForAllDead  wave6b
			TotalCurrency	150
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			WaitBeforeStarting	20
			WaitBetweenSpawns   30
			Where	spawnbot
			Squad
			{
				FormationSize 200
				NoWaitForFormation 1
				TFBot
				{
					UseMeleeThreatPrioritization 1   //Sigsegv-mod exclusive; will prioritize closest target
					Template T_TFBot_Outlands_Heavy_Giant_Booster
					Name "Giant Booster Heavy"
					Health 5500
					Attributes UseBossHealthBar
					ItemAttributes
					{
						ItemName "Upgradeable TF_WEAPON_MINIGUN"
						"fire rate bonus" 0.5
						"killstreak tier" 1	
					}
					CharacterAttributes
					{
						"move speed bonus"	0.4
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Giant_Uber
					Name "Giant Uber Medic"
					Health 4500
				}
			}
		}
		WaveSpawn
		{
			Name	wave6support
			WaitForAllSpawned  wave6b
			TotalCurrency	50
			TotalCount	10
			MaxActive	5
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns   1
			Where	spawnbot
			Support 1
			TFBot
			{
				Template T_TFBot_Outlands_Soldier_DirectHit
				Name "Direct Hit Soldier"
				Item "the mantreads"
				CharacterAttributes
				{
					"kill forces attacker to laugh"	1
				}
			}
		}
		WaveSpawn
		{
			Name	wave6support
			WaitForAllSpawned  wave6b
			TotalCurrency	50
			TotalCount	10
			MaxActive	5
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns   1
			Where	spawnbot
			Support 1
			TFBot
			{
				Template T_TFBot_Outlands_Scout_Combat
				Name "Blaster Scout"
				ClassIcon scout_blaster_nys
				CharacterAttributes
				{
					"kill forces attacker to laugh"	1
				}
			}
		}
		WaveSpawn
		{
			Name	wave6st33ve
			TotalCurrency	0
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting  60
			Where   spawnbot_red
			FirstSpawnWarningSound "mvm/giant_heavy/giant_heavy_entrance.wav"
			Support Limited
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Heavyweapons_Steeve_MKII
					Attributes AlwaysCrit
					CharacterAttributes
					{
						"health regen" 40 //mimics bomb regen buff; only heals 10 hp due to healing received penalty
					}
					AddCond  
					{
						Delay 4
						Name TF_COND_DEFENSEBUFF_NO_CRIT_BLOCK //bomb defensive buff
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Uber_BloodyQuick
					Name "BL00DYQUICK Uber Medic"
					Item "The Bot Dogger"
					ClassIcon heavy_allyred
					ItemAttributes
					{
						ItemName "The Bot Dogger"
						"attach particle effect" 71 //Green Black Hole Unusual effect
					}
					CharacterAttributes
					{
						"voice pitch scale" 0
						"health regen" 45 //mimics bomb regen buff
						"cannot be teleported" 1
					}
					AddCond   
					{
						Name TF_COND_REPROGRAMMED //Bot is part of RED team and will shoot at Gray Mann robots
					}
					AddCond  
					{
						Name TF_COND_INVULNERABLE_USER_BUFF
						Duration 5
					}
					AddCond   
					{
						Delay 4
						Name TF_COND_DEFENSEBUFF_NO_CRIT_BLOCK //bomb defensive buff
					}
				}
			}
		}
		WaveSpawn
		{
			Name	wave6st33ve2
			WaitForAllDead  wave6st33ve
			TotalCurrency	0
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			WaitBeforeStarting  60
			WaitBetweenSpawnsAfterDeath   60
			Where   spawnbot_red
			Where   spawnbot_red2
			Support 1
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Heavyweapons_Steeve_MKII
					Attributes AlwaysCrit
					CharacterAttributes
					{
						"health regen" 40 //mimics bomb regen buff; only heals 10 hp due to healing received penalty
					}
					AddCond  
					{
						Delay 4
						Name TF_COND_DEFENSEBUFF_NO_CRIT_BLOCK //bomb defensive buff
					}
				}
				TFBot
				{
					Template T_TFBot_Outlands_Medic_Uber_BloodyQuick
					Name "BL00DYQUICK Uber Medic"
					Item "The Bot Dogger"
					ClassIcon heavy_allyred
					ItemAttributes
					{
						ItemName "The Bot Dogger"
						"attach particle effect" 71 //Green Black Hole Unusual effect
					}
					CharacterAttributes
					{
						"voice pitch scale" 0
						"health regen" 45 //mimics bomb regen buff
						"cannot be teleported" 1
					}
					AddCond   
					{
						Name TF_COND_REPROGRAMMED //Bot is part of RED team and will shoot at Gray Mann robots
					}
					AddCond  
					{
						Name TF_COND_INVULNERABLE_USER_BUFF
						Duration 3
					}
					AddCond   
					{
						Delay 4
						Name TF_COND_DEFENSEBUFF_NO_CRIT_BLOCK //bomb defensive buff
					}
				}
			}
		}
	}
}