WaveSchedule { PointTemplates { Global_Filters { NoFixup 1 filter_activator_tfteam { "targetname" "filter_is_blue" "Negated" "0" "TeamNum" "3" } filter_activator_tfteam { "targetname" "filter_is_red" "Negated" "0" "TeamNum" "2" } } Redeemer_Spawn { OnSpawnOutput { Target "!activator" Action "$SetVar$hasRedeemer" Param "1" } OnParentKilledOutput { Target "!activator" Action "$SetVar$hasRedeemer" Param "0" } } ParryAddiction_Spawn { OnSpawnOutput { Target "popscript" Action "$ParryAddictionEquip" } // OnParentKilledOutput // { // Target "popscript" // Action "$ParryAddictionUnequip" // } } Building_Level2_Spawn { OnSpawnOutput { Target popscript Action "$BuildingBuilt" Delay 0.1 } // OnSpawnOutput // { // Target constructed_check_loop // Action Trigger // Delay 0.1 // } // $filter_sendprop // { // "targetname" "filter_constructed" // "$name" "m_flPercentageConstructed" // "$value" "1" // "$compare" "greater than or equal" // "Negated" "0" // "OnPass" "apply_level2,Trigger,,0,-1" // } // //if building was built in setup or player used building canteen, cancel // $filter_sendprop // { // "targetname" "filter_is_already_constructed" // "$name" "m_iHighestUpgradeLevel" // "$value" "2" // "$compare" "greater than or equal" // "Negated" "0" // "OnPass" "constructed_check_loop,Disable,,0,-1" // } // logic_relay // { // "targetname" "constructed_check_loop" // "spawnflags" "2" // "OnTrigger" "filter_constructed,TestActivator,,0,-1" // "OnTrigger" "filter_is_already_constructed,TestActivator,,0,-1" // "OnTrigger" "!self,Trigger,,0.1,-1" // } // logic_relay // { // "targetname" "apply_level2" // "spawnflags" "2" // "OnTrigger" "!activator,$SetProp$m_iHighestUpgradeLevel,2,0,-1" // "OnTrigger" "constructed_check_loop,Disable,,0,-1" // } } HolyDiver_Spawn { OnSpawnOutput { Target "!activator" Action "$AddItemAttribute" Param "damage bonus|1.5|1" Delay 0 } OnSpawnOutput { Target "!activator" Action "$AddItemAttribute" Param "damage bonus|2.25|2" Delay 0 } OnParentKilledOutput { Target "!activator" Action "$RemoveItemAttribute" Param "damage bonus|1" Delay 0 } OnParentKilledOutput { Target "!activator" Action "$RemoveItemAttribute" Param "damage bonus|2" Delay 0 } } PHD_Equip { OnSpawnOutput { Target "popscript" Action "$PHDEquip" } // OnParentKilledOutput // { // Target "popscript" // Action "$PHDUnequip" // } } Thunderdome_Spawn { OnSpawnOutput { Target "!activator" Action "$AddItemAttribute" Param "CARD: damage bonus|1.5|1" Delay 0 } OnSpawnOutput { Target "!activator" Action "$AddItemAttribute" Param "CARD: damage bonus|1.5|2" Delay 0 } OnParentKilledOutput { Target "!activator" Action "$RemoveItemAttribute" Param "CARD: damage bonus|1" Delay 0 } OnParentKilledOutput { Target "!activator" Action "$RemoveItemAttribute" Param "CARD: damage bonus|2" Delay 0 } // OnSpawnOutput // { // Target "@e@m_hMyWeapons@!activator" // Action "$SetProp$m_iClip1" // Param "0" // Delay 0 // } //very weird hack to prevent switching to weapon // OnSpawnOutput // { // Target "@e@m_hMyWeapons@!activator" // Action "$SetProp$m_bFlipViewModel" // Param "0" // Delay 0.01 // } OnSpawnOutput { Target "!activator" Action "$WeaponSwitchSlot" Param "1" Delay 0 } // OnSpawnOutput // { // Target "shield_hitbox" // Action "$SetOwner" // Param "!activator" // } // OnSpawnOutput // { // Target "shield_hitbox2" // Action "$SetOwner" // Param "!activator" // } OnSpawnOutput { Target "projectile_shield" Action "$SetModel" Param "models/props_mvm/mvm_comically_small_player_shield.mdl" } OnSpawnOutput { Target "projectile_shield2" Action "$SetModel" Param "models/props_mvm/mvm_comically_small_player_shield.mdl" } OnSpawnOutput { Target "rotate" Action "Start" } OnSpawnOutput { Target "rotate2" Action "Start" } OnSpawnOutput { Target "rotate" Action "SetParent" Param "" } OnSpawnOutput { Target "rotate2" Action "SetParent" Param "" } OnSpawnOutput { Target "popscript" Action "$RegisterShieldThunderdome" Param "projectile_shield" // Delay 0.1 } OnSpawnOutput { Target "popscript" Action "$RegisterShieldThunderdome" Param "projectile_shield2" // Delay 0.1 } OnSpawnOutput { Target "rotate_position" Action "Trigger" } logic_relay { "targetname" "rotate_position" "spawnflags" "2" "OnTrigger" "rotate,$TeleportToEntity,!activator,0,-1" "OnTrigger" "rotate2,$TeleportToEntity,!activator,0,-1" "OnTrigger" "!self,Trigger,,0.01,-1" } entity_medigun_shield { "parentname" "rotate" "targetname" "projectile_shield" "origin" "100 0 0" "spawnflags" "1" "teamnum" "2" // "skin" "1" } func_rotating { "targetname" "rotate" "origin" "0 0 0" "mins" "-0.1 -0.1 -0.1" "maxs" "0.1 0.1 0.1" "dmg" "0" "fanfriction" "100" "maxspeed" "60" "spawnflags" "64" "volume" "0" } //2nd shield entity_medigun_shield { "parentname" "rotate2" "targetname" "projectile_shield2" "origin" "-100 0 0" "angles" "-180 0 -180" "spawnflags" "1" "teamnum" "2" // "skin" "1" } func_rotating { "targetname" "rotate2" "origin" "0 0 0" "mins" "-0.1 -0.1 -0.1" "maxs" "0.1 0.1 0.1" "dmg" "0" "fanfriction" "100" "maxspeed" "60" "spawnflags" "64" "volume" "0" } } DroneWalker_Equip { OnSpawnOutput { Target "popscript" Action "$DroneWalkerEquip" } OnParentKilledOutput { Target "!activator" Action "$RemoveItemAttribute" Param "always crit|0" } } DroneWalker_Shoot { // KeepAlive 1 OnSpawnOutput { Target "!activator" Action "$SetCollisionFilter" Param "filter_is_blue" Delay 0.1 } OnSpawnOutput { Target "player_sentry" Action "$SetProp$m_bDisposableBuilding" Param "1" } OnSpawnOutput { Target "popscript" Action "$DroneFired" Param "player_sentry" } // OnSpawnOutput // { // Target "player_sentry" // Action "$SetProp$m_hBuilder" // Param "@e@m_hOwnerEntity@!activator" // Delay -1 // } OnSpawnOutput { Target "droneModel" Action "Trigger" } OnParentKilledOutput { Target "droneModel" Action "Kill" } logic_relay { "targetname" "droneModel" // "OnTrigger" "player_sentry,$SetProp$m_nSolidType,0,0,-1" "OnTrigger" "player_sentry,$SetModelOverride,models/rcat/rcat_level2.mdl,0,-1" "OnTrigger" "player_sentry,$SetProp$m_nSkin,2,0,-1" "OnTrigger" "player_sentry,SetHealth,50,0,-1" } obj_sentrygun { "targetname" "player_sentry" "teamnum" "2" "defaultupgrade" "0" "SolidToPlayer" "0" "spawnflags" "72" // inf ammo + mini sentry "$OnKilled" "@p@player_sentry,Kill,,-1,-1" } } Gravity_FailSafe { OnSpawnOutput { Target "!activator" Action "$SetData$m_flGravity" Param "0" } } NoMercy_Spawn { OnSpawnOutput { Target "nomercy_check" Action "Trigger" } OnParentKilledOutput { Target "!activator" Action "$SetData$m_flGravity" Param "0" } logic_relay { "targetname" "nomercy_check" "spawnflags" "2" "OnTrigger" "filter_ducked,TestActivator,,0,-1" "OnTrigger" "popscript,$NoMercyFailSafe,filter_ducked,0.01,-1" "OnTrigger" "!self,Trigger,,0.1,-1" } $filter_sendprop { "targetname" "filter_ducked" "$name" "m_bDucked" "$value" "0" "$compare" "equal" "Negated" "1" "OnPass" "!activator,$SetData$m_flGravity,4,0,-1" "OnFail" "!activator,$SetData$m_flGravity,0.3,0,-1" } } ScavengerSpawn { OnSpawnOutput { Target "popscript" Action "$ScavengerEquipped" Delay 0 } } Explosive_Tip_Scavenger { KeepAlive 1 OnSpawnOutput { Target "tip_explosion" Action "$InheritOwner" Param "!activator" Delay 0 } OnSpawnOutput { Target "popscript" Action "$SetScavengerMimicDamage" Param "tip_explosion" // Delay 0.01 } OnSpawnOutput { Target "popscript" Action "$ScavengerTeamCorrectionAttachBlue" Param "attach_to_enemy" } OnSpawnOutput { Target "popscript" Action "$ScavengerTeamCorrectionAttachRed" Param "attach_to_enemy_red" } //failsafe OnSpawnOutput { Target "explosive_tip_relay" Action "FireUser1" Delay 15 } // OnParentKilledOutput // { // Target "@c@!activator" // Action "FireUser1" // Delay 0 // } OnParentKilledOutput { Target "explosive_tip_relay" Action "FireUser1" Delay 0.1 } // logic_relay // { // "targetname" "getdamage" // // "OnTrigger" "tip_explosion,$SetVar$baseDamage,75,0,-1" // "OnTrigger" "@e@m_hOwnerEntity@!activator,$GetItemAttribute,0|damage bonus|setdamage|$FireUser5|1,0.01,-1" // "OnUser1" "!self,Kill,,5,-1" // } // logic_relay // { // "targetname" "setdamage" // "$OnUser5" "setdamage,$SetVar$DamageMult,,0,-1" // // "$OnUser5" "tip_explosion,$SetKey$Damage,$$=setdamage.DamageMult * 75,0.1,-1" // "$OnUser5" "tip_explosion,$SetKey$Damage,$$=setdamage.DamageMult * 75,0.1,-1" // "$OnUser5" "player,$DisplayTextChat,$$=setdamage.DamageMult * 75,0.1,-1" // "OnUser1" "!self,Kill,,5,-1" // } logic_relay { "targetname" "explosive_tip_relay" "OnUser1" "tip_explosion,FireUser1,,0,-1" // "OnUser1" "scavenger_explode_particle,FireUser1,,0,-1" "OnUser1" "sticky_flicker,FireUser1,,0,-1" "OnUser1" "sticky_sound,FireUser1,,0,-1" "OnUser1" "attach_to_enemy,FireUser1,,0,-1" "OnUser1" "attach_to_enemy_red,FireUser1,,0,-1" "OnUser1" "detonate_position,FireUser1,,0,-1" "OnUser1" "scavenger_bolt,FireUser1,,0,-1" // "OnUser1" "getdamage,FireUser1,,0,-1" // "OnUser1" "setdamage,FireUser1,,0,-1" "OnUser1" "measure,Kill,,4,-1" "OnUser1" "!self,Kill,,5,-1" } prop_dynamic { // "parentname" "detonate_position" "origin" "0 0 0" "targetname" "scavenger_bolt" "spawnflags" "0" "solid" "0" "rendercolor" "255 255 255" "renderamt" "255" "RandomAnimation" "0" "pressuredelay" "0" "physdamagescale" "1.0" "PerformanceMode" "0" "model" "models/weapons/w_models/w_repair_claw.mdl" "body" "0" "angles" "0 0 0" "modelscale" "1.2" "OnUser1" "!self,Kill,,2,-1" } logic_measure_movement { "targetname" "measure" "MeasureReference" "detonate_position" "MeasureTarget" "detonate_position" "MeasureType" "0" "Target" "scavenger_bolt" "TargetReference" "detonate_position" "TargetScale" "1" } info_target { "targetname" "detonate_position" "OnUser1" "!self,Kill,,5,-1" } tf_point_weapon_mimic { "targetname" "tip_explosion" "spawnflags" "1" "angles" "0 0 0" // "origin" "-1 0 -3" "origin" "0 0 0" "teamnum" "2" "Crits" "0" "Damage" "100" "ModelScale" "1" "SpeedMax" "1000000" "SpeedMin" "1000000" // "SplashRadius" "400" "SplashRadius" "144" "SpreadAngle" "0" "WeaponType" "3" "OnUser1" "!self,FireOnce,,2,-1" "OnUser4" "popscript,$ScavengerTeamCorrectionSticky,,0,-1" "OnUser4" "!self,DetonateStickies,,0.03,-1" } logic_measure_movement { "targetname" "measure" "MeasureReference" "detonate_position" "MeasureTarget" "detonate_position" "MeasureType" "0" "Target" "tip_explosion" "TargetReference" "detonate_position" "TargetScale" "1" } info_particle_system { "targetname" "sticky_flicker" "effect_name" "stickybomb_pulse_red" "flag_as_weather" "0" "start_active" "0" "OnUser1" "!self,Start,2,1,-1" "OnUser1" "!self,Kill,,3,-1" } // info_particle_system // { // "targetname" "scavenger_explode_particle" // "effect_name" "asplode_hoodoo" // "flag_as_weather" "0" // "start_active" "0" // "OnUser1" "!self,Start,2,2,-1" // "OnUser1" "!self,Kill,,3,-1" // } logic_measure_movement { "targetname" "measure" "MeasureReference" "detonate_position" "MeasureTarget" "detonate_position" "MeasureType" "0" "Target" "sticky_flicker" "TargetReference" "detonate_position" "TargetScale" "1" } // logic_measure_movement // { // "targetname" "measure" // "MeasureReference" "detonate_position" // "MeasureTarget" "detonate_position" // "MeasureType" "0" // "Target" "scavenger_explode_particle" // "TargetReference" "detonate_position" // "TargetScale" "1" // } ambient_generic { "targetname" "sticky_sound" "message" "weapons/stickybomblauncher_det.wav" "radius" "4000" "health" "5" "spawnflags" "48" "OnUser1" "!self,PlaySound,,1,-1" "OnUser1" "!self,Kill,,3,-1" } logic_measure_movement { "targetname" "measure" "MeasureReference" "detonate_position" "MeasureTarget" "detonate_position" "MeasureType" "0" "Target" "sticky_sound" "TargetReference" "detonate_position" "TargetScale" "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" "StartDisabled" "1" "origin" "0 0 0" "mins" "-2.5 -2.5 -2.5" "maxs" "2.5 2.5 2.5" "Damage" "0" "spawnflags" "1" "filtername" "filter_is_blue" "OnStartTouch" "detonate_position,SetParent,!activator,0.1,-1" "OnStartTouch" "!self,Disable,,0,-1" // "OnStartTouch" "!parent,Kill,,-1,-1" "OnUser1" "!self,Kill,,2.1,-1" } trigger_hurt { "targetname" "attach_to_enemy_red" "StartDisabled" "1" "origin" "0 0 0" "mins" "-2.5 -2.5 -2.5" "maxs" "2.5 2.5 2.5" "Damage" "0" "spawnflags" "1" "filtername" "filter_is_red" "OnStartTouch" "detonate_position,SetParent,!activator,0.1,-1" "OnStartTouch" "!self,Disable,,0,-1" // "OnStartTouch" "!parent,Kill,,-1,-1" "OnUser1" "!self,Kill,,2.1,-1" } } KirinAscension_Spawn { OnSpawnOutput { Target "cloak_check" Action "Trigger" } filter_tf_condition { "targetname" "filter_is_cloaking" "Negated" "0" "condition" "4" "OnPass" "!activator,$RemoveCond,3,0,-1" //remove disguise "OnPass" "!activator,$AddCond,72,0,-1" "OnPass" "!activator,$AddPlayerAttribute,cannot disguise|1,0,-1" "OnFail" "!activator,$RemoveCond,72,0,-1" "OnFail" "!activator,$RemovePlayerAttribute,cannot disguise,0,-1" } logic_relay { "targetname" "cloak_check" "spawnflags" "2" "OnTrigger" "filter_is_cloaking,TestActivator,,0,-1" "OnTrigger" "!self,Trigger,,0.05,-1" } } FreelanceMercenary_Logic { OnSpawnOutput { Target "freelance_action_check" Action "Trigger" Delay 0 } OnSpawnOutput { Target "!activator" Action "$SetVar$FreelanceEquipped" Param "1" // Delay 0 } // OnSpawnOutput // { // Target "!activator" // Action "$GetVar$PreFreelanceSwitchHealth" // Param "apply_last_health|$SetKey$CompareValue|-1" // Delay 0 // } // OnSpawnOutput // { // Target "apply_last_health" // Action "Compare" // Delay 0.06 // } OnParentKilledOutput { Target "!activator" Action "$SetVar$FreelanceEquipped" Param "0" Delay 0.1 } //apply health from previous class if switched logic_compare { "targetname" "apply_last_health" "InitialValue" "-1" "OnNotEqualTo" "!activator,$SetKey$health,$$=!activator.PreFreelanceSwitchHealth,-1,-1" "OnNotEqualTo" "!activator,$SetVar$PreFreelanceSwitchHealth,,0,-1" "OnNotEqualTo" "!activator,$SetVar$FreelanceSwitched,1,-1,-1" } $filter_sendprop { "targetname" "using_action" "$name" "m_bUsingActionSlot" "$value" "0" "$compare" "equal" "Negated" "1" //"OnPass" "class_select_menu,$DisplayMenu,!activator,0,-1" // "OnPass" "!activator,$SetVar$PreFreelanceSwitchHealth,$$= !activator.m_iHealth ,-1,-1" "OnPass" "popscript,$FreelanceMerc_PromptMenu,$$=!activator.m_iClass,0,-1" // "OnPass" "!activator,$SetVar$PreFreelanceSwitchHealth,$$= !activator.m_iHealth ,-1,-1" // "OnPass" "!activator,$SwitchClassInPlace,$$= test ( !activator.m_iClass + 1 <= 9 , !activator.m_iClass + 1, 1 ) ,0,-1" } logic_relay { "targetname" "freelance_action_check" "spawnflags" "2" "OnTrigger" "using_action,TestActivator,,0,-1" "OnTrigger" "!self,Trigger,,0.1,-1" } } Caber_Buster { // OnSpawnOutput // { // Target "caber_taunt_checker" // Action "Trigger" // Delay 0.1 // } OnSpawnOutput { Target "common_damage" Action "$SetOwner" Param "!activator" Delay 0 } OnSpawnOutput { Target "giant_damage" Action "$SetOwner" Param "!activator" Delay 0 } // OnSpawnOutput // { // Target "!activator" // Action "$AddPlayerAttribute" // Param "mod weapon blocks healing|1" // } // OnParentKilledOutput // { // Target "!activator" // Action "$RemovePlayerAttribute" // Param "mod weapon blocks healing" // } // OnSpawnOutput // { // Target "!activator" // Action "$AddCond" // Param "41" // Delay 0 // } // OnSpawnOutput // { // Target "!activator" // Action "$AddCond" // Param "85" // Delay 0 // } // OnSpawnOutput // { // Target "!activator" // Action "$RemoveCond" // Param "85" // Delay 0.01 // } OnSpawnOutput { Target "freelance_mercenary_not_equipped" Action "TestActivator" Delay 0 } // OnSpawnOutput // { // Target "apply_buster_attributes" // Action "Trigger" // Delay 0.01 // } OnParentKilledOutput { Target "!activator" Action "SetCustomModel" Param "" Delay 0 } OnParentKilledOutput { Target "!activator" Action "AddOutput" Param "modelscale 1" Delay 0 } OnParentKilledOutput { Target "!activator" Action "SetForcedTauntCam" Param "0" Delay 0 } OnParentKilledOutput { Target "!activator" Action "$RemoveCond" Param "41" Delay 0 } OnParentKilledOutput { Target "!activator" Action "$SetVar$playerIsBuster" Param 0 } OnParentKilledOutput { Target "!activator" Action "$RemovePlayerAttribute" Param "no resupply" } // $filter_sendprop // { // "targetname" "filter_is_robot_wearable" // "$name" "m_nModelIndex" // "$value" "914" // "$compare" "equal" // "Negated" "0" // } $filter_variable { "targetname" "freelance_mercenary_not_equipped" "$name" "FreelanceEquipped" "$value" "1" "$compare" "equal" "Negated" "1" "OnPass" "apply_buster_attributes,Trigger,,0,-1" "OnFail" "!activator,$DisplayTextCenter,Cannot transform into sentry buster due to Freelance Mercenary being equipped,0,-1" } info_particle_system { "targetname" "bster_explosion" "effect_name" "asplode_hoodoo" "flag_as_weather" "0" "start_active" "0" } logic_relay { "targetname" "apply_buster_attributes" "OnTrigger" "!activator,$SetVar$playerIsBuster,1" "OnTrigger" "!activator,$AddCond,41,0,-1" "OnTrigger" "!activator,$AddCond,32,0,-1" "OnTrigger" "!activator,$AddCond,85,0,-1" "OnTrigger" "!activator,$RemoveCond,85,0.01,-1" "OnTrigger" "caber_taunt_checker,Trigger,,0.1,-1" "OnTrigger" "!activator,AddOutput,modelscale 1.75,0.11,-1" "OnTrigger" "!activator,SetCustomModel,models/bots/demo/red_sentry_buster.mdl,0.2,-1" "OnTrigger" "!activator,SetForcedTauntCam,1,0.11,-1" "OnTrigger" "!activator,$AddItemAttribute,max health additive bonus|625|2,0.11,-1" "OnTrigger" "!activator,sethealth,800,0.3,-1" "OnTrigger" "!activator,$AddItemAttribute,no_attack|1|2,0.11,-1" "OnTrigger" "!activator,$AddPlayerAttribute,move speed penalty|2|2,0,-1" "OnTrigger" "!activator,$AddPlayerAttribute,no resupply|1|2,0,-1" "OnTrigger" "!activator,$AddItemAttribute,damage force reduction|0.5|2,0.11,-1" "OnTrigger" "!activator,$AddItemAttribute,always allow taunt|0.5|2,0.11,-1" //"OnTrigger" "!activator,$AddItemAttribute,override footstep sound set|7|2,0.11,-1" "OnTrigger" "!activator,$AddItemAttribute,cannot be backstabbed|1|2,0.11,-1" } filter_tf_class //fixes switching class after taunting and get a demoman model on other classes (lol) { "targetname" "filter_still_demoman" "Negated" "0" "tfclass" "4" "OnPass" "!activator,$SetVar$playerIsBuster,0" "OnPass" "bster_explosion,Start,,0,-1" "OnPass" "!activator,SetCustomModel,,0,-1" "OnPass" "!activator,$RemoveCond,7,0,-1" "OnPass" "!activator,$RemoveCond,41,0,-1" "OnPass" "!activator,SetForcedTauntCam,0,0,-1" "OnPass" "!activator,$AddCond,57,0,-1" //"OnPass" "!activator,$AddCond,32,0,-1" "OnPass" "!activator,$RemoveCond,57,2,-1" //"OnPass" "!activator,$RemoveCond,32,2,-1" "OnPass" "common_damage,FireUser1,,0,-1" "OnPass" "giant_damage,FireUser1,,0,-1" "OnPass" "!activator,AddOutput,modelscale 1,0,-1" //"OnPass" "!activator,$RemoveItemAttribute,not solid to players|2,0,-1" "OnPass" "!activator,$RemoveItemAttribute,no_attack|2,0,-1" "OnPass" "!activator,$RemoveItemAttribute,max health additive bonus|2,0,-1" //"OnPass" "!activator,sethealth,201,0,-1" "OnPass" "!activator,$Regenerate,,0,-1" "OnPass" "!activator,AddOutput,BaseVelocity 0 0 1000,0,-1" "OnPass" "!activator,$RemovePlayerAttribute,move speed penalty,0,-1" // "OnPass" "!activator,$RemovePlayerAttribute,mod weapon blocks healing,0,-1" "OnPass" "!activator,$RemovePlayerAttribute,no resupply,0,-1" "OnPass" "!activator,$RemoveItemAttribute,damage force reduction|2,0,-1" "OnPass" "!activator,$RemoveItemAttribute,always allow taunt|2,0,-1" "OnPass" "!activator,$RemoveItemAttribute,model scale|2,0,-1" //"OnPass" "!activator,$RemoveItemAttribute,override footstep sound set|2,0,-1" "OnPass" "!activator,$RemoveItemAttribute,cannot be backstabbed|2,0,-1" //remove overheal "OnPass" "!activator,$AddItemAttribute,mod_maxhealth_drain_rate|1|2,0,-1" "OnPass" "!activator,$RemoveItemAttribute,mod_maxhealth_drain_rate|2,0.1,-1" } filter_tf_condition { "targetname" "filter_is_taunting" "Negated" "0" "condition" "7" "OnPass" "caber_taunt_checker,Disable,,0,-1" "OnPass" "!self,Disable,,5,-1" "OnPass" "!activator,$AddPlayerAttribute,move speed penalty|0.001,0,-1" //prevent loserboys from using a cancelable taunt and escape the animation // "OnPass" "@c@!activator,$ShowToAll,,2,-1" "OnPass" "filter_still_demoman,TestActivator,,2,-1" } $filter_sendprop { "targetname" "filter_is_common" "$name" "m_bIsMiniBoss" "$value" "0" "$compare" "equal" "Negated" "0" } filter_tf_condition { "targetname" "filter_still_in_spawn" "Negated" "1" "condition" "51" } filter_tf_condition { "targetname" "filter_ubered" "Negated" "1" "condition" "5" } filter_multi { "targetname" "filter_caber_common" "Negated" "0" "FilterType" "0" "Filter01" "filter_is_blue" "Filter02" "filter_is_common" "Filter03" "filter_still_in_spawn" "Filter04" "filter_ubered" } $filter_sendprop { "targetname" "filter_is_giant" "$name" "m_bIsMiniBoss" "$value" "0" "$compare" "equal" "Negated" "1" } filter_multi { "targetname" "filter_caber_giant" "Negated" "0" "FilterType" "0" "Filter01" "filter_is_blue" "Filter02" "filter_is_giant" } trigger_hurt { "targetname" "common_damage" "origin" "0 0 0" "mins" "-500 -500 -500" "maxs" "500 500 500" "Damage" "99999" "spawnflags" "1" "filtername" "filter_caber_common" "choices" "64" "StartDisabled" "1" "OnUser1" "!self,Enable,,0,-1" "OnUser1" "!self,Disable,,0.1,-1" } trigger_hurt { "targetname" "giant_damage" "origin" "0 0 0" "mins" "-500 -500 -500" "maxs" "500 500 500" "Damage" "1200" //damage is half of this "spawnflags" "1" "filtername" "filter_caber_giant" "choices" "64" "StartDisabled" "1" "OnUser1" "!self,Enable,,0,-1" "OnUser1" "!self,Disable,,0.1,-1" } logic_relay { "targetname" "caber_taunt_checker" "spawnflags" "2" "OnTrigger" "caber_taunt_checker,Trigger,,0.1,-1" "OnTrigger" "filter_is_taunting,TestActivator,!activator,0,-1" } } } }