#base robot_standard.pop
#base robot_giant.pop
#base overclock_cactus_general.pop

///////////////////////////////////////////////////////////////////////////
// My hearts go out for you sinners:
//
// - Bogus				> Made the map
// - PDA Expert 		> DEATHFUCKER666 PointTemplate
// - Vargskelethor		> Composing 'The Bone Zone'
// - DrCactus			> Creative input and Overclocks
// - Royal				> Titlecard used for DEATHFUCKER666
///////////////////////////////////////////////////////////////////////////

WaveSchedule
{
	StartingCurrency 800
	RespawnWaveTime	3
	FixedRespawnWaveTime 1
	CanBotsAttackWhileInSpawnRoom no
	BodyPartScaleSpeed 10  
	CustomNavFile "mvm_lotus_thenav"
//	UpgradeStationKeepWeapons	1
	
	PointTemplates  
	{
		corelogic
		{  
			logic_auto 
			{
				"origin" "0 0 0" 
				"targetname" "mainrelay"
				
				"OnMapSpawn" "cap_destroy_relay,AddOutput,OnTrigger tankboss:DestroyIfAtCapturePoint:1:-1"
				"OnMapSpawn" "boss_deploy_relay,AddOutput,OnTrigger tankboss:DestroyIfAtCapturePoint:0:-1"
				"OnMapSpawn" "tank_path_air_1,AddOutput,OnPass hint_blimp:Show:0:-1"
			}
			training_annotation
            {
              "targetname"   "hint_blimp"
              "display_text" "Alert! A plane has entered the area!"
              "lifetime"     "5"
              "origin" "640 -240 270"   
            }
		}
		SKELETONMETAL
		{ 
			NoFixUp 1
			logic_relay
			{
				"origin" "0 0 0" 
				"targetname" "coolrelay"
				
				"OnTrigger" "tf_objective_resource,$SetClientProp$m_iszMvMPopfileName,THE BONE ZONE,0,-1"
				"OnTrigger" "bots_win,AddOutput,OnRoundWin mus_bonezone_fail:Trigger:0:-1"
			}
			ambient_generic 
			{
				health 10
				message #*bonezone_intro.mp3
				radius 20
				spawnflags 49
				targetname mus_boneintro
			}
			ambient_generic 
			{
				health 10
				message #*bonezone_loop.mp3
				radius 20
				spawnflags 49 // it's set to 49 because mp3 files can't loop, that only works for .wav files with added cuepoints
		//		fadeinsecs 3
				fadeoutsecs 1.2
				targetname mus_boneloop
			}
			logic_relay
			{
				spawnflags "2"
				targetname mus_boneintro_relay 
				"OnTrigger" "mus_boneintro,PlaySound,,0,-1"
				"OnTrigger" "coolrelay,Trigger,,0,-1"
				"OnTrigger" "mus_boneloop_relay,Trigger,,13.2,-1"
			}
			logic_relay
			{
				spawnflags "2"
				targetname mus_boneloop_relay // it's why this relay actually makes the song 'loop'
				"OnTrigger" "mus_boneloop,PlaySound,,0,-1"
				"OnTrigger" "mus_boneloop_relay,Trigger,,130,-1"
			}
			logic_relay
			{
				spawnflags "2"
				targetname mus_bonezone_fail
				"OnTrigger" "mus_boneloop,Volume,0,0,-1"
				"OnTrigger" "mus_boneloop_relay,CancelPending,,0,-1"
				"OnTrigger" "player,$playsoundtoself,replay/youtube_uploadfinished.wav,0,-1"
			}
			logic_relay
			{
				spawnflags "2"
				targetname mus_bonezone_end_relay
				"OnTrigger" "mus_boneloop,Volume,0,0,-1"
				"OnTrigger" "mus_boneloop_relay,CancelPending,,0,-1"
				"OnTrigger" "mus_boneoutro,PlaySound,,0,-1"
			}
			ambient_generic 
			{
				health 10
				message #*bonezone_end.mp3
				radius 20
				spawnflags 49
				targetname mus_boneoutro
			}
		}
		PlaneTank
		{
			NoFixup 1
			prop_dynamic
			{
				"model" "models/workshop/player/items/demo/hwn2016_aerobatics_demonstrator/hwn2016_aerobatics_demonstrator.mdl"
				"solid" "0"
				"skin" 1
				"modelscale" 4
				"origin" "20 0 -80"
				targetname planetank_prop
			}
			tf_point_weapon_mimic // also needs an origin point to ensure it's below the tank
			{
				angles "90 0 0"
				"origin" "0 0 -48" // take over server later to ensure this works
				Damage 100
				ModelOverride "models/props_td/atom_bomb.mdl"
				ModelScale 0.75
				parentname planetank_prop
				SpeedMin 768
				SpeedMax 768
				SplashRadius 146
				targetname planetank_bomber
			}
			logic_timer
			{
				targetname planetank_timer
				RefireTime 10
				
				"OnTimer"  "planetank_bomber,FireOnce,0,0"
				"OnTimer"  "planetank_shoot_sound,PlaySound,0,0"
				"OnTimer"  "planetank_bomber,FireOnce,0,1"
				"OnTimer"  "planetank_shoot_sound,PlaySound,0,1"
				"OnTimer"  "planetank_bomber,FireOnce,0,2"
				"OnTimer"  "planetank_shoot_sound,PlaySound,0,2"
			}
			ambient_generic
			{
				targetname planetank_shoot_sound
				radius 5000
				message Player.FallDamageIndicator
				spawnflags 48
			}
		}
		PlaneTank_VERYSCARY
		{
			NoFixup 1
			prop_dynamic
			{
				"model" "models/workshop/player/items/demo/hwn2016_aerobatics_demonstrator/hwn2016_aerobatics_demonstrator.mdl"
				"solid" "0"
				"skin" 1
				"modelscale" 4
				"origin" "20 0 -80"
				targetname planetank_prop
			}
			prop_dynamic
			{
				"model" "models/props_mvm/mvm_human_skull.mdl"
				"solid" "0"
				"modelscale" 5
				"origin" "100 0 100"
			}
			tf_point_weapon_mimic // also needs an origin point to ensure it's below the tank
			{
				angles "90 0 0"
				"origin" "0 0 -48" // take over server later to ensure this works
				Damage 200
				ModelOverride "models/props_td/atom_bomb.mdl"
				ModelScale 0.75
				parentname planetank_prop
				SpeedMin 768
				SpeedMax 768
				SplashRadius 146
				targetname planetank_bomber
			}
			logic_timer
			{
				targetname planetank_timer
				RefireTime 10
				
				"OnTimer"  "planetank_bomber,FireOnce,0,0"
				"OnTimer"  "planetank_shoot_sound,PlaySound,0,0"
				"OnTimer"  "planetank_bomber,FireOnce,0,1"
				"OnTimer"  "planetank_shoot_sound,PlaySound,0,1"
				"OnTimer"  "planetank_bomber,FireOnce,0,2"
				"OnTimer"  "planetank_shoot_sound,PlaySound,0,2"
			}
			ambient_generic
			{
				targetname planetank_shoot_sound
				radius 5000
				message Player.FallDamageIndicator
				spawnflags 48
			}
		}
		SKELETONTANK
		{
			prop_dynamic
			{
                "model" "models/props_mvm/mvm_human_skull.mdl"
                "solid" "0"
                "origin" "97 -56 177"
				"angles" "0 0 0"
                "modelscale" "3.5"
			}
			prop_dynamic
			{
                "model" "models/props_mvm/mvm_human_skull.mdl"
                "solid" "0"
                "origin" "97 56 177"
				"angles" "0 0 0"
                "modelscale" "3.5"
			}
		}
		DiverPT
		{
		//	NoFixup 1
			OnSpawnOutput
			{
				Target "hop_blast"
				Action "$SetOwner"
				Param "!parent"
				Delay 0.00
			}
			trigger_push
			{
				pushdir "0 0 0"
				spawnflags 1
				speed 600
				filtername filter_crawler
				StartDisabled 1
				targetname crawlerpush
				mins "-24 -24 -24"
				maxs "24 24 24"
			}
			trigger_hurt
			{
				damage 4500
				spawnflags 64
				filtername filter_redteam
				targetname hop_blast
				StartDisabled 1
				mins "-192 -192 -48"
				maxs "192 192 48"
				onstarttouch "!activator,removehealth,4444,0,-1"
			}
			info_particle_system
			{
				effect_name hightower_explosion
				targetname blast_eff
			}
			ambient_generic
			{
				targetname crawler_hop_sfx
				spawnflags 48
				health 10 // this is volume
				radius 14000
				pitch 100
				message "mvm/mvm_deploy_giant.wav"
			}
			ambient_generic
			{
				targetname blast_sfx
				spawnflags 48
				health 10 // this is volume
				radius 14000
				pitch 100
				message "misc/doomsday_missile_explosion.wav"
			}
			logic_relay
			{
				targetname flipflop
	//			"spawnflags" "2"
				"OnTrigger" "!activator,$PlaySequence,taunt_flip_success_receiver,0,-1" 
				"OnTrigger" "crawler_hop_sfx,PlaySound,,0,-1" 
				"OnTrigger" "crawlerpush,Enable,,0.3,-1" 
				"OnTrigger" "crawlerpush,Disable,,1,-1" 
				"OnTrigger" "hop_blast,Enable,,2.6,-1" 
				"OnTrigger" "blast_eff,Start,,2.6,-1" 
				"OnTrigger" "blast_sfx,PlaySound,,2.6,-1" 
				"OnTrigger" "hop_blast,Disable,,2.8,-1" 
				"OnTrigger" "blast_eff,Stop,,3,-1" 
			}
			filter_tf_bot_has_tag // stop non-crawlers from being pushed
			{
				targetname filter_crawler
				require_all_tags 1
				tags crawler
				Negated "Allow entities that match criteria"
			}
		}
		RiderPT
		{
			NoFixup 1
			OnSpawnOutput
			{
				Target "rider_timer"
				Action "Enable"
				Delay 0.00
			}
			OnSpawnOutput
			{
				Target "player"
				Action "$playsoundtoself"
				Param "pda_w7_sntr.mp3"
			}
			OnSpawnOutput
			{
				Target "rider_idle"
				Action "PlaySound"
			}
			ambient_generic
			{
				targetname rider_idle
				health 10 // this is volume
				pitch 85
				radius 3500
				message "mvm/giant_heavy/giant_heavy_loop.wav"
				sourceentityname rider_noisebox
			}
			prop_dynamic // noisebox
			{
				angles "0 0 0"
				origin "-70 25 80"
				disableshadows 0
				model "models\empty.mdl"
				rendermode 10
				solid 0
				targetname rider_noisebox
			}
			info_particle_system
			{
				angles "0 0 0"
				origin "-70 25 80"
				effect_name kartdamage_smoke4
				start_active 1
				targetname rider_particle
			}
			info_particle_system
			{
				angles "0 0 0"
				origin "-70 -25 80"
				effect_name kartdamage_smoke4
				start_active 1
			}
			logic_timer
			{
				userandomtime 1
				lowerrandombound 7
				upperrandombound 14
				startdisabled 1
				targetname rider_timer
				
				"OnTimer" "player,$playsoundtoself,pda_w7_sntr.mp3,0,-1" 
			}
		//	trigger_hurt
		//	{
		//		damage 4500
		//		spawnflags 1
		//		damagetype 1048576
		//		filtername filter_redteam
		//		targetname rider_hurt
		//		origin "48 0 0"
		//		mins "-36 -36 -112"
		//		maxs "36 36 112"
		//	}
			logic_relay
			{
				targetname ridertime
				"OnTrigger" "!activator,$TauntFromItem,Taunt: The Hot Wheeler|taunt move speed|225|taunt turn speed|100,0,-1" 
			}
		}
		SmallRider
		{
			OnSpawnOutput
			{
				Target "smallrider_idle"
				Action "PlaySound"
			}
			ambient_generic
			{
				targetname smallrider_idle
				health 10 // this is volume
				pitch 90
				radius 3500
				message "Taunt.MopedForward"
				sourceentityname rider_soundsource
			}
			prop_dynamic // noisebox
			{
				angles "0 0 0"
				origin "-70 25 80"
				disableshadows 0
				model "models\empty.mdl"
				rendermode 10
				solid 0
				targetname rider_soundsource
			}
		}
		Bigshoe
		{
			trigger_push
			{
				pushdir "0 0 0"
				spawnflags 1
				speed 150
				filtername filter_shoe
				StartDisabled 1
				targetname shoepush
				mins "-24 -24 -24"
				maxs "24 24 24"
			}
			filter_tf_bot_has_tag // stop non-crawlers from being pushed
			{
				targetname filter_shoe
				require_all_tags 1
				tags bigshoe
				Negated "Allow entities that match criteria"
			}
			prop_dynamic
			{
				model "models/workshop/player/items/engineer/hwn2015_roboot/hwn2015_roboot.mdl"
				disableshadows 0
				modelscale 10
				origin "0 -48 0"
			}
		}
		BoxingGlove
		{
			prop_dynamic
			{
				model "models/props_halloween/hwn_spell_boxing_glove.mdl"
				angles "0 0 0"
				origin "0 0 0"
				skin 1
				modelscale 1.4
				disableshadows 1
			}
		}
		BlackBoxRocket
		{
			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
				disableshadows 1
			}
		}
		DEATHFUCKER666 // special guest from PDA Expert 
		{
		    NoFixUp 1
			OnSpawnOutput
			{
				Target "upper_text"
				Action "Display"
				Delay 0
			}

			OnSpawnOutput
			{
				Target "middle_text"
				Action "Display"
				Delay 0.2
			}
      		logic_relay
			{
				"spawnflags" "0"
				"targetname" "ST_kill_relay"
				"OnTrigger" "ST_mimic,Kill,,0,-1"
				"OnTrigger" "ST_mimic_crit,Kill,,0,-1"
				"OnTrigger" "ST_shoot_sound,Kill,,0,-1"
				"OnTrigger" "ST_shoot_sound_crit,Kill,,0,-1"
				"OnTrigger" "ST_model,Kill,,0,-1"
				"OnTrigger" "ST_timer,Disable,,0,-1"
				"OnTrigger" "ST_shooter_relay,CancelPending,,0,-1"
				"OnTrigger" "tf_projectile_pipe,Kill,,0,-1"
    			"origin" "-16 480 0"            
			}
			logic_relay
			{
				"spawnflags" "0"
				"targetname" "ST_shooter_relay"
				"OnTrigger" "ST_mimic_crit,DetonateStickies,,7,-1"
				"OnTrigger" "ST_mimic,DetonateStickies,,7,-1"
				"OnTrigger" "ST_shoot_sound,PlaySound,,0.5,-1"
				"OnTrigger" "ST_mimic,FireMultiple,4,0.5,-1"
				"OnTrigger" "ST_shoot_sound,PlaySound,,0.3,-1"
				"OnTrigger" "ST_mimic,FireOnce,,0.3,-1"
				"OnTrigger" "ST_shoot_sound,PlaySound,,0.2,-1"
				"OnTrigger" "ST_mimic,FireOnce,,0.2,-1"
				"OnTrigger" "ST_shoot_sound,PlaySound,,0.1,-1"
				"OnTrigger" "ST_mimic,FireOnce,,0.1,-1"
				"OnTrigger" "ST_shoot_sound,PlaySound,,0,-1"
				"OnTrigger" "ST_mimic,FireOnce,,0,-1"
				"OnTrigger" "ST_mimic,FireOnce,,0.4,-1"
				"OnTrigger" "ST_shoot_sound,PlaySound,,0.4,-1"
				"OnTrigger" "ST_mimic,FireOnce,,0.6,-1"
				"OnTrigger" "ST_shoot_sound,PlaySound,,0.6,-1"
				"OnTrigger" "ST_shoot_sound,PlaySound,,0.7,-1"
				"OnTrigger" "ST_mimic,FireOnce,,0.7,-1"
				"OnTrigger" "ST_shoot_sound,PlaySound,,0.8,-1"
				"OnTrigger" "ST_mimic,FireOnce,,0.8,-1"
				"OnTrigger" "ST_shoot_sound,PlaySound,,0.9,-1"
				"OnTrigger" "ST_mimic,FireOnce,,0.9,-1"
				"OnTrigger" "ST_mimic,FireMultiple,4,1,-1"
				"OnTrigger" "ST_shoot_sound,PlaySound,,1,-1"
				"OnTrigger" "ST_mimic_crit,FireOnce,,1.5,-1"
				"OnTrigger" "ST_shoot_sound_crit,PlaySound,,1.5,-1"
				"OnTrigger" "ST_shoot_sound_crit,PlaySound,,2,-1"
				"OnTrigger" "ST_mimic_crit,FireMultiple,2,2,-1"
				"OnTrigger" "ST_shoot_sound_crit,PlaySound,,2.5,-1"
				"OnTrigger" "ST_mimic_crit,FireMultiple,3,2.5,-1"
				"OnTrigger" "ST_shoot_sound_crit,PlaySound,,3,-1"
				"OnTrigger" "ST_mimic_crit,FireMultiple,6,3,-1"
				"origin" "-16 496 0"
			}
			logic_timer
			{
				"LowerRandomBound" "5"
				"spawnflags" "0"
				"StartDisabled" "0"
				"targetname" "ST_timer"
				"UpperRandomBound" "5"
				"UseRandomTime" "0"
				"OnTimer" "ST_shooter_relay,Trigger,,0,-1"
    			"origin" "0 496 0"
			}
			tf_point_weapon_mimic
			{
				"angles" "-56.5 0 0"
				"Crits" "1"
				"Damage" "138"
				"FireSound" "weapons/stickybomblauncher_shoot_crit.wav"
				"ModelScale" "1"
				"SpeedMax" "525"
				"SpeedMin" "525"
				"SplashRadius" "189"
				"SpreadAngle" "25"
				"targetname" "ST_mimic_crit"
				"WeaponType" "3"
				"origin" "33.948 59 167.289"
			}
			tf_point_weapon_mimic
			{
				"angles" "-58.5 0 180"
				"Crits" "1"
				"Damage" "138"
				"FireSound" "weapons/stickybomblauncher_shoot_crit.wav"
				"ModelScale" "1"
				"SpeedMax" "525"
				"SpeedMin" "525"
				"SplashRadius" "189"
				"SpreadAngle" "25"
				"targetname" "ST_mimic_crit"
				"WeaponType" "3"
				"origin" "34.16 -59 167.121"
			}
			tf_point_weapon_mimic
			{
				"angles" "-58.5 0 180"
				"Crits" "0"
				"Damage" "138"
				"FireSound" "weapons/stickybomblauncher_shoot.wav"
				"ModelScale" "1"
				"SpeedMax" "525"
				"SpeedMin" "525"
				"SplashRadius" "189"
				"SpreadAngle" "25"
				"targetname" "ST_mimic"
				"WeaponType" "3"
    			"origin" "34.16 -59 167.121"
			}
			tf_point_weapon_mimic
    		{
				"angles" "-56.5 0 0"
				"Crits" "0"
				"Damage" "138"
				"FireSound" "weapons/stickybomblauncher_shoot.wav"
				"ModelScale" "1"
				"SpeedMax" "525"
				"SpeedMin" "525"
				"SplashRadius" "189"
				"SpreadAngle" "25"
				"targetname" "ST_mimic"
				"WeaponType" "3"
				"origin" "33.948 59 167.289"
			}
			prop_dynamic
			{
				"angles" "-58.5 0 90"
				"DisableBoneFollowers" "0"
				"disablereceiveshadows" "1"
				"disableshadows" "1"
				"model" "models/props_frontline/tank_turret.mdl"
				"modelscale" "1"
				"skin" "2"
				"targetname" "ST_model"
				"origin" "-32.851 64 57.912"
			}
			prop_dynamic
			{
				"angles" "-56.5 0 -90"
				"DisableBoneFollowers" "0"
				"disablereceiveshadows" "1"
				"disableshadows" "1"
				"fademaxdist" "0"
				"fademindist" "-1"
				"model" "models/props_frontline/tank_turret.mdl"
				"modelscale" "1"
				"skin" "2"
				"targetname" "ST_model"
				"origin" "-36.709 -64 60.403"
			}
			ambient_generic
			{
				"health" "10"
				"message" "weapons/stickybomblauncher_shoot_crit.wav"
				"pitch" "100"
				"pitchstart" "100"
				"preset" "0"
				"radius" "5000"
				"spawnflags" "48"
				"targetname" "ST_shoot_sound_crit"
				"origin" "36 -9.53674e-07 168"
			}
			ambient_generic
			{
				"health" "10"
				"message" "weapons/stickybomblauncher_shoot.wav"
				"pitch" "100"
				"pitchstart" "100"
				"preset" "0"
				"radius" "5000"
				"spawnflags" "48"
				"targetname" "ST_shoot_sound"
				"origin" "36 -9.53674e-07 168"
			}
			logic_timer
			{
				"targetname" "pillspam"
				"refiretime" "0.2"
				"startdisabled" "1"
				"OnTimer" "grenade_shooter,fireonce,,0,-1"
				"OnTimer" "grenade_shoot,playsound,,0,-1"
			}
			logic_timer
			{
				"refiretime" "7.5"
				"OnTimer" "pillspam,toggle,,0,-1"
			}
			prop_dynamic
			{
				"targetname" "grenade_model"
				"angles" "0 0 0"
				"DisableBoneFollowers" "0"
				"disablereceiveshadows" "1"
				"disableshadows" "1"
				"model" "models/props_frontline/tank_turret.mdl"
				"modelscale" "0.75"
				"skin" "2"
				"origin" "0 0 80"
				"parentname" "grenade_spin"
			}
			prop_dynamic
			{
				"targetname" "grenade_model"
				"angles" "0 180 0"
				"DisableBoneFollowers" "0"
				"disablereceiveshadows" "1"
				"disableshadows" "1"
				"model" "models/props_frontline/tank_turret.mdl"
				"modelscale" "0.75"
				"skin" "2"
				"origin" "0 0 80"
				"parentname" "grenade_spin"
			}
			ambient_generic
			{
				"health" "10"
				"message" "weapons/grenade_launcher_shoot.wav"
				"pitch" "100"
				"pitchstart" "100"
				"preset" "0"
				"radius" "5000"
				"spawnflags" "48"
				"targetname" "grenade_shoot"
				"origin" "0 0 80"
			}
			tf_point_weapon_mimic
    		{
				"angles" "-30 0 0"
				"Crits" "0"
				"Damage" "100"
				"ModelScale" "1"
				"SpeedMax" "1024"
				"SpeedMin" "512"
				"SplashRadius" "189"
				"SpreadAngle" "2"
				"targetname" "grenade_shooter"
				"WeaponType" "1"
				"origin" "0 100 180"
				"parentname" "grenade_spin"
			}
			tf_point_weapon_mimic
    		{
				"angles" "-30 180 0"
				"Crits" "0"
				"Damage" "60" // damage after bounce
				"ModelScale" "1"
				"SpeedMax" "1024"
				"SpeedMin" "512"
				"SplashRadius" "189"
				"SpreadAngle" "2"
				"targetname" "grenade_shooter"
				"WeaponType" "1"
				"origin" "0 -100 180"
				"parentname" "grenade_spin"
			}
			func_rotating
			{
				"targetname" "grenade_spin"
				"origin" "0 0 0"
				"mins" "-8 -8 -8"
				"maxs" "8 8 8"
				"fanfriction" "12"
				"maxspeed" "300"
				"rendermode" "10"
				"spawnflags" "65"
			}
			prop_dynamic
			{
                "model" "models/props_medieval/fort_wall_short.mdl"
                "solid" "0"
                "origin" "0 0 30"
				"angles" "0 -90 0"
                "modelscale" "0.8"
			}
            trigger_hurt
            {
                "targetname" "sawblade_hurt"
                "filtername" "filter_redteam"
                "damage" "25"
                "damagetype" "1"
                "spawnflags" "1"
				"nodmgforce" "0"
                "origin" "0 0 120"
                "mins" "-100 -100 0"
                "maxs" "100 100 100"
                "OnHurtPlayer" "spikes_hit,PlaySound,,0,-1"
            }
			trigger_catapult
            {
				"spawnflags" "1"
				"airctrlsupressiontime" "-1"
				"applyangularimpulse" "1"
				"launchdirection" "-90 0 0"
				"playerspeed" 320
				"upperthreshold" "0.3"
				"useexactvelocity" "1"
				"filtername" "filter_redteam"
				"origin" "0 0 120"
				"mins" "-100 -100 0"
				"maxs" "100 100 100"
            }
            ambient_generic
            {
                "targetname" "spikes_hit"
                "message" "ambient\machines\slicer4.wav"
                "health" "10"
                "spawnflags" "32"
                "origin" "0 0 0"
            }
			prop_dynamic
			{
                "model" "models/props_mvm/mvm_human_skull.mdl"
                "solid" "0"
                "origin" "90 0 55"
				"angles" "0 0 0"
                "modelscale" "3.5"
			}
			prop_dynamic
			{
                "model" "models/workshop_partner/player/items/all_class/sd_glasses/sd_glasses_soldier_cigar.mdl"
                "solid" "0"
                "origin" "88 0 -105"
				"angles" "0 0 0"
                "modelscale" "2"
			}

			game_text
			{
				"origin" "1984 1984 99999"
				"targetname" "upper_text"
				"message" "THE MOTHER OF ALL TANKS"
				"x" "-1"
				"y" "0.4"
				"spawnflags" "1"
				"effect" "2"
				"channel" "2"
				"color" "255 255 255"
				"fxtime" "0.2"
				"fadeout" "1"
				//"fadein" "0"
				"holdtime" "5"
			}

			game_text
			{
				"origin" "1984 1984 99999"
				"targetname" "middle_text"
				"message" "DEATHFUCKER 666"
				"x" "-1"
				"y" "0.45"
				"channel" "0"
				"spawnflags" "1"
		//		"effect" "2"
				"color" "255 255 255"
				"fadein" "0.2"
				"fadeout" "1"
				"holdtime" "4.8"
			}
		}
	}
	
	PrecacheModel "models/workshop/player/items/pyro/taunt_the_hot_wheeler/taunt_the_hot_wheeler.mdl" 	 
	PrecacheModel "models/bots/pyro_boss/bot_pyro_boss_panim.mdl"
	PrecacheModel "models/bots/skeleton_sniper/skeleton_sniper.mdl"										 	
	PrecacheModel "models/bots/skeleton_sniper_boss/skeleton_sniper_boss.mdl"									 

	PrecacheSound "dsbarexp.wav" 																		 
	PrecacheSound "pda_w7_sntr.mp3" 																	 
	PrecacheSound "bonezone_intro.mp3" 																	 
	PrecacheSound "bonezone_loop.mp3" 																	 
	PrecacheSound "bonezone_end.mp3" 																	 
	
	ExtraTankPath  
	{
		Name "tank_path_air"
		Node "640 -240 50"
		Node "640 256 50"
		Node "752 416 50"
		Node "752 704 50"
		Node "752 1280 50"
		Node "1216 1920 50"
		Node "2048 1920 50"
		Node "2224 2320 50"
		Node "2320 3776 50"
		Node "3296 4960 50"
	}
	SpawnTemplate "corelogic"
	
	Templates
	{
		T_TFBot_Demoman_Persuader
		{
			Class Demoman
			Name "Demoknight"
			ClassIcon demoknight_persian_nys
			Skill Hard
			Item "Sultan's Ceremonial"
			Item "The Splendid Screen"
			Item "Ali Baba's Wee Booties"
			Item "The Persian Persuader"
			WeaponRestrictions MeleeOnly
			ItemAttributes
			{
				ItemName "The Persian Persuader"
				"critboost on kill" 3
			}
		}
		T_TFBot_Medic_Kritz //Pops Kritz on entering field, has to recharge
		{
			Name "Kritzkrieg Medic"
			Class Medic
			Skill Expert
			ClassIcon medic_kritz
			Attributes SpawnWithFullCharge
			Item "The Kritzkrieg"
			ItemAttributes
			{
				ItemName "The Kritzkrieg"
				"ubercharge rate bonus"	10
				"uber duration bonus" 4
			}
			ItemAttributes
			{
				ItemName "TF_WEAPON_SYRINGEGUN_MEDIC"
				"damage penalty" 1
				"mad milk syringes" 1
			}
			CharacterAttributes
			{
				"bot medic uber health threshold" 500
			}
		}
		T_TFBot_BossDiver
		{
			Class Pyro
			Skill Expert
			ClassIcon special_diverboss
			Health 25000
			Attributes MiniBoss
			Attributes UseBossHealthBar
			Tag crawler
			Item "The Neon Annihilator"
			Item "Traffic Cone"
			Item "Employee Badge A"
			Name "Iron Diver"
			Scale 2
			StripItemSlot 0
	//		UseHumanAnimations 1 	 
			SpawnTemplate "DiverPT"  
			UseCustomModel "models/bots/pyro_boss/bot_pyro_boss_panim.mdl"  
			ItemModel				 
			{
				ItemName "Employee Badge A"
				Model "models/workshop/player/items/pyro/hwn2015_neptunes_nightmare/hwn2015_neptunes_nightmare.mdl"
			}
			ItemModel				 
			{
				ItemName "Traffic Cone"
				Model "models/workshop/player/items/pyro/hw2013_maniacs_manacles/hw2013_maniacs_manacles.mdl"
			}
			ItemAttributes
			{
				ItemName "The Neon Annihilator"
				"dmg current health" 0.15	 
			}
			ItemAttributes
			{
				ItemName "TF_WEAPON_SHOTGUN_PYRO"
				"provide on active" 1
				"is invisible" 1 			 
				"move speed bonus"	0
				"no_attack" 1
				"custom kill icon" armageddon // does not carry over to the hurt trigger!!
			}
			EventChangeAttributes
			{
				Default
				{
					WeaponSwitch   
					{
						Delay 0.3
						Cooldown 5
						Repeats 0
						Type "Melee"
					}
					CharacterAttributes
					{
						"move speed bonus"	0.4
						"always allow taunt" 1  
						"damage force reduction" 0
						"airblast vulnerability multiplier" 0
						"airblast vertical vulnerability multiplier" 0.1
						"rage giving scale"	0
						"override footstep sound set" 2
					}
					ChangeAttributes
					{
						Delay 10
						Repeats 1
						IfSeeTarget 1
						Name "Hoptime"
					}
				}
				Hoptime
				{
					WeaponSwitch   
					{
						Delay 0.3
						Cooldown 5
						Repeats 0
						Type "Secondary"
					}
					VoiceCommand
					{
						Delay 0.1
						Cooldown 5.8
						Repeats 0
						Type "Cheers"
					}
					FireInput   
					{
						Target "flipflop"
						Action "Trigger"
						Delay 0.7
						Cooldown 60
						Repeats 1
					}
					CharacterAttributes
					{
						"move speed bonus"	0
						"always allow taunt" 1  
						"damage force reduction" 0
						"airblast vulnerability multiplier" 0
						"airblast vertical vulnerability multiplier" 0.1
						"rage giving scale"	0
						"override footstep sound set" 2
					}
					ChangeAttributes
					{
						Delay 5
						Repeats 1
						Name "Default"
					}
				}
			}
		}
		T_TFBot_BossRider
		{
			Class Pyro
			Skill Easy
			ClassIcon dead_blu_lite
			Health 12000
			Attributes MiniBoss
			Attributes UseBossHealthBar
			Action Mobber
			ExtAttr IgnoreBuildings  
			WeaponRestrictions MeleeOnly
			Item "The Smoking Skid Lid"
			Item "The Soldier's Stogie"
			Name "Bad to the Bone"
			Scale 1.8
			NoIdleSound 1 			 
			UseHumanAnimations 1 	 
			AimTrackingInterval 1.5   
			FastUpdate 1 			 
			UseCustomModel "models/bots/skeleton_sniper_boss/skeleton_sniper_boss.mdl"  
			SpawnTemplate  
			{
				Name "RiderPT"
			}
			FireInput   
			{
				Target "ridertime"
				Action "Trigger"
				Delay 0.2
				Cooldown 20
				Repeats 1
			}
			FireWeapon  
			{
				Delay 1
				Cooldown 6
				Repeats 0
				IfSeeTarget 1
				Duration 0.5
				Type "Primary"
			}
			ItemAttributes
			{
				ItemName "TF_WEAPON_FIREAXE"
				"custom kill icon" bumper_kart
			}
			CharacterAttributes
			{
				"always allow taunt" 1  
				"rage giving scale"	0
				"voice pitch scale" 0
				"damage causes airblast" 1
				"stomp player force" 320
				"stomp player damage" 120
				"stomp player time" 0.3
				"stomp building damage" 4444
				"damage force reduction" 0
				"airblast vulnerability multiplier" 0
				"bombinomicon effect on death" 1
			}
		}
		T_TFBot_SmallRider
		{
			Class Pyro
			Skill Easy
			ClassIcon dead_blu_lite
			Health 1100
			Attributes MiniBoss
			Action Mobber
			ExtAttr IgnoreBuildings  
			WeaponRestrictions MeleeOnly
			Item "The Pardner's Pompadour"
			Item "Merc's Pride Scarf"
			Name "Hell Rider"
			Scale 1.1
			NoIdleSound 1 			 
			UseHumanAnimations 1 	 
			AimTrackingInterval 1.5   
			FastUpdate 1 			 
			UseCustomModel "models/bots/skeleton_sniper/skeleton_sniper.mdl"  
			SpawnTemplate "SmallRider"
			DeathSound "=150|mvm\giant_soldier\giant_soldier_explode.wav"  
			FireInput  
			{
				Target "!self"
				Action "$TauntFromItem"
				Param "Taunt: The Hot Wheeler|taunt move speed|225|taunt turn speed|50,0,-1" 
				Delay 1
				Repeats 1
			}
			ItemAttributes
			{
				ItemName "TF_WEAPON_FIREAXE"
				"custom kill icon" bumper_kart
			}
			CharacterAttributes
			{
				"always allow taunt" 1  
				"rage giving scale"	0
				"voice pitch scale" 0
				"damage causes airblast" 1
				"stomp player force" 320
				"stomp player damage" 50
				"stomp player time" 0.3
				"stomp building damage" 200
				"damage force reduction" 0.2
				"airblast vulnerability multiplier" 0.2
				"bombinomicon effect on death" 1
			}
		}
		T_Bigshoe
		{
			Class Heavy
			Skill Expert
			Health 9999
			WeaponRestrictions MeleeOnly
			ClassIcon random
			Attributes MiniBoss
			Attributes DisableDodge
			AimTrackingInterval 0
			FastUpdate 1
			Action Mobber
			Tag bigshoe
			ExtAttr IgnoreNPC   // can't hurt Tanks
			UseCustomModel "models/empty.mdl"
			AddCond   { Name TF_COND_REPROGRAMMED } 
			Scale 2.4
			NoIdleSound 1
			Name "Big Shoe"
			SpawnTemplate "Bigshoe"
			EventChangeAttributes
			{
				Cutscene // disable jumping somehow
				{
				}
				Normal
				{
					ChangeAttributes
					{
					Delay 5
					Repeats 0
			//		IfSeeTarget 1
					Name "Stomp"
					}
					CharacterAttributes
					{
						"cancel falling damage" 1
						"move speed bonus"	0.1
						"no_attack" 1
						"ignore player clip" 1
						"dmg from ranged reduced" 0
						"dmg from melee increased" 0
						"ignored by enemy sentries" 1
						"ignored by bots" 1
						"cannot be backstabbed" 1
						"voice pitch scale" 0
						"increased jump height" 2
						"increased air control" 8
					}
				}
				Stomp
				{
					FireWeapon
					{
						Delay 0.2
						Cooldown 5
						Repeats 0
						Duration 0.3
						Type Jump
					}
					FireInput   
					{
						Target "shoepush"
						Action "Enable"
						Delay 0.4
						Cooldown 20
						Repeats 0
					}
					FireInput   
					{
						Target "shoepush"
						Action "Disable"
						Delay 0.6
						Cooldown 20
						Repeats 0
					}
					ChangeAttributes
					{
						Delay 2.4
						Repeats 0
						Name "Normal"
					}
					CharacterAttributes
					{
						"cancel falling damage" 1
						"move speed bonus"	16
						"ignore player clip" 1
						"no_attack" 1
						"dmg from ranged reduced" 0
						"cannot be backstabbed" 1
						"voice pitch scale" 0
						"increased jump height" 2
						"increased air control" 8
						"stomp player force" -270
						"stomp player damage" 70000
						"stomp player time" 0.1
					}
				}
			}
			ChangeAttributes
			{
				Delay 0
				Repeats 1
				Name "Stomp"
			}
			ItemAttributes
			{
				ItemName TF_WEAPON_FISTS
				"custom kill icon" mantreads
				"custom hit sound" Weapon_QuakeRPG.Explode
				"damage causes airblast" 1
			}
		}
		T_TFBot_Giant_Fist
		{
			Class Heavyweapons
			Name "Mega Heavyweight Champ"
			ClassIcon heavy_champ_ranged
			Skill Expert
			Health 5000
			WeaponRestrictions PrimaryOnly
			MaxVisionRange 1200
			Attributes MiniBoss
			Attributes HoldFireUntilFullReload
			StripItemSlot 1
			Item "TF_WEAPON_ROCKETLAUNCHER"
			Item "The Killing Gloves of Boxing"
			Item "Pugilist's Protector"
			UseCustomModel "models/bots/heavy/bot_heavy.mdl"  
			
			ItemAttributes
			{
				ItemName "TF_WEAPON_ROCKETLAUNCHER"
				"damage bonus"	0.6
				"custom item model" "models/weapons/c_models/c_boxing_gloves/c_boxing_gloves.mdl"
				"custom projectile model" models/weapons/w_models/w_drg_ball.mdl
				"custom weapon fire sound" "Weapon_BoxingGloves.Miss"
				"custom impact sound" "Weapon_BoxingGloves.HitWorld"
				"explosion particle" mvm_soldier_shockwave
				"custom kill icon" gloves
				"clip size upgrade atomic" 8.0
				"dmg pierces resists absorbs" 1
				"mult projectile scale" 1.4
				"faster reload rate" 0.22
				"fire rate bonus" 0.15
				"projectile spread angle penalty" 5
				"Projectile speed increased" 0.5
				"blast radius increased" 0.2
			}
			ItemAttributes
			{
				ItemName "The Killing Gloves of Boxing"
				"is_passive_weapon" 1
			}
			CharacterAttributes
			{
				"move speed bonus"	0.5
				"damage force reduction" 0.3
				"airblast vulnerability multiplier" 0.3
				"override footstep sound set" 2
				"gesture speed increase" 4
			}
		}
		T_TFBot_Pyro_Jetpack
		{
			Class Pyro
			Skill Normal
			Item "The Thermal Thruster"
			UseHumanAnimations 1  
			MaxVisionRange 800
			
			ItemAttributes
			{
				ItemName "The Thermal Thruster"
				"switch from wep deploy time decreased" 1.5
				"holster_anim_time"	"0.4"
				"item_meter_charge_rate" "50"
			}
			WeaponSwitch   
			{
				Delay 6.3
				Cooldown 8
				Repeats 0
	//			IfSeeTarget 1
				Type "Secondary"
			}
			FireWeapon    //Periodically fires weapon
			{
				Delay 7.2
				Cooldown 8
				Repeats 0
				Duration 1.5
	//			IfSeeTarget 1
				Type "Primary"
			}
			WeaponSwitch   
			{
				Delay 8.4
				Cooldown 8
				Repeats 0
	//			IfSeeTarget 1
				Type "Primary"
			}
		}
		T_TFBot_SentryBuster_Conga
		{
			Class Demoman
			Name "Sentry Buster"
			Skill Expert
			Health 2500
			Item "The Ullapool Caber"
			WeaponRestrictions MeleeOnly
			ClassIcon sentry_buster
			Attributes MiniBoss
			CharacterAttributes
			{
				"move speed bonus" 2
				"damage force reduction" 0.5
				"airblast vulnerability multiplier" 0.5
				"override footstep sound set" 7
				"cannot be backstabbed" 1
				"always allow taunt" 1
			}
			Sequence
			{
                Name Airwalk_LOSER
				Cooldown 0.5
				Delay 1.3
				Repeats 0
			}
		}
	}
	CustomWeapon  
	{
		"The Giga-Mallet" // this mission is more of a greatest hits mix
		{
			OriginalItemName "The Horseless Headless Horseman's Headtaker"
			"damage bonus" 1.5
			"dmg bonus vs buildings" 1.5
			"fire rate bonus" 1.25
			"melee cleave attack" 1
			"critboost on kill" 2
		//	"apply z velocity on damage" -8000
			"custom item model" "models\weapons\c_models\c_big_mallet\c_big_mallet.mdl"
			"custom kill icon" necro_smasher
			"melee range multiplier" 1.15
			"add attributes on hit" "torso scale|0.5|-1|head scale|0.7|-1|voice pitch scale|1.15|-1"
		}
		"The Blast Box"
		{
			OriginalItemName "The Black Box"
			"paintkit_proto_def_index" 296 
			"set_item_texture_wear" 0
	//		"damage bonus" 2
			"damage causes airblast" 1
			"fire rate bonus" 2.5
			"use large smoke explosion" 1
			"blast radius increased" 2
			"dmg falloff decreased" 0.5
			"blast dmg to self increased" 2
			"projectile speed increased" 0.6
			"clip size penalty" 0.25
	//		"custom impact sound" "misc/doomsday_missile_explosion.wav"
		}
	}
	Mission // sentry buster
	{
		Objective DestroySentries

		InitialCooldown 5
		Where spawnbot
		BeginAtWave 1
		RunForThisManyWaves 5

		CooldownTime 25            

		TFBot
		{
			Template T_TFBot_SentryBuster
			Attributes DisableDodge // stop
			Attributes IgnoreEnemies // no
		}
	}
	Mission // sentry buster
	{
		Objective DestroySentries

		InitialCooldown 5
		Where spawnbot
		BeginAtWave 6
		RunForThisManyWaves 2

		CooldownTime 25            

		TFBot
		{
			Template T_TFBot_SentryBuster_Conga
			Attributes DisableDodge // stop
			Attributes IgnoreEnemies // no
		}
	}
