//VISITORS
//By Y o o v y https://steamcommunity.com/profiles/76561198017198600/
//By Lite https://steamcommunity.com/id/liteflame/w
#base robot_giant.pop
#base robot_standard.pop
WaveSchedule
{
	StartingCurrency 0
	RespawnWaveTime 0
	FixedRespawnWaveTime 1
	CanBotsAttackWhileInSpawnRoom no
	EventPopfile Halloween	
	CustomUpgradesFile "mvm_upgrades_slender_v2.txt"  
	ZombiesNoWave666 1  
	StealthDamageReduction 0.5  
	TextPrintTime 0  
	NoThrillerTaunt 1  
	NoRomevisionCosmetics 1  
	SniperAllowHeadshots 1  
	ForceHoliday 2  
	BonusRatioHalf 2  
	BonusRatioFull 2  
	FastNPCUpdate 1   
	SentryBusterFriendlyFire 0  
	BotPushaway 0  
	BodyPartScaleSpeed 100  
	WaveStartCountdown 3  
	OverrideSounds  
	{
		"MVM.PlayerDied"						"misc\halloween\clock_tick.wav"

        "music.mvm_end_last_wave"               "misc\achievement_earned.wav"
        "music.mvm_end_mid_wave"                "ui\halloween_boss_escape.wav"
        "music.mvm_end_wave"                    "ui\halloween_boss_escape.wav"
        "music.mvm_end_tank_wave"               "ui\halloween_boss_escape.wav"
        "music.mvm_lost_wave"                   "ui\halloween_boss_escape.wav"
	}
	Templates
	{	
		Boss_Sentrybuster
		{
			Name "Sentry Buster"
			Class Demoman
			Skill Expert
			Health 250
			Item "The Ullapool Caber"
			Action SuicideBomber  
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			UseMeleeThreatPrioritization 1  
			UseBusterModel 1  
			Attributes MiniBoss
			WeaponRestrictions MeleeOnly
			ItemModel   // Replaces item model
			{
				ItemName "Zombie Demo"
				Model "models\empty.mdl"
			}
			CharacterAttributes
			{
				"cannot be backstabbed" 1
				"move speed bonus" 2
				"override footstep sound set" 7
				"increased jump height" 1.25
			}
		}
		Boss_Cloaker
		{
			Name "Cloaker"
			Class Spy
			Skill Expert
			MaxVisionRange	600
			Action Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			UseMeleeThreatPrioritization 1  
			WeaponRestrictions	MeleeOnly
			Scale	1.2
			Item	"The Upgrade"
			Item	"Lurker's Leathers"
			ItemAttributes
			{
				ItemName "TF_WEAPON_KNIFE"
				"dmg from melee increased"	0.25
				"cannot disguise"	1
			}
			CharacterAttributes
			{
				"voice pitch scale"	0.75
				"cannot be backstabbed"	1
				"increased jump height" 1.25
			}
			Addcond  
			{	
				Index	66
				
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 3 //Time between each voice command (Default: 10)
                Repeats 0
				IfSeeTarget 1
                Type "Negative" // Type of voice command
            }
		}
		Boss_Sniper
		{
			Name "Hunter"
			Class Sniper
			Skill Expert
			MaxVisionRange	2300
			Action Sniper
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			Scale	1.2 
			Item	"Starduster"
			Item	"Shooting Star"
			Item	"Corona Australis"
			Item	"The Cammy Jammies"
			ItemAttributes
			{
				ItemName "Shooting Star"
				"dmg from melee increased"	0.2
			}
			CharacterAttributes
			{
				"move speed bonus"	1.5
				"cannot be backstabbed"	1
				"increased jump height" 1.25
			}
		}
		Boss_Krampus
		{
			Name "Krampus"
			Class HeavyWeapons
			Skill Expert
			Health 350
			MaxVisionRange 600
			Action	Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			Attributes	AlwaysCrit
			UseMeleeThreatPrioritization 1  
			Item	"The All-Father"
			Item	"The Holiday Punch"
			Item	"The Gift Bringer"
			Item	"Smissmas Saxton"
			Scale	1.35
			WeaponRestrictions	MeleeOnly
			ItemAttributes
			{	
				ItemName	"The Holiday Punch"
				"dmg taken increased"	0.75
				"dmg from melee increased"	0.35
				"crit does no damage" 0
				"damage penalty" 0.1
			}
			CharacterAttributes
			{
				"cannot be backstabbed"	1
				"move speed bonus"	1.125
				"increased jump height" 1.25
				"voice pitch scale" 0.5
			}
		}
		Boss_Deflector
		{
			Name "Deflector Heavy"
			Class HeavyWeapons
			Skill Expert
			Health 250
			Action	Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			MaxVisionRange	1200
			
			UseMeleeThreatPrioritization 1  
			UseCustomModel "models\bots\heavy\bot_heavy.mdl"  
			Skin	1
			ItemModel   // Replaces item model
			{
				ItemName "Zombie Heavy"
				Model "models\empty.mdl"
			}
			Item	"The U-clank-A"
			Item	"Deflector"
			WeaponRestrictions	PrimaryOnly
			ItemAttributes
			{	
				ItemName	"Deflector"
				"dmg taken increased"	0.75
				"dmg from melee increased"	0.35
				"damage penalty" 0.25
			}
			CharacterAttributes
			{
				"cannot be backstabbed"	1
				"move speed bonus"	1.125
				"increased jump height" 1.25
				"voice pitch scale" 0.5
			}
		}
		Boss_Prinny
		{
			Name "Prinny the Spy"
			Class Spy
			Skill Expert
			MaxVisionRange	600
			Action Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			UseMeleeThreatPrioritization 1  
			Item	"Prinny Hat"
			Item	"Prinny Machete"
			Item	"Prinny Pouch"
			WeaponRestrictions	MeleeOnly
			Scale	1.2
			ItemAttributes
			{
				ItemName "Prinny Machete"
				"dmg from melee increased"	0.5
				"damage penalty"	0.4
				"cannot disguise"	1
			}
			CharacterAttributes
			{
				"move speed bonus"	1.2
				"cannot be backstabbed"	1
				"increased jump height" 1.25
			}
			Addcond  
			{	
				Index	79
				IfHealthBelow 	50
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 3 //Time between each voice command (Default: 10)
                Repeats 0
				IfSeeTarget 1
                Type "Positive" // Type of voice command
            }
		}
		Boss_Merasmus
		{
			Name "Merasmus"
			Class Sniper
			Skill Expert
			MaxVisionRange 1200
			Action	Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			UseMeleeThreatPrioritization 1  
			UseCustomModel "models/bots/merasmus/merasmus.mdl"  
			ItemModel   // Replaces item model
			{
				ItemName "Zombie Sniper"
				Model "models\empty.mdl"
			}
			Item	TF_WEAPON_SPELLBOOK
			Scale	1.2
			WeaponRestrictions	MeleeOnly
			ItemAttributes
			{
				ItemName	TF_WEAPON_SPELLBOOK
				"is_passive_weapon"	1
			}
			ItemAttributes
			{	
				ItemName	TF_WEAPON_CLUB
				"is invisible"	1
				"dmg from melee increased"	0.35
			}
			CharacterAttributes
			{
				"move speed bonus"	1.1
				"cannot be backstabbed"	1
				"dmg from melee increased"	0.2
				"voice pitch scale"	0.75
				"increased jump height" 1.25
			}
			Spell	 
			{
				Delay 1
                Cooldown 6
                Repeats 0
				IfSeeTarget 1
				Charges 1
				Limit 1
				Type	"Common"
			}
			Spell	 
			{
				Delay 1
                Cooldown 20
                Repeats 0
				IfSeeTarget 1
				Charges 1
				Limit 1
				Type	"Rare"
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 3 //Time between each voice command (Default: 10)
                Repeats 0
				IfSeeTarget 1
                Type "Positive" // Type of voice command
				IfSeeTarget 1  
            }
		}
		Boss_Knockback
		{
			Name "Doe the Stratosphere Soldier"
			Class Soldier
			Skill Expert
			MaxVisionRange 600
			Action	Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			Attributes	HoldFireUntilFullReload
			UseMeleeThreatPrioritization 1  
			AimAt Feet  
			Item	"Dr's Dapper Topper"
			Item	"The Liberty Launcher"
			Scale	1.2
			ItemAttributes
			{	
				ItemName	"The Liberty Launcher"
				"damage causes airblast" 1
				"damage bonus" 0.1
				"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
				"dmg from melee increased"	0.25
				"blast dmg to self increased"	0
				"apply z velocity on damage"	150
				"apply look velocity on damage"	150
			}
			CharacterAttributes
			{
				"cannot be backstabbed"	1
				"increased jump height" 1.25
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 5 //Time between each voice command (Default: 10)
                Repeats 0
                Type "Battle cry" // Type of voice command
				IfSeeTarget 1  
            }
		}
		Boss_Major
		{
			Name "Major League"
			Class Scout
			Skill Easy
			Action	Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			UseMeleeThreatPrioritization 1  
			UseCustomModel "models\bots\scout_boss\bot_scout_boss.mdl"  
			ItemModel   // Replaces item model
			{
				ItemName "Zombie Scout"
				Model "models\empty.mdl"
			}
			Skin	1
			Health 200
			Item "Summer Shades"
			Item "The Boston Boom-Bringer"
			Item "The Sandman"
			Attributes MiniBoss
			WeaponRestrictions MeleeOnly
			ItemAttributes
			{
				ItemName "The Sandman"
				"effect bar recharge rate increased" 0.2
				"dmg from melee increased"	0.25
				"damage penalty"	0.75
			}
			CharacterAttributes
			{
				"move speed bonus" 1.5
				"override footstep sound set" 5
				"cannot be backstabbed"	1
				"increased jump height" 1.25
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 3 //Time between each voice command (Default: 10)
                Repeats 0
				IfSeeTarget 1
                Type "Battle cry" // Type of voice command
				IfSeeTarget 1  
            }
		}
		Boss_Bomber
		{
			Name "Major Bomber"
			Class Demoman
			Skill Expert
			Health 200
			Attributes MiniBoss
			MaxVisionRange 1200
			Action	Mobber
			Attributes	AlwaysCrit
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			Attributes	HoldFireUntilFullReload
			UseMeleeThreatPrioritization 1  
			UseCustomModel "models\bots\demo_boss\bot_demo_boss.mdl"  
			Skin	1
			Item	"Prince Tavish's Crown"
			Item	"gentlemanne_grenadelauncher_topshelf"
			ItemModel   // Replaces item model
			{
				ItemName "Zombie Demo"
				Model "models\empty.mdl"
			}
			ItemAttributes
			{
				ItemName "gentlemanne_grenadelauncher_topshelf"
				"damage bonus"	0.1
				"dmg from melee increased"	0.2
				"blast dmg to self increased"	0
				"clip size penalty" 3.0
				"faster reload rate" 0.3
				"fire rate bonus" 0.2
			}
			CharacterAttributes
			{
				"cannot be backstabbed"	1
				"move speed bonus" 0.5
				"override footstep sound set" 2
				"increased jump height" 1.25
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 5 //Time between each voice command (Default: 10)
                Repeats 0
                Type "Battle cry" // Type of voice command
				IfSeeTarget 1  
            }
		}
		Boss_Tricky
		{
			Name "Tricky the Clown"
			Class Demoman
			Action	Mobber
			Health	300
			Scale	1.2
			ChangeAttributes    //Periodically changes bot attributes, defined in EventChangeAttributes
			{
			    Delay 0 //Time before the first bot attribute change (Default: 10)
			    Cooldown 0 //Time between each bot attribute change (Default: 10)
			    Repeats 1 //How many times should bot change attributes in total (Default: 0 - Infinite)
			    Name "Anger" // Name of the bot attributes listed in EventChangeAttributes
				IfHealthBelow	150
			}
			EventChangeAttributes
			{
				Default
				{
					Skill Expert
					MaxVisionRange	1200
					Attributes	IgnoreFlag
					Attributes	DisableDodge
					Item	"Mask of the Shaman"
					Item	"The Conscientious Objector"
					WeaponRestrictions	MeleeOnly
					ItemAttributes
					{
						ItemName	"Mask of the Shaman"
						"set item tint RGB"	12073019
					}
					ItemAttributes
					{
						ItemName	"The Conscientious Objector"	
						"dmg from melee increased"	0.2
					}
					CharacterAttributes
					{
						"cannot be backstabbed"	1
						"move speed bonus" 1.2
						"voice pitch scale"	0.5
						"increased jump height" 1.25
					}
				}
				Anger
				{
					Skill Expert
					MaxVisionRange	1200
					Attributes	IgnoreFlag
					Attributes	AlwaysCrit
					Attributes	DisableDodge
					Item	"The Conscientious Objector"
					WeaponRestrictions	MeleeOnly
					ItemAttributes
					{
						ItemName	"The Conscientious Objector"
						"fire rate bonus"	0.75
						"damage penalty"	0.5
						"dmg from melee increased"	0.4
					}
					CharacterAttributes
					{
						"cannot be backstabbed"	1
						"move speed bonus" 1.5
						"voice pitch scale"	0.65
						"increased jump height" 1.25
					}
				}
			}
		}
		Boss_Nuke
		{
			Name "Sir Nukesalot"
			Class Demoman
			Skill Expert
			Health 200
			Attributes MiniBoss
			MaxVisionRange 1200
			Action	Mobber
			Attributes	AlwaysCrit
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			Attributes	HoldFireUntilFullReload
			UseMeleeThreatPrioritization 1  
			UseCustomModel "models\bots\demo_boss\bot_demo_boss.mdl"  
			Skin	1
			Item	"The Loose Cannon"
			ItemModel   // Replaces item model
			{
				ItemName "Zombie Demo"
				Model "models\empty.mdl"
			}
			ItemAttributes
			{
				ItemName "The Loose Cannon"
				"fuse bonus"	2
				"damage bonus"	0.5
				"dmg from melee increased"	0.2
				"fire rate bonus"	4
				"faster reload rate"	2
				"blast dmg to self increased"	0
				"blast radius increased" 1.8
				"clip size penalty"	0.5
				"Projectile speed increased" 0.8
				"projectile spread angle penalty" 5
				"grenade launcher mortar mode" 0
				"use large smoke explosion"	1
			}
			CharacterAttributes
			{
				"cannot be backstabbed"	1
				"move speed bonus" 0.5
				"override footstep sound set" 2
				"increased jump height" 1.25
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 5 //Time between each voice command (Default: 10)
                Repeats 0
                Type "Battle cry" // Type of voice command
				IfSeeTarget 1  
            }
		}
		Boss_Grizzly
		{
			Name "Grizzly Heavy"
			Class HeavyWeapons
			Skill Expert
			MaxVisionRange 600
			Action	Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			Attributes	HoldFireUntilFullReload
			UseMeleeThreatPrioritization 1  
			Item	"Warrior's Spirit"
			Item	"The Bear Necessities"
			Item	"Bull Locks"
			Scale	1.2
			WeaponRestrictions	MeleeOnly
			ItemAttributes
			{	
				ItemName	"Warrior's Spirit"
				"dmg taken increased"	0.7
				"dmg from melee increased"	0.3
				"damage bonus"	1.15
			}
			CharacterAttributes
			{
				"cannot be backstabbed"	1
				"move speed bonus"	1.125
				"increased jump height" 1.25
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 5 //Time between each voice command (Default: 10)
                Repeats 0
                Type "Battle cry" // Type of voice command
				IfSeeTarget 1  
            }
			AddCond   //Adds conditions to bots
			{
				Index 16
				Delay 0
				Duration 10
				IfHealthBelow 200
			}
		}
		Boss_Captain
		{
			Name "Captain Punch"
			Class HeavyWeapons
			Skill Expert
			Health 500
			Attributes MiniBoss
			MaxVisionRange 600
			Action	Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			Attributes	HoldFireUntilFullReload
			UseMeleeThreatPrioritization 1  
			UseCustomModel "models\bots\heavy_boss\bot_heavy_boss.mdl"  
			Skin	1
			Item	"War Head"
			Item	"Fists of Steel"
			WeaponRestrictions	MeleeOnly
			ItemModel   // Replaces item model
			{
				ItemName "Zombie Heavy"
				Model "models\empty.mdl"
			}
			ItemAttributes
			{
				ItemName "Fists of Steel"
				"dmg from melee increased"	0.3
				"damage bonus"	2
				"fire rate bonus"	2.5
			}
			CharacterAttributes
			{
				"cannot be backstabbed"	1
				"move speed bonus" 0.8
				"override footstep sound set" 2
				"increased jump height" 1.25
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 5 //Time between each voice command (Default: 10)
                Repeats 0
                Type "Battle cry" // Type of voice command
				IfSeeTarget 1  
            }
		}
		Boss_Sergeant
		{
			Name "Sergeant Crits"
			Class Soldier
			Skill Expert
			Health 200
			Attributes MiniBoss
			MaxVisionRange 1200
			Action	Mobber
			Attributes	AlwaysCrit
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			Attributes	HoldFireUntilFullReload
			UseMeleeThreatPrioritization 1  
			UseCustomModel "models\bots\soldier_boss\bot_soldier_boss.mdl"  
			Skin	1
			Item	"Tyrantium Helmet"
			ItemModel   // Replaces item model
			{
				ItemName "Zombie Soldier"
				Model "models\empty.mdl"
			}
			Item "powerhouse_rocketlauncher_shellshocker"
			ItemAttributes
			{
				ItemName "powerhouse_rocketlauncher_shellshocker"
				"clip size upgrade atomic"	6
				"dmg from melee increased"	0.2
				"damage bonus"	0.1
				"fire rate bonus"	0.5
				"faster reload rate"	0.5
				"projectile speed increased"	1.25
				"blast dmg to self increased"	0
			}
			CharacterAttributes
			{
				"cannot be backstabbed"	1
				"move speed bonus" 0.5
				"override footstep sound set" 2
				"increased jump height" 1.25
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 5 //Time between each voice command (Default: 10)
                Repeats 0
                Type "Battle cry" // Type of voice command
				IfSeeTarget 1  
            }
		}
		Boss_Scatter
		{
			Name "Mr. Scatter"
			Class Demoman
			Skill Expert
			MaxVisionRange 1200
			Action	Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			Attributes	HoldFireUntilFullReload
			Attributes	AlwaysFireWeapon
			UseMeleeThreatPrioritization 1  
			UseHumanModel 1  
			Item	"The Bomber Knight"
			Item	"Upgradeable TF_WEAPON_GRENADELAUNCHER"
			Scale	1.2
			ItemAttributes
			{
				ItemName "Upgradeable TF_WEAPON_GRENADELAUNCHER"
				"clip size upgrade atomic"	16
				"fire rate bonus"	0.1
				"faster reload rate"	0.22
				"projectile spread angle penalty"	100
				"attach particle effect"	704
				"paintkit_proto_def_index" 241
				"set_item_texture_wear" 0
				"dmg from melee increased"	0.1
				"blast dmg to self increased"	0
				"apply z velocity on damage"	100
				"apply look velocity on damage"	100
				"damage bonus"	0.5
			}
			CharacterAttributes
			{
				"cannot be backstabbed"	1
				"override footstep sound set" 2
				"increased jump height" 1.25
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 5 //Time between each voice command (Default: 10)
                Repeats 0
                Type "Battle cry" // Type of voice command
				IfSeeTarget 1  
            }
		}
		Boss_Heavy
		{
			Name "Giant Heavy"
			Class Heavyweapons
			Skill Expert
			Health 350
			Attributes MiniBoss
			MaxVisionRange 1200
			Action	Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			UseMeleeThreatPrioritization 1  
			UseCustomModel "models\bots\heavy_boss\bot_heavy_boss.mdl"  
			Skin	1
			ItemModel   // Replaces item model
			{
				ItemName "Zombie Heavy"
				Model "models\empty.mdl"
			}
			Item "warbird_minigun_butcherbird"
			ItemAttributes
			{
				ItemName "warbird_minigun_butcherbird"
				"dmg from melee increased"	0.325
				"damage bonus"	0.25
			}
			CharacterAttributes
			{
				"cannot be backstabbed"	1
				"move speed bonus" 0.5
				"override footstep sound set" 2
				"increased jump height" 1.25
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 5 //Time between each voice command (Default: 10)
                Repeats 0
                Type "Battle cry" // Type of voice command
				IfSeeTarget 1  
            }
		}
		Boss_Blaze
		{
			Name	"Blazing Sorcerer"
			Class	Scout
			Item	"Point and Shoot"
			Item	"Sun-on-a-Stick"
			Action	Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			UseMeleeThreatPrioritization 1  
			UseHumanModel 1  
			RingOfFire 3  
			Skill Expert
			Scale	1.2
			WeaponRestrictions	MeleeOnly
			ItemAttributes
			{
				ItemName	"Sun-on-a-Stick"
				"Set DamageType Ignite"	1
				"attach particle effect"	3042
				"dmg from melee increased"	0.3
				"crit vs burning players"	0
				"damage penalty"	0.75
			}
			ItemAttributes
			{
				ItemName	"Point and Shoot"
				"attach particle effect"	13
			}
			CharacterAttributes
			{
				"cannot be backstabbed"	1
				"voice pitch scale"	0.75
				"move speed bonus" 0.88
				"increased jump height" 1.25
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 5 //Time between each voice command (Default: 10)
                Repeats 0
                Type "Jeers" // Type of voice command
            }
		}
		Boss_Demopan
		{
			Name	"Demopan"
			Class Demoman
			Item	"The Hurt Locher"
			Item	"Ali Baba's Wee Booties"
			Item	"The Chargin' Targe"
			Item	"Treasure Hat 1"
			Item	"Gold Frying Pan"
			Action	Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			UseMeleeThreatPrioritization 1  
			UseHumanModel 1  
			Skill Expert
			WeaponRestrictions	MeleeOnly
			ItemAttributes
			{
				ItemName	"The Chargin' Targe"
				"Attack not cancel charge" 1
			}
			ItemAttributes
			{
				ItemName	"Gold Frying Pan"
				"dmg from melee increased"	0.2
				"fire rate bonus"	0.85
				"is australium item"	1
				"turn to gold"	1
			}
			CharacterAttributes
			{
				"move speed bonus"	1.2
				"cannot be backstabbed"	1
				"increased jump height" 1.25
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 5 //Time between each voice command (Default: 10)
                Repeats 0
                Type "Cheers" // Type of voice command
            }
		}
		Boss_Anomaly
		{
			Name	"Anomaly"
			Class Demoman
			Action	Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			UseMeleeThreatPrioritization 1  
			UseHumanModel 1  
			WeaponRestrictions MeleeOnly
			Item	"TF_WEAPON_FISTS"
			UseCustomModel "models\player\heavy.mdl"  
			Skill Expert
			ItemAttributes
			{
				ItemName	"TF_WEAPON_FISTS"
				"fire rate bonus"	0.25
				"damage bonus"	0.25
				"melee cleave attack" 1
				"apply look velocity on damage"	50
				"dmg from melee increased"	0.35
				"is invisible"	1
				"melee range multiplier"	1.25
			}
			CharacterAttributes
			{
				"move speed bonus"	1.2
				"voice pitch scale"	0
				"cannot be backstabbed"	1
				"head scale"	0.00000001
				"hand scale"	2
				"increased jump height" 1.25
			}
		}
		Boss_SkeleKing
		{
			Name	"The Skeleton King"
			Class Sniper
			Action	Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			UseMeleeThreatPrioritization 1  
			UseHumanModel 1  
			MaxVisionRange	600
			Attributes MiniBoss
			WeaponRestrictions MeleeOnly
			Health	200
			UseCustomModel "models\bots\skeleton_sniper_boss\skeleton_sniper_boss.mdl"  
			Skin	2
			Scale 1.75
			Item	"Prince Tavish's Crown"
			ItemModel   // Replaces item model
			{
				ItemName "Zombie Sniper"
				Model "models\empty.mdl"
			}
			ItemAttributes
			{
				ItemName	"TF_WEAPON_CLUB"
				"damage bonus"	1.5
				"dmg from melee increased"	0.15
				"is invisible"	1
			}
			CharacterAttributes
			{
				"move speed bonus"	1.1
				"override footstep sound set" 5
				"cannot be backstabbed"	1
				"voice pitch scale"	0.8
				"increased jump height" 1.25
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 5 //Time between each voice command (Default: 10)
                Repeats 0
                Type "Battle cry" // Type of voice command
            }
		}
		Boss_Engineer
		{
			Name	"Engineer Gaming"
			Class Engineer
			Action	Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			Attributes	AlwaysFireWeapon
			UseMeleeThreatPrioritization 1  
			UseHumanModel 1  
			MaxVisionRange	600
			WeaponRestrictions MeleeOnly
			Skill	Expert
			Item	"Upgradeable TF_WEAPON_WRENCH"
			ItemAttributes
			{
				ItemName	"Upgradeable TF_WEAPON_WRENCH"
				"fire rate bonus"	0.75
				"damage bonus"	0.75
				"turn to gold"	1
				"dmg from melee increased"	0.25
				"item style override"	1
				"is australium item"	1
			}
			CharacterAttributes
			{
				"cannot be backstabbed"	1
				"move speed bonus"	1.25
				"increased jump height" 1.25
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 2 //Time between each voice command (Default: 10)
                Repeats 0
                Type "Move up" // Type of voice command
            }
		}
		Boss_Painis
		{
			Name "Painis Cupcake"
			Class Soldier
			Skill Expert
			Action	Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			Attributes	AlwaysCrit
			UseMeleeThreatPrioritization 1  
			UseHumanModel 1  
			WeaponRestrictions MeleeOnly
			ItemAttributes
			{
				ItemName	"TF_WEAPON_SHOVEL"
				"damage bonus"	0.5
				"crit kill will gib"	1
				"dmg from melee increased"	0.25
				"is invisible" 1
			}
			CharacterAttributes
			{
				"cannot be backstabbed" 1
				"move speed bonus" 1.5
				"increased jump height" 1.25
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 3 //Time between each voice command (Default: 10)
                Repeats 0
				IfSeeTarget 1
                Type "Battle cry" // Type of voice command
            }
			AddCond   //Adds conditions to bots
			{
				Index 5
				Delay 0
				Duration 10
				IfHealthBelow 50
			}
			AddCond   //Adds conditions to bots
			{
				Index 6
				Delay 0
				Duration 10
				IfHealthBelow 50
			}
			AddCond   //Adds conditions to bots
			{
				Index 72
				Delay 0
				Duration 10
				IfHealthBelow 50
			}
		}
		Boss_Feral
		{
			Name "Feral"
			Class Soldier
			Skill Expert
			Action	Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			UseMeleeThreatPrioritization 1  
			UseHumanModel 1  
			WeaponRestrictions MeleeOnly
			Item "Zombie Soldier"
            Item "Warrior's Spirit"
            Item "Loaf Loafers"
            Item "Bone-Cut Belt"
            Item "Bread Biter"
            Item "Racc Mann"
			ItemAttributes
			{
				ItemName	"Warrior's Spirit"
				"damage bonus"	0.5
				"crit kill will gib"	1
				"dmg from melee increased"	0.5
                "dmg penalty vs players" 1.75 // we do a little increased bleed damage
                "fire rate bonus" 0.7
                "dmg taken increased" 1.0
                "damage bonus" 1.0
				"damage penalty" 0.5
                "bleeding duration" 3
			}
			CharacterAttributes
			{
				"cannot be backstabbed" 1
				"move speed bonus" 1.5
				"increased jump height" 1.25
				"voice pitch scale" 0.35
			}
			ItemAttributes
            {
                ItemName "Racc Mann"
                "set item tint RGB" 8519682
            }
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 3 //Time between each voice command (Default: 10)
                Repeats 0
				IfSeeTarget 1
                Type "Battle cry" // Type of voice command
            }
		}
		Boss_Super_Scout
		{
			Name "Super Zombie"
			Class Scout
			Skill Easy
			Action	Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			UseMeleeThreatPrioritization 1  
			UseHumanModel 1  
			Health 125
			Item "Bonk Boy"
			Item "The Holy Mackerel"
			Attributes MiniBoss
			WeaponRestrictions MeleeOnly
			ItemAttributes
			{
				ItemName	"The Holy Mackerel"
				"dmg from melee increased"	0.25
			}
			CharacterAttributes
			{
				"move speed bonus" 2
				"override footstep sound set" 5
				"cannot be backstabbed"	1
				"increased jump height" 1.25
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 3 //Time between each voice command (Default: 10)
                Repeats 0
				IfSeeTarget 1
                Type "Battle cry" // Type of voice command
            }
		}
		Boss_Axe
		{
			Name	"Crazed Axe Murderer"
			Class Pyro
			Action	Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			UseMeleeThreatPrioritization 1  
			UseHumanModel 1  
			MaxVisionRange	600
			WeaponRestrictions MeleeOnly
			Skill	Expert
			Scale	1.2
			Item	"The Face of Mercy"
			Item	"The Lunatic's Leathers"
			ItemAttributes
			{
				ItemName	"TF_WEAPON_FIREAXE"
				"dmg from melee increased"	0.25
			}
			CharacterAttributes
			{
				"voice pitch scale"	0.5
				"cannot be backstabbed"	1
				"move speed bonus"	2
				"increased jump height" 1.25
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 3 //Time between each voice command (Default: 10)
                Repeats 0
				IfSeeTarget 1
                Type "Battle cry" // Type of voice command
            }
		}
		Boss_Horseman
		{
			Name	"Headless Horseless Horseman Jr."
			Class Demoman
			Action	Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			UseMeleeThreatPrioritization 1  
			UseHumanModel 1  
			MaxVisionRange	600
			WeaponRestrictions MeleeOnly
			Skill	Expert
			Scale	1.2
			Item	"The Chargin' Targe"
			Item	"The Horseless Headless Horseman's Headtaker"
			Item	"Horseless Headless Horseman's Head"
			Item	"The Horsemann's Hand-Me-Down"
			ItemAttributes
			{
				ItemName	"The Horseless Headless Horseman's Headtaker"
				"dmg from melee increased"	0.25
				"mark for death"	1
				"damage bonus"	1.1
			}
			ItemAttributes
			{
				ItemName	"The Chargin' Targe"
				"Attack not cancel charge" 1
			}
			CharacterAttributes
			{
				"voice pitch scale"	0.5
				"cannot be backstabbed"	1
				"move speed bonus"	1.1
				"charge recharge rate increased" 1.5
				"increased jump height" 1.25
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 3 //Time between each voice command (Default: 10)
                Repeats 0
				IfSeeTarget 1
                Type "Battle cry" // Type of voice command
            }
		}
		Boss_Pistol
		{
			Name	"Mad Gunner"
			Class Scout
			Action	Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			UseMeleeThreatPrioritization 1  
			UseHumanModel 1  
			MaxVisionRange	600
			WeaponRestrictions SecondaryOnly
			Skill	Expert
			Scale	1.2
			Item	"warbird_pistol_blitzkrieg"
			Item	"Spine-Chilling Skull"
			Item	"Thrilling Tracksuit"
			Item	"Transparent Trousers"
			ItemAttributes
			{
				ItemName	"warbird_pistol_blitzkrieg"
				"dmg from melee increased"	0.25
				"max health additive penalty"	10
			}
			CharacterAttributes
			{
				"voice pitch scale"	0.75
				"move speed bonus"	0.7
				"cannot be backstabbed"	1
				"increased jump height" 1.25
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 3 //Time between each voice command (Default: 10)
                Repeats 0
				IfSeeTarget 1
                Type "Battle cry" // Type of voice command
            }
		}
		Boss_Doctor
		{
			Name	"Psychotic Doctor"
			Class Medic
			Item	"The Vita-Saw"
			Item	"The Byte'd Beak"
			Item	"Derangement Garment"
			Action	Mobber
			Attributes	IgnoreFlag
			Attributes	DisableDodge
			UseMeleeThreatPrioritization 1  
			UseHumanModel 1  
			MaxVisionRange	600
			WeaponRestrictions	MeleeOnly
			Skill	Expert
			Scale	1.2
			DamageAppliesCond   //Adds conditions to players on hit
			{
				Index 6
				Duration 1
			}
			ItemAttributes
			{
				ItemName	"The Vita-Saw"
				"bleeding duration"	660
				"fire rate speed"	1.25
				"dmg from melee increased"	0.25
				"max health additive penalty"	10
			}
			CharacterAttributes
			{
				"voice pitch scale"	0.75
				"move speed bonus"	1.25
				"cannot be backstabbed"	1
				"increased jump height" 1.25
			}
			VoiceCommand  
            {
                Delay 0 //Time before the first voice command starts (Default: 10)
                Cooldown 3 //Time between each voice command (Default: 10)
                Repeats 0
				IfSeeTarget 1
                Type "Battle cry" // Type of voice command
            }
		}
		T_TFBot_Timer
		//MUST HAVE A BOSS_DEPLOY_RELAY WAVESPAWN TO SPAWN INSTANTLY AFTER DEATH.
		{
			Name	"[TIME LEFT]"
			Class	HeavyWeapons
			ClassIcon	dead_red_lite
			WeaponRestrictions	MeleeOnly
			Action	Mobber	 
			Attributes	IgnoreFlag
			Attributes	UseBossHealthBar
			MaxVisionRange	1
			Health	300
			Item	"Fists of Steel"
			ItemAttributes
			{
				ItemName	"Fists of Steel"
				"active health degen"	-1
			}
			CharacterAttributes
			{
				"voice pitch scale"	0
				"gesture speed increase"	0.5
				"dmg from ranged reduced"	0
				"dmg from melee increased"	0
				"airblast vulnerability multiplier" 0
				"airblast vertical vulnerability multiplier" 0
				"damage force reduction"	0
				"voice pitch scale"	0
				"move speed bonus"	0.01
				"health from healers reduced"	0
				"health from packs decreased"	0
				"force distribute currency on death" 1
			}
			Addcond	 
			{
				Index 43
			}
			Addcond	 
			{
				Index 66
			}
			Taunt  
			{
				Delay 0
				Cooldown 0
				Repeats 0
			}
		}
	}
	//Disabled Sounds
	DisableSound "music.mvm_end_last_wave"						 
	DisableSound "music.mvm_end_mid_wave"						 
	DisableSound "music.mvm_end_tank_wave"						 
	DisableSound "music.mvm_end_wave"							 
	DisableSound "music.mvm_lost_wave"							 
	DisableSound "music.mvm_start_last_wave"					 
	DisableSound "music.mvm_start_mid_wave"						 
	DisableSound "music.mvm_start_tank_wave"					 
	DisableSound "music.mvm_start_wave"							 
	DisableSound "Announcer.MVM_Get_To_Upgrade"					 
	DisableSound "Announcer.MVM_Spy_Alert" 						 
	DisableSound "Announcer.mvm_spybot_death"					 
	DisableSound "Announcer.mvm_spybot_death_all"				 
	DisableSound "Announcer.MVM_First_Wave_Start"				 
	DisableSound "Announcer.MVM_Wave_Start"						 
	DisableSound "Announcer.MVM_Wave_End"						 
	DisableSound "Announcer.MVM_Wave_Lose"						 
	DisableSound "Announcer.MVM_Final_Wave_Start"				 	
	DisableSound "Announcer.MVM_Final_Wave_End"					 
	DisableSound "Announcer.MVM_Robots_Planted"					 
	DisableSound "Announcer.MVM_All_Dead"						 
	DisableSound "Announcer.MVM_Bomb_Alert_Entered"				 			 
	DisableSound "Announcer.MVM_Sentry_Buster_Alert"			 
	DisableSound "Announcer.MVM_Sentry_Buster_Alert_Another"	 
	DisableSound "Announcer.MVM_General_Wave_Start"				 
	DisableSound "Announcer.MVM_Game_Over_Loss"					 
	DisableSound "Announcer.MVM_Tank_Planted"					 
	DisableSound "Announcer.MVM_Tank_Alert_Spawn"				 
	DisableSound "Announcer.MVM_Tank_Alert_Another"				 
	DisableSound "Announcer.MVM_Tank_Alert_Multiple"			 
	DisableSound "Announcer.MVM_Tank_Alert_Halfway"				 
	DisableSound "Announcer.MVM_Tank_Alert_Halfway_Multiple"	 
	DisableSound "Announcer.MVM_Tank_Alert_Near_Hatch"			 
	DisableSound "Announcer.MVM_Tank_Alert_Deploying"
	
	PointTemplates
	{	
		W1_Music_Logic
		{
			NoFixup	1
			ambient_generic
			{
				"targetname"	"w1_music"
				"message"		"music\hl2_song1.mp3"
				"health"		"10"
				"spawnflags"	"17"
				"origin"		"0 0 0"
			}
			logic_relay
			{
				"targetname"            "w1_MAKE_THE_VOICES_STOP"
				"OnTrigger"             "w1_music,FadeOut,5,0,-1"
			}
		}
		W1_Music_Logic_2
		{
			NoFixup	1
			ambient_generic
			{
				"targetname"	"w1_music_2"
				"message"		"music\hl2_song1.mp3"
				"health"		"10"
				"spawnflags"	"17"
				"origin"		"0 0 0"
			}
			logic_relay
			{
				"targetname"            "w1_MAKE_THE_VOICES_STOP"
				"OnTrigger"             "w1_music,FadeOut,5,0,-1"
			}
		}
		WFINAL_Music_Logic
		{
			NoFixup	1
			ambient_generic
			{
				"targetname"	"wf_music"
				"message"		"music\hl2_song16.mp3"
				"health"		"10"
				"spawnflags"	"17"
				"origin"		"0 0 0"
			}
			logic_relay
			{
				"targetname"            "w1_MAKE_THE_VOICES_STOP"
				"OnTrigger"             "w1_music,FadeOut,5,0,-1"
			}
		}
		WFINAL_Music_Logic_2
		{
			NoFixup	1
			ambient_generic
			{
				"targetname"	"wf_music_2"
				"message"		"music\hl2_song16.mp3"
				"health"		"10"
				"spawnflags"	"17"
				"origin"		"0 0 0"
			}
			logic_relay
			{
				"targetname"            "w1_MAKE_THE_VOICES_STOP"
				"OnTrigger"             "w1_music,FadeOut,5,0,-1"
			}
		}
		genrng
		{
			//// tutorial generator ////
			NoFixup 1
			path_track
			{
				"targetname" "genpath_tutorial"
				"origin" "-2356 -376 25"
				"target" "genpath_tutoriala"
			}
			NoFixup 1
			path_track
			{
				"targetname" "genpath_tutoriala"
				"origin" "-2356 -440 25"
			}
			NoFixup 1
			training_annotation
			{
				"targetname" "anno_tutorial"
				"origin" "-2356 -360 57"
				"display_text" "These generators are scattered around the map, destroy them!"
				"lifetime" "10"
			}
			//// first generator ////
			NoFixup 1
			path_track
			{
				"targetname" "genpath_1"
				"origin" "-1184 592 216"
				"target" "genpath_1a"
			}
			NoFixup 1
			path_track
			{
				"targetname" "genpath_1a"
				"origin" "-1136 592 216"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen1_norm"
				"origin" "-1184 592 216"
				"target" "genpath_1"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen1a_norm"
				"origin" "-1136 592 216"
				"target" "genpath_1a"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen1_alt"
				"origin" "-669 -808 72"
				"target" "genpath_1"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen1a_alt"
				"origin" "-621 -808 72"
				"target" "genpath_1a"
			}
			//// second generator ////
			NoFixup 1
			path_track
			{
				"targetname" "genpath_2"
				"origin" "1040 16 -6"
				"target" "genpath_2a"
			}
			NoFixup 1
			path_track
			{
				"targetname" "genpath_2a"
				"origin" "1040 -32 -6"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen2_norm"
				"origin" "1040 16 -6"
				"target" "genpath_2"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen2a_norm"
				"origin" "1040 -32 -6"
				"target" "genpath_2a"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen2_alt"
				"origin" "2256 -400 16"
				"target" "genpath_2"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen2a_alt"
				"origin" "2208 -400 16"
				"target" "genpath_2a"
			}
			//// third generator ////
			NoFixup 1
			path_track
			{
				"targetname" "genpath_3"
				"origin" "1656 -1968 -112"
				"target" "genpath_3a"
			}
			NoFixup 1
			path_track
			{
				"targetname" "genpath_3a"
				"origin" "1656 -1920 -112"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen3_norm"
				"origin" "1656 -1968 -112"
				"target" "genpath_3"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen3a_norm"
				"origin" "1656 -1920 -112"
				"target" "genpath_3a"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen3_alt"
				"origin" "128 -2464 32"
				"target" "genpath_3"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen3a_alt"
				"origin" "128 -2416 32aw"
				"target" "genpath_3a"
			}
			//// forth generator ////
			NoFixup 1
			path_track
			{
				"targetname" "genpath_4"
				"origin" "264 -4272 -158"
				"target" "genpath_4a"
			}
			NoFixup 1
			path_track
			{
				"targetname" "genpath_4a"
				"origin" "312 -4272 -158"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen4_norm"
				"origin" "264 -4272 -158"
				"target" "genpath_4"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen4a_norm"
				"origin" "312 -4272 -158"
				"target" "genpath_4a"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen4_alt"
				"origin" "-736 -3888 16"
				"target" "genpath_4"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen4a_alt"
				"origin" "-688 -3888 16"
				"target" "genpath_4a"
			}
			//// fifth generator //// wave 2
			NoFixup 1
			path_track
			{
				"targetname" "genpath_5"
				"origin" "-2240 -1080 256"
				"target" "genpath_5a"
			}
			NoFixup 1
			path_track
			{
				"targetname" "genpath_5a"
				"origin" "-2240 -1032 256"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen5_norm"
				"origin" "-2240 -1080 256"
				"target" "genpath_5"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen5a_norm"
				"origin" "-2240 -1032 256"
				"target" "genpath_5a"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen5_alt"
				"origin" "1248 -880 32"
				"target" "genpath_5"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen5a_alt"
				"origin" "1200 -880 32"
				"target" "genpath_5a"
			}
			//// sixth generator //// wave 3
			NoFixup 1
			path_track
			{
				"targetname" "genpath_6"
				"origin" "1568 -2096 288"
				"target" "genpath_6a"
			}
			NoFixup 1
			path_track
			{
				"targetname" "genpath_6a"
				"origin" "1520 -2096 288"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen6_norm"
				"origin" "1568 -2096 288"
				"target" "genpath_6"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen6a_norm"
				"origin" "1520 -2096 288"
				"target" "genpath_6a"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen6_alt"
				"origin" "496 -2952 16"
				"target" "genpath_6"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen6a_alt"
				"origin" "496 -2904 16"
				"target" "genpath_6a"
			}
			//// seventh generator //// wave 4
			NoFixup 1
			path_track
			{
				"targetname" "genpath_7"
				"origin" "2952 -216 16"
				"target" "genpath_7a"
			}
			NoFixup 1
			path_track
			{
				"targetname" "genpath_7a"
				"origin" "2904 -216 16"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen7_norm"
				"origin" "2952 -216 16"
				"target" "genpath_7"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen7a_norm"
				"origin" "2904 -216 16"
				"target" "genpath_7a"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen7_alt"
				"origin" "848 -1200 240"
				"target" "genpath_7"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen7a_alt"
				"origin" "896 -1200 240"
				"target" "genpath_7a"
			}
			//// eighth generator //// wave 5
			NoFixup 1
			path_track
			{
				"targetname" "genpath_8"
				"origin" "-208 -80 200"
				"target" "genpath_8a"
			}
			NoFixup 1
			path_track
			{
				"targetname" "genpath_8a"
				"origin" "-208 -32 200"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen8_norm"
				"origin" "-208 -80 200"
				"target" "genpath_8"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen8a_norm"
				"origin" "-208 -32 200"
				"target" "genpath_8a"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen8_alt"
				"origin" "0 -1536 -8"
				"target" "genpath_8"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen8a_alt"
				"origin" "0 -1584 -8"
				"target" "genpath_8a"
			}
			//// ninth generator //// wave 6
			NoFixup 1
			path_track
			{
				"targetname" "genpath_9"
				"origin" "2200 -1072 -62"
				"target" "genpath_9a"
			}
			NoFixup 1
			path_track
			{
				"targetname" "genpath_9a"
				"origin" "2248 -1072 -62"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen9_norm"
				"origin" "2200 -1072 -62"
				"target" "genpath_9"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen9a_norm"
				"origin" "2248 -1072 -62"
				"target" "genpath_9a"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen9_alt"
				"origin" "85 64 176"
				"target" "genpath_9"
			}
			NoFixup 1
			point_teleport
			{
				"targetname" "gen9a_alt"
				"origin" "128 64 155"
				"target" "genpath_9a"
			}

			//// randomizer ////
			NoFixup 1
			logic_relay
			{
				"targetname" "gen1_spot1"
				"OnTrigger" "gen1_norm,Teleport,,0,-1"
				"OnTrigger" "gen1a_norm,Teleport,,0,-1"
			}
			NoFixup 1
			logic_relay
			{
				"targetname" "gen1_spot2"
				"OnTrigger" "gen1_alt,Teleport,,0,-1"
				"OnTrigger" "gen1a_alt,Teleport,,0,-1"
			}
			NoFixup 1
			logic_relay
			{
				"targetname" "gen2_spot1"
				"OnTrigger" "gen2_norm,Teleport,,0,-1"
				"OnTrigger" "gen2a_norm,Teleport,,0,-1"
			}
			NoFixup 1
			logic_relay
			{
				"targetname" "gen2_spot2"
				"OnTrigger" "gen2_alt,Teleport,,0,-1"
				"OnTrigger" "gen2a_alt,Teleport,,0,-1"
			}
			NoFixup 1
			logic_relay
			{
				"targetname" "gen3_spot1"
				"OnTrigger" "gen3_norm,Teleport,,0,-1"
				"OnTrigger" "gen3a_norm,Teleport,,0,-1"
			}
			NoFixup 1
			logic_relay
			{
				"targetname" "gen3_spot2"
				"OnTrigger" "gen3_alt,Teleport,,0,-1"
				"OnTrigger" "gen3a_alt,Teleport,,0,-1"
			}
			NoFixup 1
			logic_relay
			{
				"targetname" "gen4_spot1"
				"OnTrigger" "gen4_norm,Teleport,,0,-1"
				"OnTrigger" "gen4a_norm,Teleport,,0,-1"
			}
			NoFixup 1
			logic_relay
			{
				"targetname" "gen4_spot2"
				"OnTrigger" "gen4_alt,Teleport,,0,-1"
				"OnTrigger" "gen4a_alt,Teleport,,0,-1"
			}
			NoFixup 1
			logic_relay
			{
				"targetname" "gen5_spot1"
				"OnTrigger" "gen5_norm,Teleport,,0,-1"
				"OnTrigger" "gen5a_norm,Teleport,,0,-1"
			}
			NoFixup 1
			logic_relay
			{
				"targetname" "gen5_spot2"
				"OnTrigger" "gen5_alt,Teleport,,0,-1"
				"OnTrigger" "gen5a_alt,Teleport,,0,-1"
			}
			NoFixup 1
			logic_relay
			{
				"targetname" "gen6_spot1"
				"OnTrigger" "gen6_norm,Teleport,,0,-1"
				"OnTrigger" "gen6a_norm,Teleport,,0,-1"
			}
			NoFixup 1
			logic_relay
			{
				"targetname" "gen6_spot2"
				"OnTrigger" "gen6_alt,Teleport,,0,-1"
				"OnTrigger" "gen6a_alt,Teleport,,0,-1"
			}
			NoFixup 1
			logic_relay
			{
				"targetname" "gen7_spot1"
				"OnTrigger" "gen7_norm,Teleport,,0,-1"
				"OnTrigger" "gen7a_norm,Teleport,,0,-1"
			}
			NoFixup 1
			logic_relay
			{
				"targetname" "gen7_spot2"
				"OnTrigger" "gen7_alt,Teleport,,0,-1"
				"OnTrigger" "gen7a_alt,Teleport,,0,-1"
			}
			NoFixup 1
			logic_relay
			{
				"targetname" "gen8_spot1"
				"OnTrigger" "gen8_norm,Teleport,,0,-1"
				"OnTrigger" "gen8a_norm,Teleport,,0,-1"
			}
			NoFixup 1
			logic_relay
			{
				"targetname" "gen8_spot2"
				"OnTrigger" "gen8_alt,Teleport,,0,-1"
				"OnTrigger" "gen8a_alt,Teleport,,0,-1"
			}
			NoFixup 1
			logic_relay
			{
				"targetname" "gen9_spot1"
				"OnTrigger" "gen9_norm,Teleport,,0,-1"
				"OnTrigger" "gen9a_norm,Teleport,,0,-1"
			}
			NoFixup 1
			logic_relay
			{
				"targetname" "gen9_spot2"
				"OnTrigger" "gen9_alt,Teleport,,0,-1"
				"OnTrigger" "gen9a_alt,Teleport,,0,-1"
			}
			NoFixup 1
			logic_relay
			{
				"targetname" "genrandomizer"
				"OnTrigger" "genrandom1,PickRandom,,0,-1"
				"OnTrigger" "genrandom2,PickRandom,,0,-1"
				"OnTrigger" "genrandom3,PickRandom,,0,-1"
				"OnTrigger" "genrandom4,PickRandom,,0,-1"
				"OnTrigger" "genrandom5,PickRandom,,0,-1"
				"OnTrigger" "genrandom6,PickRandom,,0,-1"
				"OnTrigger" "genrandom7,PickRandom,,0,-1"
				"OnTrigger" "genrandom8,PickRandom,,0,-1"
				"OnTrigger" "genrandom9,PickRandom,,0,-1"
			}
			NoFixup 1
			logic_case
			{
				"targetname" "genrandom1"
				"OnCase01" "gen1_spot1,trigger,,0,-1"
				"OnCase02" "gen1_spot2,trigger,,0,-1"
			}
			NoFixup 1
			logic_case
			{
				"targetname" "genrandom2"
				"OnCase01" "gen2_spot1,trigger,,0,-1"
				"OnCase02" "gen2_spot2,trigger,,0,-1"
			}
			NoFixup 1
			logic_case
			{
				"targetname" "genrandom3"
				"OnCase01" "gen3_spot1,trigger,,0,-1"
				"OnCase02" "gen3_spot2,trigger,,0,-1"
			}
			NoFixup 1
			logic_case
			{
				"targetname" "genrandom4"
				"OnCase01" "gen4_spot1,trigger,,0,-1"
				"OnCase02" "gen4_spot2,trigger,,0,-1"
			}
			NoFixup 1
			logic_case
			{
				"targetname" "genrandom5"
				"OnCase01" "gen5_spot1,trigger,,0,-1"
				"OnCase02" "gen5_spot2,trigger,,0,-1"
			}
			NoFixup 1
			logic_case
			{
				"targetname" "genrandom6"
				"OnCase01" "gen6_spot1,trigger,,0,-1"
				"OnCase02" "gen6_spot2,trigger,,0,-1"
			}
			NoFixup 1
			logic_case
			{
				"targetname" "genrandom7"
				"OnCase01" "gen7_spot1,trigger,,0,-1"
				"OnCase02" "gen7_spot2,trigger,,0,-1"
			}
			NoFixup 1
			logic_case
			{
				"targetname" "genrandom8"
				"OnCase01" "gen8_spot1,trigger,,0,-1"
				"OnCase02" "gen8_spot2,trigger,,0,-1"
			}
			NoFixup 1
			logic_case
			{
				"targetname" "genrandom9"
				"OnCase01" "gen9_spot1,trigger,,0,-1"
				"OnCase02" "gen9_spot2,trigger,,0,-1"
			}
		}
		corelogic
		{
			NoFixup 1
			prop_dynamic
			{
				"targetname" "resupply"
				"model" "models/props_gameplay/resupply_locker.mdl"
				"origin" "-2496 -512 0"
				"angles" "0 180 0"
				"solid" "6"
			}
			func_regenerate
			{
				"associatedmodel" "resupply"
				"teamnum" "2"
				"origin" "-2528 -512 56"
				"mins" "-48 -48 -56"
				"maxs" "48 48 56"
			}
			NoFixup 1
			trigger_teleport
			{
				"targetname" "backtospawn"
				"origin" "364 -2008 224"
				"mins" "-2844 -2824 -888"
				"maxs" "2844 2824 888"
				"target" "spawntarget"
				"spawnflags" "1"
				"startdisabled" "1"
			}
			NoFixup 1
			info_teleport_destination
			{
				"targetname" "spawntarget"
				"origin" "-2736 -672 63"
				"angles" "0 90 0"
			}
			NoFixup 1
			logic_relay
			{
				"targetname" "wave_init_relay"
				"OnTrigger" "door_red_1_1,close,,0,-1"
				"OnTrigger" "door_red_1_2,close,,0,-1"
				"OnTrigger" "door_red_1_1,lock,,0.05,-1"
				"OnTrigger" "door_red_1_2,lock,,0.05,-1"
				"OnTrigger" "obj_teleporter,removehealth,9999,0,-1"
				"OnTrigger" "backtospawn,enable,,0,-1"
				"OnTrigger" "backtospawn,disable,,0.2,-1"	
				"OnTrigger" "genrandomizer,trigger,,0,-1"
			}
			NoFixup 1
			logic_relay
			{
				"OnSpawn" "wave_start_relay,addoutput,OnTrigger door_red_1_1:unlock::0:-1,0,-1"
				"OnSpawn" "wave_start_relay,addoutput,OnTrigger door_red_1_2:unlock::0:-1,0,-1"
				"OnSpawn" "wave_start_relay,addoutput,OnTrigger door_red_1_1:open::0.05:-1,0,-1"
				"OnSpawn" "wave_start_relay,addoutput,OnTrigger door_red_1_2:open::0.05:-1,0,-1"
			}
			NoFixup 1
			trigger_teleport
			{
				"targetname" "backtospawn"
				"landmark" "red_spawnp_1"
				"origin" "364 -2768 352"
				"mins" "-2844 -3584 -888"
				"maxs" "2844 3584 888"
				"startdisabled" "1"
				"spawnflags" "1"
			}
			NoFixup 1
			logic_auto
			{
				"OnMapSpawn" "spin2win_relay,kill,,0,-1"
			}
			NoFixup 1
			logic_relay
			{
				"targetname" "noglowtanks_relay"
				"OnTrigger" "tank_boss,setteam,3,0.1,-1"
			}
			NoFixup 1
			logic_relay
			{
				"OnMapSpawn" "tank_boss,setteam,3,0.1,-1"
			}
			NoFixup 1
			trigger_multiple
			{
				"targetname" "trigger_fog_dense"
				"origin" "324 -2768 224"
				"mins" "-2884 -3584 -888"
				"maxs" "2884 3584 888"
				"StartDisabled" "0"
				"spawnflags" "1"
				"OnStartTouch" "!activator,SetFogController,fog_dense,0,-1"
			}
			NoFixup 1
			env_fog_controller
			{
				"targetname" "fog_dense"
				"fogenable" "1"
				"fogstart" "128"            // where fog begins in hammer units
				"fogend" "512"                // where fog is its densest in hammer units
				"fogmaxdensity" "1"            // in percentage of how much you can't see through the fog
				"fogcolor" "1 1 1"
				"fogcolor2" "1 1 1"    // change rgb values to the original env_fog_controller, or to black to convey darkness
				"fogblend" "1"
				"foglerptime" "2"            // interpolation for fog in seconds
			}
        }
    }
	ExtraTankPath
	{
		Name "dummygen"
		Node "-2324 -339 190"
		Node "-2338 -124 193"
	}
	ExtraSpawnPoint	 
	{
		Name "spawnbot_timer"
		TeamNum 3
		X	"-2962"
		Y	"-910"
		Z	"110"
	}
	ExtraSpawnPoint	 
	{
		Name "boss1"
		TeamNum 3
		X	"1502" 
		Y   "-2624" 
		Z	"391"
	}
	ExtraSpawnPoint	 
	{
		Name "boss2"
		TeamNum 3
		X	"261"
		Y 	"-1823"
		Z 	"98"
	}
	ExtraSpawnPoint	 
	{
		Name "boss3"
		TeamNum 3
		X	"225"
		Y 	"-2883"
		Z 	"118"
	}
	ExtraSpawnPoint	 
	{
		Name "boss4"
		TeamNum 3
		X	"1886"
		Y 	"-2449"
		Z 	"152"
	}
	ExtraSpawnPoint	 
	{
		Name "boss5"
		TeamNum 3
		X	"-289"
		Y 	"-1004"
		Z 	"28"
	}
	ExtraSpawnPoint	 
	{
		Name "boss6"
		TeamNum 3
		X	"-157"
		Y 	"104"
		Z 	"326"
	}
	ExtraSpawnPoint	 
	{
		Name "boss7"
		TeamNum 3
		X	"2555"
		Y 	"411"
		Z 	"-2"
	}
	ExtraSpawnPoint	 
	{
		Name "boss8"
		TeamNum 3
		X	"3033"
		Y 	"-558"
		Z 	"-26"
	}
	ExtraSpawnPoint
	{
		Name "bosstest"
		TeamNum 3
		X	"-1547" 
		Y	"-450"
		Z	"163"
	}
    SpawnTemplate "corelogic"
	SpawnTemplate "genrng"
	NoReanimators 1  
	MedievalMode 1  
	MedigunShieldDamage 1  
	SniperAllowHeadshots 1  
	PlayerAttributes   //Player attributes appied for the whole mission
	{
		Scout
		{
			"no double jump"	1
			"move speed bonus"	0.7
			"max health additive bonus"	75
		}
		Soldier
		{
			"move speed bonus"	1.167
		}
		Demoman
		{
			"max health additive bonus"	25
		}
		Pyro
		{
			"max health additive bonus"	25
			"move speed bonus"	0.934
		}
		HeavyWeapons 
		{
			"max health additive penalty"	-100
			"move speed bonus"	1.217
		}
		Medic
		{
			"max health additive bonus"	50
			"move speed bonus"	0.875
		}
		Engineer
		{
			"max health additive bonus"	75
			"move speed bonus"	0.934
		}
		Spy
		{
			"max health additive bonus"	75
			"move speed bonus"	0.875
			"mult cloak meter consume rate"	0
		}
		Sniper
		{
			"max health additive bonus"	75
			"move speed bonus"	0.934
		}
	}
	ItemBlacklist   //Disallows using specified weapons below
	{
		Name "The Huntsman"
		Name "The Fortified Compound"
		Name "Festive Huntsman"
		Name "Mad Milk"
		Name "Festive Targe 2014"	
		Name "The Chargin' Targe"
		Name "The Splendid Screen"
		Name "The Tide Turner"
		Name "Mutated Milk"
		Name "Kritz Or Treat Canteen"
		Name "Power Up Canteen (MvM)"
		Name "Battery Canteens"
		Name "Default Power Up Canteen (MvM)"
		Name "TF_WEAPON_PDA_SPY"
	}
	ItemAttributes
	{
		ItemName "Crit-a-Cola"
		"mod_mark_attacker_for_death"	0
	}
	ItemAttributes
	{
		ItemName "The Boston Basher"
		"hit self on miss"	0
		"damage penalty"	0.8
	}
	ItemAttributes
	{
		ItemName "Three-Rune Blade"
		"hit self on miss"	0
		"damage penalty"	0.8
	}
	ItemAttributes
	{
		ItemName "The Candy Cane"
		"dmg taken from blast reduced"	0.75
		"heal on hit for rapidfire"	15
		"damage penalty"	0.85
	}
	ItemAttributes
	{
		ItemName "TF_WEAPON_BAT"
		"move speed bonus"	1.05
	}
	ItemAttributes
	{
		ItemName "Upgradeable TF_WEAPON_BAT"
		"move speed bonus"	1.05
	}
	ItemAttributes
	{
		ItemName "The Holy Mackerel"
		"move speed bonus"	1.05
	}
	ItemAttributes
	{
		ItemName "Unarmed Combat"
		"move speed bonus"	1.05
	}
	ItemAttributes
	{
		ItemName "The Fan O'War"
		"move speed bonus"	1.1
	}
	ItemAttributes
	{
		ItemName "Sun-on-a-Stick"
		"crit vs burning players"	0
		"Set DamageType Ignite"	1
		"attach particle effect"	13
	}
	ItemAttributes
	{
		ItemName "TF_WEAPON_SHOVEL"
		"move speed bonus" 1.1
	}
	ItemAttributes
	{
		ItemName "The Equalizer"
		"dmg from ranged reduced"	0.75
	}
	ItemAttributes
	{
		ItemName "The Escape Plan"
		"always crit"	1  
		"crits_become_minicrits"	1
	}
	ItemAttributes
	{
		ItemName "The Market Gardener"
		"closerange backattack minicrits"	1
		"minicrits become crits"	1
	}
	ItemAttributes
	{
		ItemName "The Half-Zatoichi"
		"honorbound"	0
		"is_a_sword"	0
	}
	ItemAttributes
	{
		ItemName "TF_WEAPON_SHOVEL"
		"apply look velocity on damage"	200
		"apply z velocity on damage"	200
	}
	ItemAttributes
	{
		ItemName "Upgradeable TF_WEAPON_SHOVEL"
		"apply look velocity on damage"	200
		"apply z velocity on damage"	200
	}
	ItemAttributes
	{
		ItemName "The Pain Train"
		"dmg taken from bullets reduced"	0.9
		"damage bonus"	1.25
		"fire rate penalty"	1.25
	}
	ItemAttributes
	{
		ItemName "The Disciplinary Action"
		"damage penalty"	0.5
		"mod rage on hit bonus" 35	
	}
	ItemAttributes
	{
		ItemName "The B.A.S.E. Jumper"
		"increased jump height"	1.5
		"increased air control"	4
	}
	ItemAttributes
	{
		ItemName "The Battalion's Backup"
		"mod soldier buff range" 1.75
	}
	ItemAttributes
	{
		ItemName "The Buff Banner"
		"mod soldier buff range" 1.5
	}
	ItemAttributes
	{
		ItemName "The Concheror"
		"mod soldier buff range" 1.25
	}
	ItemAttributes
	{
		ItemName "The Gunboats"
		"max health additive bonus" 100
		"cancel falling damage"	1
	}
	ItemAttributes
	{
		ItemName "The Mantreads"
		"move speed bonus"	1.1
		"cancel falling damage"	1
		"airblast vulnerability multiplier"	1.75
		"damage force reduction"	1.75
		"mod_air_control_blast_jump"	0
	}
	ItemAttributes
	{
		ItemName "The Hot Hand"
		"speed_boost_on_hit_enemy"	2
	}
	ItemAttributes
	{
		ItemName "TF_WEAPON_FIREAXE"
		"critboost on kill"	4
		"dmg bonus while half dead"	1.4
		"dmg penalty while half alive"	0.8
	}
	ItemAttributes
	{
		ItemName "Upgradeable TF_WEAPON_FIREAXE"
		"critboost on kill"	4
		"dmg bonus while half dead"	1.4
		"dmg penalty while half alive"	0.8
	}
	ItemAttributes
	{
		ItemName "The Third Degree"
		"minicritboost on kill"	8
		"dmg bonus while half dead"	1.4
		"dmg penalty while half alive"	0.8
		"damage all connected"	0
	}
	ItemAttributes
	{
		ItemName "The Powerjack"
		"move speed bonus"	1.05
		"dmg taken increased"	1.1
	}
	ItemAttributes
	{
		ItemName	"Sharpened Volcano Fragment"
		"attach particle effect"	13
		"dmg taken from fire reduced"	0.75
	}
	ItemAttributes
	{
		ItemName	"The Back Scratcher"
		"max health additive penalty"	-25
	}
	ItemAttributes
	{
		ItemName	"The Axtinguisher"
		"crit vs burning players"	1
	}
	ItemAttributes
	{
		ItemName	"The Postal Pummeler"
		"crit vs burning players"	1
	}
	ItemAttributes
	{
		ItemName	"The Neon Annihilator"
		"mark for death"	1
		"attach particle effect"	56
		"dmg penalty vs players"	1.2
		"damage applies to sappers"	0
		"crit vs wet players"	0
		"damage penalty"	0.75
	}
	ItemAttributes
	{
		ItemName	"The Homewrecker"
		"dmg bonus vs buildings"	1
		"dmg penalty vs players"	1
		"damage applies to sappers"	0
		"stun on damage" 20
		"fire rate penalty"	1.3
	}
	ItemAttributes
	{
		ItemName	"The Maul"
		"dmg bonus vs buildings"	1
		"dmg penalty vs players"	1
		"damage applies to sappers"	0
		"stun on damage" 20
		"fire rate penalty"	1.3
	}
	ItemAttributes
	{
		ItemName	"TF_WEAPON_BOTTLE"
		"minicritboost on kill"	8
		"move speed bonus"	1.05
	}
	ItemAttributes
	{
		ItemName	"Upgradeable TF_WEAPON_BOTTLE"
		"minicritboost on kill"	10
		"move speed bonus"	1.05
	}
	ItemAttributes
	{
		ItemName	"The Scottish Handshake"
		"minicritboost on kill"	10
		"move speed bonus"	1.05
	}
	ItemAttributes
	{
		ItemName	"The Scotsman's Skullcutter"
		"is_a_sword" 0
		"fire rate penalty"	1.2
		"move speed bonus"	1.15
		"crit mod disabled"	0
	}
	ItemAttributes
	{
		ItemName	"The Eyelander"
		"is_a_sword" 0
	}
	ItemAttributes
	{
		ItemName	"Festive Eyelander"
		"is_a_sword" 0
		"set turn to ice"	1
		"attach particle effect"	87
	}
	ItemAttributes
	{
		ItemName	"Nessie's Nine Iron"
		"is_a_sword" 0
	}
	ItemAttributes
	{
		ItemName	"The Claidheamohmor"
		"is_a_sword" 0
		"heal on hit for rapidfire"	20
	}
	ItemAttributes
	{
		ItemName	"The Persian Persuader"
		"is_a_sword" 0
		"maxammo primary reduced"	1
		"maxammo secondary reduced"	1
		"ammo gives charge"	0
		"charge meter on hit"	0
		"move speed bonus"	1.1
		"bleeding duration"	3
		"damage penalty"	0.85
	}
	ItemAttributes
	{
		ItemName	"The Ullapool Caber"
		"blast dmg to self increased"	0.3
		"fire rate penalty"	2
	}
	ItemAttributes
	{
		ItemName	"TF_WEAPON_FISTS"
		"fire rate bonus"	0.75
		"move speed bonus"	1.05
	}
	ItemAttributes
	{
		ItemName	"Upgradeable TF_WEAPON_FISTS"
		"fire rate bonus"	0.75
		"move speed bonus"	1.05
	}
	ItemAttributes
	{
		ItemName	"Apoco-Fists"
		"fire rate bonus"	0.75
		"move speed bonus"	1.05
	}
	ItemAttributes
	{
		ItemName	"The Killing Gloves of Boxing"
		"fire rate bonus"	0.75
		"damage penalty"	0.75
		"critboost on kill"	0
		"dmg from melee increased"	0.5
	}
	ItemAttributes
	{
		ItemName	"Gloves of Running Urgently"
		"fire rate penalty"	1.25
		"damage bonus"	1.25
		"dmg from melee increased"	0.75
		"mod_maxhealth_drain_rate"	0
		"move speed bonus"	1.1
		"mult_player_movespeed_active"	1
	}
	ItemAttributes
	{
		ItemName	"Festive Gloves of Running Urgently"
		"fire rate penalty"	1.25
		"damage bonus"	1.25
		"dmg from melee increased"	0.75
		"mod_maxhealth_drain_rate"	0
		"move speed bonus"	1.1
		"mult_player_movespeed_active"	1
		"attach particle effect"	87
		"set turn to ice"	1
	}
	ItemAttributes
	{
		ItemName	"The Bread Bite"
		"fire rate penalty"	1.25
		"damage bonus"	1.25
		"dmg from melee increased"	0.75
		"mod_maxhealth_drain_rate"	0
		"move speed bonus"	1.1
		"mult_player_movespeed_active"	1
		"crit kill will gib"	1
	}
	ItemAttributes
	{
		ItemName	"The Holiday Punch"
		"crit from behind"	0
		"crit forces victim to laugh"	0
		"crit does no damage"	0
		"tickle enemies wielding same weapon"	0
		"set turn to ice"	1
		"fire rate bonus"	0.75
		"move speed bonus"	1.05
		"attach particle effect"	87
	}
	ItemAttributes
	{
		ItemName	"Warrior's Spirit"
		"heal on kill"	0
	}
	ItemAttributes
	{
		ItemName	"Fists of Steel"
		"mult_player_movespeed_active"	0.8
		"max health additive bonus"	200
		"dmg from melee increased"	0.5
		"always crit" 1  
		"damage penalty"	0.5
		"fire rate penalty"	1.5
	}
	ItemAttributes
	{
		ItemName	"The Eviction Notice"
		"mod_maxhealth_drain_rate"	0
		"speed_boost_on_hit"	0
		"fire rate penalty"	1.9
		"stun on damage" 15
		"damage bonus"	1.6
	}
	ItemAttributes
	{
		ItemName	"The Sandvich"
		"gesture speed increase"	0.5
		"provide on active"	1
	}
	ItemAttributes
	{
		ItemName	"Festive Sandvich"
		"attach particle effect"	87
		"gesture speed increase"	0.5
		"provide on active"	1
	}
	ItemAttributes
	{
		ItemName	"The Robo-Sandvich"
		"gesture speed increase"	0.5
		"provide on active"	1
	}
	ItemAttributes
	{
		ItemName	"The Dalokohs Bar"
		"gesture speed increase"	0.75
		"provide on active"	1
	}
	ItemAttributes
	{
		ItemName	"Fishcake"
		"gesture speed increase"	0.75
		"provide on active"	1
	}
	ItemAttributes
	{
		ItemName	"The Second Banana"
		"gesture speed increase"	0.5
		"provide on active"	1
	}
	ItemAttributes
	{
		ItemName	"The Buffalo Steak Sandvich"
		"effect bar recharge rate increased"	1.5
		"energy buff dmg taken multiplier"	0.25
		"gesture speed increase"	0.75
		"provide on active"	1
	}
	ItemAttributes
	{
		ItemName	"TF_WEAPON_WRENCH"
		"move speed bonus"	1.05
		"max health additive bonus"	25
	}
	ItemAttributes
	{
		ItemName	"Upgradeable TF_WEAPON_WRENCH"
		"move speed bonus"	1.05
		"max health additive bonus"	25
	}
	ItemAttributes
	{
		ItemName	"Golden Wrench"
		"move speed bonus"	1.05
		"max health additive bonus"	25
		"turn to gold"	1
	}
	ItemAttributes
	{
		ItemName	"The Gunslinger"
		"max health additive bonus"	50
	}
	ItemAttributes
	{
		ItemName	"The Eureka Effect"
		"max health additive penalty"	-50
		"ragdolls become ash"	1
		"move speed bonus"	1.05
	}
	ItemAttributes
	{
		ItemName	"The Southern Hospitality"
		"apply look velocity on damage"	200
		"apply z velocity on damage"	200
		"move speed bonus"	1.1
		"crit mod disabled"	1
		"bleeding duration"	1
		"dmg taken from fire reduced"	1.2
		"damage penalty"	0.8
	}
	ItemAttributes
	{
		ItemName	"The Jag"
		"damage bonus"	1.5
		"dmg penalty vs buildings"	1.33
		"fire rate penalty"	1.45
	}
	ItemAttributes
	{
		ItemName	"TF_WEAPON_BONESAW"
		"enables aoe heal"	1
		"special taunt"	1
		"provide on active"	1
		"mark for death"	1
		"damage penalty"	0.5
		"move speed bonus"	1.1
		"mod see enemy health"	1
	}
	ItemAttributes
	{
		ItemName	"Upgradeable TF_WEAPON_BONESAW"
		"enables aoe heal"	1
		"special taunt"	1
		"provide on active"	1
		"mark for death"	1
		"damage penalty"	0.5
		"move speed bonus"	1.1
		"mod see enemy health"	1
	}
	ItemAttributes
	{
		ItemName	"Festive Bonesaw 2014"
		"enables aoe heal"	1
		"special taunt"	1
		"provide on active"	1
		"mark for death"	1
		"damage penalty"	0.5
		"move speed bonus"	1.1
		"mod see enemy health"	1
		"set turn to ice"	1
		"attach particle effect"	87
	}
	ItemAttributes
	{
		ItemName	"The Vita-Saw"
		"bleeding duration"	10
		"damage penalty"	0.5
		"max health additive bonus"	10
		"fire rate penalty"	1.75
		"ubercharge_preserved_on_spawn_max" 0
		"enables aoe heal"	1
		"special taunt"	1
		"provide on active"	1
		"mod see enemy health"	1
	}
	ItemAttributes
	{
		ItemName	"The Solemn Vow"
		"dmg penalty vs players"	0
		"fire rate bonus"	1.1
		"speed buff ally"	1
		"mark for death"	1
		"bleeding duration"	1
		"max health additive bonus"	200
		"move speed bonus"	1.15
		"health regen"	10
		"heal on hit for rapidfire"	100
		"enables aoe heal"	1
	}
	ItemAttributes
	{
		ItemName	"The Amputator"
		"damage bonus"	1.25
		"critboost on kill"	5
		"fire rate penalty"	1.3
		"heal on hit for rapidfire"	20
		"health regen"	0
		"mod see enemy health"	1
	}
	ItemAttributes
	{
		ItemName	"The Ubersaw"
		"mod see enemy health"	1
		"uber on damage taken"	0.2
		"max health additive penalty"	-25
		"move speed bonus"	1.05
		"add uber charge on hit"	0
	}
	ItemAttributes
	{
		ItemName	"Festive Ubersaw"
		"mod see enemy health"	1
		"uber on damage taken"	0.2
		"max health additive penalty"	-25
		"move speed bonus"	1.05
		"set turn to ice"	1
		"attach particle effect"	87
		"add uber charge on hit"	0
	}
	ItemAttributes
	{
		ItemName	"The Crusader's Crossbow"
		"max health additive penalty"	-25
		"fires milk bolt" 10
		"damage penalty"	0
	}
	ItemAttributes
	{
		ItemName	"Festive Crusader's Crossbow"
		"max health additive penalty"	-25
		"fires milk bolt" 10
		"damage penalty"	0
		"attach particle effect"	87
		"set turn to ice"	1
	}
	ItemAttributes
	{
		ItemName	"The Cozy Camper"
		"max health additive penalty"	-20
	}
	ItemAttributes
	{
		ItemName	"The Razorback"
		"dmg from melee increased"	0.76
		"max health additive bonus"	20
		"move speed bonus"	1.1
	}
	ItemAttributes
	{
		ItemName	"Darwin's Danger Shield"
		"dmg from melee increased"	1.24
		"dmg taken from fire reduced"	0.76
		"dmg taken from blast reduced"	0.76
		"dmg taken from bullets reduced" 0.76
		"dmg taken from crit reduced"	0.76
	}
	ItemAttributes
	{
		ItemName	"TF_WEAPON_CLUB"
		"fire rate bonus"	0.8
		"damage penalty"	0.8
		"mark for death"	1
	}
	ItemAttributes
	{
		ItemName	"Upgradeable TF_WEAPON_CLUB"
		"fire rate bonus"	0.8
		"damage penalty"	0.8
		"mark for death"	1
	}
	ItemAttributes
	{
		ItemName	"The Tribalman's Shiv"
		"damage penalty"	0.75
	}
	ItemAttributes
	{
		ItemName	"The Shahanshah"
		"dmg bonus while half dead"	1.6
		"dmg penalty while half alive"	-0.2
		"max health additive bonus"	50
	}
	ItemAttributes
	{
		ItemName	"The Bushwacka"
		"fire rate bonus"	0.8
		"damage penalty"	0.8
		"dmg taken increased"	1.1
		"move speed bonus"	1.05
	}
	ItemAttributes
	{
		ItemName	"TF_WEAPON_KNIFE"
		"closerange backattack minicrits"	1
		"minicrits become crits"	1
		"move speed bonus"	1.05
	}
	ItemAttributes
	{
		ItemName	"Upgradeable TF_WEAPON_KNIFE"
		"closerange backattack minicrits"	1
		"minicrits become crits"	1
		"move speed bonus"	1.05
	}
	ItemAttributes
	{
		ItemName	"The Black Rose"
		"closerange backattack minicrits"	1
		"minicrits become crits"	1
		"move speed bonus"	1.05
	}
	ItemAttributes
	{
		ItemName	"Festive Knife 2011"
		"closerange backattack minicrits"	1
		"minicrits become crits"	1
		"move speed bonus"	1.05
	}
	ItemAttributes
	{
		ItemName	"The Sharp Dresser"
		"closerange backattack minicrits"	1
		"minicrits become crits"	1
	}
	ItemAttributes
	{
		ItemName	"Conniver's Kunai"
		"closerange backattack minicrits"	1
		"max health additive penalty"	-75
		"minicrits become crits"	1
		"health regen"	25
		"heal on kill"	125
		"heal on hit for rapidfire"	50
	}
	ItemAttributes
	{
		ItemName	"Your Eternal Reward"
		"closerange backattack minicrits"	1
		"minicrits become crits"	1
		"mult cloak meter consume rate"	1
		"mod_disguise_consumes_cloak"	0
		"disguise on backstab"	0
		"silent killer"	0
		"damage bonus"	1.25
		"fire rate penalty"	1.25
		"mark for death"	1
	}
	ItemAttributes
	{
		ItemName	"The Wanga Prick"
		"closerange backattack minicrits"	1
		"minicrits become crits"	1
		"mult cloak meter consume rate"	1
		"mod_disguise_consumes_cloak"	0
		"disguise on backstab"	0
		"silent killer"	0
		"damage bonus"	1.25
		"fire rate penalty"	1.25
		"mark for death"	1
	}
	ItemAttributes
	{
		ItemName	"The Big Earner"
		"closerange backattack minicrits"	1
		"minicrits become crits"	1
		"max health additive penalty"	-50
		"mult_player_movespeed_active"	1.2
	}
	ItemAttributes
	{
		ItemName	"The Spy-cicle"
		"closerange backattack minicrits"	1
		"minicrits become crits"	1
	}
	ItemAttributes
	{
		ItemName	"The Spy-cicle"
		"closerange backattack minicrits"	1
		"minicrits become crits"	1
	}
	Wave //WAVE 1
	{
		SoundLoop  
		{
			"ambient\atmosphere\corridor.wav" 19	
		}
		
		SpawnTemplate W1_Music_Logic  
		SpawnTemplate W1_Music_Logic_2  
		
		RedTeamWipeCausesWaveLoss 1  
		CustomWaveNumber 1
		CustomMaxWaveNumber 6
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		InitWaveOutput
		{
			Target wave_init_relay
			Action Trigger
		}
		Explanation    //Dispayed once the wave is initialized
		{
			Line "{purple}-----------------------------"
			Line "Welcome to {yellow}Visitors."
			Line "{yellow}Created by Yoovy & Lite"
			Line "Here you'll have to find {yellow}Generators."
			Line "These Generators are scattered around the map."
			Line "You'll have limited time however to find, and destroy them."
			Line "But becareful! There are {red}monsters {reset}lurking around, and they don't really appreciate you wrecking their stuff."
			Line "{green}Good luck! Don't die all at once or you'll lose aswell."
			Line "{purple}-----------------------------"
		}
		WaveSpawn
		{
			Name	TIMER
			WaitForAllDead	DUMMYGEN
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			Where	spawnbot_timer
			Support	Limited
			RandomChoice
			{	
				RandomChoice
				{
					TFBot
					{
						Template	T_TFBot_Timer
						Health	300
					}
				}
			}
		}
		WaveSpawn
		{
			Name	TIMER2
			WaitForAllDead	TIMER
			Support	Limited
			FirstSpawnOutPut
			{
				Target boss_deploy_relay
				Action Trigger
			}
		}
		WaveSpawn
		{
			Name	DUMMYGEN
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target anno_tutorial
				Action Show
			}
			Tank
			{
				Health	4000
				Speed 0
				Name "generator1"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				Skin	1
				StartingPathTrackNode	"dummygen_1"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	BOSSES_ICON_NEW
			TotalCurrency	0
			TotalCount	9999
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	99999999999
			Support	Limited
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Class Scout
					ClassIcon	medic_injector_lite
				}
				TFBot
				{
					Class Scout
					ClassIcon	soldier_d
					Attributes	AlwaysCrit
				}
				TFBot
				{
					Class Scout
					ClassIcon	pyro_fireaxe_lite
				}
				TFBot
				{
					Class Scout
					ClassIcon	heavy_steelfist_yoovy
				}
				TFBot
				{
					Class Scout
					ClassIcon	pan_lite
				}
				TFBot
				{
					Class Scout
					ClassIcon	heavy_head_nys
				}
				TFBot
				{
					Class Scout
					ClassIcon	scout_pistol
				}
				TFBot
				{
					Class Scout
					ClassIcon	scout_giant_fast
				}
				TFBot
				{
					Class Scout
					ClassIcon	dead_king_lite
				}
				TFBot
				{
					Class Scout
					ClassIcon	engineer_golden_lite
				}
				TFBot
				{
					Class Scout
					ClassIcon	soldier_libertylauncher
				}
			}
		}
		WaveSpawn
		{
			WaitForAllDead	DUMMYGEN
			FirstSpawnOutput
			{
				Target w1_music
				Action PlaySound
			}
		}
		WaveSpawn
		{
			WaitForAllDead	DUMMYGEN
			FirstSpawnOutput
			{
				Target w1_music_2
				Action PlaySound
			}
		}
		WaveSpawn
		{
			Name	BOSSES
			WaitForAllDead	DUMMYGEN
			TotalCurrency	0
			TotalCount	9999
			MaxActive	2
			SpawnCount	1
			WaitBetweenSpawns	15
			Support	1
			RandomSpawn	1
			// Where bosstest
			Where	boss1
			Where	boss2
			Where	boss3
			Where	boss4
			Where	boss5
			Where	boss6
			Where	boss7
			Where	boss8
			RandomChoice
			{	
				RandomChoice
				{
					TFBot
					{
						Template	Boss_Doctor
					}
					TFBot
					{
						Template	Boss_Painis
					}
					TFBot
					{
						Template	Boss_Axe
					}
					TFBot
					{
						Template	Boss_Captain
					}
					TFBot
					{
						Template	Boss_Demopan
					}
					TFBot
					{
						Template	Boss_Heavy
					}
					TFBot
					{
						Template	Boss_Pistol
					}
					TFBot
					{
						Template	Boss_Super_Scout
					}
					TFBot
					{
						Template	Boss_SkeleKing
					}
					TFBot
					{
						Template	Boss_Engineer
					}
					TFBot
					{
						Template	Boss_Knockback
					}
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR1
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator1"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_1"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR2
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator2"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_2"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR3
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator3"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_3"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR4
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator4"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_4"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
	}
	Wave //WAVE 2
	{
		SoundLoop  
		{
			"ambient\atmosphere\corridor.wav" 19	
		}
		
		SpawnTemplate W1_Music_Logic  
		SpawnTemplate W1_Music_Logic_2  
		
		RedTeamWipeCausesWaveLoss 1  
		CustomWaveNumber 2
		CustomMaxWaveNumber 6
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		InitWaveOutput
		{
			Target wave_init_relay
			Action Trigger
		}
		Explanation    //Dispayed once the wave is initialized
		{
			Line "{purple}-----------------------------"
			Line "{green}Good job making it past the first section!"
			Line "More {yellow}generators {reset}will appear {yellow}every wave {reset}with an {yellow}extra minute {reset}to find them!"
			Line "Beware however, {red}more monsters will appear aswell! {reset}Spend your money carefully."
			Line "{purple}-----------------------------"
		}
		
		WaveSpawn
		{
			FirstSpawnOutput
			{
				Target w1_music
				Action PlaySound
			}
		}
		WaveSpawn
		{
			FirstSpawnOutput
			{
				Target w1_music_2
				Action PlaySound
			}
		}
		
		WaveSpawn
		{
			Name	TIMER
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			Where	spawnbot_timer
			Support	Limited
			RandomChoice
			{	
				RandomChoice
				{
					TFBot
					{
						Template	T_TFBot_Timer
						Health	300
					}
				}
			}
		}
		WaveSpawn
		{
			Name	TIMER2
			WaitForAllDead	TIMER
			Support	Limited
			FirstSpawnOutPut
			{
				Target boss_deploy_relay
				Action Trigger
			}
		}
		WaveSpawn
		{
			Name	BOSSES_ICON_NEW
			TotalCurrency	0
			TotalCount	9999
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	99999999999
			Support	Limited
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Class Scout
					ClassIcon	scout_sunstick_swordstone
				}
				TFBot
				{
					Class Scout
					ClassIcon	demoknight_headtaker_nys
				}
				TFBot
				{
					Class Scout
					ClassIcon	soldier_sergeant_crits_mipmap
					Attributes	AlwaysCrit
				}
				TFBot
				{
					Class Scout
					ClassIcon	heavy_warrior_tind
				}
				TFBot
				{
					Class Scout
					ClassIcon	sentry_buster
				}
			}
		}
		WaveSpawn
		{
			Name	BOSSES
			TotalCurrency	0
			TotalCount	9999
			MaxActive	3
			SpawnCount	1
			WaitBetweenSpawns	15
			Support	1
			RandomSpawn	1
			Where	boss1
			Where	boss2
			Where	boss3
			Where	boss4
			Where	boss5
			Where	boss6
			Where	boss7
			Where	boss8
			RandomChoice
			{	
				RandomChoice
				{
					TFBot
					{
						Template	Boss_Doctor
					}
					TFBot
					{
						Template	Boss_Painis
					}
					TFBot
					{
						Template	Boss_Axe
					}
					TFBot
					{
						Template	Boss_Blaze
					}
					TFBot
					{
						Template	Boss_Captain
					}
					TFBot
					{
						Template	Boss_Demopan
					}
					TFBot
					{
						Template	Boss_Heavy
					}
					TFBot
					{
						Template	Boss_Horseman
					}
					TFBot
					{
						Template	Boss_Pistol
					}
					TFBot
					{
						Template	Boss_Super_Scout
					}
					TFBot
					{
						Template	Boss_SkeleKing
					}
					TFBot
					{
						Template	Boss_Engineer
					}
					TFBot
					{
						Template	Boss_Sergeant
					}
					TFBot
					{
						Template	Boss_Grizzly
					}
					TFBot
					{
						Template	Boss_Knockback
					}
					TFBot
					{
						Template	Boss_Sentrybuster
					}
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR1
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator1"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_1"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR2
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator2"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_2"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR3
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator3"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_3"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR4
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator4"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_4"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR5
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator5"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_5"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
	}
	Wave //WAVE 3
	{
		SoundLoop  
		{
			"ambient\atmosphere\corridor.wav" 19	
		}
		
		SpawnTemplate W1_Music_Logic  
		SpawnTemplate W1_Music_Logic_2  
		
		RedTeamWipeCausesWaveLoss 1  
		CustomWaveNumber 3
		CustomMaxWaveNumber 6
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		InitWaveOutput
		{
			Target wave_init_relay
			Action Trigger
		}
		
		WaveSpawn
		{
			FirstSpawnOutput
			{
				Target w1_music
				Action PlaySound
			}
		}
		WaveSpawn
		{
			FirstSpawnOutput
			{
				Target w1_music_2
				Action PlaySound
			}
		}
		
		WaveSpawn
		{
			Name	TIMER
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			Where	spawnbot_timer
			Support	Limited
			RandomChoice
			{	
				RandomChoice
				{
					TFBot
					{
						Template	T_TFBot_Timer
						Health	360
					}
				}
			}
		}
		WaveSpawn
		{
			Name	TIMER2
			WaitForAllDead	TIMER
			Support	Limited
			FirstSpawnOutPut
			{
				Target boss_deploy_relay
				Action Trigger
			}
		}
		WaveSpawn
		{
			Name	BOSSES_ICON_NEW
			TotalCurrency	0
			TotalCount	9999
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	99999999999
			Support	Limited
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Class Scout
					ClassIcon	NOTFOUND
				}
				TFBot
				{
					Class Scout
					ClassIcon	demo_scatter
				}
				TFBot
				{
					Class Scout
					ClassIcon	scout_major_league
				}
				TFBot
				{
					Class Scout
					ClassIcon	machete_lite
				}
				TFBot
				{
					Class Scout
					ClassIcon	heavy_mittens_mipmap
					Attributes AlwaysCrit
				}
			}
		}
		WaveSpawn
		{
			Name	BOSSES
			TotalCurrency	0
			TotalCount	9999
			MaxActive	4
			SpawnCount	1
			WaitBetweenSpawns	15
			Support	1
			RandomSpawn	1
			Where	boss1
			Where	boss2
			Where	boss3
			Where	boss4
			Where	boss5
			Where	boss6
			Where	boss7
			Where	boss8
			RandomChoice
			{	
				RandomChoice
				{
					TFBot
					{
						Template	Boss_Doctor
					}
					TFBot
					{
						Template	Boss_Painis
					}
					TFBot
					{
						Template	Boss_Anomaly
					}
					TFBot
					{
						Template	Boss_Axe
					}
					TFBot
					{
						Template	Boss_Blaze
					}
					TFBot
					{
						Template	Boss_Captain
					}
					TFBot
					{
						Template	Boss_Demopan
					}
					TFBot
					{
						Template	Boss_Heavy
					}
					TFBot
					{
						Template	Boss_Horseman
					}
					TFBot
					{
						Template	Boss_Pistol
					}
					TFBot
					{
						Template	Boss_Scatter
					}
					TFBot
					{
						Template	Boss_Super_Scout
					}
					TFBot
					{
						Template	Boss_SkeleKing
					}
					TFBot
					{
						Template	Boss_Engineer
					}
					TFBot
					{
						Template	Boss_Sergeant
					}
					TFBot
					{
						Template	Boss_Grizzly
					}
					TFBot
					{
						Template	Boss_Major
					}
					TFBot
					{
						Template	Boss_Knockback
					}
					TFBot
					{
						Template	Boss_Sentrybuster
					}
					TFBot
					{
						Template	Boss_Prinny
					}
					TFBot
					{
						Template	Boss_Krampus
					}
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR1
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator1"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_1"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR2
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator2"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_2"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR3
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator3"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_3"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR4
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator4"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_4"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR5
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator5"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_5"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR6
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator6"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_6"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
	}
	Wave //WAVE 4
	{
		SoundLoop  
		{
			"ambient\atmosphere\corridor.wav" 19	
		}
		
		SpawnTemplate W1_Music_Logic  
		SpawnTemplate W1_Music_Logic_2  
		
		RedTeamWipeCausesWaveLoss 1  
		CustomWaveNumber 4
		CustomMaxWaveNumber 6
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		InitWaveOutput
		{
			Target wave_init_relay
			Action Trigger
		}
		
		WaveSpawn
		{
			FirstSpawnOutput
			{
				Target w1_music
				Action PlaySound
			}
		}
		WaveSpawn
		{
			FirstSpawnOutput
			{
				Target w1_music_2
				Action PlaySound
			}
		}
		
		WaveSpawn
		{
			Name	TIMER
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			Where	spawnbot_timer
			Support	Limited
			RandomChoice
			{	
				RandomChoice
				{
					TFBot
					{
						Template	T_TFBot_Timer
						Health	420
					}
				}
			}
		}
		WaveSpawn
		{
			Name	TIMER2
			WaitForAllDead	TIMER
			Support	Limited
			FirstSpawnOutPut
			{
				Target boss_deploy_relay
				Action Trigger
			}
		}
		WaveSpawn
		{
			Name	BOSSES_ICON_NEW
			TotalCurrency	0
			TotalCount	9999
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	99999999999
			Support	Limited
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Class Scout
					ClassIcon	demo_atomic
					Attributes	AlwaysCrit
				}
				TFBot
				{
					Class Scout
					ClassIcon	sniper_rapid_fire_boss
				}
				TFBot
				{
					Class Scout
					ClassIcon	heavy_deflector_mipmap
				}
				TFBot
				{
					Class Scout
					ClassIcon	trashpanda
				}
			}
		}
		WaveSpawn
		{
			Name	BOSSES
			TotalCurrency	0
			TotalCount	9999
			MaxActive	5
			SpawnCount	1
			WaitBetweenSpawns	15
			Support	1
			RandomSpawn	1
			Where	boss1
			Where	boss2
			Where	boss3
			Where	boss4
			Where	boss5
			Where	boss6
			Where	boss7
			Where	boss8
			RandomChoice
			{	
				RandomChoice
				{
					TFBot
					{
						Template	Boss_Doctor
					}
					TFBot
					{
						Template	Boss_Painis
					}
					TFBot
					{
						Template	Boss_Anomaly
					}
					TFBot
					{
						Template	Boss_Axe
					}
					TFBot
					{
						Template	Boss_Blaze
					}
					TFBot
					{
						Template	Boss_Captain
					}
					TFBot
					{
						Template	Boss_Demopan
					}
					TFBot
					{
						Template	Boss_Heavy
					}
					TFBot
					{
						Template	Boss_Horseman
					}
					TFBot
					{
						Template	Boss_Pistol
					}
					TFBot
					{
						Template	Boss_Scatter
					}
					TFBot
					{
						Template	Boss_Super_Scout
					}
					TFBot
					{
						Template	Boss_SkeleKing
					}
					TFBot
					{
						Template	Boss_Engineer
					}
					TFBot
					{
						Template	Boss_Sergeant
					}
					TFBot
					{
						Template	Boss_Grizzly
					}
					TFBot
					{
						Template	Boss_Nuke
					}
					TFBot
					{
						Template	Boss_Major
					}
					TFBot
					{
						Template	Boss_Knockback
					}
					TFBot
					{
						Template	Boss_Sentrybuster
					}
					TFBot
					{
						Template	Boss_Prinny
					}
					TFBot
					{
						Template	Boss_Krampus
					}
					TFBot
					{
						Template	Boss_Sniper
					}
					TFBot
					{
						Template	Boss_Deflector
					}
					TFBot
					{
						Template	Boss_Feral
					}
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR1
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator1"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_1"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR2
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator2"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_2"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR3
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator3"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_3"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR4
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator4"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_4"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR5
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator5"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_5"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR6
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator6"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_6"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR7
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator7"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_7"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
	}
	Wave //WAVE 5
	{
		SoundLoop  
		{
			"ambient\atmosphere\corridor.wav" 19	
		}
		
		SpawnTemplate W1_Music_Logic  
		SpawnTemplate W1_Music_Logic_2  
		
		RedTeamWipeCausesWaveLoss 1  
		CustomWaveNumber 5
		CustomMaxWaveNumber 6
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		InitWaveOutput
		{
			Target wave_init_relay
			Action Trigger
		}
		
		WaveSpawn
		{
			FirstSpawnOutput
			{
				Target w1_music
				Action PlaySound
			}
		}
		WaveSpawn
		{
			FirstSpawnOutput
			{
				Target w1_music_2
				Action PlaySound
			}
		}
		
		WaveSpawn
		{
			Name	TIMER
			TotalCurrency	150
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			Where	spawnbot_timer
			Support	Limited
			RandomChoice
			{	
				RandomChoice
				{
					TFBot
					{
						Template	T_TFBot_Timer
						Health	480
					}
				}
			}
		}
		WaveSpawn
		{
			Name	TIMER2
			WaitForAllDead	TIMER
			Support	Limited
			FirstSpawnOutPut
			{
				Target boss_deploy_relay
				Action Trigger
			}
		}
		WaveSpawn
		{
			Name	BOSSES_ICON_NEW
			TotalCurrency	0
			TotalCount	9999
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	99999999999
			Support	Limited
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Class Scout
					ClassIcon	objector_lite
				}
				TFBot
				{
					Class Scout
					ClassIcon	demo_bomber_mipmap
					Attributes	AlwaysCrit
				}
				TFBot
				{
					Class Scout
					ClassIcon	spy_d
				}
				TFBot
				{
					Class Scout
					ClassIcon	spellbook_lite
				}
			}
		}
		WaveSpawn
		{
			Name	BOSSES
			TotalCurrency	0
			TotalCount	9999
			MaxActive	6
			SpawnCount	1
			WaitBetweenSpawns	15
			Support	1
			RandomSpawn	1
			Where	boss1
			Where	boss2
			Where	boss3
			Where	boss4
			Where	boss5
			Where	boss6
			Where	boss7
			Where	boss8
			RandomChoice
			{	
				RandomChoice
				{
					TFBot
					{
						Template	Boss_Doctor
					}
					TFBot
					{
						Template	Boss_Painis
					}
					TFBot
					{
						Template	Boss_Anomaly
					}
					TFBot
					{
						Template	Boss_Axe
					}
					TFBot
					{
						Template	Boss_Blaze
					}
					TFBot
					{
						Template	Boss_Captain
					}
					TFBot
					{
						Template	Boss_Demopan
					}
					TFBot
					{
						Template	Boss_Heavy
					}
					TFBot
					{
						Template	Boss_Horseman
					}
					TFBot
					{
						Template	Boss_Pistol
					}
					TFBot
					{
						Template	Boss_Scatter
					}
					TFBot
					{
						Template	Boss_Super_Scout
					}
					TFBot
					{
						Template	Boss_SkeleKing
					}
					TFBot
					{
						Template	Boss_Engineer
					}
					TFBot
					{
						Template	Boss_Sergeant
					}
					TFBot
					{
						Template	Boss_Grizzly
					}
					TFBot
					{
						Template	Boss_Nuke
					}
					TFBot
					{
						Template	Boss_Tricky
					}
					TFBot
					{
						Template	Boss_Bomber
					}
					TFBot
					{
						Template	Boss_Major
					}
					TFBot
					{
						Template	Boss_Knockback
					}
					TFBot
					{
						Template	Boss_Sentrybuster
					}
					TFBot
					{
						Template	Boss_Prinny
					}
					TFBot
					{
						Template	Boss_Krampus
					}
					TFBot
					{
						Template	Boss_Sniper
					}
					TFBot
					{
						Template	Boss_Deflector
					}
					TFBot
					{
						Template	Boss_Cloaker
					}
					TFBot
					{
						Template	Boss_Merasmus
					}
					TFBot
					{
						Template	Boss_Feral
					}
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR1
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator1"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_1"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR2
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator2"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_2"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR3
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator3"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_3"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR4
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator4"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_4"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR5
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator5"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_5"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR6
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator6"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_6"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR7
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator7"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_7"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR8
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator8"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_8"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
	}
	Wave //WAVE 6
	{
		SoundLoop  
		{
			"ambient\atmosphere\corridor.wav" 19	
		}
		
		SpawnTemplate WFINAL_Music_Logic  
		SpawnTemplate WFINAL_Music_Logic_2  
		
		RedTeamWipeCausesWaveLoss 1  
		CustomWaveNumber 6
		CustomMaxWaveNumber 6
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		InitWaveOutput
		{
			Target wave_init_relay
			Action Trigger
		}
		
		WaveSpawn
		{
			FirstSpawnOutput
			{
				Target wf_music
				Action PlaySound
			}
		}
		WaveSpawn
		{
			FirstSpawnOutput
			{
				Target wf_music_2
				Action PlaySound
			}
		}
		
		WaveSpawn
		{
			Name	TIMER
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			Where	spawnbot_timer
			Support	Limited
			RandomChoice
			{	
				RandomChoice
				{
					TFBot
					{
						Template	T_TFBot_Timer
						Health	540
					}
				}
			}
		}
		WaveSpawn
		{
			Name	TIMER2
			WaitForAllDead	TIMER
			Support	Limited
			FirstSpawnOutPut
			{
				Target boss_deploy_relay
				Action Trigger
			}
		}
		WaveSpawn
		{
			Name	BOSSES
			TotalCurrency	0
			TotalCount	9999
			MaxActive	7
			SpawnCount	1
			WaitBetweenSpawns	15
			Support	1
			RandomSpawn	1
			Where	boss1
			Where	boss2
			Where	boss3
			Where	boss4
			Where	boss5
			Where	boss6
			Where	boss7
			Where	boss8
			RandomChoice
			{	
				RandomChoice
				{
					TFBot
					{
						Template	Boss_Doctor
					}
					TFBot
					{
						Template	Boss_Painis
					}
					TFBot
					{
						Template	Boss_Anomaly
					}
					TFBot
					{
						Template	Boss_Axe
					}
					TFBot
					{
						Template	Boss_Blaze
					}
					TFBot
					{
						Template	Boss_Captain
					}
					TFBot
					{
						Template	Boss_Demopan
					}
					TFBot
					{
						Template	Boss_Heavy
					}
					TFBot
					{
						Template	Boss_Horseman
					}
					TFBot
					{
						Template	Boss_Pistol
					}
					TFBot
					{
						Template	Boss_Scatter
					}
					TFBot
					{
						Template	Boss_Super_Scout
					}
					TFBot
					{
						Template	Boss_SkeleKing
					}
					TFBot
					{
						Template	Boss_Engineer
					}
					TFBot
					{
						Template	Boss_Sergeant
					}
					TFBot
					{
						Template	Boss_Grizzly
					}
					TFBot
					{
						Template	Boss_Nuke
					}
					TFBot
					{
						Template	Boss_Tricky
					}
					TFBot
					{
						Template	Boss_Bomber
					}
					TFBot
					{
						Template	Boss_Major
					}
					TFBot
					{
						Template	Boss_Knockback
					}
					TFBot
					{
						Template	Boss_Prinny
					}
					TFBot
					{
						Template	Boss_Krampus
					}
					TFBot
					{
						Template	Boss_Sniper
					}
					TFBot
					{
						Template	Boss_Deflector
					}
					TFBot
					{
						Template	Boss_Merasmus
					}
					TFBot
					{
						Template	Boss_Cloaker
					}
					TFBot
					{
						Template	Boss_Sentrybuster
					}
					TFBot
					{
						Template	Boss_Feral
					}
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR1
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator1"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_1"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR2
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator2"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_2"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR3
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator3"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_3"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR4
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator4"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_4"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR5
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator5"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_5"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR6
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator6"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_6"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR7
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator7"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_7"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR8
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator8"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_8"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Name	GENERATOR9
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			FirstSpawnOutput
			{
				Target noglowtanks_relay
				Action Trigger
			}
			Tank
			{
				Health	8000
				Speed 0
				Name "generator9"
				DisableSmokestack 1  
				IsMiniBoss 0  
				ClassIcon generator_lite
				Model "models/props_vehicles/generatortrailer01.mdl"
				PingSound "sound\misc\null.wav"  
				StartSound "sound\misc\null.wav"  
				DeploySound "sound\misc\null.wav"  
				EngineLoopSound "sound\misc\null.wav"  
				DisableChildModels 1  
				DisableTracks 1  
				ReplaceModelCollisions 1  
				Skin	1
				StartingPathTrackNode	"genpath_9"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
	}
	Wave //TEST WAVE 7
	{
		SoundLoop  
		{
			"ambient\atmosphere\corridor.wav" 19	
		}
		RedTeamWipeCausesWaveLoss 1  
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		InitWaveOutput
		{
			Target wave_init_relay
			Action Trigger
		}
		WaveSpawn
		{
			Name	BOSSES_ICON_NEW
			TotalCurrency	0
			TotalCount	9999
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	99999999999
			Support	Limited
			Where	spawnbot
			Squad
			{
				TFBot
				{
					Class Scout
					ClassIcon	trashpanda
				}
			}
		}
		WaveSpawn
		{
			Name	BOSSES
			TotalCurrency	0
			TotalCount	9999
			MaxActive	1
			SpawnCount	1
			WaitBetweenSpawns	0
			Where	bosstest
			RandomChoice
			{	
				RandomChoice
				{
					TFBot
					{
						Template	Boss_Feral
					}
				}
			}
		}
	}
}