x
ETF2L is looking for new Staff to recruit! Are you interested in supporting the league? Then click here for more details on what we can offer and how to apply! 

Forum

Quick HUD help

Created 3rd August 2010 @ 12:54

Locked Pages: 1

Ched

.tony

Working on my own personal hud. I want the ubercharge meter and ubercharge value to stop flashing. Let me know whether or not it is possible to disable the flashing and if it is, how? (No hissy fits or personal opinions on HUDs please.)

Hunt3r

LAME

its possible.
go to scripts.hudanimations_tf.txt and search for something similar to this:

// Flash the medic charge hud when we have full charge

event HudMedicCharged
{
Animate ChargeLabel FgColor "White" Linear 0.0 0.08
Animate ChargeLabel FgColor "White" Linear 0.12 0.26

Animate ChargeMeter FgColor "White" Linear 0.0 0.08
Animate ChargeMeter FgColor "HudIcon_Green" Linear 0.12 0.26

RunEvent HudMedicChargedLoop 0.36
}

// call to loop HudHealthBonusPulse
event HudMedicChargedLoop
{
RunEvent HudMedicCharged 0.0
}

event HudMedicChargedStop
{
StopEvent HudMedicCharged 0.0
StopEvent HudMedicChargedLoop 0.0

Animate ChargeLabel FgColor "TanLight" Linear 0.0 0.0001
Animate ChargeMeter FgColor "TanLight" Linear 0.0 0.0001
}

then delete it all

Ched

.tony

Worked perfectly. Thank you very much. Thread can be closed/deleted if wanted.

Locked Pages: 1