//	Mission // Engineer w2
//	{
//		Objective Engineer
//
//		InitialCooldown 30
//		Where spawnbot_middle
//		BeginAtWave 2
//		RunForThisManyWaves 1
//		DesiredCount 1
//
//		CooldownTime 60         
//		
//		TFBot
//		{
//			Template T_TFBot_Engineer_Sentry_Teleporter
//			TeleportWhere spawnbot_left
//			TeleportWhere spawnbot_middle
//			TeleportWhere spawnbot_right
//			TeleportWhere spawnbot_mission_sniper
//		}
//	}
	Mission // Sniper w3
	{
		Objective Sniper

		InitialCooldown 60
		Where spawnbot_mission_sniper
		BeginAtWave 3
		RunForThisManyWaves 1
		DesiredCount 4

		CooldownTime 60         
		
		TFBot
		{
			Template T_TFBot_Sniper
		}
	}
//	Mission // Engineer w4
//	{
//		Objective Engineer
//
//		InitialCooldown 30
//		Where spawnbot_middle
//		BeginAtWave 4
//		RunForThisManyWaves 1
//		DesiredCount 1
//
//		CooldownTime 60         
//		
//		TFBot
//		{
//			Template T_TFBot_Engineer_Sentry_Teleporter
//			TeleportWhere spawnbot_left
//			TeleportWhere spawnbot_middle
//			TeleportWhere spawnbot_right
//			TeleportWhere spawnbot_mission_sniper
//		}
//	}
	Mission // Spy w5
	{
		Objective Spy

		InitialCooldown 60
		Where spawnbot_mission_spy
		BeginAtWave 5
		RunForThisManyWaves 1
		DesiredCount 2

		CooldownTime 60         
		
		TFBot
		{
			Template T_TFBot_Spy
		}
	}
	
