//Hypermaster by Andrew Xtreme, originally from scream tv but now ported to spacepost as hypmas
//Wave 1 Endurance Wave
//Wave 2 Endurance Wave
//Wave 3 Giant Mainwave and Common Support Wave
//Wave 4 Tanks Wave
//Wave 5 Hyper Bots Wave
//Wave 6 Final Boss Wave!
#base robot_giant.pop
#base robot_standard.pop

HyperMasterDeezNuts
{
	StartingCurrency	600
	RespawnWaveTime	6
	CanBotsAttackWhileInSpawnRoom	no
	PrecacheModel "models/bots/boss_bot/tank_red_drill.mdl"	
	PrecacheModel "models/bots/boss_bot/tank_drill.mdl"
    	PrecacheModel "models/bots/boss_blimp/boss_blimp.mdl"
    	PrecacheModel "models/bots/boss_blimp/boss_blimp_damage1.mdl"
    	PrecacheModel "models/bots/boss_blimp/boss_blimp_damage2.mdl"
    	PrecacheModel "models/bots/boss_blimp/boss_blimp_damage3.mdl"
        PrecacheModel "models/bots/boss_bot/boss_tank_color.mdl"
	PrecacheModel "models/props_tumb/mvm/tank_shield.mdl"  

        ExtraTankPath  
	{
		Name "blimp_path"
		Node "-911 -1866 600" 
		Node "-352 -1844 600" 
		Node "-352 -1792 600" 
		Node "-352 -1408 600"
		Node "-352 368 600"
		Node "-400 640 600"
		Node "-480 736 600"
		Node "-624 880 600"
		Node "-1280 1408 600"
		Node "-1872 1728 600"
		Node "-2208 2048 600"
		Node "-2256 2096 600"
		Node "-2352 2352 600"
		Node "-2352 3872 600"
		Node "-2432 3984 600"
		Node "-2816 4480 600"
		Node "-2944 4736 600"
		Node "-3040 5024 600"
		Node "-3040 5232 600"
	}
	PointTemplates  
	{
		MissionName
		{
			logic_relay
			{
				"targetname" "name"
				"OnTrigger" "tf_objective_resource,$SetClientProp$m_iszMvMPopfileName,(Hypermaster) Extermination,0,-1"
			}
			OnSpawnOutput
			{
				Target "name"
				Action "trigger"
				Delay 0
			}
		}
		NukeRocketProjectile
		{
			prop_dynamic
			{
				model "models/workshop/player/items/soldier/taunt_rocket_jockey/taunt_rocket_jockey.mdl"
				angles "0 90 0"
				origin "0 0 -24"
				skin 1
				scale 1.35
				disableshadows 1
			}
		}	
        	IconChanger
        	{
                  	NoFixUp 1
                	logic_relay
                	{
                    		"targetname" "icon_changon"
                    		"OnTrigger" "!activator,$SetProp$m_iszClassIcon,heavy_steelfist_fireballblue,0.1,0.1,-1"
                    		"OnUser1" "!activator,$SetProp$m_iszClassIcon,heavy_shotgun_burst_hyper_giant,0.1,-1"
                    		"OnUser2" "!activator,$SetProp$m_iszClassIcon,heavy_blaster,0.1,-1"
    			}
		}	
		VacTankRandom
		{
			OnSpawnOutput
			{
				Target "!parent"
				Action SetDamageFilter
				Param  "filter_bullet"
				Delay  0.00
			}
			
			logic_timer
			{
				"targetname"    "tank_vacc_timer_nobullet"
				"RefireTime"    "10"
				"spawnflags"    "0"
				"StartDisabled" "0"
				"UseRandomTime" "0"

				"OnTimer"       "tank_vacc_disable_all,Trigger,,0,-1"
				"OnTimer"       "tank_vacc_sound,PlaySound,,0,-1"
				"OnTimer"		"!self,Disable,,0,-1"
				"OnTimer"       "tank_vacc_case_nobullet,PickRandom,,0.01,-1"			
			}
			
			logic_timer
			{
				"targetname"    "tank_vacc_timer_noblast"
				"RefireTime"    "10"
				"spawnflags"    "0"
				"StartDisabled" "1"
				"UseRandomTime" "0"

				"OnTimer"       "tank_vacc_disable_all,Trigger,,0,-1"
				"OnTimer"       "tank_vacc_sound,PlaySound,,0,-1"
				"OnTimer"		"!self,Disable,,0,-1"
				"OnTimer"       "tank_vacc_case_noblast,PickRandom,,0.01,-1"			
			}
			
			logic_timer
			{
				"targetname"    "tank_vacc_timer_nofire"
				"RefireTime"    "10"
				"spawnflags"    "0"
				"StartDisabled" "1"
				"UseRandomTime" "0"

				"OnTimer"       "tank_vacc_disable_all,Trigger,,0,-1"
				"OnTimer"       "tank_vacc_sound,PlaySound,,0,-1"
				"OnTimer"		"!self,Disable,,0,-1"
				"OnTimer"       "tank_vacc_case_nofire,PickRandom,,0.01,-1"			
			}
			
			logic_relay
			{
				"targetname" "tank_vacc_disable_all"
				
				"OnTrigger"  "tank_shield_fire,Disable,,0,-1"
				"OnTrigger"  "tank_shield_bullet,Disable,,0,-1"
				"OnTrigger"  "tank_shield_blast,Disable,,0,-1"				
			}
			
			logic_case
			{
				"targetname" "tank_vacc_case_nobullet"
				
				"OnCase01"   "!parent,SetDamageFilter,filter_blast,0,-1"
				"OnCase01"   "tank_shield_blast,Enable,,0,-1"
				"OnCase01"   "tank_vacc_timer_noblast,Enable,,0,-1"
				"OnCase02"   "!parent,SetDamageFilter,filter_blast,0,-1"
				"OnCase02"   "tank_shield_blast,Enable,,0,-1"
				"OnCase02"   "tank_vacc_timer_noblast,Enable,,0,-1"
				"OnCase03"   "!parent,SetDamageFilter,filter_blast,0,-1"
				"OnCase03"   "tank_shield_blast,Enable,,0,-1"
				"OnCase03"   "tank_vacc_timer_noblast,Enable,,0,-1"

				"OnCase04"   "!parent,SetDamageFilter,filter_fire,0,-1"
				"OnCase04"   "tank_shield_fire,Enable,,0,-1"
				"OnCase04"   "tank_vacc_timer_nofire,Enable,,0,-1"
				"OnCase05"   "!parent,SetDamageFilter,filter_fire,0,-1"
				"OnCase05"   "tank_shield_fire,Enable,,0,-1"
				"OnCase05"   "tank_vacc_timer_nofire,Enable,,0,-1"
				"OnCase06"   "!parent,SetDamageFilter,filter_fire,0,-1"
				"OnCase06"   "tank_shield_fire,Enable,,0,-1"
				"OnCase06"   "tank_vacc_timer_nofire,Enable,,0,-1"		
			}
			
			logic_case
			{
				"targetname" "tank_vacc_case_noblast"
				
				"OnCase01"   "!parent,SetDamageFilter,filter_bullet,0,-1"
				"OnCase01"   "tank_shield_bullet,Enable,,0,-1"
				"OnCase01"   "tank_vacc_timer_nobullet,Enable,,0,-1"
				"OnCase02"   "!parent,SetDamageFilter,filter_bullet,0,-1"
				"OnCase02"   "tank_shield_bullet,Enable,,0,-1"
				"OnCase02"   "tank_vacc_timer_nobullet,Enable,,0,-1"
				"OnCase03"   "!parent,SetDamageFilter,filter_bullet,0,-1"
				"OnCase03"   "tank_shield_bullet,Enable,,0,-1"
				"OnCase03"   "tank_vacc_timer_nobullet,Enable,,0,-1"

				"OnCase04"   "!parent,SetDamageFilter,filter_fire,0,-1"
				"OnCase04"   "tank_shield_fire,Enable,,0,-1"
				"OnCase04"   "tank_vacc_timer_nofire,Enable,,0,-1"
				"OnCase05"   "!parent,SetDamageFilter,filter_fire,0,-1"
				"OnCase05"   "tank_shield_fire,Enable,,0,-1"
				"OnCase05"   "tank_vacc_timer_nofire,Enable,,0,-1"
				"OnCase06"   "!parent,SetDamageFilter,filter_fire,0,-1"
				"OnCase06"   "tank_shield_fire,Enable,,0,-1"	
				"OnCase06"   "tank_vacc_timer_nofire,Enable,,0,-1"		
			}
			
			logic_case
			{
				"targetname" "tank_vacc_case_nofire"
				
				"OnCase01"   "!parent,SetDamageFilter,filter_bullet,0,-1"
				"OnCase01"   "tank_shield_bullet,Enable,,0,-1"
				"OnCase01"   "tank_vacc_timer_nobullet,Enable,,0,-1"
				"OnCase02"   "!parent,SetDamageFilter,filter_bullet,0,-1"
				"OnCase02"   "tank_shield_bullet,Enable,,0,-1"
				"OnCase02"   "tank_vacc_timer_nobullet,Enable,,0,-1"
				"OnCase03"   "!parent,SetDamageFilter,filter_bullet,0,-1"
				"OnCase03"   "tank_shield_bullet,Enable,,0,-1"
				"OnCase03"   "tank_vacc_timer_nobullet,Enable,,0,-1"
				
				"OnCase04"   "!parent,SetDamageFilter,filter_blast,0,-1"
				"OnCase04"   "tank_shield_blast,Enable,,0,-1"
				"OnCase04"   "tank_vacc_timer_noblast,Enable,,0,-1"
				"OnCase05"   "!parent,SetDamageFilter,filter_blast,0,-1"
				"OnCase05"   "tank_shield_blast,Enable,,0,-1"
				"OnCase05"   "tank_vacc_timer_noblast,Enable,,0,-1"
				"OnCase06"   "!parent,SetDamageFilter,filter_blast,0,-1"
				"OnCase06"   "tank_shield_blast,Enable,,0,-1"
				"OnCase06"   "tank_vacc_timer_noblast,Enable,,0,-1"
			}
			
			ambient_generic
			{
				"targetname" "tank_vacc_sound"

				"message" "WeaponMedigun_Vaccinator.Toggle"
				"spawnflags" "49"
			}
			ambient_generic
			{
				"targetname" "tank_vacc_sound"

				"message" "WeaponMedigun_Vaccinator.Toggle"
				"spawnflags" "49"
			}
			ambient_generic
			{
				"targetname" "tank_vacc_sound"

				"message" "WeaponMedigun_Vaccinator.Toggle"
				"spawnflags" "49"
			}
			ambient_generic
			{
				"targetname" "tank_vacc_sound"

				"message" "WeaponMedigun_Vaccinator.Toggle"
				"spawnflags" "49"
			}

            prop_dynamic
            {
                "targetname"    "tank_shield_bullet"
                "model"         "models/props_tumb/mvm/tank_shield.mdl"
				"StartDisabled" "0"
                "skin"          "2"
            }
            prop_dynamic
            {
                "targetname"    "tank_shield_blast"
                "model"         "models/props_tumb/mvm/tank_shield.mdl"
				"StartDisabled" "1"
                "skin"          "3"
            }
            prop_dynamic
            {
                "targetname"    "tank_shield_fire"
                "model"         "models/props_tumb/mvm/tank_shield.mdl"
				"StartDisabled" "1"
                "skin"          "4"
            }
		}
		
		VacTankFilters
		{
			//// BULLET ////
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "2097154"
				"Negated" "1"
				"targetname" "filter_bullet1"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "3145730"
				"Negated" "1"
				"targetname" "filter_bullet2"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "538968064"
				"Negated" "1"
				"targetname" "filter_bullet3"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "540016640"
				"Negated" "1"
				"targetname" "filter_bullet4"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "538968066"
				"Negated" "1"
				"targetname" "filter_bullet5"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "540016642"
				"Negated" "1"
				"targetname" "filter_bullet6"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "16777218"
				"Negated" "1"
				"targetname" "filter_bullet7"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "17825794"
				"Negated" "1"
				"targetname" "filter_bullet8"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "2230274"
				"Negated" "1"
				"targetname" "filter_bullet9"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "3278850"
				"Negated" "1"
				"targetname" "filter_bullet10"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "33554434"
				"Negated" "1"
				"targetname" "filter_bullet11"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "34603010"
				"Negated" "1"
				"targetname" "filter_bullet12"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "2"
				"Negated" "1"
				"targetname" "filter_bullet13"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "1048578"
				"Negated" "1"
				"targetname" "filter_bullet14"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "2232322"
				"Negated" "1"
				"targetname" "filter_bullet15"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "3280898"
				"Negated" "1"
				"targetname" "filter_bullet16"
			}
			NoFixup 1
			filter_multi
			{
				"targetname" "filter_bullet_sub1"
				"Filter01" "filter_bullet1"
				"Filter02" "filter_bullet2"
				"Filter03" "filter_bullet3"
				"Filter04" "filter_bullet4"
				"Filter05" "filter_bullet5"
			}
			NoFixup 1
			filter_multi
			{
				"targetname" "filter_bullet_sub2"
				"Filter01" "filter_bullet6"
				"Filter02" "filter_bullet7"
				"Filter03" "filter_bullet8"
				"Filter04" "filter_bullet9"
				"Filter05" "filter_bullet10"
			}
			NoFixup 1
			filter_multi
			{
				"targetname" "filter_bullet_sub3"
				"Filter01" "filter_bullet11"
				"Filter02" "filter_bullet12"
				"Filter03" "filter_bullet13"
				"Filter04" "filter_bullet14"
				"Filter05" "filter_bullet15"
			}
			NoFixup 1
			filter_multi
			{
				"targetname" "filter_bullet"
				"Filter01" "filter_bullet_sub1"
				"Filter02" "filter_bullet_sub2"
				"Filter03" "filter_bullet_sub3"
				"Filter04" "filter_bullet16"
			}

			//// BLAST ////

			NoFixup 1
			filter_damage_type
			{
				"damagetype" "2359360"
				"Negated" "1"
				"targetname" "filter_blast1"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "3407936"
				"Negated" "1"
				"targetname" "filter_blast2"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "20185152"
				"Negated" "1"
				"targetname" "filter_blast3"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "262208"
				"Negated" "1"
				"targetname" "filter_blast4"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "1310784"
				"Negated" "1"
				"targetname" "filter_blast5"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "2490432"
				"Negated" "1"
				"targetname" "filter_blast6"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "3539008"
				"Negated" "1"
				"targetname" "filter_blast7"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "17039362"
				"Negated" "1"
				"targetname" "filter_blast8"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "18087938"
				"Negated" "1"
				"targetname" "filter_blast9"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "00240040"
				"Negated" "1"
				"targetname" "filter_blast10"
			}
			NoFixup 1
			filter_multi
			{
				"targetname" "filter_blast_sub1"
				"Filter01" "filter_blast1"
				"Filter02" "filter_blast2"
				"Filter03" "filter_blast3"
				"Filter04" "filter_blast4"
				"Filter05" "filter_blast5"
			}
			NoFixup 1
			filter_multi
			{
				"targetname" "filter_blast_sub2"
				"Filter01" "filter_blast6"
				"Filter02" "filter_blast7"
				"Filter03" "filter_blast8"
				"Filter04" "filter_blast9"
				"Filter05" "filter_blast10"
			}
			NoFixup 1
			filter_multi
			{
				"targetname" "filter_blast"
				"Filter01" "filter_blast_sub1"
				"Filter02" "filter_blast_sub2"
			}

			//// FIRE ////

			NoFixup 1
			filter_damage_type
			{
				"damagetype" "16779264"
				"Negated" "1"
				"targetname" "filter_fire1"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "17827840"
				"Negated" "1"
				"targetname" "filter_fire2"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "19005440"
				"Negated" "1"
				"targetname" "filter_fire3"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "20054016"
				"Negated" "1"
				"targetname" "filter_fire4"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "16777218"
				"Negated" "1"
				"targetname" "filter_fire5"
			}
			NoFixup 1
			filter_damage_type
			{
				"damagetype" "17825794"
				"Negated" "1"
				"targetname" "filter_fire6"
			}
			NoFixup 1
			filter_multi
			{
				"targetname" "filter_fire_sub1"
				"Filter01" "filter_fire1"
				"Filter02" "filter_fire2"
				"Filter03" "filter_fire3"
				"Filter04" "filter_fire4"
				"Filter05" "filter_fire5"
			}
			NoFixup 1
			filter_multi
			{
				"targetname" "filter_fire"
				"Filter01" "filter_fire_sub1"
				"Filter02" "filter_fire6"
			}
		}
                StickyBlimp
		{
			OnParentKilledOutput // Clean up stickies
			{
				Target tf_projectile_pipe
				Action Kill
				Delay 0.05
			}
			
			logic_relay
			{
				"targetname" "stickytank_shooter_relay"
				
				"OnTrigger"  "stickytank_mimic,FireOnce,,0,-1"
				"OnTrigger"  "stickytank_shoot_sound,PlaySound,,0,-1"
				"OnTrigger"  "stickytank_mimic,FireOnce,,0.1,-1"
				"OnTrigger"  "stickytank_shoot_sound,PlaySound,,0.1,-1"
				"OnTrigger"  "stickytank_mimic,FireOnce,,0.2,-1"
				"OnTrigger"  "stickytank_shoot_sound,PlaySound,,0.2,-1"
				"OnTrigger"  "stickytank_mimic,FireOnce,,0.3,-1"
				"OnTrigger"  "stickytank_shoot_sound,PlaySound,,0.3,-1"
				"OnTrigger"  "stickytank_mimic,FireOnce,,0.4,-1"
				"OnTrigger"  "stickytank_shoot_sound,PlaySound,,0.4,-1"
				"OnTrigger"  "stickytank_mimic,FireMultiple,4,0.5,-1"
				"OnTrigger"  "stickytank_shoot_sound,PlaySound,,0.5,-1"
				"OnTrigger"  "stickytank_mimic,FireOnce,,0.6,-1"
				"OnTrigger"  "stickytank_shoot_sound,PlaySound,,0.6,-1"
				"OnTrigger"  "stickytank_mimic,FireOnce,,0.7,-1"
				"OnTrigger"  "stickytank_shoot_sound,PlaySound,,0.7,-1"
				"OnTrigger"  "stickytank_mimic,FireOnce,,0.8,-1"
				"OnTrigger"  "stickytank_shoot_sound,PlaySound,,0.8,-1"
				"OnTrigger"  "stickytank_mimic,FireOnce,,0.9,-1"
				"OnTrigger"  "stickytank_shoot_sound,PlaySound,,0.9,-1"
				"OnTrigger"  "stickytank_mimic,FireMultiple,4,1,-1"
				"OnTrigger"  "stickytank_shoot_sound,PlaySound,,1,-1"
				"OnTrigger"  "stickytank_mimic_crit,FireOnce,,1.5,-1"
				"OnTrigger"  "stickytank_shoot_sound_crit,PlaySound,,1.5,-1"
				"OnTrigger"  "stickytank_mimic_crit,FireMultiple,2,2,-1"
				"OnTrigger"  "stickytank_shoot_sound_crit,PlaySound,,2,-1"
				"OnTrigger"  "!self,EnableRefire,,2,-1"
				"OnTrigger"  "stickytank_mimic_crit,FireMultiple,3,2.5,-1"
				"OnTrigger"  "stickytank_shoot_sound_crit,PlaySound,,2.5,-1"
				"OnTrigger"  "stickytank_mimic_crit,FireMultiple,6,3,-1"
				"OnTrigger"  "stickytank_shoot_sound_crit,PlaySound,,3,-1"
				"OnTrigger"  "stickytank_mimic,DetonateStickies,,7,-1"
				"OnTrigger"  "stickytank_mimic_crit,DetonateStickies,,7,-1"
			}
			logic_timer
			{
				"targetname"       "stickytank_timer"
				"spawnflags"       "0"
				"UpperRandomBound" "10"
				"LowerRandomBound" "8"
				"UseRandomTime"    "1"

				"OnTimer" "stickytank_shooter_relay,Trigger,,0,-1"
			}
			prop_dynamic
			{
				"targetname"    "stickytank_model"
				"model"         "models/props_frontline/tank_turret.mdl"
				"skin"          "2"
				"solid"         "0"
				"spawnflags"    "0"
				"origin"        "46 -66 28"
				"angles"        "65 0 -90"
			}
			prop_dynamic
			{
				"targetname"    "stickytank_model"
				"model"         "models/props_frontline/tank_turret.mdl"
				"skin"          "2"
				"solid"         "0"
				"spawnflags"    "0"
				"origin"        "46 66 28"
				"angles"        "65 0 90"
			}
			
			tf_point_weapon_mimic
			{
				"targetname"   "stickytank_mimic"
				"WeaponType"   "3"
				"ModelScale"   "1"
				"SpeedMax"     "525"
				"SpeedMin"     "525"
				"Crits"        "0"
				"Damage"       "65"
				"SpreadAngle"  "25"
				"SplashRadius" "125"
				"FireSound"    "weapons/stickybomblauncher_shoot_crit.wav"
				"origin"       "99 -57 -88"
				"angles"       "65 359 180"
			}
			tf_point_weapon_mimic
			{
				"targetname"   "stickytank_mimic_crit"
				"WeaponType"   "3"
				"ModelScale"   "1"
				"SpeedMax"     "525"
				"SpeedMin"     "525"
				"Crits"        "1"
				"Damage"       "35"
				"SpreadAngle"  "25"
				"SplashRadius" "125"
				"FireSound"    "weapons/stickybomblauncher_shoot_crit.wav"
				"origin"       "99 -57 -88"
				"angles"       "65 359 180"
			}
			
			tf_point_weapon_mimic
			{
				"targetname"   "stickytank_mimic"
				"WeaponType"   "3"
				"ModelScale"   "1"
				"SpeedMax"     "525"
				"SpeedMin"     "525"
				"Crits"        "0"
				"Damage"       "65"
				"SpreadAngle"  "25"
				"SplashRadius" "125"
				"FireSound"    "weapons/stickybomblauncher_shoot_crit.wav"
				"origin"       "99 57 -88"
				"angles"       "64 359 0"
			}

			tf_point_weapon_mimic
			{
				"targetname"   "stickytank_mimic_crit"
				"WeaponType"   "3"
				"ModelScale"   "1"
				"SpeedMax"     "525"
				"SpeedMin"     "525"
				"Crits"        "1"
				"Damage"       "35"
				"SpreadAngle"  "25"
				"SplashRadius" "125"
				"FireSound"    "weapons/stickybomblauncher_shoot_crit.wav"
				"origin"       "99 57 -88"
				"angles"       "64 359 0"
			}
			
			ambient_generic
			{
				"targetname" "stickytank_shoot_sound"			
				"health"     "10"
				"message"    "weapons/stickybomblauncher_shoot.wav"
				"pitch"      "100"
				"pitchstart" "100"
				"radius"     "5000"
				"spawnflags" "48"
				"origin"     "64 0 224"
			}
			ambient_generic
			{
				"targetname" "stickytank_shoot_sound_crit"			
				"health"     "10"
				"message"    "weapons/stickybomblauncher_shoot_crit.wav"
				"pitch"      "100"
				"pitchstart" "100"
				"radius"     "5000"
				"spawnflags" "48"
				"origin"     "64 0 224"
			}
			
		}
		givename
		{
			OnSpawnOutput
		 	{
				Target "!activator"
				Action AddOutput
				Param  "targetname driller"
				Delay 0.00
		  	}
		}
		DrillTank
		{
			logic_relay
			{
				"onspawn" "!parent,addoutput,onuser4 @c@!self:fireuser1::0:-1,0,-1"
			}
			prop_dynamic
			{
				"targetname" "tank_drill"
				//"rendercolor" "125 125 255"
				"model" "models/bots/boss_bot/tank_drill.mdl"
				"defaultanim" "drill_spin"
				"skin" "1"
				"onuser1" "!self,setanimation,drill_deploy,0,-1"
				"onuser1" "!self,setdefaultanimation,drill_deploy_idle,0.1,-1"
			}
			trigger_brush
			{
				"targetname" "drill_trap"
				"origin" "182 0 86"
				"mins" "0 -25 -50"
				"maxs" "50 25 30"
				"onuser1" "!self,disable,,0,-1"
			}
			trigger_multiple
			{
				"targetname" "drill_hurt"
				"origin" "182 0 86"
				"mins" "-50 -40 -50"
				"maxs" "50 40 50"
				"spawnflags" "1"
				"ontrigger" "driller,SetSpeed,25,0,-1"
				"ontrigger" "!activator,bleedplayer,1,0,-1"
				"ontrigger" "!activator,$takedamage,25,0,-1"
				"ontrigger" "!activator,$takedamage,25,0.25,-1"
				"ontrigger" "!activator,$takedamage,25,0.50,-1"
				"ontrigger" "!activator,$takedamage,25,0.75,-1"
				"ontrigger" "drill,Pitch,100,0,-1"
				"ontrigger" "drill2,Pitch,100,0.25,-1"
				"ontrigger" "drill3,Pitch,100,0.50,-1"
				"ontrigger" "drill4,Pitch,100,0.75,-1"
				"onendtouch" "driller,SetSpeed,75,0,-1"
				"wait" "0.1"
				"onuser1" "!self,disable,,0,-1"
			}
			ambient_generic
			{
				"targetname" "drill"
				"message" "ambient\grinder\grinderbot_01.wav"
				"health" "10"
				"pitch" "100"
				"pitchstart" "100"
				"radius" "5000"
				"spawnflags" "17"
				"sourceentityname" "!parent"
				"onuser1" "!self,stopsound,,0,-1"
			}
			ambient_generic
			{
				"targetname" "drill2"
				"message" "ambient\grinder\grinderbot_02.wav"
				"health" "10"
				"pitch" "100"
				"pitchstart" "100"
				"radius" "5000"
				"spawnflags" "17"
				"sourceentityname" "!parent"
				"onuser1" "!self,stopsound,,0,-1"
			}
			ambient_generic
			{
				"targetname" "drill3"
				"message" "ambient\grinder\grinderbot_03.wav"
				"health" "10"
				"pitch" "100"
				"pitchstart" "100"
				"radius" "5000"
				"spawnflags" "17"
				"sourceentityname" "!parent"
				"onuser1" "!self,stopsound,,0,-1"
			}
			ambient_generic
			{
				"targetname" "drill4"
				"message" "mvm\physics\robo_impact_hard_05.wav"
				"health" "10"
				"pitch" "100"
				"pitchstart" "100"
				"radius" "5000"
				"spawnflags" "17"
				"sourceentityname" "!parent"
				"onuser1" "!self,stopsound,,0,-1"
			}
			ambient_generic
			{
				"targetname" "drill_sound"
				"message" "ambient/sawblade.wav"
				"health" "10"
				"pitch" "60"
				"pitchstart" "60"
				"radius" "5000"
				"sourceentityname" "!parent"
				"onuser1" "!self,stopsound,,0,-1"
			}
			ambient_generic
			{
				"targetname" "drill_sound"
				"message" "ambient/sawblade.wav"
				"health" "10"
				"pitch" "60"
				"pitchstart" "60"
				"radius" "5000"
				"sourceentityname" "!parent"
				"onuser1" "!self,stopsound,,0,-1"
			}
		}
        }
	SpawnTemplate MissionName
        SpawnTemplate "VacTankFilters"
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	1
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper
		}
	}
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	3
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	2
		RunForThisManyWaves	2
		InitialCooldown	45
		CooldownTime	45
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Spy
		}
        }
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	2
		RunForThisManyWaves	1
		InitialCooldown	45
		CooldownTime	45
		DesiredCount	5
		TFBot
		{
			Template	T_TFBot_Spy
		}
        }
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	3
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Sniper
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	3
		RunForThisManyWaves	1
		InitialCooldown	45
		CooldownTime	45
		DesiredCount	2
		TFBot
		{
			Template	T_TFBot_Spy
		}
        }
	Mission
	{
		Objective	Sniper
		Where	spawnbot_mission_sniper
		BeginAtWave	6
		RunForThisManyWaves	1
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	3
		TFBot
		{
			ClassIcon	sniper_headshot_deadly
			Name	"Death Ray Sniper"
			Class	Sniper
			Skill	Expert
			Attributes	"AlwaysCrit"
			ItemAttributes
			{
				ItemName	"Shooting Star"
				"damage bonus"	2.0
				"sniper charge per sec"     10.0
				"explosive sniper shot"	5.0
			}
			Item	"the crosslinker's coil"
			Item	"the doublecross-comm"
			Item	"Shooting Star"
			CharacterAttributes
			{
				"cancel falling damage"	1
			}
		}
	}
	Mission
	{
		Objective	Spy
		Where	spawnbot_mission_spy
		BeginAtWave	5
		RunForThisManyWaves	2
		InitialCooldown	45
		CooldownTime	45
		DesiredCount	3
		TFBot
		{
			ClassIcon	spy_hyper
			Name	"Hyper Spy"
			Class	Spy
			Skill	Expert
			Attributes	"AlwaysCrit"
			ItemAttributes
			{
				ItemName	"the ambassador"
				"damage bonus"	2.0
				"fire rate bonus"	0.5
				"faster reload rate"	-0.8
			}
			ItemAttributes
			{
				ItemName	"the black rose"
				"damage bonus"	2.0
				"fire rate bonus"	0.6
			}
			CharacterAttributes
			{
			    "move speed bonus"	2.0
				"sapper damage bonus"	2.0
				"sapper health bonus"	2.0
			}
			Item	"the ambassador"
			Item	"the black rose"
			Item	"the stealth steeler"
			Item	"bowtie"
		}
        }
	Mission
	{
		Objective	DestroySentries
		Where	spawnbot
		BeginAtWave	1
		RunForThisManyWaves	6
		InitialCooldown	30
		CooldownTime	30
		DesiredCount	1
		TFBot
		{
			Template	T_TFBot_SentryBuster
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		InitWaveOutput
        {
            Target wave_start_relay
            Action RunScriptCode
            Param "
				IncludeScript(`tankhealthbars`)
			"
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w1a1
			TotalCurrency	100
			TotalCount	3
			MaxActive	3
			SpawnCount	1
			Where	spawnbot_secondary
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			TFBot
			{
				Name	"Giant Crit Soldier"
				Class Soldier
				ClassIcon soldier_bigcrit
				Skill Expert
				Health 3800
				WeaponRestrictions PrimaryOnly
				Attributes HoldFireUntilFullReload
				Attributes MiniBoss
				Attributes	"AlwaysCrit"
				Item	"tyrant's helm"
				ItemAttributes 
                		{
                    			ItemName "TF_WEAPON_ROCKETLAUNCHER"
                    			"damage bonus"    2.0
                    			"faster reload rate" -0.8
                    			"fire rate bonus" 0.6
                		}
				CharacterAttributes
				{
					"move speed bonus"	0.5
					"damage force reduction" 0.4
					"airblast vulnerability multiplier" 0.4
					"override footstep sound set" 3
				}
			}
		}
		WaveSpawn
		{
			Name	w1a
			TotalCurrency	50
			TotalCount	20
			MaxActive	10
			SpawnCount	5
			Where	spawnbot_secondary
			WaitBeforeStarting	6
			WaitBetweenSpawns	4.25
			TFBot
			{
				Class	Pyro
				Skill	Expert
				Attributes	"AlwaysCrit"
			}
		}
		WaveSpawn
		{
			Name	w1a
			TotalCurrency	100
			TotalCount	6
			MaxActive	3
			SpawnCount	1
			Where	spawnbot_titan
			WaitBeforeStarting	10
			WaitBetweenSpawns	4.5
			TFBot
			{
                        ClassIcon soldier_blackbox_armored_seel
                                Name "Armored Black Box Soldier"
				Health	600
				Scale	1.35
				Skill	Hard
				Template	T_TFBot_Soldier_RocketShotgun
				AddCond   
				{ 
					Index	51
					Duration	3
				}
			}
		}
		WaveSpawn
		{
			Name	ww1aa
			WaitForAllSpawned	w1a1
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			FirstSpawnOutput                                                                                                                                                            
			{
				 Target boss_spawn_relay                                            
				 Action Trigger                         
			}
			
			Tank
			{
				Health	25000
				Name	Tank
				Speed	75
				StartingPathTrackNode tank_path_a_1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	w1b
			WaitForAllSpawned	w1a
			TotalCurrency	100
			TotalCount	8
			MaxActive	8
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			TFBot
			{
				Name "Super League Scout"
				Class Scout
				Skill Expert
				Health 1600
				ClassIcon scout_fastball_giant
				WeaponRestrictions MeleeOnly
				Item "Bonk Boy"
				Item "Batter's Helmet"
				Item "MNC Mascot Outfit"
				Item "The Sandman"
				Attributes MiniBoss
				ItemAttributes
				{
					ItemName "The Sandman"
					"effect bar recharge rate increased" 0.1
				}
				CharacterAttributes
				{
					"airblast vulnerability multiplier" 0.7
					"damage force reduction" 0.7
					"move speed bonus" 2.0
					"override footstep sound set" 5
				}
			}
		}
		WaveSpawn
		{
			Name	w1b
			WaitForAllSpawned	ww1aa
			TotalCurrency	50
			TotalCount	24
			MaxActive	12
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	3.5
			Squad
			{
				TFBot
				{
					ClassIcon demo_loosecannon
					Name	"Loose Cannon Demoman"
					Class Demoman
                       		        Skill Normal
					Item	"the loose cannon"
					Attributes	"AlwaysCrit"
                        		ItemAttributes
					{
						ItemName "The Loose Cannon"
						"reload time decreased" 0.8
						"grenade launcher mortar mode" 0
					}
				}
				TFBot
				{
					Name	"Quick Uber Medic"
					Template	T_TFBot_Medic_QuickUber
				}
			}
		}
		WaveSpawn
		{
			Name	w1d
			WaitForAllSpawned	w1b
			TotalCurrency	50
			TotalCount	15
			MaxActive	15
			SpawnCount	5
			Where	spawnbot
			WaitBeforeStarting	15
			WaitBetweenSpawns	20
			Squad
			{
				TFBot
				{
					Template	T_TFBot_Giant_Heavyweapons_Shotgun
				}
				TFBot
				{
					Template	T_TFBot_Scout_FAN
				}
				TFBot
				{
					Template	T_TFBot_Scout_FAN
				}
				TFBot
				{
					Template        T_TFBot_Scout_FAN
				}
				TFBot
				{
					Template	T_TFBot_Scout_FAN
				}
			}
		}
		WaveSpawn
		{
			Name	w1d
			WaitForAllSpawned	w1b
			TotalCurrency	50
			TotalCount	24
			MaxActive	8
			SpawnCount	1
			Where	spawnbot_secondary
			WaitBeforeStarting	10
			WaitBetweenSpawns	1.5
			TFBot
			{
				Class	Pyro
				Skill	Expert
				Attributes	"AlwaysCrit"
				Attributes	"AlwaysFireWeapon"
			}
		}
		WaveSpawn
		{
			Name	w1e
			WaitForAllSpawned	w1d
			TotalCurrency	50
			TotalCount	50
			MaxActive	8
			SpawnCount	4
			Where	spawnbot_main
			WaitBeforeStarting	15
			WaitBetweenSpawns	10
			Support Limited
			TFBot
			{
				Class	Demoman
				Skill Normal
				Attributes	"AlwaysCrit"
			}
		}
		WaveSpawn
		{
			Name	w1e
			WaitForAllSpawned	w1d
			TotalCurrency	100
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			Squad
			{
				TFBot
				{
				ClassIcon	pyro_ricochet_nys
					Health	3300
					Name	"Giant Richochet Pyro"
					Class	Pyro
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					Attributes	"AlwaysFireWeapon"
					Attributes	"MiniBoss"
					Attributes AlwaysCrit
					Item "The Last Breath"
					Item "The Smoking Skid Lid"
					Item "The Lunatic's Leathers"
					ItemAttributes
					{
						ItemName	"tf_weapon_flamethrower"
						"flame_drag" 6
						"max_flame_reflection_count" 1000
						"flame_reflect_on_collision" 1000
						"flame_spread_degree" 5
						"flame_up_speed" -25
						"lunchbox adds minicrits" 2
					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"airblast vulnerability multiplier"	0.1
						"override footstep sound set"	4
						"rage giving scale"	0.5
						"airblast vertical vulnerability multiplier"	0.1
					}
				}
				TFBot
				{
				ClassIcon medic_pop
					Template	T_TFBot_Giant_Medic
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w2a
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	5
			WaitBetweenSpawns	23
			Squad
			{
				TFBot
				{
					ClassIcon	pyro_fury_freeze_giant
					Health	3300
					Name	"Giant Freezer Fury Pyro"
					MaxVisionRange 900
					Class	Pyro
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					Attributes	"MiniBoss"
					Item	"Pyromancer's Mask"
					Item	"The Dragon's Fury"
					ItemAttributes
					{
						ItemName	"The Dragon's Fury"
						"slow enemy on hit"	5
						"attach particle effect"	703
					}
					ItemAttributes
					{
						ItemName	"pyromancer's mask"
						"set item tint RGB"	8626083
					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"override footstep sound set"	6
						"damage force reduction"	0.6
						"airblast vulnerability multiplier"	0.25
						"airblast vertical vulnerability multiplier"	0.5
					}
				}
				TFBot
				{
                                        Name "Quick Uber Medic"
					Template	T_TFBot_Medic_QuickUber
					AddCond   
					{ 
						Index	51
						Duration	3
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w2a
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			Where	spawnbot_titan
			WaitBeforeStarting	6
			WaitBetweenSpawns	23
			Squad
			{
				TFBot
				{
					ClassIcon	pyro_fury_freeze_giant
					Health	3300
					Name	"Giant Freezer Fury Pyro"
					MaxVisionRange 900
					Class	Pyro
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					Attributes	"MiniBoss"
					Item	"Pyromancer's Mask"
					Item	"The Dragon's Fury"
					ItemAttributes
					{
						ItemName	"The Dragon's Fury"
						"slow enemy on hit"	5
						"attach particle effect"	703
					}
					ItemAttributes
					{
						ItemName	"pyromancer's mask"
						"set item tint RGB"	8626083
					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"override footstep sound set"	6
						"damage force reduction"	0.6
						"airblast vulnerability multiplier"	0.25
						"airblast vertical vulnerability multiplier"	0.5
					}
					AddCond   
					{ 
						Index	51
						Duration	3
					}
				}
				TFBot
				{
                                        Name "Quick Uber Medic"
					Template	T_TFBot_Medic_QuickUber
					AddCond   
					{ 
						Index	51
						Duration	3
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w2a
			TotalCurrency	100
			TotalCount	23
			MaxActive	12
			SpawnCount	4
			Where	spawnbot_secondary
			WaitBeforeStarting	0
			WaitBetweenSpawns	4.5
			TFBot
			{
				Name	Heavy
				Class	HeavyWeapons
				Skill	Hard
			}
		}
		WaveSpawn
		{
			Name	w2b
			WaitForAllSpawned	w2a
			TotalCurrency	100
			TotalCount	6
			MaxActive	6
			SpawnCount	2
			Where	spawnbot_secondary
			WaitBeforeStarting	10
			WaitBetweenSpawns	13
                        Squad
                        {
				TFBot
				{
					Class Sniper
            				ClassIcon sniper_alwaysfire
					Name "Giant Hipfire Sniper"
					Item	"master's yellow belt"
					Item	"summer shades"
					Item "powerhouse_sniperrifle_thunderbolt"
					Skill Expert
					Health 3600
					WeaponRestrictions PrimaryOnly
					Attributes MiniBoss
					Attributes AlwaysFireWeapon
					ItemAttributes
					{
						ItemName "powerhouse_sniperrifle_thunderbolt"
						"set_item_texture_wear" 0.2
						"faster reload rate" 1.15
               					"damage bonus" 2
					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"damage force reduction" 0.5
						"airblast vulnerability multiplier" 0.5
						"override footstep sound set" 7
						"head scale" 0.7
					}
				}
				TFBot
				{
                                ClassIcon medic_shield_uber_lite
                              		Name   "Shield Uber Medic"
					Template	T_TFBot_Medic
                              		Attributes 	"ProjectileShield"
				}
			}
		}
		WaveSpawn
		{
			Name	w2b
			WaitForAllSpawned	w2a
			TotalCurrency	50
			TotalCount	30
			MaxActive	8
			SpawnCount	4
			Where	spawnbot_titan
			WaitBeforeStarting	8
			WaitBetweenSpawns	3
			TFBot
			{
                        	ClassIcon sniper_bow_penetrator
				Name	"Penetrator Bowman"
				Skill	Expert
				Template	T_TFBot_Sniper_Huntsman
				CharacterAttributes
				{
					"projectile penetration"	1
				}
			}	
		}
		WaveSpawn
		{
			Name	w2b
			WaitForAllSpawned	w2a
			TotalCurrency	50
			TotalCount	20
			MaxActive	8
			SpawnCount	2
			Where	spawnbot_main
			WaitBeforeStarting	10
			WaitBetweenSpawns	2.25
			TFBot
			{
				Class Scout
				Skill Normal
				Attributes AlwaysCrit
			}
		}
		WaveSpawn
		{
			Name	w2c1
			WaitForAllSpawned	w2b
			TotalCurrency	100
			TotalCount	5
			MaxActive	3
			SpawnCount	1
			Where	spawnbot_secondary
			WaitBeforeStarting	8
			WaitBetweenSpawns	10
			TFBot
			{
			ClassIcon heavy_heal
				Name	"Giant Heal-on-kill Heavy"
				Template	T_TFBot_Giant_Heavyweapons
				Item	"tough guy's toque"
				CharacterAttributes
				{
					"heal on kill"	5000
				}
			}
		}
		WaveSpawn
		{
			Name	w2c
			WaitForAllSpawned	w2b
			TotalCurrency	50
			TotalCount	42
			MaxActive	12
			SpawnCount	4
			Where	spawnbot_titan
			Where	spawnbot_main
			WaitBeforeStarting	10
			WaitBetweenSpawns	4
			TFBot
			{
			ClassIcon soldier_bison
				WeaponRestrictions	SecondaryOnly
				Health	200
				Skill	Expert
				Name	"Bison Soldier"
				Class	Soldier
				Item "The Righteous Bison"
				Attributes	"AlwaysCrit"
				WeaponRestrictions SecondaryOnly
			}
		}
		WaveSpawn
		{
			Name	w2d
			WaitForAllSpawned	w2c1
			TotalCurrency	100
			TotalCount	16
			MaxActive	12
			SpawnCount	4
			Where	spawnbot_titan
			WaitBeforeStarting	15
			WaitBetweenSpawns	20
			TFBot
                        {
				Template	T_TFBot_Giant_DemoMan_PrinceTavish
				AddCond   
				{ 
					Index	51
					Duration	4
				}
			}
		}
		WaveSpawn
		{
			Name	w2d
			WaitForAllSpawned	w2c
			TotalCurrency	50
			TotalCount	29
			MaxActive	9
			SpawnCount	3
			Where	spawnbot
			Where	spawnbot_secondary
			WaitBeforeStarting	10
			WaitBetweenSpawns	3.5
			TFBot
			{
				Class	Scout
				Skill	Normal
				Attributes	"AlwaysCrit"
			}
		}
		WaveSpawn
		{
			Name	w2e
			WaitForAllSpawned	w2d
			TotalCurrency	100
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			Where	spawnbot_main
			WaitBeforeStarting	15
			WaitBetweenSpawns	15
			TFBot
			{
                                ClassIcon soldier_burstfire_hyper_lite
				Class Soldier
				Name "Giga Burst Fire Soldier"
				Health 4200
				Skill Expert
				WeaponRestrictions PrimaryOnly
				Attributes MiniBoss
				Attributes HoldFireUntilFullReload
				ItemAttributes
				{
					ItemName "TF_WEAPON_ROCKETLAUNCHER"
					"damage bonus" 2.0
					"faster reload rate" 0.4
					"fire rate bonus" 0.2
					"clip size upgrade atomic" 5.0
				}
				CharacterAttributes
				{
					"move speed bonus"	0.5
					"damage force reduction" 0.4
					"airblast vulnerability multiplier" 0.4
					"override footstep sound set" 3
					"Projectile speed increased" 0.9
				}
			}
		}
		WaveSpawn
		{
			Name	w2e
			WaitForAllSpawned	w2d
			TotalCurrency	150
			TotalCount	50
			MaxActive	8
			SpawnCount	2
			Where	spawnbot_secondary
			WaitBeforeStarting	15
			WaitBetweenSpawns	2
			Support	Limited
			TFBot
			{
			ClassIcon soldier_directhit_lite
				Health	200
				Name	"Direct Hit Soldier"
				Class	Soldier
				Skill	Hard
				Attributes	"AlwaysCrit"
				Item	"the direct hit"
				Item	"worms gear"
			}
		}
		WaveSpawn
		{
			Name	w2e
			WaitForAllSpawned	w2d
			TotalCurrency	150
			TotalCount	50
			MaxActive	6
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	20
			WaitBetweenSpawns	5
                        Support Limited
			TFBot
			{
				Template	T_TFBot_Demoman_Samurai
				CharacterAttributes
				{
				        "cannot pick up intelligence" 1
				}
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w5a1
			TotalCurrency	50
			TotalCount	30
			MaxActive	20
			SpawnCount	5
			Where	spawnbot_main
			WaitBeforeStarting	0
			WaitBetweenSpawns	4
			Support	Limited
			Squad
			{
				TFBot
				{
                                ClassIcon soldier_bigcrit
					Health	200
					Name	"Crit Soldier"
					Class	Soldier
					Skill	Hard
					Attributes	"AlwaysCrit"
					ItemAttributes 
                			{
                    				ItemName "TF_WEAPON_ROCKETLAUNCHER"
                    				"damage bonus"    2.0
                    				"faster reload rate" -0.8
                    				"fire rate bonus" 0.6
                			}
				}
				TFBot
				{
                                ClassIcon demo_bigcrit
					Name	"Crit Demoman"
					Skill	Hard
					Class Demoman
					Attributes	"AlwaysCrit"
					ItemAttributes 
                			{
                    				ItemName "TF_WEAPON_GRENADELAUNCHER"
                    				"damage bonus"    2.0
                    				"faster reload rate" -0.8
                    				"fire rate bonus" 0.6
                			}
				}
			}
		}
		WaveSpawn
		{
			Name	w5a
			WaitForAllSpawned	w5a1
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			Where	spawnbot_secondary
			WaitBeforeStarting	0
			WaitBetweenSpawns	25
			TFBot
			{
				Class Heavyweapons
				Name "Giant Battalion Heavy"
				ClassIcon heavy_backup_lite_giant
				Skill Expert
				Health 5000
				WeaponRestrictions PrimaryOnly
				MaxVisionRange 1200
				Attributes MiniBoss
				Attributes SpawnWithFullCharge
				ItemAttributes
				{
					ItemName "TF_WEAPON_MINIGUN"
					"damage bonus"	1.5
				}
				CharacterAttributes
				{
					"move speed bonus"	0.5
					"damage force reduction" 0.3
					"airblast vulnerability multiplier" 0.3
					"override footstep sound set" 2
					"increase buff duration" 9
					"deploy time increased" 0.5
				}
				Item "The Battalion's Backup"
			}
		}
		WaveSpawn
		{
			Name	w5a
			WaitForAllSpawned	w5a1
			TotalCurrency	50
			TotalCount	6
			MaxActive	6
			SpawnCount	2
			Where	spawnbot_main
			WaitBeforeStarting	15
			WaitBetweenSpawns	16
			TFBot
			{
				Template	T_TFBot_Giant_Soldier_RocketShotgun
			}
		}
		WaveSpawn
		{
			Name	w5a2
			WaitForAllDead	w5a1
			TotalCurrency	50
			TotalCount	27
			MaxActive	9
			SpawnCount	3
			Where	spawnbot_main
			WaitBeforeStarting	0
			WaitBetweenSpawns	2.5
			Support	Limited
			TFBot
			{
                        ClassIcon heavy_accurate_lite
				Health	300
				Name	"Tomislav Heavy"
				Class	HeavyWeapons
				Skill	Expert
				Item	"tomislav"
				Item	"capone's capper"
			}
		}
		WaveSpawn
		{
			Name	w5b
			WaitForAllSpawned	w5a
			TotalCurrency	150
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot_titan
			WaitBeforeStarting	5
			WaitBetweenSpawns	10
			Squad
			{
				TFBot 
            			{
                			Name "Giant Homing Burst Fire"
                			Class Demoman 
                			ClassIcon demo_burst_homing
                			Health 3300
                			Attributes MiniBoss
                			Attributes HoldFireUntilFullReload
                			Skill Expert
               				MaxVisionRange 900
                			WeaponRestrictions PrimaryOnly
                			AddCond   { Name TF_COND_SODAPOPPER_HYPE } 
                                        Item	"point and shoot"
                                        Item "warbird_grenadelauncher_warhawk"
                			ItemAttributes
                			{
                    				ItemName "warbird_grenadelauncher_warhawk"
                                                "set_item_texture_wear"    0.2 
                    				"mod projectile heat seek power" 75
                    				"mod projectile heat aim error" 270
                    				"mod projectile heat aim time" 1.5
						"faster reload rate" 0.65
						"fire rate bonus" 0.1
						"clip size upgrade atomic" 7.0
						"projectile spread angle penalty" 5
						"Projectile speed increased"	0.60
                    				"fuse bonus" 2.2
                    				"blast dmg to self increased" 0
                    				"projectile trail particle" eyeboss_projectile
                			}
				        CharacterAttributes
				        {
					        "move speed bonus"	0.5
					        "damage force reduction" 0.4
					        "airblast vulnerability multiplier" 0.4
					        "override footstep sound set" 4
				        }
					AddCond   
					{ 
						Index	51
						Duration	4
					}
            			}
				TFBot
				{
				ClassIcon medic_pop
					Template	T_TFBot_Giant_Medic
					AddCond   
					{ 
						Index	51
						Duration	4
					}
				}
				TFBot
				{
				ClassIcon medic_pop
					Template	T_TFBot_Giant_Medic
					AddCond   
					{ 
						Index	51
						Duration	4
					}
				}
			}
		}
		WaveSpawn
		{
			Name	w5b12
			WaitForAllSpawned	w5b
			TotalCurrency	50
			TotalCount	6
			MaxActive	4
			SpawnCount	2
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			TFBot
			{
                               	ClassIcon	scout_fan_push_giant
			       	Health	1600
			       	Name	"Giant Fan Pusher Scout"
			       	Class	Scout
			       	Skill	Expert
			       	MaxVisionRange	1200
			       	Attributes	"MiniBoss"
			       	Attributes	"HoldFireUntilFullReload"
			       	ItemAttributes
			       	{
				       	ItemName	"the force-a-nature"
				       	"bullets per shot bonus"	5
				       	"fire rate bonus"	0.5
				       	"scattergun knockback mult"	10
				       	"weapon spread bonus"	0.4
					"faster reload rate"	0.75
				}
				CharacterAttributes
				{
					"move speed bonus"	2.0
					"damage force reduction"	0.7
					"airblast vulnerability multiplier"	0.7
					"override footstep sound set"	5
				}
				Item	"the force-a-nature"
				Item	"the bolt boy"

			}
		}
		WaveSpawn //HYPER BOT!
		{
			Name	w5a3
			WaitForAllSpawned	w5a2
			TotalCurrency	50
			TotalCount	20
			MaxActive	6
			SpawnCount	3
			Where	spawnbot_secondary
			WaitBeforeStarting	10
			WaitBetweenSpawns	2.5
			Support	Limited
			TFBot
			{
				Template	T_TFBot_Demo_Burst
				Attributes	"AlwaysCrit"
			}
		}
		WaveSpawn
		{
			Name	w5c
			WaitForAllDead	w5b
			TotalCurrency	100
			TotalCount	9
			MaxActive	6
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	13
			TFBot
			{
				Template	T_TFBot_Giant_Soldier_Spammer
				Attributes	"AlwaysCrit"
			}
		}
		WaveSpawn
		{
			Name	w5a4
			WaitForAllSpawned	w5a3
			TotalCurrency	50
			TotalCount	20
			MaxActive	12
			SpawnCount	2
			Where	spawnbot_secondary
			WaitBeforeStarting	10
			WaitBetweenSpawns	1.5
			Support	Limited
			Squad
			{
				TFBot
				{
					Class Engineer
					Name "Pomson Engineer"
					ClassIcon engineer_pomson
					Skill Expert
					Action FetchFlag  
					Health 150
					Item	"the pomson 6000"
					Attributes AlwaysCrit
				}
				TFBot
				{
                                        Name "Quick Uber Medic"
					Template	T_TFBot_Medic_QuickUber
				}
			}
		}
		WaveSpawn
		{
			Name	w5d
			WaitForAllSpawned	w5c
			TotalCurrency	50
			TotalCount	3
			MaxActive	3
			SpawnCount	1
			Where	spawnbot_main
			WaitBeforeStarting	12
			WaitBetweenSpawns	17
			TFBot
			{
				Template	T_TFBot_Giant_Heavyweapons_Shotgun
			}
		}
		WaveSpawn
		{
			Name	w5d
			WaitForAllSpawned	w5c
			TotalCurrency	50
			TotalCount	6
			MaxActive	6
			SpawnCount	2
			Where	spawnbot_secondary
			WaitBeforeStarting	15
			WaitBetweenSpawns	15
			TFBot
			{
				ClassIcon	demo_targe_nys_giant
				Health	3300
				Name	"Giant Charger Demo"
				Class	Demoman
				Skill	Expert
				Attributes	"HoldFireUntilFullReload"
				Attributes	"MiniBoss"
				Attributes AirChargeOnly
				Attributes AutoJump
				AutoJumpMin 20
				AutoJumpMax 20
				ItemAttributes
				{
					ItemName	tf_weapon_grenadelauncher
					"faster reload rate"	-0.4
					"fire rate bonus"	0.75
				}
				ItemAttributes
				{
					ItemName	"the chargin' targe"
					"Attack not cancel charge" 1
					"charge impact damage increased" 5
				}
				CharacterAttributes
				{
					"charge time increased" 5
					"charge recharge rate increased" 7
					"increased jump height" 1.3
					"bot custom jump particle"	1
					"move speed bonus"	0.5
					"damage force reduction" 0.5
					"airblast vulnerability multiplier" 0.5
					"override footstep sound set" 4
					"cancel falling damage" 1
				}
				Item	"the chargin' targe"
			}
		}
		WaveSpawn
		{
			Name	w5a5
			WaitForAllSpawned	w5a4
			TotalCurrency	50
			TotalCount	30
			MaxActive	9
			SpawnCount	3
			Where	spawnbot_secondary
			WaitBeforeStarting	8
			WaitBetweenSpawns	2.5
			Support	Limited
			TFBot
			{
				Template	T_TFBot_Soldier_Extended_Buff_Banner
			}
		}
		WaveSpawn
		{
			Name	w5e
			WaitForAllSpawned	w5d
			TotalCurrency	50
			TotalCount	4
			MaxActive	4
			SpawnCount	2
			Where	spawnbot_titan
			WaitBeforeStarting	10
			WaitBetweenSpawns	20
                        Squad
                        {
				TFBot
				{
					ClassIcon	pyro_hyper_giant
					Health	4200
					Name	"Giga Pyro"
					Class	Pyro
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					Attributes	"AlwaysCrit"
					Attributes	"MiniBoss"
					ItemAttributes
					{
						ItemName	"blood botkiller flame thrower mk.i"
						"damage bonus"	3.0
						"airblast pushback scale"	5
					}
					CharacterAttributes
					{
						"move speed bonus"	0.75
						"damage force reduction"	0.6
						"airblast vulnerability multiplier"	0.6
						"override footstep sound set"	6
						"cancel falling damage"	1
					}
					Item	"blood botkiller flame thrower mk.i"
					Item	"the flamboyant flamenco"
					AddCond   
					{ 
						Index	51
						Duration	4
					}
                        	}
				TFBot
				{
					ClassIcon	soldier_rocketrain_hyper_giant
					Health	4200
					Name	"Giga Scatter Soldier"
					Class	Soldier
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					Attributes	"HoldFireUntilFullReload"
					Attributes	"MiniBoss"
					ItemAttributes
					{
						ItemName	"blood botkiller rocket launcher mk.i"
						"faster reload rate"	0.4
						"fire rate bonus"	0.001
						"clip size upgrade atomic"	12.0
						"projectile spread angle penalty"	3
						"damage bonus"	2.0
					}
					CharacterAttributes
					{
						"damage force reduction"	0.4
						"airblast vulnerability multiplier"	0.4
						"override footstep sound set"	3
						"move speed bonus"	0.5
					}
					Item	"blood botkiller rocket launcher mk.i"
					Item	"the cross-comm crash helmet"
					AddCond   
					{ 
						Index	51
						Duration	4
					}
                        	}
			}
		}
		WaveSpawn
		{
			Name	w5a6
			WaitForAllSpawned	w5a5
			TotalCurrency	50
			TotalCount	50
			MaxActive	15
			SpawnCount	3
			Where	spawnbot_main
			WaitBeforeStarting	10
			WaitBetweenSpawns	2
			Support	1
			TFBot
			{
                       		ClassIcon	scout_fast
				Name	"Fast Scout"
				Class	Scout
				Skill	Expert
				WeaponRestrictions	PrimaryOnly
				CharacterAttributes
				{
					"move speed bonus"	2.0
				}
				Item	"the holy mackerel"
				Item	"bonk boy"
			}
		}
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		InitWaveOutput
        {
            Target wave_start_relay
            Action RunScriptCode
            Param "
				IncludeScript(`tankhealthbars`)
			"
		}
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	Tank1
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
                        Where spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			FirstSpawnOutput 
			{
				Target boss_spawn_relay                       
				Action Trigger                         
			}
			Tank
			{
				Health 30000					
				Speed 75			
				Name "tankdrill"
				Classicon tank_drill_lite
				SpawnTemplate givename
				SpawnTemplate DrillTank			
				StartingPathTrackNode "tank_path_a_1"
				OnKilledOutput                              
				{
					Target boss_dead_relay					
					Action Trigger                
				}
				OnBombDroppedOutput                       
				{
					Target boss_deploy_relay 	
					Action Trigger                  
				}
			}
		}
		WaveSpawn
		{
			Name	Tank2
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			FirstSpawnOutput
                        {
                                Target  boss_spawn_relay
                        	Action  Trigger 
                        }
			Tank
            		{
                		Health    33000
                		Name    "tankboss"
                		Speed    70
                		DisableSmokestack 1  
                		Classicon blimp2_lite
                		Skin 2
                		MaxTurnRate 10  
                		Model "models/bots/boss_blimp/boss_blimp.mdl" ReplaceModelCollisions 1  
                		Gravity 0  
                		DisableTracks 1  
                		DisableChildModels 1  
                		ReplaceModelCollisions 1  
                		EngineLoopSound "npc\combine_gunship\dropship_engine_distant_loop1.wav"
                		PingSound "ambient/alarms/warningbell1.wav"
                		StartingPathTrackNode "blimp_path_1"
                		OnKilledOutput
                		{
                    			Target    boss_dead_relay
                    			Action    Trigger
                		}
                		OnBombDroppedOutput
                		{
                    			Target    boss_deploy_relay
                    			Action    Trigger
            			}
			}
		}
		WaveSpawn
		{
			Name	Tank3
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	20
			WaitBetweenSpawns	10
			FirstSpawnOutput                                                                                                                                                            
			{
				Target boss_spawn_relay                                            
				Action Trigger                         
			}
			Tank
			{
				Health	25000
				Name	Tank
				Speed	75
				StartingPathTrackNode "tank_path_a_1"
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	Tank4
			WaitForAllDead	Tank1
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			FirstSpawnOutput                                                                                                                                                            
			{
				Target boss_spawn_relay                                            
				Action Trigger                         
			}
			FirstSpawnOutput
                        {
                                Target  boss_spawn_relay
                        	Action  Trigger 
                        }
			Tank
            		{
                		Health    20000
                		Name    "tankboss"
                		Speed    70
                		DisableSmokestack 1  
                		Classicon blimp2_lite
                		Skin 2
                		MaxTurnRate 10  
                		Model "models/bots/boss_blimp/boss_blimp.mdl" ReplaceModelCollisions 1  
                		Gravity 0  
                		DisableTracks 1  
                		DisableChildModels 1  
                		ReplaceModelCollisions 1  
                		EngineLoopSound "npc\combine_gunship\dropship_engine_distant_loop1.wav"
                		PingSound "ambient/alarms/warningbell1.wav"
                		StartingPathTrackNode "blimp_path_1"
                		OnKilledOutput
                		{
                    			Target    boss_dead_relay
                    			Action    Trigger
                		}
                		OnBombDroppedOutput
                		{
                    			Target    boss_deploy_relay
                    			Action    Trigger
            			}
			}
		}
		WaveSpawn
		{
			Name	Tank5
			WaitForAllDead	Tank2
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			FirstSpawnOutput                                                                                                                                                            
			{
				Target boss_spawn_relay                                            
				Action Trigger                         
			}
			Tank
			{
				Health	30000
				Name	Tank
				Speed	75
				StartingPathTrackNode "tank_path_a_1"
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	Tank6
			WaitForAllDead	Tank3
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			FirstSpawnOutput
                        {
                                Target  boss_spawn_relay
                        	Action  Trigger 
                        }
			Tank
            		{
                		Health    20000
                		Name    "tankboss"
                		Speed    70
                		DisableSmokestack 1  
                		Classicon blimp2_lite
                		Skin 2
                		MaxTurnRate 10  
                		Model "models/bots/boss_blimp/boss_blimp.mdl" ReplaceModelCollisions 1  
                		Gravity 0  
                		DisableTracks 1  
                		DisableChildModels 1  
                		ReplaceModelCollisions 1  
                		EngineLoopSound "npc\combine_gunship\dropship_engine_distant_loop1.wav"
                		PingSound "ambient/alarms/warningbell1.wav"
                		StartingPathTrackNode "blimp_path_1"
                		OnKilledOutput
                		{
                    			Target    boss_dead_relay
                    			Action    Trigger
                		}
                		OnBombDroppedOutput
                		{
                    			Target    boss_deploy_relay
                    			Action    Trigger
            			}
			}
		}
		WaveSpawn
		{
			Name	Tank7
			WaitForAllDead	Tank4
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			FirstSpawnOutput                                                                                                                                                            
			{
				Target boss_spawn_relay                                            
				Action Trigger                         
			}
			Tank
			{
				Health	35000
				Name	Tank
				Speed	75
				StartingPathTrackNode "tank_path_a_1"
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	Tank8
			WaitForAllDead	Tank5
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			FirstSpawnOutput
                        {
                                Target  boss_spawn_relay
                        	Action  Trigger 
                        }
			Tank
            		{
                		Health    33000
                		Name    "tankboss"
                		Speed    70
                		DisableSmokestack 1  
                		Classicon blimp2_lite
                		Skin 2
                		MaxTurnRate 10  
                		Model "models/bots/boss_blimp/boss_blimp.mdl" ReplaceModelCollisions 1  
                		Gravity 0  
                		DisableTracks 1  
                		DisableChildModels 1  
                		ReplaceModelCollisions 1  
                		EngineLoopSound "npc\combine_gunship\dropship_engine_distant_loop1.wav"
                		PingSound "ambient/alarms/warningbell1.wav"
                		StartingPathTrackNode "blimp_path_1"
                		OnKilledOutput
                		{
                    			Target    boss_dead_relay
                    			Action    Trigger
                		}
                		OnBombDroppedOutput
                		{
                    			Target    boss_deploy_relay
                    			Action    Trigger
            			}
			}
		}
		WaveSpawn
		{
			Name	Tank9
			WaitForAllDead	Tank6
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			FirstSpawnOutput                                                                                                                                                            
			{
				Target boss_spawn_relay                                            
				Action Trigger                         
			}
			Tank
			{
				Health	35000
				Name	Tank
				Speed	75
				StartingPathTrackNode "tank_path_a_1"
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	Tank10
			WaitForAllDead	Tank7
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			FirstSpawnOutput
                        {
                                Target  boss_spawn_relay
                        	Action  Trigger 
                        }
			Tank
            		{
                		Health    30000
                		Name    "tankboss"
                		Speed    70
                		DisableSmokestack 1  
                		Classicon blimp2_lite
                		Skin 2
                		MaxTurnRate 10  
                		Model "models/bots/boss_blimp/boss_blimp.mdl" ReplaceModelCollisions 1  
                		Gravity 0  
                		DisableTracks 1  
                		DisableChildModels 1  
                		ReplaceModelCollisions 1  
                		EngineLoopSound "npc\combine_gunship\dropship_engine_distant_loop1.wav"
                		PingSound "ambient/alarms/warningbell1.wav"
                		StartingPathTrackNode "blimp_path_1"
                		OnKilledOutput
                		{
                    			Target    boss_dead_relay
                    			Action    Trigger
                		}
                		OnBombDroppedOutput
                		{
                    			Target    boss_deploy_relay
                    			Action    Trigger
            			}
			}
		}
		WaveSpawn
		{
			Name	Tank11
			WaitForAllDead	Tank8
			TotalCurrency	50
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			FirstSpawnOutput                                                                                                                                                            
			{
				Target boss_spawn_relay                                            
				Action Trigger                         
			}
			Tank
			{
				Health	40000
				Name	Tank
				Speed	75
				StartingPathTrackNode "tank_path_a_1"
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	Tank12
			WaitForAllDead	Tank9
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	10
			FirstSpawnWarningSound    "ambient_mp3/alarms/doomsday_lift_alarm.mp3"
			FirstSpawnOutput
                        {
                                Target  boss_spawn_relay
                        	Action  Trigger 
                        }
			Tank
            		{
                		Health    50000
                		Name    "tankboss"
                		Speed    55
                		DisableSmokestack 1  
                		Classicon blimp2_sticky_lite
                		Skin 4
                		MaxTurnRate 10  
                		Model "models/bots/boss_blimp/boss_blimp.mdl" ReplaceModelCollisions 1  
                		Gravity 0  
                		DisableTracks 1  
                		DisableChildModels 1  
                		ReplaceModelCollisions 1  
                		EngineLoopSound "npc\combine_gunship\dropship_engine_distant_loop1.wav"
                		PingSound "ambient/alarms/warningbell1.wav"
                                SpawnTemplate "StickyBlimp"
                		StartingPathTrackNode "blimp_path_1"
                		OnKilledOutput
                		{
                    			Target    boss_dead_relay
                    			Action    Trigger
                		}
                		OnBombDroppedOutput
                		{
                    			Target    boss_deploy_relay
                    			Action    Trigger
            			}
			}
		}
		WaveSpawn
		{
			Name	w6a
			TotalCurrency	50
			TotalCount	32
			MaxActive	12
			SpawnCount	4
			Where	spawnbot_secondary
			WaitBeforeStarting	10
			WaitBetweenSpawns	3.5
			Support	Limited
			TFBot
			{
                        ClassIcon soldier_directhit_lite
				Health	200
				Name	"Direct Hit Soldier"
				Class	Soldier
				Skill	Hard
				Attributes	"AlwaysCrit"
				Item	"the direct hit"
				CharacterAttributes
				{
					"cancel falling damage"	1
				}
			}
		}
		WaveSpawn
		{
			Name	w6a1
			TotalCurrency	50
			TotalCount	8
			MaxActive	6
			SpawnCount	2
			Where	spawnbot_main
			WaitBeforeStarting	15
			WaitBetweenSpawns	12
			Support	Limited
			Squad
			{
				TFBot
				{
					WeaponRestrictions	SecondaryOnly
					Class Pyro
					Name "Giant Explosive Gas Passer Pyro"
					ClassIcon pyro_gascann_explode
					Skill Expert
					Health 3000
					Attributes MiniBoss
					Tag default
					Item	"tf_weapon_flamethrower"
                                        Item	"The Gas Passer"
			                Item	"brigade helm"
                                        ItemAttributes
			                {
				                ItemName "tf_weapon_flamethrower"
						"airblast disabled" 1
                                        }
                                        ItemAttributes
			                {
				                ItemName "The Gas Passer"
                                                "attach particle effect" 9
				                "dmg penalty vs players" 0.45
				                "explode_on_ignite" 1
				                "item_meter_charge_rate" 4
			                }
                                        CharacterAttributes
			                {
						"cancel falling damage"	1
				                "move speed bonus"	0.5
				                "damage force reduction" 0.6
				                "airblast vulnerability multiplier" 0.6
				                "override footstep sound set" 6
			                }
				}
				TFBot
				{
					ClassIcon 	medic_bullet
			      		Class Medic
			        	Name "Bullet Vacc Medic"
			        	Skill Normal
			        	Health 150
			       		Attributes SpawnWithFullCharge
			        	Attributes VaccinatorBullets
                              		Tag bot_squad_member
			        	ItemAttributes
		            		{
			            		ItemName "the vaccinator"
				        	"medigun charge is resists"		4
				       		"ubercharge rate bonus"			100
				        	//"uber duration bonus"			200
				        	"medigun bullet resist passive"	0.1
				        	"medigun bullet resist deployed"	0.75
			        	}
			        	CharacterAttributes
			        	{
						"cancel falling damage"	1
				        	"heal rate bonus" 10
				        	"bot medic uber health threshold"	9999
			        	}
			        	Item "the vaccinator"
				}
			}
		}
		WaveSpawn
		{
			Name	w6b
			WaitForAllSpawned	w6a
			TotalCurrency	50
			TotalCount	40
			MaxActive	12
			SpawnCount	3
			Where	spawnbot_titan
			WaitBeforeStarting	5
			WaitBetweenSpawns	3
			Support	Limited
			TFBot
			{
				ClassIcon	medic_crossbow_burst_penetration
				Name	"Burst Crossbow Medic"
				Class	Medic
				Skill	Expert
				AimAt Head  
				AimLeadProjectileSpeed 2400
				Action FetchFlag 
				WeaponRestrictions	PrimaryOnly
				ItemAttributes
				{
					ItemName	"the crusader's crossbow"
					"damage bonus"	2.0
					"clip size upgrade atomic"	3.0
					"auto fires full clip"	1
					"auto fires when full"	1
					"fire rate bonus"	0.1
					"faster reload rate"	0.5
					"projectile penetration" 1
				}
				Item	"the crusader's crossbow"
				Item	"the quick-fix"
				Item	"berliner's bucket helm"
				AddCond   
				{ 
					Index	51
					Duration	3
				}
			}
		}
		WaveSpawn
		{
			Name	w6b1
			WaitForAllSpawned	w6a1
			TotalCurrency	50
			TotalCount	4
			MaxActive	3
			SpawnCount	1
			Where	spawnbot_secondary
			WaitBeforeStarting	5
			WaitBetweenSpawns	13
			Support	Limited
			TFBot
			{
				ClassIcon	heavy_deflector_push_giant
				Health	5000
				Name	"Giant Deflector Heavy Pusher"
				Class	HeavyWeapons
				Skill	Expert
				WeaponRestrictions	PrimaryOnly
				Attributes	"MiniBoss"
				Attributes	"AlwaysCrit"
				Item	"warbird_minigun_butcherbird"
				ItemAttributes
				{
					ItemName	"warbird_minigun_butcherbird"
                                        "set_item_texture_wear"    0.2  
					"damage bonus"	1.5
					"attack projectiles"	2
					"fire rate penalty" 4
					"damage causes airblast" 1
				}
				ItemAttributes
				{
					ItemName	"the u-clank-a"
					"set item tint RGB"	15185211
				}
				CharacterAttributes
				{
					"move speed bonus"	0.45
					"damage force reduction" 0.3
					"airblast vulnerability multiplier" 0.1
					"airblast vertical vulnerability multiplier"	0.1
					"override footstep sound set" 2
					"rage giving scale"	0.9
					"cancel falling damage"	1
				}
				Item	"the u-clank-a"
			}
		}
		WaveSpawn
		{
			Name	w6c
			WaitForAllSpawned	w6b
			TotalCurrency	50
			TotalCount	40
			MaxActive	15
			SpawnCount	5
			Where	spawnbot_secondary
			WaitBeforeStarting	10
			WaitBetweenSpawns	3.5
			Support	Limited
			TFBot
			{
                        ClassIcon demoknight_persian_nys
				Skill	Expert
				Template	T_TFBot_Demoman_Knight
				Attributes	"AlwaysCrit"
				Item	"the persian persuader"
				Item	"sultan's ceremonial"
				CharacterAttributes
				{
					"cancel falling damage"	1
				}
			}
		}
		WaveSpawn
		{
			Name	w6c1
			WaitForAllSpawned	w6b1
			TotalCurrency	50
			TotalCount	6
			MaxActive	4
			SpawnCount	2
			Where	spawnbot_main
			WaitBeforeStarting	12
			WaitBetweenSpawns	12
			Support	Limited
			TFBot
			{
				ClassIcon	demo_atomic
				WeaponRestrictions	PrimaryOnly
				Health	3600
				Skill	Expert
				Name	"Giant Nuke Demoman"
				Class	Demoman
				Attributes	"HoldFireUntilFullReload"
				Attributes	"MiniBoss"
				Item "The Loose Cannon"
				ItemAttributes
				{
					ItemName	"The Loose Cannon"
					"grenade launcher mortar mode" 0
					"damage bonus"	3.5
                                        "use large smoke explosion" 1
					"fire rate bonus"	2.5
					"Blast radius increased"	2
				}
				CharacterAttributes
				{
					"cancel falling damage"	1
					"move speed bonus"	0.5
					"damage force reduction" 0.5
					"airblast vulnerability multiplier" 0.5
					"override footstep sound set" 4
                                	"damage force reduction" 0
				}
                	}
		}
		WaveSpawn
		{
			Name	w6d
			WaitForAllSpawned	w6c
			TotalCurrency	50
			TotalCount	20
			MaxActive	7
			SpawnCount	1
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	1.75
			Support	Limited
			TFBot
			{
				Template	T_TFBot_Demoman_Samurai
				Attributes	"AlwaysCrit"
				CharacterAttributes
				{
				        "cannot pick up intelligence" 1
				}
			}
		}
		WaveSpawn
		{
			Name	w6e1
			WaitForAllSpawned	w6d
			TotalCurrency	50
			TotalCount	25
			MaxActive	10
			SpawnCount	5
			Where	spawnbot_titan
			WaitBeforeStarting	10
			WaitBetweenSpawns	5
			Support	Limited
			TFBot
			{
				ClassIcon	heavy_deflector_fire_hyper
				Name	"Hyper Heater Heavy"
				Class	HeavyWeapons
				Skill	Expert
				Attributes	"AlwaysCrit"
				ItemAttributes
				{
					ItemName	"the huo long heatmaker"
					"ring of fire while aiming"	50
					"ragdolls become ash"	1
					"set damagetype ignite"	 1
					"damage bonus"	1.5
					"attack projectiles"	2
					"weapon burn dmg increased"	3
				}
				Item	"the huo long heatmaker"
				Item	"dragonborn helmet"
				AddCond   
				{ 
					Index	51
					Duration	3
				}
			}
		}
		WaveSpawn
		{
			Name	w6f1
			WaitForAllSpawned	w6e1
			TotalCurrency	50
			TotalCount	50
			MaxActive	16
			SpawnCount	4
			Where	spawnbot
			WaitBeforeStarting	10
			WaitBetweenSpawns	2.5
			Support	1
			RandomChoice
			{
				TFBot
				{
                                ClassIcon pyro_bigcrit
					Health	175
					Name	"Crit Pyro"
					Class	Pyro
					Skill	Hard
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName	tf_weapon_flamethrower
						"damage bonus"	2.0
					}
					CharacterAttributes
					{
						"move speed bonus"	1.0
						"cancel falling damage"	1
					}
				}
				TFBot
				{
                                ClassIcon demo_bigcrit
					Health	175
					Name	"Crit Demoman"
					Class	Demoman
					Skill	Hard
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName	tf_weapon_grenadelauncher
						"faster reload rate"	-0.8
						"Projectile speed increased"	2.0
						"damage bonus"	2.0
					}
					CharacterAttributes
					{
						"cancel falling damage"	1
					}
				}
				TFBot
				{
                                ClassIcon soldier_bigcrit
					Health	125
					Name	"Crit Soldier"
					Class	Soldier
					Skill	Hard
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName	tf_weapon_rocketlauncher
						"damage bonus"	2.0
						"faster reload rate"	-0.8
						"fire rate bonus"	0.6
					}
					CharacterAttributes
					{
						"cancel falling damage"	1
					}
				}
				TFBot
				{
                                ClassIcon heavy_bigcrit
					Health	300
					Name	"Crit Heavy"
					Class	HeavyWeapons
					Skill	Hard
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName	tf_weapon_minigun
						"damage bonus"	2.0
					}
					CharacterAttributes
					{
						"cancel falling damage"	1
					}
				}
			}
		}
	}
	Wave //HYPER WAVE, WARNING!, EVERY BOT HAS DAMAGE BONUS+SPEED OR RELOAD+MOVE SPEED BUFF, PLAY THIS AT YOUR OWN RISK!
	{
		WaitWhenDone	65
		Checkpoint	Yes
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
		WaveSpawn
		{
			Name	w7a
			TotalCurrency	50
			TotalCount	45
			MaxActive	15
			SpawnCount	3
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	2.5
			RandomChoice
			{
				TFBot
				{
					ClassIcon	scout_fast_hyper
					Name	"Hyper Scout"
					Class	Scout
					Skill	Expert
					Attributes	"AlwaysCrit"
					ItemAttributes
					{
						ItemName	"blood botkiller scattergun mk.i"
						"fire rate bonus"	0.5
						"faster reload rate"	-0.8
						"damage bonus"	2.0
					}
					CharacterAttributes
					{
						"move speed bonus"	2.0
						"cancel falling damage"	1
					}
					Item	"the bolt boy"
					Item	"blood botkiller scattergun mk.i"
				}
				TFBot
				{
					ClassIcon	soldier_burstfire_hyper
					Name	"Hyper Burst Fire Soldier"
					Class	Soldier
					Skill	Expert
					Attributes	"AlwaysCrit"
					Attributes	"HoldFireUntilFullReload"
					ItemAttributes
					{
						ItemName	"blood botkiller rocket launcher mk.i"
						"Projectile speed increased"	0.9
						"faster reload rate"	0.4
						"fire rate bonus"	0.2
						"clip size upgrade atomic"	5.0
						"damage bonus"	2.0
					}
					CharacterAttributes
					{
						"cancel falling damage"	1
					}
					Item	"blood botkiller rocket launcher mk.i"
					Item	"tyrant's helm"
				}
				TFBot
				{
                                	ClassIcon	pyro_hyper
			        	Name	"Hyper Pyro"
			        	Class	Pyro
			        	Skill	Expert
			        	WeaponRestrictions	PrimaryOnly
			        	Attributes	"AlwaysCrit"
			        	ItemAttributes
			        	{
				        	ItemName	"blood botkiller flame thrower mk.i"
				        	"damage bonus"	3.0
				        	"airblast pushback scale"	3.0
				        	"mult airblast refire time"	0.001
			        	}
			        	CharacterAttributes
			        	{
				        	"move speed bonus"	2.0
						"cancel falling damage"	1
			        	}
			        	Item	"blood botkiller flame thrower mk.i"
			        	Item	"the flamboyant flamenco"
				}
				TFBot
				{
					ClassIcon	demo_sticky_spammer_hyper
					Name	"Hyper Sticky Spam Demo"
					Class	Demoman
					Skill	Expert
					Attributes AlwaysCrit
					WeaponRestrictions	SecondaryOnly
					ItemAttributes
					{
						ItemName "TF_WEAPON_GRENADELAUNCHER"
						"is_passive_weapon" 1 
						"override projectile type" 27
					}
					ItemAttributes
					{
						ItemName	"blood botkiller stickybomb launcher mk.i"
						"stickybomb charge rate" 0.001
						"Projectile range increased" 0.5
						"max pipebombs increased" -5
						"damage bonus" 2.0
						"fire rate bonus" 0.6
						"faster reload rate" -1
						"stickies detonate stickies"	1
					}
					CharacterAttributes
					{
						"no self blast dmg"	1
						"cancel falling damage"	1
					}
					Item	"blood botkiller stickybomb launcher mk.i"
				}
				TFBot
				{
					Name "Hyper Rescue Ranger Engineer"
					ClassIcon	engineer_ranger_hyper
            				Class Engineer
            				Skill Expert
					Health 150
            				Action FetchFlag
            				Item "The Rescue Ranger"
					Item "The Data Mining Light"
					Item "The Texas Half-Pants"	
            				WeaponRestrictions PrimaryOnly
            				Attributes AlwaysCrit
           				ItemAttributes
            				{
                				ItemName "The Rescue Ranger"
						"damage bonus" 2.0
						"fire rate bonus" 0.6
                				"faster reload rate" -0.4
                				"slow enemy on hit major" 5
            				}
				}
			}
		}
		WaveSpawn
		{
			Name	w7b
			WaitForAllSpawned	w7a
			TotalCurrency	50
			TotalCount	8
			MaxActive	8
			SpawnCount	2
			Where	spawnbot_secondary
			WaitBeforeStarting	0
			WaitBetweenSpawns	15
			TFBot
			{
			ClassIcon soldier_burstfire_hyper_giant
				Name	"Giga Burst Fire Soldier"
				Template	T_TFBot_Soldier_BurstFire
				Item "Armored Authority"
				Item "The Gunboats"
				Tag bot_giant
				ItemAttributes
				{
					ItemName	tf_weapon_rocketlauncher
					"damage bonus"	2.25
				}
				ItemAttributes
				{
					ItemName "Armored Authority"
					"Attach Particle Effect" 13
				}
			}
		}
		WaveSpawn
		{
			Name	w7b
			WaitForAllSpawned	w7a
			TotalCurrency	50
			TotalCount	20
			MaxActive	8
			SpawnCount	4
			Where	spawnbot_titan
			WaitBeforeStarting	12
			WaitBetweenSpawns	1.5
			TFBot
			{
				ClassIcon	sniper_smg_spammer_hyper
				Name	"Hyper Bullet Spammer SMG"
				Class	Sniper
				Skill	Expert
				WeaponRestrictions	SecondaryOnly
				ItemAttributes
				{
					ItemName	tf_weapon_smg
					"damage bonus"	2.0
					"bullets per shot bonus"	2
					"faster reload rate"	-0.8
					"fire rate bonus"	0.5
				}
				CharacterAttributes
				{
					"move speed bonus"	0.85
				}
				AddCond   
				{ 
					Index	51
					Duration	2
				}
			}
		}
		WaveSpawn
		{
			Name	w7b
			WaitForAllSpawned	w7a
			TotalCurrency	50
			TotalCount	18
			MaxActive	6
			SpawnCount	3
			Where	spawnbot_main
			WaitBeforeStarting	10
			WaitBetweenSpawns	2
			TFBot
			{
				ClassIcon	pyro_flare_hyper
				Name	"Hyper Flare Pyro"
				Class	Pyro
				Skill	Expert
				WeaponRestrictions	SecondaryOnly
				Attributes AlwaysCrit
				ItemAttributes
				{
					ItemName	"the flare gun"
					"fire rate bonus" 0.3
					"faster reload rate"	0.3
					"damage bonus"	3.0
					"Projectile speed increased"	2.0
				}
				Item	"the flare gun"
				Item	"the flamboyant flamenco"
			}
		}
		WaveSpawn
		{
			Name	w7c
			WaitForAllSpawned	w7b
			TotalCurrency	50
			TotalCount	6
			MaxActive	6
			SpawnCount	3
			Where	spawnbot_main
			WaitBeforeStarting	10
			WaitBetweenSpawns	20
			Squad
			{
				TFBot
				{
					Class Heavyweapons
					Name "Giga Penetrator Heavy"
					ClassIcon heavy_penetrate_hyper_giant			
					Health 5000
					Skill Expert
					WeaponRestrictions PrimaryOnly
					Attributes MiniBoss
					ItemAttributes
					{
						ItemName	"Iron Curtain"
						"projectile penetration"	1
						"damage bonus"	3.0
					}			
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"damage force reduction" 0.3
						"airblast vulnerability multiplier" 0.3
						"override footstep sound set" 2
					}
					Item	"Iron Curtain"
					Item	"war head"
				}
				TFBot
				{
					ClassIcon	scout_superbonk_hyper_giant
					Health	1600
					Name	"Giga Bonk Scout"
					Class	Scout
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					Attributes	"AlwaysCrit"
					Attributes	"MiniBoss"
					ItemAttributes
					{
						ItemName	"blood botkiller scattergun mk.i"	
						"damage bonus"	2.0
						"fire rate bonus"	0.5
						"faster reload rate"	-0.8
					}
					CharacterAttributes
					{
						"damage force reduction"	0.7
						"airblast vulnerability multiplier"	0.7
						"override footstep sound set"	5
						"effect bar recharge rate increased"	0.55
						"move speed bonus"	2.0
						"deploy time increased" 0.5
					}
					Item	"bonk! atomic punch"
					Item	"the holy mackerel"
					Item	"bonk boy"
					Item	"the cross-comm express"
					Item	"blood botkiller scattergun mk.i"
				}
				TFBot
				{
					ClassIcon	scout_superbonk_hyper_giant
					Health	1600
					Name	"Giga Bonk Scout"
					Class	Scout
					Skill	Expert
					WeaponRestrictions	PrimaryOnly
					Attributes	"AlwaysCrit"
					Attributes	"MiniBoss"
					ItemAttributes
					{
						ItemName	"blood botkiller scattergun mk.i"	
						"damage bonus"	2.0
						"fire rate bonus"	0.5
						"faster reload rate"	-0.8
					}
					CharacterAttributes
					{
						"damage force reduction"	0.7
						"airblast vulnerability multiplier"	0.7
						"override footstep sound set"	5
						"effect bar recharge rate increased"	0.55
						"move speed bonus"	2.0
						"deploy time increased" 0.5
					}
					Item	"bonk! atomic punch"
					Item	"the holy mackerel"
					Item	"bonk boy"
					Item	"the cross-comm express"
					Item	"blood botkiller scattergun mk.i"
				}
			}
		}
		WaveSpawn
		{
			Name	w7c
			WaitForAllSpawned	w7b
			TotalCurrency	50
			TotalCount	24
			MaxActive	12
			SpawnCount	4
			Where	spawnbot_secondary
			WaitBeforeStarting	5
			WaitBetweenSpawns	3.5
			TFBot
			{
				ClassIcon	soldier_bison_spammer_hyper
				Name	"Hyper Bison Soldier"
				Class	Soldier
				Skill	Expert
				WeaponRestrictions	SecondaryOnly
				ItemAttributes
				{
					ItemName	"the righteous bison"
					"damage bonus" 2.0
					"set item tint RGB"	8208497
					"fire rate bonus" 0.3
					"reload time decreased" -0.8
					"projectile speed increased" 0.5
				}
				Item	"the righteous bison"
				Item	"lord cockswain's pith helmet"
				Item	"lord cockswain's novelty mutton chops and pipe"
			}
		}
		WaveSpawn
		{
			Name	w7d
			WaitForAllSpawned	w7c
			TotalCurrency	25
			TotalCount	5
			MaxActive	5
			SpawnCount	1
			Where	spawnbot_main
			WaitBeforeStarting	3
			WaitBetweenSpawns	15
			TFBot
			{
				ClassIcon	demo_spammer_hyper
				Health	3800
				Name	"Giga Rapid Fire Demoman"
				Class	Demoman
				Skill	Expert
				WeaponRestrictions	PrimaryOnly
				Attributes	"AlwaysCrit"
				Attributes	"MiniBoss"
				ItemAttributes
				{
					ItemName	"gentlemanne_grenadelauncher_topshelf"
					"faster reload rate"	-0.8
					"fire rate bonus"	0.4
					"damage bonus"	2.0
					"Projectile speed increased"	2.0
				}
				CharacterAttributes
				{
					"move speed bonus"	0.5
					"damage force reduction"	0.5
					"airblast vulnerability multiplier"	0.5
					"override footstep sound set"	4
				}	
				Item	"gentlemanne_grenadelauncher_topshelf"
			}
		}
		WaveSpawn
		{
			Name	w7f
			WaitForAllSpawned	w7c
			TotalCurrency	25
			TotalCount	3
			MaxActive	3
			SpawnCount	1
			Where	spawnbot_titan
			WaitBeforeStarting	10
			WaitBetweenSpawns	15
			TFBot
			{
				ClassIcon	soldier_barrage_hyper
				Health	4200
				Name	"Giga Barrage"
				Class	Soldier
				Skill	Expert
				WeaponRestrictions	PrimaryOnly
				Attributes	"HoldFireUntilFullReload"
				Attributes	"AlwaysCrit"
				Attributes	"MiniBoss"
				ItemAttributes
				{
					ItemName	"blood botkiller rocket launcher mk.i"
					"clip size upgrade atomic"	30.0
					"faster reload rate"	0.11
					"fire rate bonus"	0.2
					"projectile spread angle penalty"	5
				}
				CharacterAttributes
				{
					"health regen"	40
					"move speed bonus"	0.5
					"damage bonus"	2.0
					"damage force reduction"	0.4
					"airblast vulnerability multiplier"	0.4
					"override footstep sound set"	3
					"airblast vertical vulnerability multiplier"	0.1
				}
				Item	"blood botkiller rocket launcher mk.i"
				Item	"tyrantium helmet"
				AddCond   
				{ 
					Index	51
					Duration	4
				}
			}
		}
		WaveSpawn
		{
			Name	w7f
			WaitForAllSpawned	w7c
			TotalCurrency	50
			TotalCount	27
			MaxActive	9
			SpawnCount	3
			Where	spawnbot_secondary
			WaitBeforeStarting	15
			WaitBetweenSpawns	3
			TFBot
			{
				ClassIcon	scout_fast_hyper
				Name	"Hyper Scout"
				Class	Scout
				Skill	Expert
				Attributes	"AlwaysCrit"
				ItemAttributes
				{
					ItemName	"blood botkiller scattergun mk.i"
					"fire rate bonus"	0.5
					"faster reload rate"	-0.8
					"damage bonus"	2.0
				}
				CharacterAttributes
				{
					"move speed bonus"	2.0
				}
				Item	"the bolt boy"
				Item	"blood botkiller scattergun mk.i"
			}
		}
		WaveSpawn
		{
			Name	w7f
			WaitForAllSpawned	w7c
			TotalCurrency	50
			TotalCount	24
			MaxActive	8
			SpawnCount	4
			Where	spawnbot_main
			WaitBeforeStarting	15
			WaitBetweenSpawns	3
			TFBot
			{
				ClassIcon	demo_sticky_spammer_hyper
				Name	"Hyper Sticky Spam Demo"
				Class	Demoman
				Skill	Expert
				Attributes AlwaysCrit
				WeaponRestrictions	SecondaryOnly
				ItemAttributes
				{
					ItemName "TF_WEAPON_GRENADELAUNCHER"
					"is_passive_weapon" 1 
					"override projectile type" 27
				}
				ItemAttributes
				{
					ItemName	"blood botkiller stickybomb launcher mk.i"
					"stickybomb charge rate" 0.001
					"Projectile range increased" 0.5
					"max pipebombs increased" -5
					"damage bonus" 2.0
					"fire rate bonus" 0.6
					"faster reload rate" -1
					"stickies detonate stickies"	1
				}
				CharacterAttributes
				{
					"no self blast dmg"	1
					"cancel falling damage"	1
				}
				Item	"blood botkiller stickybomb launcher mk.i"
			}
		}
		WaveSpawn
		{
			Name	w7g
			WaitForAllSpawned	w7f
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	1
			Where	spawnbot_main
			WaitBeforeStarting	15
			WaitBetweenSpawns	20
			TFBot
			{
				ClassIcon	heavy_brass_hyper_giant
				Health	5000
				Name	"Giga Goldgun Heavy"
				Class	HeavyWeapons
				Skill	Expert
				WeaponRestrictions	PrimaryOnly
				Attributes	"MiniBoss"
				ItemAttributes
				{
					ItemName	"the brass beast"
					"damage bonus"	3.0
					"turn to gold"	1				
					"bullets per shot bonus"	2
					"fire rate bonus"	0.4
				}
				CharacterAttributes
				{
					"move speed bonus"	0.5
					"damage force reduction"	0.3
					"airblast vulnerability multiplier"	0.3
					"override footstep sound set"	2
				}
				Item	"the brass beast"
				Item	"the gridiron guardian"
			}
		}
		WaveSpawn
		{
			Name	w7g
			WaitForAllSpawned	w7f
			TotalCurrency	50
			TotalCount	4
			MaxActive	4
			SpawnCount	1
			Where	spawnbot_secondary
			WaitBeforeStarting	10
			WaitBetweenSpawns	15
			TFBot
			{
				ClassIcon	demo_scatter_hyper_giant
				Health	3300
				Name	"painmaker"
				Class	Demoman
				Skill	Expert
				WeaponRestrictions	PrimaryOnly
				Attributes	"HoldFireUntilFullReload"
				Attributes	"AlwaysCrit"
				Attributes	"MiniBoss"
				ItemAttributes
				{
					ItemName	"gentlemanne_grenadelauncher_topshelf"
					"faster reload rate"	0.3
					"fire rate bonus"	0.001
					"projectile spread angle penalty"	3
					"Projectile speed increased"	2.0
					"clip size upgrade atomic"	12.0
					"damage bonus"	2.0
				}
				CharacterAttributes
				{
					"move speed bonus"	0.5
					"damage force reduction"	0.5
					"airblast vulnerability multiplier"	0.5
					"override footstep sound set"	4
				}
				Item	"gentlemanne_grenadelauncher_topshelf"
				Item	"reggaelator"
			}
		}
		WaveSpawn
		{
			Name	w7g1
			WaitForAllSpawned	w7g
			TotalCurrency	50
			TotalCount	3
			MaxActive	3
			SpawnCount	3
			Where	spawnbot_titan
			WaitBeforeStarting	30
			WaitBetweenSpawns	15
			TFBot
			{
				Class Soldier
				Name "Giant Hyper Tanker Soldier"
				ClassIcon soldier_tanker_hyper
				Skill Expert
				Health 5000
				WeaponRestrictions PrimaryOnly
				Attributes MiniBoss
				Attributes SpawnWithFullCharge
				Attributes HoldFireUntilFullReload
				ItemAttributes
				{
					ItemName "the black box"
					"heal on hit for rapidfire"	1000
					"faster reload rate"	-0.8
					"Blast radius increased"	1.5
					"damage bonus" 2.0
				}
				CharacterAttributes
				{
					"move speed bonus"	0.5
					"damage force reduction" 0.4
					"increase buff duration"	9.0
					"airblast vulnerability multiplier" 0.4
					"override footstep sound set" 3
					"deploy time increased" 0.5
				}
				Item	"the black box"
				Item	"the battalion's backup"
				Item	"stainless pot"
				AddCond   
				{ 
					Index	51
					Duration	4
				}
			}
		}
		WaveSpawn
		{
			Name	w7gg
			WaitForAllSpawned	w7f
			TotalCurrency	50
			TotalCount	50
			MaxActive	9
			SpawnCount	3
			Where	spawnbot_main
			WaitBeforeStarting	10
			WaitBetweenSpawns	3
			Support Limited
			TFBot
			{
				ClassIcon	pyro_dragon_fury_hyper
				Name	"Hyper Dragon Fury Pyro"
				Class	Pyro
				Skill	Expert
				WeaponRestrictions	PrimaryOnly
				ItemAttributes
				{
					ItemName	"The Dragon's Fury"
					"mult_item_meter_charge_rate"	0.4
					"damage bonus"	2.0
				}
				Item	"the warsworn helmet"
				Item    "The Dragon's Fury"
			}
		}		
	}
	Wave
	{
		WaitWhenDone	65
		Checkpoint	Yes
		InitWaveOutput
        {
            Target wave_start_relay
            Action RunScriptCode
            Param "
				IncludeScript(`tankhealthbars`)
			"
		}
		StartWaveOutput
		{
			Target	wave_start_relay
			Action	Trigger
		}
		DoneOutput
		{
			Target	wave_finished_relay
			Action	Trigger
		}
                WaveSpawn
		{
			WaitBeforeStarting	0
			Support Limited
			FirstSpawnWarningSound "vo/mvm/mght/heavy_mvm_m_laughevil02.mp3"
		}
                WaveSpawn
		{
			WaitBeforeStarting	5
			Support Limited
			FirstSpawnWarningSound "vo/mvm/norm/taunts/heavy_mvm_m_taunts16.mp3"
		}
                WaveSpawn
		{
			WaitForAllDead	boss1
			WaitBeforeStarting	0
			Support Limited
			FirstSpawnWarningSound "vo/mvm/mght/heavy_mvm_m_domination14.mp3"
		}
                WaveSpawn
		{
			WaitForAllDead	boss2
			WaitBeforeStarting	5
			Support Limited
			FirstSpawnWarningSound "vo/mvm/mght/heavy_mvm_m_domination16.mp3"
		}
                WaveSpawn
		{
			WaitForAllDead	boss2
			WaitBeforeStarting	10
			Support Limited
			FirstSpawnWarningSound "FirstSpawnWarningSound mvm\giant_heavy\giant_heavy_entrance.wav"
		}
		WaveSpawn
		{
			Name	boss1
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot_main
			WaitBeforeStarting	15
			WaitBetweenSpawns	0
			FirstSpawnWarningSound mvm\giant_heavy\giant_heavy_entrance.wav
			LastSpawnWarningSound "vo/mvm/mght/taunts/soldier_mvm_m_taunts15.mp3"
			Squad
			{
				TFBot
				{
                        		Class Soldier
					Name "Giant Burst Homing Soldier"
					ClassIcon soldier_burstfire_homing_hyper_giant
					Health 4200
					Skill Expert
					WeaponRestrictions PrimaryOnly
					Attributes MiniBoss
					Attributes HoldFireUntilFullReload
					Attributes AlwaysCrit
					Item "warbird_rocketlauncher_warhawk"
					ItemAttributes
					{
						ItemName "warbird_rocketlauncher_warhawk"
						"faster reload rate"	0.4
						"fire rate bonus"	0.2
						"clip size upgrade atomic"	5.0
						"damage bonus"	2.0
					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"damage force reduction" 0.4
						"airblast vulnerability multiplier" 0.4
						"override footstep sound set" 3
					}
					HomingRockets
					{
						IgnoreDisguisedSpies 1
						IgnoreStealthedSpies 1
						RocketSpeed 0.9 // Multiplier of rocket speed. 1 for default speed
						TurnPower 120 //How fast should the rocket rotate to face the target
						MaxAimError 150 //Max angle between rocket and the target
						AimTime 3
					}
				}
				TFBot
				{
					ClassIcon	medic_overheal_uber_giant
					Health	3000
					Name	"Giant Overhealer Uber Medic"
					Class	Medic
					Skill	Expert
					WeaponRestrictions	SecondaryOnly
					Attributes	"SpawnWithFullCharge"
					Attributes	"MiniBoss"
					ItemAttributes
					{
						ItemName	tf_weapon_syringegun_medic
						"damage penalty"	0.1
					}
					ItemAttributes
					{
						ItemName	tf_weapon_medigun
						"overheal expert" 6
						"overheal decay disabled"	1
					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"damage force reduction"	0.6
						"airblast vulnerability multiplier"	0.6
						"heal rate bonus"	200
						"ubercharge rate bonus"	2
					}
				}
			}
		}
		WaveSpawn
		{
			Name	boss1
			TotalCurrency	50
			TotalCount	2
			MaxActive	2
			SpawnCount	2
			Where	spawnbot_secondary
			WaitBeforeStarting	20
			WaitBetweenSpawns	0
			FirstSpawnWarningSound mvm\giant_heavy\giant_heavy_entrance.wav
			LastSpawnWarningSound "vo/mvm/norm/engineer_mvm_dominationengineer_mvm09.mp3"
			Squad
			{
				TFBot
				{
                        		Name "Giant Inf. Armored Engineer"
			            	ClassIcon	engineer_widowmaker_inf_armored_nys
           				Health  6000
            				Class Engineer
            				Skill Expert
            				Action FetchFlag 		
            				WeaponRestrictions PrimaryOnly
            				Attributes MiniBoss
            				ItemAttributes
					{
						ItemName "the widowmaker"
						"fire rate bonus"	0.3
					}
            				CharacterAttributes
            				{
                				"move speed bonus"	0.5
                				"damage force reduction" 0.6
                				"airblast vulnerability multiplier" 0.6
						"override footstep sound set" 4
            				}
					Item	"the widowmaker"
					Item	"the virtual reality headset"
					Item	"the deus specs"
					Item    "the gunslinger"

				}
				TFBot
				{
					ClassIcon	medic_kritz_armored_giant
					Health	9000
					Name	"Giant Armored Kritzkrieg Medic"
					Class	Medic
					Skill	Expert
					WeaponRestrictions	SecondaryOnly
					Attributes	"SpawnWithFullCharge"
					Attributes	"AlwaysCrit"
					Attributes	"MiniBoss"
					ItemAttributes
					{
						ItemName	tf_weapon_syringegun_medic
						"damage penalty"	0.1
					}
					ItemAttributes
					{
						ItemName	"the kritzkrieg"
						"ubercharge rate bonus"	200
						"uber duration bonus"	1000
					}
					CharacterAttributes
					{
						"move speed bonus"	0.5
						"damage force reduction"	0.6
						"airblast vulnerability multiplier"	0.6
						"heal rate bonus"	200
						"bot medic uber health threshold"	11000
						"health regen"	50
					}
					Item	"the kritzkrieg"
					Item	"vintage tyrolean"
					Item	"Coldfront Carapace"
				}
			}
		}
		WaveSpawn
		{
			Name	boss2
			WaitForAllDead	boss1
			TotalCurrency	100
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			WaitBeforeStarting	10
			WaitBetweenSpawns	10
			FirstSpawnWarningSound "mvm/mvm_tele_activate.wav"
			FirstSpawnOutput                                                                                                                                                            
			{
				 Target boss_spawn_relay                                            
				 Action Trigger                         
			}
			
			Tank
			{
                        ClassIcon tank_vac_trio_lite
				Health	100000
				Name	"tankboss"
				Name	Tank
				Speed	75
				StartingPathTrackNode tank_path_a_1
                               	Skin 1
                                SpawnTemplate "VacTankRandom"
                		PingSound "empty.wav"  
               		        DisableSmokestack 1
				OnKilledOutput
				{
					Target	boss_dead_relay
					Action	Trigger
				}
				OnBombDroppedOutput
				{
					Target	boss_deploy_relay
					Action	Trigger
				}
			}
		}
		WaveSpawn
		{
			Name	boss3
			WaitForAllDead	boss2
			TotalCurrency	0
			TotalCount	1
			MaxActive	1
			SpawnCount	1
			Where	spawnbot_main
			WaitBeforeStarting	6
			WaitBetweenSpawns	0
                        FirstSpawnWarningSound "vo/mvm/mght/heavy_mvm_m_laughlong02.mp3"
                        DoneWarningSound "vo\mvm\mght\heavy_mvm_m_paincrticialdeath03.mp3"
			TFBot
			{
                        ClassIcon heavy_dragon
				Health	100000
				Class Heavyweapons
				Skill Expert
				Name "Complex Overlord"
				WeaponRestrictions MeleeOnly
				Item "Tough Guy's Toque"
            			Item "Big Steel Jaw of Summer Fun"
				Attributes MiniBoss
				Attributes UseBossHealthBar
				Item "Fists of Steel"
				ItemAttributes
				{
					ItemName "fists of steel"
                                    	"damage bonus" 5
					"heal on kill" 5000
					"dmg bonus vs buildings"      10
				}
				CharacterAttributes
				{
					"move speed bonus"	0.35
					"damage force reduction" 0.00000001
					"airblast vulnerability multiplier" 0.000000001
					"override footstep sound set" 7
                                       	 "rage giving scale"	0.1
                                        "attach particle effect" 1.5
					"ragdolls become ash" 1
				}
				Spell
				{
					Delay 2
					Cooldown 5
					IfSeeTarget 1
					Type "Fireball"
				}
				ChangeAttributes    
            			{
                			Delay 0
                			Repeats 1
                			IfHealthBelow 65001
                			Name "phase2" //BURST FIRE SHOTGUN
            			}
				ChangeAttributes    
            			{
                			Delay 0
                			Repeats 1
                			IfHealthBelow 30001
                			Name "phase3" //HYPER MINIGUN+NUKE LAUNCHER!
            			}
				FireInput
    				{
        				Delay 0
        				Target icon_changon
        				IfHealthBelow 100000
        				Action Trigger
        				Param ""
        				Repeats 1
    				}
				FireInput
    				{
        				Delay 0
        				Target icon_changon
        				IfHealthBelow 65001
        				Action FireUser1
        				Param ""
        				Repeats 1
    				}
				FireInput
    				{
        				Delay 0
        				Target icon_changon
        				IfHealthBelow 30001
        				Action FireUser2
        				Param ""
        				Repeats 1
    				}
				EventChangeAttributes  
				{
					phase2
					{
						WeaponRestrictions	SecondaryOnly
						Attributes HoldFireUntilFullReload
						ItemAttributes
						{
							ItemName "TF_WEAPON_SHOTGUN_HWG"
							"auto fires full clip" 1
							"auto fires when full" 1
							"fire rate bonus with reduced health" 0.4
							"fire rate bonus" 0.3
							"spread penalty" 0.3
							"bullets per shot bonus" 5
							"faster reload rate" 0.4
						}
						CharacterAttributes
						{
							"move speed bonus"	0.7
							"damage force reduction" 0.3
							"airblast vulnerability multiplier" 0.3
							"attack projectiles" 2
							"override footstep sound set" 2
							"rage giving scale"	0.1
						}
                                        }
					phase3
					{
						WeaponRestrictions	PrimaryOnly
						ItemAttributes
						{
							ItemName "gold botkiller minigun mk.i"
							"damage bonus" 2
							"dmg bonus vs buildings"      2.5
						}
						ShootTemplate
						{
							Name NukeRocketProjectile
							AttachToProjectile 1
							ItemName "craftsmann_shotgun_rusticruiner"
						}
						ItemAttributes
                    				{
                        				ItemName "craftsmann_shotgun_rusticruiner"
 							"attach particle effect"	704
                                        		"set_item_texture_wear"    0.2 
							"dmg bonus vs buildings"      5
							"damage bonus"	5
							"is_passive_weapon" 1
							"override projectile type"	2
                                        		"use large smoke explosion" 1
                        				"faster reload rate" 0.0001
                        				"fire rate bonus" 8
                        				"projectile spread angle penalty" 5
							"Blast radius increased"	3
                        				"Projectile speed increased" 0.95
                    				}
						CharacterAttributes
						{
							"move speed bonus"	0.57
							"damage force reduction" 0.3
							"airblast vulnerability multiplier" 0.3
							"override footstep sound set" 2
                                       			"rage giving scale"	0.1
						}
					}
				}
				SpawnTemplate IconChanger
			}
		}
		WaveSpawn
		{
			Name	support1
			TotalCurrency	50
			TotalCount	30
			MaxActive	12
			SpawnCount	4
			Where	spawnbot
			WaitBeforeStarting	0
			WaitBetweenSpawns	0
			Support Limited
			TFBot
			{
				Name	"Heavy"
				Class	HeavyWeapons
				Skill	Expert
				Attributes AlwaysCrit
			}
		}
		WaveSpawn
		{
			Name	support2
			WaitForAllSpawned	support1
			TotalCurrency	50
			TotalCount	30
			MaxActive	12
			SpawnCount	2
			Where	spawnbot_secondary
			WaitBeforeStarting	15
			WaitBetweenSpawns	1.85
			Support Limited
			Squad
			{
				TFBot
				{
					Class Pyro
					Name "Magnet Pyro"
					ClassIcon pyro_magnet
					Skill Expert
					WeaponRestrictions PrimaryOnly
					Attributes	"AlwaysFireWeapon"	
					ItemAttributes
					{
						ItemName	"the nostromo napalmer"
						"apply z velocity on damage"	-100
						"apply look velocity on damage"	-100
		    			}		    
					Item	"the nostromo napalmer"
					Item	"the mk 50"

				}
				TFBot
				{
				ClassIcon	sniper_bow_multi
					Name	"Rapid Fire Bowman"
					Class	Sniper
					Skill	Expert
					ItemAttributes
					{
						ItemName	"the huntsman"
						"fire rate bonus"	0.6
					}
					Item	"the huntsman"
				}
			}
		}
		WaveSpawn
		{
			Name	support2
			WaitForAllSpawned	support1
			TotalCurrency	50
			TotalCount	8
			MaxActive	6
			SpawnCount	2
			Where	spawnbot_main
			WaitBeforeStarting	20
			WaitBetweenSpawns	12
			Support Limited
			TFBot
			{
				Class Demoman
				Skill Expert
				Name "Giant Hyper Infinite Sticky Demo"
				ClassIcon demo_sticky_burst_infinite_hyper
				Health 4200
				Attributes MiniBoss
				Attributes HoldFireUntilFullReload
				Attributes AlwaysFireWeapon
				Attributes AlwaysCrit
				WeaponRestrictions SecondaryOnly
				ItemAttributes
				{
					ItemName "TF_WEAPON_GRENADELAUNCHER"
					"is_passive_weapon" 1 
					"override projectile type" 15
					"faster reload rate" -1
				}
				ItemAttributes
				{
					ItemName "diamond botkiller stickybomb launcher mk.i"
					"stickybomb charge rate" 0.001
					"Projectile range increased" 0.5
              				"fire rate bonus" 0.01
                			"faster reload rate" 0.01
                			"damage bonus" 2.0
				}
				CharacterAttributes
				{
					"move speed bonus"	0.5
					"damage force reduction" 0.5
					"airblast vulnerability multiplier" 0.5
					"override footstep sound set" 4
					"no self blast dmg"	1
				}
				Item	"diamond botkiller stickybomb launcher mk.i"
			}
		}
		WaveSpawn
		{
			Name	support3
			WaitForAllSpawned	support2
			TotalCurrency	50
			TotalCount	50
			MaxActive	10
			SpawnCount	2
			Where	spawnbot_main
			WaitBeforeStarting	20
			WaitBetweenSpawns	2
			Support 1
			TFBot
			{
				Template	T_TFBot_Soldier_RocketPush
				Attributes AlwaysCrit
			}
		}
		WaveSpawn
		{
			Name	support3
			WaitForAllSpawned	support2
			TotalCurrency	50
			TotalCount	50
			MaxActive	6
			SpawnCount	3
			Where	spawnbot_secondary
			WaitBeforeStarting	20
			WaitBetweenSpawns	8
			Support 1
			TFBot
			{
				ClassIcon	demoknight_paintrain_armored
				Name	"Armored Pain Train Demo"
				Class	Demoman
				Skill	Expert
				Scale	1.5
				Health	900
				ItemAttributes
				{
					ItemName	"the pain train"
					"damage bonus" 1.5
				}
				CharacterAttributes
				{
					"move speed bonus"	1.5
				}
				Item "the pain train"
				Item "The Chargin' Targe"
			}
		}
	}
}