//This file has been generated by The Tragic Fool Bus
#base robot_giant.pop
#base robot_standard.pop
SO_TAKE_UP_YOUR_BRUSH___AND_PAINT___THE_WORLD___R_E_D
{
	StartingCurrency 7000
	RespawnWaveTime	2
	CanBotsAttackWhileInSpawnRoom No
	WaveStartCountdown 1
	MaxSpeedLimit 1500
	NoThrillerTaunt 1
	TextPrintTime 0
	NoRomevisionCosmetics 1
	NoCritPumpkin 1
	ItemAttributes  
	{
		ItemSlot "Melee"
		"crit on cond" 12
	}
	SpawnTemplate MainLogic
	PointTemplates
	{
		MainLogic
		{
			logic_auto
			{
				"OnMapSpawn" "gamerules,$StopVO,the_world_looks_red.mp3,0,-1"
			}
			filter_damage_type
			{
				"targetname" "filter_melee"
				"damagetype" 134221952
			}
		}
		MannequinLogic1
		{
			info_particle_system
			{
				"targetname" "orb1"
				"angles" "0 0 0"
				"start_active" "0"
				"effect_name" "critical_rocket_blue"
				"origin" "20 -5 90"
			}
			trigger_multiple
			{
				"targetname" "mannequin_detector1"
				"filtername" "filter_redteam"
				"spawnflags" 1
				"startdisabled" "1"
				"mins" "-48 -48 -48"
				"maxs" "48 48 48"
				"OnStartTouch" "!parent,$ChangeAttributes,Slap,0,-1"
				//"OnStartTouch" "player,$PlaySoundToSelf,doors/doormove3.wav,0,-1"
			}
		}
		MannequinLogic2
		{
			info_particle_system
			{
				"targetname" "orb2"
				"angles" "0 0 0"
				"start_active" "0"
				"effect_name" "critical_rocket_blue"
				"origin" "20 -5 90"
			}
			trigger_multiple
			{
				"targetname" "mannequin_detector2"
				"filtername" "filter_redteam"
				"spawnflags" 1
				"startdisabled" "1"
				"mins" "-48 -48 -48"
				"maxs" "48 48 48"
				"OnStartTouch" "!parent,$ChangeAttributes,Slap,0,-1"
				//"OnStartTouch" "player,$PlaySoundToSelf,doors/doormove3.wav,0,-1"
			}
		}
	}
	Templates
	{
		T_TFBot_Spy_Mannequin
		{
			Name "Mannequin"
			Class Spy
			Skill Expert
			Health 650
			Scale 1.3
			Attributes DisableDodge
			Item "The Cow Mangler 5000"
			Item "The Hot Hand"
			Item "The First American"
			Item "Particulate Protector"
			StripItem "TF_WEAPON_REVOLVER"
			StripItem "TF_WEAPON_INVIS"
			Action Mobber
			AimTrackingInterval 0
			ItemAttributes 
			{
				ItemName "The Cow Mangler 5000"
				///"mult_player_movespeed_active" 0.001
				"Projectile speed decreased" 0.33
				"mod projectile heat seek power" 60
				"mod projectile heat aim error" 90
				"custom item model" "models/empty.mdl"
				"projectile trail particle" "eyeboss_projectile"
				"passive reload" 1
				"no self effect" 1
				"mod projectile heat no predict target speed" 1
				///"use original class weapon animations" 1
			}
			ItemAttributes 
			{
				ItemName "The Hot Hand"
				///"damage bonus" 1.5
				"add cond when active" 12
				"custom item model" "models/empty.mdl"
				"use original class weapon animations" 1
				"melee range multiplier" 1.25
				"melee bounds multiplier" 1.25
			}
			ItemAttributes
			{
				ItemName "Particulate Protector"
				"set item tint RGB" 15132390
			}
			CharacterAttributes
			{
				"cannot disguise" 1
				"torso scale" 1.3
				"always gib" 1
				"rocket jump damage reduction HIDDEN" 0
				"voice pitch scale" 0
				///"deploy time decreased" 0.01
			}
			ChangeAttributes  
			{
				Delay 1
				Repeats 1
				Name Fast
			}
			AddCond  
			{
				Index 87
				Duration 1
			}
		}
		Mannequin1
		{
			SpawnTemplate MannequinLogic1
			EventChangeAttributes
			{
				Fast
				{
					FireInput
					{
						Target "mannequin_detector1"
						///Target "@c@!self"
						Action "Enable"
						Delay 0
						Repeats 1
					}
					Attributes SuppressFire
					WeaponRestrictions MeleeOnly
					InterruptAction
					{
						Target "ClosestPlayer"
						WaitUntilDone 1
						Distance 200
						Delay 0
						OnDoneChangeAttributes "Slap"
					}
					CharacterAttributes
					{
						"move speed bonus" 5
					}
				}
				Slap
				{
					FireInput
					{
						Target "mannequin_detector1"
						///Target "@c@!self"
						Action "Disable"
						Delay 0
						Repeats 1
					}
					WeaponRestrictions MeleeOnly
					Attributes AlwaysFireWeapon
					InterruptAction
					{
						Target "ClosestPlayer"
						AimTarget "ClosestPlayer"
						KillAimTarget 1
						Delay 0
						Duration 1
					}
					ChangeAttributes  
					{
						Delay 1
						Repeats 1
						Name Projectile
					}
				}
				Projectile
				{
					FireInput
					{
						Target "orb1"
						///Target "@c@!self"
						Action "Start"
						Delay 0.3
						Repeats 1
					}
					FireInput
					{
						Target "orb1"
						///Target "@c@!self"
						Action "Stop"
						Delay 2.3
						Repeats 1
					}
					ExtAttr AlwaysFireWeaponAlt
					WeaponRestrictions PrimaryOnly
					CharacterAttributes
					{
						"move speed penalty" 0.01
					}
					ChangeAttributes  
					{
						Delay 3
						Repeats 1
						Name Fast
					}
				}
			}
		}
		Mannequin2
		{
			SpawnTemplate MannequinLogic2
			EventChangeAttributes
			{
				Fast
				{
					FireInput
					{
						Target "mannequin_detector2"
						///Target "@c@!self"
						Action "Enable"
						Delay 0
						Repeats 1
					}
					Attributes SuppressFire
					WeaponRestrictions MeleeOnly
					InterruptAction
					{
						Target "ClosestPlayer"
						WaitUntilDone 1
						Distance 200
						Delay 0
						OnDoneChangeAttributes "Slap"
					}
					CharacterAttributes
					{
						"move speed bonus" 5
					}
				}
				Slap
				{
					FireInput
					{
						Target "mannequin_detector2"
						///Target "@c@!self"
						Action "Disable"
						Delay 0
						Repeats 1
					}
					WeaponRestrictions MeleeOnly
					Attributes AlwaysFireWeapon
					InterruptAction
					{
						Target "ClosestPlayer"
						AimTarget "ClosestPlayer"
						KillAimTarget 1
						Delay 0
						Duration 1
					}
					ChangeAttributes  
					{
						Delay 1
						Repeats 1
						Name Projectile
					}
				}
				Projectile
				{
					FireInput
					{
						Target "orb2"
						///Target "@c@!self"
						Action "Start"
						Delay 0.3
						Repeats 1
					}
					FireInput
					{
						Target "orb2"
						///Target "@c@!self"
						Action "Stop"
						Delay 2.3
						Repeats 1
					}
					ExtAttr AlwaysFireWeaponAlt
					WeaponRestrictions PrimaryOnly
					CharacterAttributes
					{
						"move speed penalty" 0.01
					}
					ChangeAttributes  
					{
						Delay 3
						Repeats 1
						Name Fast
					}
				}
			}
		}
	}
	Wave
	{
		StartWaveOutput
		{
			Target wave_start_relay
			Action Trigger
		}
		DoneOutput
		{
			Target wave_finished_relay
			Action Trigger
		}
		WaveSpawn
		{
			WaitBeforeStarting 9999
		}
		WaveSpawn
		{
			FirstSpawnOutput
			{
				Target gamerules
				Action PlayVO
				Param "the_world_looks_red.mp3"
			}
		}
		WaveSpawn
		{
			Name mannequins
			Where spawnbot_invasion
			TotalCount 4
			MaxActive 1
			SpawnCount 1
			WaitBetweenSpawns 15
			WaitBeforeStarting 0
			TotalCurrency 0
			Support 1
			TFBot
			{
				Template T_TFBot_Spy_Mannequin
				AddTemplate Mannequin1
			}
		}
		WaveSpawn
		{
			Name mannequins
			Where spawnbot_invasion
			TotalCount 4
			MaxActive 1
			SpawnCount 1
			WaitBetweenSpawns 15
			WaitBeforeStarting 0
			TotalCurrency 0
			Support 1
			TFBot
			{
				Template T_TFBot_Spy_Mannequin
				AddTemplate Mannequin2
			}
		}
	}
}