View Single Post
Author Message
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 08-13-2012 , 12:54   [TF2] Hitsounds for Buildings
Reply With Quote #1

Simple enough: hit a sentry/dispenser/teleporter to trigger the same hitsound and damage text that normally triggers when you hit an enemy. Of course, they'll only see/hear it if they have damage text (hud_combattext 1) and/or hitsounds (tf_dingalingaling 1) enabled.

Won't trigger when attacking a sapper or sapping a building. Besides that, if you see that a specific weapon is not triggering this plugin or is displaying an incorrect damage amount, let me know.



Requires SDKHooks.
Attached Files
File Type: smx buildinghits.smx (3.2 KB, 702 views)
File Type: sp Get Plugin or Get Source (buildinghits.sp - 614 views - 1.6 KB)
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)

Last edited by MasterOfTheXP; 10-17-2012 at 04:12.
MasterOfTheXP is offline