#base robot_standard.pop #base robot_giant.pop tomboy_supremacy { StartingCurrency 1984 CanBotsAttackWhileInSpawnRoom no RespawnWaveTime 0 PointTemplates { Stickybomb_Flicker_Particle { NoFixup 1 OnSpawnOutput { Target "sticky_flicker" Action "Kill" Delay 1 } info_particle_system { "targetname" "sticky_flicker" "effect_name" "stickybomb_pulse_red" "flag_as_weather" "0" "start_active" "1" } } Explosion_Particke { NoFixup 1 OnSpawnOutput { Target "explosion_particle" Action "Kill" Delay 1 } info_particle_system { "targetname" "explosion_particle" "effect_name" "ExplosionCore_MidAir" "flag_as_weather" "0" "start_active" "1" } } Explosive_Tip { KeepAlive 1 OnSpawnOutput { Target "explosion_hitbox" Action "$InheritOwner" Param "!activator" Delay 0.1 } OnSpawnOutput { Target "@c@!activator" Action "FireUser1" Delay 0 } logic_relay { "targetname" "explosive_tip_relay" "OnUser1" "!self,Kill,,5,-1" } info_target { "targetname" "detonate_position" } logic_measure_movement { "MeasureReference" "detonate_position" "MeasureTarget" "detonate_position" "MeasureType" "0" "Target" "explosion_maker" "TargetReference" "detonate_position" "TargetScale" "1" } logic_measure_movement { "MeasureReference" "detonate_position" "MeasureTarget" "detonate_position" "MeasureType" "0" "Target" "explosion_hitbox" "TargetReference" "detonate_position" "TargetScale" "1" } logic_measure_movement { "MeasureReference" "detonate_position" "MeasureTarget" "detonate_position" "MeasureType" "0" "Target" "sticky_flicker_maker" "TargetReference" "detonate_position" "TargetScale" "1" } env_entity_maker { "targetname" "sticky_flicker_maker" "EntityTemplate" "Stickybomb_Flicker_Particle" "PostSpawnDirection" "0 0 0" "PostSpawnDirectionVariance" "0" "PostSpawnInheritAngles" "0" "PostSpawnSpeed" "0" "spawnflags" "0" "OnUser1" "!self,ForceSpawn,,1,-1" "OnUser1" "!self,Kill,,2.1,-1" } env_entity_maker { "targetname" "explosion_maker" "EntityTemplate" "Explosion_Particke" "PostSpawnDirection" "0 0 0" "PostSpawnDirectionVariance" "0" "PostSpawnInheritAngles" "0" "PostSpawnSpeed" "0" "spawnflags" "0" "OnUser1" "!self,ForceSpawn,,2,-1" "OnUser1" "!self,Kill,,2.1,-1" } filter_activator_tfteam { "targetname" "filter_is_blu" "Negated" "0" "TeamNum" "3" "OnUser1" "!self,Kill,,2.1,-1" } trigger_hurt //for some reason I can't explain using a trigger_once or trigger_multiple just blocks the projectile { "targetname" "attach_to_enemy" "origin" "0 0 0" "mins" "-3 -3 -3" "maxs" "3 3 3" "Damage" "0" "spawnflags" "1" "filtername" "filter_is_blu" //"OnStartTouch" "player,$DisplayTextCenter,rad,0,-1" //used for debugging "OnStartTouch" "detonate_position,SetParent,!activator,0.1,-1" // "OnStartTouch" "sticky_flicker_maker,SetParent,!activator,0.1,-1" // "OnStartTouch" "explosion_maker,SetParent,!activator,0.1,-1" // "OnStartTouch" "explosion_hitbox,SetParent,!activator,0.1,-1" "OnStartTouch" "!self,Disable,,0,-1" "OnUser1" "!self,Kill,,2.1,-1" } trigger_hurt { "targetname" "explosion_hitbox" "origin" "0 0 0" "mins" "-144 -144 -144" "maxs" "144 144 144" "Damage" "250" //actual damage is half of this "spawnflags" "1" "filtername" "filter_is_blu" //prevent self splash damage "choices" "64" //blast damage type "StartDisabled" "1" "OnUser1" "!self,Enable,,2,-1" "OnUser1" "!self,Kill,,2.1,-1" } RemoveIfKilled "explosive_tip_relay" } } PlayerShootTemplate { Name Explosive_Tip Speed 0 AttachToProjectile 1 Classname "tf_weapon_compound_bow" } Wave { StartWaveOutput { Target wave_start_relay Action Trigger } DoneOutput { Target wave_finished_relay Action Trigger } WaveSpawn { Where spawnbot TotalCount 1999 MaxActive 10 SpawnCount 10 WaitBetweenSpawns 0 WaitBeforeStarting 0 TotalCurrency 0 TFBot { class Scout Attributes SuppressFire } } } }