///////////////////////////////////////////////////////////////////////////////////// 
// Lotus Advanced (LED-Motif)
// Cash given at start: $800
// Wave payouts:
// W1: $800 W2: $900 W3: $1100
// W4: $800 W5: $2000 W6: $2000
// Max amount of money: $8900
// Max Amount without bonus: $8400
/////////////////////////////////////////////////////////////////////////////////////

	Wave
	{
		StartWaveOutput
		{
			Target wave_start_classic_relay
			Action Trigger
		}
		DoneOutput					
		{
			Target wave_finished_relay
			Action trigger
		}
		WaitWhenDone 65
		Checkpoint Yes

		WaveSpawn
		{
			Name "wave01a"
			Where spawnbot_middle
			Where spawnbot_right
			TotalCount 27
			MaxActive 6
			SpawnCount 3
			WaitBeforeStarting 0
			WaitBetweenSpawns 2
			Totalcurrency 200
			
			TFBot
			{
				Class Demoman
				Skill Normal
			}
		}
		WaveSpawn
		{
			Name "wave01a"
			Where spawnbot_middle
			Where spawnbot_left
			TotalCount 21
			MaxActive 7
			SpawnCount 7
			WaitBeforeStarting 6
			WaitBetweenSpawns 2
			Totalcurrency 200
			RandomSpawn 1
			
			TFBot
			{
				Template T_TFBot_Sniper_Huntsman
			}
		}
		WaveSpawn
		{
			Name "wave01b"
			Where spawnbot_left
			Where spawnbot_middle
			TotalCount 35
			MaxActive 14
			SpawnCount 7
			WaitBeforeStarting 12
			WaitBetweenSpawns 6
			WaitForAllSpawned "wave01a"
			Totalcurrency 200
			
			TFBot
			{
				Class Soldier
				Skill Hard
			}
		}
		WaveSpawn
		{
			Name "wave01c"
			Where spawnbot_middle
			TotalCount 36
			MaxActive 9
			SpawnCount 3
			WaitBeforeStarting 8
			WaitBetweenSpawns 1
			WaitForAllSpawned "wave01b"
			Totalcurrency 100
			
			Support 1
			
			TFBot
			{
				Class Scout
				Skill Normal
				WeaponRestrictions MeleeOnly
			}
		}
		WaveSpawn
		{
			Name "wave01c"
			Where spawnbot_left
			TotalCount 2
			MaxActive 2
			SpawnCount 1
			WaitBeforeStarting 3
			WaitBetweenSpawns 15
			WaitForAllDead "wave01b"
			Totalcurrency 100
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Scout_Baseball_Armored
					Name "Super Baller"
			//		Attributes AlwaysCrit
					ExtAttr IgnoreBuildings  
					ExtAttr AlwaysFireWeaponAlt  
				}
			//	TFBot
			//	{
			//		Template T_TFBot_Medic_QuickFix
			//	}
			//	TFBot
			//	{
			//		Template T_TFBot_Medic_QuickFix
			//	}
			}
		}
	}
	Wave
	{
		StartWaveOutput
		{
			Target wave_start_classic_relay
			Action Trigger
		}
		DoneOutput					
		{
			Target wave_finished_relay
			Action trigger
		}
		WaitWhenDone 65
		Checkpoint Yes
		
		WaveSpawn
		{
			Where spawnbot_left
			Where spawnbot_middle
			Where spawnbot_right
			TotalCount 64
			MaxActive 9
			SpawnCount 3
			WaitBeforeStarting 0
			WaitBetweenSpawns 3.5
			Totalcurrency 300
			
			Support 1
			
			TFBot
			{
				Template T_TFBot_Heavyweapons_Heavyweight_Champ_Fast
			}
		}
		WaveSpawn
		{
			Name "wave02a"
			Where spawnbot_right
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			WaitBeforeStarting 16
			WaitBetweenSpawns 0
			Totalcurrency 50
			
			TFBot
			{
				Template T_TFBot_Giant_Heavyweapons
				Skill Easy
				Action Mobber  
			}
		}
		WaveSpawn
		{
			Name "wave02a"
			Where spawnbot_left
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			WaitBeforeStarting 8
			WaitBetweenSpawns 0
			Totalcurrency 50
			
			TFBot
			{
				Template T_TFBot_Giant_Heavyweapons
				Skill Easy
				Action Mobber  
			}
		}
		WaveSpawn
		{
			Name "wave02b"
			Where spawnbot_left
			TotalCount 6
			MaxActive 6
			SpawnCount 3
			WaitBeforeStarting 6
			WaitBetweenSpawns 12
			WaitForAllDead "wave02a"
			Totalcurrency 200
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Demoman
				}
				TFBot
				{
					Template T_TFBot_Medic_Kritz
				}
				TFBot
				{
					Template T_TFBot_Medic_Kritz
				}
		//		TFBot
		//		{
		//			Template T_TFBot_Medic_Kritz
		//		}
		//		TFBot
		//		{
		//			Template T_TFBot_Medic_Kritz
		//		}
			}
		}
		WaveSpawn
		{
			Name "wave02c"
			Where spawnbot_middle
			TotalCount 16 // lowered from 24 so it doesn't hang too much if red gets pushed
			MaxActive 8
			SpawnCount 4
			WaitBeforeStarting 5
			WaitBetweenSpawns 8
			WaitForAllDead "wave02b"
			Totalcurrency 100
			
			TFBot
			{
				Template T_TFBot_Soldier_Extended_Battalion
			}
		}
		WaveSpawn
		{
			Name "wave02d"
			Where spawnbot_left
			Where spawnbot_right
			TotalCount 18 // might as well make them more in number
			MaxActive 6
			SpawnCount 3
			WaitBeforeStarting 1
			WaitBetweenSpawns 8
			WaitForAllDead "wave02c"
			Totalcurrency 100
			
			RandomSpawn 1
			Support limited // lame!
			
			TFBot
			{
				Template T_TFBot_Scout_Shortstop
			}
		}
		WaveSpawn
		{
			Name "wave02d"
			Where spawnbot_left
			Where spawnbot_right
			TotalCount 2
			MaxActive 2
			SpawnCount 2
			WaitBeforeStarting 15
			WaitBetweenSpawns 6
			WaitForAllSpawned "wave02c"
			Totalcurrency 100
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_DemoMan_PrinceTavish
					Action Mobber  
					ClassIcon mallet_lite
					Item "The Giga-Mallet"
				}
				TFBot
				{
					Template T_TFBot_Giant_Medic_Regen
				}
			}
		}
	}
	Wave
	{
		StartWaveOutput
		{
			Target wave_start_classic_relay
			Action Trigger
		}
		DoneOutput					
		{
			Target wave_finished_relay
			Action trigger
		}
		WaitWhenDone 65
		Checkpoint Yes
		
		WaveSpawn
		{
			Name "wave03a"
			Where spawnbot_left
			Where spawnbot_right
			TotalCount 3
			MaxActive 3
			SpawnCount 1
			WaitBeforeStarting 0
			WaitBetweenSpawns 5
			Totalcurrency 150
			
			TFBot
			{
				Template T_TFBot_Giant_Scout_Baseball_Armored
				Name "Super Baller"
		//		Attributes AlwaysCrit
				ExtAttr IgnoreBuildings  
				ExtAttr AlwaysFireWeaponAlt  
			}
		}
		WaveSpawn // the amazing plane(s)
		{
			Name "wave03tank"
			TotalCount 2
			SpawnCount 1
			WaitBeforeStarting 0
			WaitBetweenSpawns 65
			WaitForAllDead "wave03a"
			TotalCurrency 100
			
			FirstSpawnWarningSound 	"MVM.TankStart"
			LastSpawnWarningSound 	"MVM.TankStart"

			Tank
			{
				Health 13000
				Speed 50
				Name "tankboss"
				StartingPathTrackNode "tank_path_air_1"
				ClassIcon blimp2_lite   //Use custom icon for a tank
				OnKilledOutput
				{
					Target boss_dead_relay
					Action Trigger
				}
				OnBombDroppedOutput
				{
					Target boss_deploy_relay
					Action Trigger
				}
				SpawnTemplate "PlaneTank"
				DisableSmokestack 1
				MaxTurnRate 20
				DisableTracks 1
				Model "models/empty.mdl" 
				Gravity 0
				NoCrushDamage 1
				EngineLoopSound "*vehicles\airboat\fan_blade_idle_loop1.wav"
			}
		}
		WaveSpawn
		{
			Name "wave03b"
			Where spawnbot_left
			Where spawnbot_right
			TotalCount 10
			MaxActive 8
			SpawnCount 2
			WaitBeforeStarting 8
			WaitBetweenSpawns 10
			WaitForAllDead "wave03a"
			Totalcurrency 200
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Demo_RapidFire
				}
				TFBot
				{
					Template T_TFBot_Medic_BigHeal
				}
		//		TFBot
		//		{
		//			Template T_TFBot_Medic_BigHeal
		//		}
			}
		}
		WaveSpawn
		{
			Name "wave03b"
			Where spawnbot_left
			Where spawnbot_right
			TotalCount 24
			MaxActive 6
			SpawnCount 3
			WaitBeforeStarting 12
			WaitBetweenSpawns 5
			WaitForAllDead "wave03a"
			Totalcurrency 150
			
			TFBot
			{
				Class Heavy
		//		ClassIcon heavy_deflector
		//		Name "Deflector Heavy"
				Skill Easy
		//		Item "Deflector"
		//		Item "The U-Clank-A"
				ItemAttributes
				{
					ItemName "Deflector"
					"attack projectiles" 1
				}
			}
		}
		WaveSpawn
		{
			Name "wave03c"
			Where spawnbot_right
			TotalCount 32
			MaxActive 12
			SpawnCount 4
			WaitBeforeStarting 12
			WaitBetweenSpawns 5
			WaitForAllSpawned "wave03b"
			Totalcurrency 100
			
			TFBot
			{
				Template T_TFBot_Demoman_Persuader
			}
		}
		WaveSpawn
		{
			Name "wave03c"
			Where spawnbot_left
			Where spawnbot_right
			TotalCount 6
			MaxActive 6
			SpawnCount 3
			WaitBeforeStarting 20
			WaitBetweenSpawns 14
			WaitForAllSpawned "wave03b"
			Totalcurrency 200
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Demo_RapidFire
				}
				TFBot
				{
					Template T_TFBot_Medic_BigHeal
				}
				TFBot
				{
					Template T_TFBot_Medic_BigHeal
				}
			}
		}
		WaveSpawn
		{
			Name "wave03d"
			Where spawnbot_left
			Where spawnbot_right
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			WaitBeforeStarting 7
			WaitBetweenSpawns 0
			WaitForAllSpawned "wave03c"
			Totalcurrency 200
			
			FirstSpawnWarningSound "ambient/water/water_splash3.wav"
			
			TFBot
			{
				Template T_TFBot_BossDiver
			}
		}
		WaveSpawn
		{
			Where spawnbot_left
			Where spawnbot_right
			TotalCount 4
			MaxActive 4
			SpawnCount 2
			WaitBeforeStarting 15
			WaitBetweenSpawns 4
			WaitForAllSpawned "wave03c"
			
			Support 1
			
			TFBot
			{
				Name "Milkman Scout"
				Class Scout
				Skill Expert
				ClassIcon scout_milk
				Item "Mad Milk"
				Item "The Milkman"
				WeaponRestrictions SecondaryOnly
				Action Mobber
				ItemAttributes
				{
					ItemName "Mad Milk"
					"effect bar recharge rate increased" -1
				}
				FireWeapon  
				{
					Delay 1
					Cooldown 1
					Repeats 0
					IfSeeTarget 1
					Duration 0.5
					Type "Primary"
				}
			}
		}
		WaveSpawn
		{
			Where spawnbot_right
			TotalCount 6
			MaxActive 6
			SpawnCount 2
			WaitBeforeStarting 10
			WaitBetweenSpawns 4
			WaitForAllSpawned "wave03d"
			
			Support 1
			
			TFBot
            {
				Class Pyro
				ClassIcon pyro_neon
				Item "The Neon Annihilator"
				Item "The Cranial Carcharodon"
				Name "Air Mariner"
				WeaponRestrictions MeleeOnly
				UseHumanModel 1
				CharacterAttributes
				{
					"move speed bonus" 3
				}
				AddCond  
				{
					Name TF_COND_SWIMMING_CURSE
					Delay 3
				}
            }
		}
	}
	Wave
	{
		StartWaveOutput
		{
			Target wave_start_classic_relay
			Action Trigger
		}
		DoneOutput					
		{
			Target wave_finished_relay
			Action trigger
		}
		WaveSpawn
		{
	//		Name "wave04b"
			TotalCount 1
			SpawnCount 1
			WaitBeforeStarting 0
			WaitBetweenSpawns 40
			TotalCurrency 200
		
			Tank
			{
				Health 30000
				Speed 60
				Name "tankboss"
				StartingPathTrackNode "tank_path_same_2"
				OnKilledOutput
				{
					Target boss_dead_relay
					Action Trigger
				}
				OnBombDroppedOutput
				{
					Target boss_deploy_relay
					Action Trigger
				}
			}
		}
		WaveSpawn
		{
			Name "wave04a"
			Where spawnbot_left
			Where spawnbot_middle
			Where spawnbot_right
			TotalCount 10
			MaxActive 10
			SpawnCount 2
			WaitBeforeStarting 0
			WaitBetweenSpawns 8
			Totalcurrency 100
			
			Squad
			{
				TFBot
				{
					Template T_TFBot_Giant_Fist
					ShootTemplate
					{
						Name BoxingGlove
						AttachToProjectile 1
						ItemName "TF_WEAPON_ROCKETLAUNCHER"
					}
				}
				TFBot
				{
					Template T_TFBot_Medic
					CharacterAttributes
					{
						"bot medic uber health threshold" 500
						"uber duration bonus" -4
					}
				}
			}
		}
		WaveSpawn
		{
	//		Name "wave04b"
			Where spawnbot_left
			TotalCount 24
			MaxActive 12
			SpawnCount 4
			WaitBeforeStarting 12
			WaitBetweenSpawns 5
			Totalcurrency 100
			
			TFBot
			{
				Class Scout
				Skill Normal
			}
		}
		WaveSpawn
		{
			Name "wave04c"
			Where spawnbot_right
			TotalCount 36
			MaxActive 15
			SpawnCount 3
			WaitBeforeStarting 0
			WaitBetweenSpawns 2
			WaitForAllDead "wave04a"
			Totalcurrency 100
			
			RandomChoice
			{
				TFBot
				{
					Template T_TFBot_Soldier_Extended_Buff_Banner
					Item "Burly Beast"
					Item "Alcoholic Automaton"
					Item "The Original"
					Skill Hard
					ClassIcon soldier_homing_nys_buff
					ItemAttributes
					{
						ItemName "The Original"
						"custom impact sound" =150|dsbarexp.wav
					}
					ItemColor   //Set item color
					{
						ItemName "The Original"
						Red 40
						Green 40
						Blue 40
					}
					CharacterAttributes
					{
						"damage bonus" 1.2
						"Projectile speed increased" 0.5
					}
				}
				TFBot
				{
					Template T_TFBot_Soldier_Extended_Buff_Banner
					Item "Burly Beast"
					Item "The Hellmet"
					Item "Employee Badge A"
					Item "The Original"
					Skill Hard
					ClassIcon soldier_homing_nys_buff
					ItemModel				 
					{
						ItemName "Employee Badge A"
						Model "models/player/items/heavy/big_jaw.mdl"
					}
					ItemColor   //Set item color
					{
						ItemName "The Original"
						Red 40
						Green 40
						Blue 40
					}
					ItemAttributes
					{
						ItemName "The Original"
						"custom impact sound" =80|dsbarexp.wav
						"mod projectile heat seek power" 25
						"mod projectile heat aim error" 100
						"mod projectile heat aim time" 5
						"Projectile speed increased" 0.5
					}
					CharacterAttributes
					{
						"projectile trail particle" "eyeboss_projectile"
						"damage bonus" 1.2
					}
				}
			}
		}
		WaveSpawn
		{
			Name "wave04d"
			Where spawnbot_left
			Where spawnbot_right
			TotalCount 36
			MaxActive 15
			SpawnCount 4
			WaitBeforeStarting 10
			WaitBetweenSpawns 3
			WaitForAllSpawned "wave04c"
			Totalcurrency 100
			
			Support 1
			
			TFBot
			{
				Class Scout
				Skill Normal
			}
		}
		WaveSpawn
		{
			Name "wave04d"
			Where spawnbot_left
			Where spawnbot_right
			TotalCount 4
			MaxActive 4
			SpawnCount 1
			WaitBeforeStarting 5
			WaitBetweenSpawns 10
			WaitForAllSpawned "wave04c"
			Totalcurrency 200
			
			RandomSpawn 1
			
			TFBot
			{
				Template T_TFBot_Giant_Heavyweapons
			}
		}
	}
	Wave
	{
		StartWaveOutput
		{
			Target wave_start_classic_relay
			Action Trigger
		}
		DoneOutput					
		{
			Target wave_finished_relay
			Action trigger
		}
			
		WaveSpawn
		{
			Name "wave05a"
			Where spawnbot_middle
			TotalCount 24
			MaxActive 8
			SpawnCount 4
			WaitBeforeStarting 0
			WaitBetweenSpawns 10
			Totalcurrency 50
			
			TFBot
			{
				Class Demoman
				Skill Expert
			}
		}
		WaveSpawn
		{
			Name "wave05a"
			Where spawnbot_right
			TotalCount 32
			MaxActive 8
			SpawnCount 8
			WaitBeforeStarting 5
			WaitBetweenSpawns 10
			Totalcurrency 50
			
			TFBot
			{
				Template T_TFBot_Demoman_Persuader
			}
		}
		WaveSpawn
		{
			Name "wave05b"
			Where spawnbot_right
			TotalCount 2
			MaxActive 2
			SpawnCount 2
			WaitBeforeStarting 6
			WaitBetweenSpawns 0
			WaitForAllSpawned "wave05a"
			Totalcurrency 200
			
			Squad
			{
				TFBot
				{
					Class Soldier
					Health 4200
					Skill Expert
					Attributes MiniBoss
					WeaponRestrictions PrimaryOnly
					Attributes HoldFireUntilFullReload
					ClassIcon soldier_nuke2
					Item "The Blast Box"
					Name "Giant Blast Box Soldier"
					ShootTemplate
					{
						Name BlackBoxRocket
						AttachToProjectile 1
						ItemName "The Blast Box" // no rockets for festive
					}
					ItemAttributes
					{
						ItemName "The Blast Box"
						"damage bonus" 1.75
					}
					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
					}
				}
				TFBot
				{
					Template T_TFBot_Giant_Medic
				}
			//	TFBot
			//	{
			//		Template T_TFBot_Giant_Medic
			//	}
			}
		}
		WaveSpawn
		{
			Name "wave05c"
			Where spawnbot_right
			TotalCount 48
			MaxActive 16
			SpawnCount 4
			WaitBeforeStarting 0
			WaitBetweenSpawns 2
			WaitForAllDead "wave05b"
			Totalcurrency 300
			
			TFBot
			{
				Template T_TFBot_Sniper_Huntsman
			//	Name "Overclocked Bowman"
				Attributes AlwaysCrit
				ItemAttributes
				{
					ItemName "The Huntsman"
					"damage bonus" 1
			//		"mod projectile heat seek power" 215
			//		"mod projectile heat aim error" 90
			//		"mod projectile heat aim time" 1.7
			//		"projectile speed increased" 0.4
				}
			}
		}
		WaveSpawn
		{
			Name "wave05d"
			Where spawnbot_right
			TotalCount 2
			MaxActive 2
			SpawnCount 2
			WaitBeforeStarting 6
			WaitBetweenSpawns 0
			WaitForAllSpawned "wave05c"
			Totalcurrency 200
			
			Squad
			{
				TFBot
				{
					Class Soldier
					Health 4200
					Skill Expert
					Attributes MiniBoss
					WeaponRestrictions PrimaryOnly
					Attributes HoldFireUntilFullReload
					ClassIcon soldier_nuke2
					Item "The Blast Box"
					Name "Giant Blast Box Soldier"
					ShootTemplate
					{
						Name BlackBoxRocket
						AttachToProjectile 1
						ItemName "The Blast Box" // no rockets for festive
					}
					ItemAttributes
					{
						ItemName "The Blast Box"
						"damage bonus" 1.75
					}
					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
					}
				}
				TFBot
				{
					Template T_TFBot_Giant_Medic
				}
			//	TFBot
			//	{
			//		Template T_TFBot_Giant_Medic
			//	}
			}
		}
		WaveSpawn
		{
			Name "wave05e"
			Where spawnbot_left
			Where spawnbot_right
			TotalCount 48
			MaxActive 12
			SpawnCount 3
			WaitBeforeStarting 0
			WaitBetweenSpawns 2
			WaitForAllDead "wave05d"
			Totalcurrency 200
			
			RandomChoice
			{
				TFBot
				{
					Class Scout
					Skill Normal
				}
				TFBot
				{
					Template T_TFBot_Pyro_Jetpack
				}
			}
		}
		WaveSpawn
		{
			Name "wave05e"
			Where spawnbot_left
			TotalCount 6
			MaxActive 4
			SpawnCount 2
			WaitBeforeStarting 5
			WaitBetweenSpawns 8
			WaitForAllDead "wave05d"
			
			Support 1
			
			TFBot
			{
				Template T_TFBot_SmallRider
			}
		}
		WaveSpawn
		{
			Name "wave05e"
			Where spawnbot_left
			Where spawnbot_right
			TotalCount 5
			MaxActive 5
			SpawnCount 1
			WaitBeforeStarting 20
			WaitBetweenSpawns 7
			WaitForAllDead "wave05d"
			Totalcurrency 500
			
			TFBot
			{
				Template T_TFBot_Giant_Soldier_Spammer
			}
		}
		WaveSpawn
		{
			Where spawnbot_left
			TotalCount 5
			MaxActive 1
			SpawnCount 1
			WaitBeforeStarting 30
			WaitBetweenSpawnsAfterDeath 35
			Totalcurrency 500
			
			Support 1
			
			TFBot
			{
				Template T_TFBot_BossRider
			}
		}
	}
	Wave
	{
		StartWaveOutput
		{
			Target wave_start_classic_relay
			Action Trigger
		}
		DoneOutput					
		{
			Target wave_finished_relay
			Action trigger
		}
		
		SpawnTemplate "SKELETONMETAL"
		
		WaveSpawn
		{
			Name "wave06a"
			Where spawnbot_middle
			Where spawnbot_right
			TotalCount 16
			MaxActive 8
			SpawnCount 4
			WaitBeforeStarting 0
			WaitBetweenSpawns 3
			Totalcurrency 150
			
			TFBot
			{
				Class Heavy
				ClassIcon heavy_deflector
				Name "Deflector Heavy"
				Skill Normal
				Item "Deflector"
				Item "The U-Clank-A"
				ItemAttributes
				{
					ItemName "Deflector"
					"attack projectiles" 1
				}
			}
		}
		WaveSpawn
		{
			Name "wave06a"
			Where spawnbot_middle
			Where spawnbot_left
			TotalCount 24
			MaxActive 12
			SpawnCount 6
			WaitBeforeStarting 3
			WaitBetweenSpawns 3
			Totalcurrency 150
			
			TFBot
			{
				Template T_TFBot_Pyro_Jetpack
				Attributes AlwaysCrit
			}
		}
	//	WaveSpawn
	//	{
	//		Name "wave06b"
	//		TotalCount 1
	//		SpawnCount 1
	//		WaitBeforeStarting 0
	//		WaitBetweenSpawns 0
	//		WaitForAllSpawned "wave06a"
	//		TotalCurrency 100
	//	
	//		Tank
	//		{
	//			Health 21000
	//			Speed 65
	//			Name "tankboss"
	//			StartingPathTrackNode "tank_path_same_2"
	//			OnKilledOutput                                  
	//			{
	//				Target boss_dead_relay
	//				Action Trigger                         
	//			}
	//			OnBombDroppedOutput                             
	//			{
	//				Target boss_deploy_relay 
	//				Action Trigger                         
	//			}
	//		}
	//	}
		WaveSpawn
		{
			Name "wave06b"
			TotalCount 1
			SpawnCount 1
			WaitBeforeStarting 0
			WaitBetweenSpawns 0
			WaitForAllSpawned "wave06a"
			TotalCurrency 100
			
			FirstSpawnOutput
			{
				Target mus_boneintro_relay
				Action Trigger
				Delay 1
			}
		
			Tank
			{
				Health 20000
				Speed 60
				Name "tankboss"
				StartingPathTrackNode "tank_path_same_2"
				SpawnTemplate "SKELETONTANK"
				Model   //Set custom model on tank. Will spit harmless errors on client console if the model does not have enough sequences
				{
					Default "models/bots/tw2/boss_bot/boss_tank.mdl"
					Damage1 "models/bots/tw2/boss_bot/boss_tank.mdl"
					Damage2 "models/bots/tw2/boss_bot/boss_tank.mdl"
					Damage3 "models/bots/tw2/boss_bot/boss_tank.mdl"
					Destruction "models/bots/tw2/boss_bot/boss_tank_part1_destruction.mdl"
					LeftTrack "models/bots/tw2/boss_bot/tank_track_l.mdl"
					RightTrack "models/bots/tw2/boss_bot/tank_track_r.mdl"
					Bomb "models/bots/boss_bot/bombblue_mechanism.mdl"
				}
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			TotalCount 1
			SpawnCount 1
			WaitBeforeStarting 15
			WaitBetweenSpawns 35
			WaitForAllSpawned "wave06a"
			TotalCurrency 200
		
			FirstSpawnWarningSound 	"MVM.TankStart"
			
			Tank
			{
				Health 13000
				Speed 50
				Name "tankboss"
				StartingPathTrackNode "tank_path_air_1"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
				SpawnTemplate "PlaneTank_VERYSCARY" 						 
				ClassIcon blimp2_lite   //Use custom icon for a tank
				DisableSmokestack 1 										 
				MaxTurnRate 20												 
				DisableTracks 1 											 
				Model "models/empty.mdl" 									 
				Gravity -0.001 												 
	//			PingSound "misc/null.wav" 		
				NoCrushDamage 1
				EngineLoopSound "vehicles\airboat\fan_blade_idle_loop1.wav"  
			}
		}
		WaveSpawn
		{
			Name "wave06d"
			Where spawnbot_left
			Where spawnbot_middle
			Where spawnbot_right
			TotalCount 5
			MaxActive 3
			SpawnCount 1
			WaitBeforeStarting 15
			WaitBetweenSpawns 17
			WaitForAllSpawned "wave06b"
			Totalcurrency 450
			
			TFBot
			{
				Template T_TFBot_Giant_Heavyweapons
				UseCustomModel "models/bots/skeleton_sniper_boss/skeleton_sniper_boss.mdl"  
				UseHumanAnimations 1  
				NoIdleSound 1  
		//		DeathSound =150|misc/halloween/skeleton_break.wav
				Item "The Spooky Sleeves"
				Item "The Tyurtlenek"
				Item "Blizzard Britches"
				Item "The Soldier's Stogie"
				CharacterAttributes
				{
					"voice pitch scale" 0
				}
			}
		}
		WaveSpawn
		{
			Name "wave06d"
			Where spawnbot_left
			Where spawnbot_middle
			Where spawnbot_right
			TotalCount 6
			MaxActive 3
			SpawnCount 1
			WaitBeforeStarting 8
			WaitBetweenSpawns 17
			WaitForAllSpawned "wave06b"
			Totalcurrency 450
			
			TFBot
			{
				Template T_TFBot_Giant_Demoman
				Attributes AlwaysCrit
				UseCustomModel "models/bots/skeleton_sniper_boss/skeleton_sniper_boss.mdl"  
				UseHumanAnimations 1  
				NoIdleSound 1  
		//		DeathSound =150|misc/halloween/skeleton_break.wav
				Item "Blizzard Britches"
				Item "The Juggernaut Jacket"
				Item "Weight Room Warmer"
				Item "Graybanns"
				CharacterAttributes
				{
					"voice pitch scale" 0
				}
			}
		}
		WaveSpawn
		{
			Name "wave06d"
			Where spawnbot_left
			Where spawnbot_middle
			Where spawnbot_right
			TotalCount 4
			MaxActive 2
			SpawnCount 1
			WaitBeforeStarting 20
			WaitBetweenSpawns 17
			WaitForAllSpawned "wave06b"
			Totalcurrency 300
			
			TFBot
			{
				Template T_TFBot_Giant_Scout_Baseball_Armored
				Name "Super Baller"
				Attributes AlwaysCrit
				ExtAttr IgnoreBuildings  
				ExtAttr AlwaysFireWeaponAlt  
				UseCustomModel "models/bots/skeleton_sniper_boss/skeleton_sniper_boss.mdl"  
				UseHumanAnimations 1  
				NoIdleSound 1  
		//		DeathSound =150|misc/halloween/skeleton_break.wav
				Item "Blizzard Britches"
			//	ItemAttributes
			//	{
			//		ItemName "The Sandman"
			//		"custom item model" models/workshop/weapons/c_models/c_skullbat/c_skullbat_s3.mdl
			//	}
				CharacterAttributes
				{
					"voice pitch scale" 0
				}
			}
		}
		WaveSpawn
		{
			Name "wave06e"
			Where spawnbot_left
			Where spawnbot_middle
			Where spawnbot_right
			TotalCount 32
			MaxActive 16
			SpawnCount 2
			WaitBeforeStarting 12
			WaitBetweenSpawns 2
			WaitForAllSpawned "wave06d"
			Totalcurrency 200
			
			RandomSpawn 1
			
			Squad
			{
				TFBot
				{
					Class Soldier
					Skill Hard
					UseCustomModel "models/bots/skeleton_sniper/skeleton_sniper.mdl"  
					UseHumanAnimations 1  
					DeathSound =80|misc/halloween/skeleton_break.wav
					Attributes HoldFireUntilFullReload
					Item "The Original"
					Item "Blizzard Britches"
					Item "Party Poncho"
					Item "El Zapateador"
					Name "El Esqueleto"
					Scale 1.1
					ItemColor   //Set item color
					{
						ItemName "The Original"
						Red 100
						Green 100
						Blue 100
					}
					ItemAttributes
					{
						ItemName "The Original"
						"custom impact sound" =150|dsbarexp.wav
						"damage bonus" 1.2
						"voice pitch scale" 0
						"faster reload rate" 0.25
					}
				}
				TFBot
				{
					Template T_TFBot_Medic
					Name "Sawbones"
					StripItemSlot 0
					Item "Employee Badge A"
					ItemModel				 
					{
						ItemName "Employee Badge A"
						Model "models/workshop/player/items/pyro/hwn2021_wandering_wraith/hwn2021_wandering_wraith.mdl"
					}
					ItemAttributes
					{
						ItemName "TF_WEAPON_BONESAW"
						"custom item model" "models/workshop/weapons/c_models/c_skullbat/c_skullbat_s3.mdl"
						"custom kill icon" skullbat
					}
					ItemAttributes
					{
						ItemName "TF_WEAPON_MEDIGUN"
						"uber duration bonus" -5
					}
				}
			}
		}
		WaveSpawn
		{
			Name "wave06e"
			TotalCount 1
			SpawnCount 1
			WaitBeforeStarting 20
			WaitBetweenSpawns 0
			WaitForAllSpawned "wave06d"
			TotalCurrency 0
			
			FirstSpawnWarningSound "ambient\halloween\mysterious_perc_03.wav"
		
			Tank
			{
				Health 44444
				Speed 60
				Name "tankboss"
				Skin 1
				StartingPathTrackNode "tank_path_same"
				SpawnTemplate "DEATHFUCKER666"
				OnKilledOutput                                  
				{
					Target boss_dead_relay
					Action Trigger                         
				}
				OnBombDroppedOutput                             
				{
					Target boss_deploy_relay 
					Action Trigger                         
				}
			}
		}
		WaveSpawn
		{
			Where spawnbot_middle
			TotalCount 1
			MaxActive 1
			SpawnCount 1
			WaitBeforeStarting 0
			WaitBetweenSpawnsAfterDeath 36000
			WaitForAllDead "wave06e"
			Totalcurrency 0
			HideIcon 1
			
			FirstSpawnOutput
			{
				Target mus_bonezone_end_relay
				Action Trigger
			}
			
			TFBot
			{
				Class Heavy
				Skill Easy
				Health 3
				ClassIcon scout_bonk
				Action Idle
				CharacterAttributes
				{
					"is suicide counter" 1
				}
			}
		}
	}
}