Upvote Upvoted 3 Downvote Downvoted
Is DamagedPlayer the only "event" you can use?
posted in Customization
1
#1
0 Frags +

This question is in terms of HUD animation and more specifically, HUD crosshair animation.

I am wondering if a player being damaged is the only event that can trigger an animation within your HUD. It's the only event that I've seen after some light research and I kinda want to be able to use specific buttons to trigger animations.

Its a pretty straight forward question, however if this isn't the only event, I would appreciate it if someone could list any of the others.

This question is in terms of HUD animation and more specifically, HUD crosshair animation.

I am wondering if a player being damaged is the only event that can trigger an animation within your HUD. It's the only event that I've seen after some light research and I kinda want to be able to use specific buttons to trigger animations.

Its a pretty straight forward question, however if this isn't the only event, I would appreciate it if someone could list any of the others.
2
#2
2 Frags +

low hp / ammo pulse?

low hp / ammo pulse?
3
#3
whitelist.tf
6 Frags +
Event/command   |  hudanimations event
--------------- | --------------------------
Dealing damage  | DamagedPlayer // Already used for every hud crosshair damage indicator
+quickswitch    | OpenWeaponSelectionMenu & CloseWeaponSelectionMenu
Health change   | HudHealthBonusPulse(Stop/Loop) * HudHealthDyingPulse(Stop/Loop)
Low ammo        | HudLowAmmoPulse(Stop/Loop)
Disguise Change | HudSpyDisguiseChanged/Hide
Full med charge | HudMedicCharged(Stop/Loop)

All of these triggers should in theory be able to access/modify your hud crosshair elements, eg. change color, alpha, x-/ypos

[code]Event/command | hudanimations event
--------------- | --------------------------
Dealing damage | DamagedPlayer // Already used for every hud crosshair damage indicator
+quickswitch | OpenWeaponSelectionMenu & CloseWeaponSelectionMenu
Health change | HudHealthBonusPulse(Stop/Loop) * HudHealthDyingPulse(Stop/Loop)
Low ammo | HudLowAmmoPulse(Stop/Loop)
Disguise Change | HudSpyDisguiseChanged/Hide
Full med charge | HudMedicCharged(Stop/Loop)[/code]
All of these triggers should in theory be able to access/modify your hud crosshair elements, eg. change color, alpha, x-/ypos
4
#4
1 Frags +
Wiethoofd
Event/command   |  hudanimations event
--------------- | --------------------------
Dealing damage  | DamagedPlayer // Already used for every hud crosshair damage indicator
+quickswitch    | OpenWeaponSelectionMenu & CloseWeaponSelectionMenu
Health change   | HudHealthBonusPulse(Stop/Loop) * HudHealthDyingPulse(Stop/Loop)
Low ammo        | HudLowAmmoPulse(Stop/Loop)
Disguise Change | HudSpyDisguiseChanged/Hide
Full med charge | HudMedicCharged(Stop/Loop)
All of these triggers should in theory be able to access/modify your hud crosshair elements, eg. change color, alpha, x-/ypos

cool, thanks for the help

[quote=Wiethoofd][code]Event/command | hudanimations event
--------------- | --------------------------
Dealing damage | DamagedPlayer // Already used for every hud crosshair damage indicator
+quickswitch | OpenWeaponSelectionMenu & CloseWeaponSelectionMenu
Health change | HudHealthBonusPulse(Stop/Loop) * HudHealthDyingPulse(Stop/Loop)
Low ammo | HudLowAmmoPulse(Stop/Loop)
Disguise Change | HudSpyDisguiseChanged/Hide
Full med charge | HudMedicCharged(Stop/Loop)[/code]
All of these triggers should in theory be able to access/modify your hud crosshair elements, eg. change color, alpha, x-/ypos[/quote]
cool, thanks for the help
Please sign in through STEAM to post a comment.