Upvote Upvoted 2 Downvote Downvoted
Hud Editing Question
posted in Q/A Help
1
#1
1 Frags +

Moar HUD questions oh joy.

Instead of explaining the hud problem i'd like to give a picture instead.

http://oi48.tinypic.com/vnpht0.jpg

if there's any problems w/ the picture just let me know and i'll make it more clear.

(The Green text reads: "Rid of Bonus Image" which is the health cross that enlarges whenever someone is dying or overhealed. I would like to get rid of that, but keep the cross itself, just not the bonus)

(The orange text reads: make overheal value color neon blue in the target id, as it would while someone is normally overhealed, that way when removing the bonus image it is more clear to me that whom i am healing is overhealed.)

Moar HUD questions oh joy.

Instead of explaining the hud problem i'd like to give a picture instead.

[img]http://oi48.tinypic.com/vnpht0.jpg[/img]

if there's any problems w/ the picture just let me know and i'll make it more clear.

(The Green text reads: "Rid of Bonus Image" which is the health cross that enlarges whenever someone is dying or overhealed. I would like to get rid of that, but keep the cross itself, just not the bonus)

(The orange text reads: make overheal value color neon blue in the target id, as it would while someone is normally overhealed, that way when removing the bonus image it is more clear to me that whom i am healing is overhealed.)
2
#2
0 Frags +

I know for the overheal, you put something in hudanimations_tf in your scripts folder. Not sure about the other part though.

I know for the overheal, you put something in hudanimations_tf in your scripts folder. Not sure about the other part though.
3
#3
0 Frags +

well, could you be a bit more clear? i know where hudanimations is located and have it open, but what specifically do i edit?

well, could you be a bit more clear? i know where hudanimations is located and have it open, but what specifically do i edit?
4
#4
0 Frags +

in SpectatorGUIHealth.res under the sections "PlayerStatusHealthBonusImage" change wide and tall to 0.

as for changing the health color, idk, good luck.

in SpectatorGUIHealth.res under the sections "PlayerStatusHealthBonusImage" change wide and tall to 0.

as for changing the health color, idk, good luck.
5
#5
0 Frags +

changing the wide/tall to 0 just moved it, i messed with a bunch of stuff and it never seems to dissappear even when visible and enabled are set to 0. ffs.

changing the wide/tall to 0 just moved it, i messed with a bunch of stuff and it never seems to dissappear even when visible and enabled are set to 0. ffs.
6
#6
0 Frags +

also as i wait for a genius to figure this out, maybe this question will be simpler.

for some reason, this hud i put together doesn't show the damage account when its a crit, since i play a lot of sniper this is really quite annoying. i'm not sure why it does this, doesn't make any sense to me, but it shows up any other way, it even shows up when its a crit on the value above the health, but not above their head, which is normally what i look at anyway

also as i wait for a genius to figure this out, maybe this question will be simpler.

for some reason, this hud i put together doesn't show the damage account when its a crit, since i play a lot of sniper this is really quite annoying. i'm not sure why it does this, doesn't make any sense to me, but it shows up any other way, it even shows up when its a crit on the value above the health, but not above their head, which is normally what i look at anyway
7
#7
3 Frags +

yo
first off, to get rid of the overheal cross change fgcolor inside of your event HudHealthBonusPulse so that whatever line references your cross changes the fgcolor to this "0 0 0 0"

and then here's what you have to do to change the overheal color. replace your event HudHealthBonusPulse to what i have below. I'm just copying and pasting what i have from chriz hud and possibly garm3n hud (i mixed portions of both together to make my own hud).

you will obviously have to change the colors around to what you like and change the names of the hud elements, simply ctrl+f and then replace all, my names for hud elements are pretty self explanatory i hope, hope you can change yours!

in case you dont know how to do hud colors (im sure you do) my best bet for neon blue would be something like
fgcolor "0 128 255 255"
or
fgcolor "0 255 255 255"

//===========================================

//Health Bonus Pulse
event HudHealthBonusPulse
{
	Animate	PlayerStatusHealthBonusImage 	Alpha		"160"			Linear 0.0 0.2
	Animate	PlayerStatusHealthBonusImage 	Alpha		"80"			Linear 0.2 0.4

	RunEvent HudHealthBonusPulseLoop	0.4

	Animate PlayerStatusHealthValue 		Alpha 		"255" 				Linear 0.0 0.1
	Animate PlayerStatusHealthValue			FgColor		"PlayerHPColorHigh" Linear 0.0 0.0

	Animate PlayerStatusHealthValueShadow1 		Alpha 		"255" 				Linear 0.0 0.1
	Animate PlayerStatusHealthValueShadow1			FgColor		"255 255 255 255" Linear 0.0 0.0

	Animate PlayerStatusHealthValueShadow 		Alpha 		"255" 				Linear 0.0 0.1
	Animate PlayerStatusHealthValueShadow			FgColor		"255 0 205 255" Linear 0.0 0.0

	Animate SpectatorPlayerStatusHealthValue        FgColor           "Garm3nHUDBonusPulse"           Linear 0.0 0.2
	Animate SpectatorPlayerStatusHealthValue        FgColor           "235 235 235 255"           Linear 0.2 0.4

	Animate SpectatorPlayerStatusHealthValue2        FgColor           "Garm3nHUDBonusPulse"           Linear 0.0 0.2
	Animate SpectatorPlayerStatusHealthValue2        FgColor           "235 235 235 255"           Linear 0.2 0.4

}

// call to loop HudHealthBonusPulse
event HudHealthBonusPulseLoop
{
	RunEvent HudHealthBonusPulse 0.0
}

event HudHealthBonusPulseStop
{
	StopEvent HudHealthBonusPulse 0.0
	StopEvent HudHealthBonusPulseLoop 0.0

	Animate PlayerStatusHealthValue 		Alpha 		"255" 				Linear 0.0 0.1
	Animate PlayerStatusHealthValue			FgColor		"235 235 235 255" 	Linear 0.0 0.0

	Animate PlayerStatusHealthValueShadow			FgColor		"Black" 	Linear 0.0 0.0

	Animate PlayerStatusHealthValueShadow1			FgColor		"Black" 	Linear 0.0 0.0

	Animate SpectatorPlayerStatusHealthValue alpha 255 linear 0.0 0.0
	Animate SpectatorPlayerStatusHealthValue fgcolor "235 235 235 255" accel 0.0 0.0

	Animate SpectatorPlayerStatusHealthValue2 alpha 255 linear 0.0 0.0
	Animate SpectatorPlayerStatusHealthValue2 fgcolor "235 235 235 255" accel 0.0 0.0
}

hope this answers your question, good luck!

yo
first off, to get rid of the overheal cross change fgcolor inside of your event HudHealthBonusPulse so that whatever line references your cross changes the fgcolor to this "0 0 0 0"


and then here's what you have to do to change the overheal color. replace your event HudHealthBonusPulse to what i have below. I'm just copying and pasting what i have from chriz hud and possibly garm3n hud (i mixed portions of both together to make my own hud).



you will obviously have to change the colors around to what you like and change the names of the hud elements, simply ctrl+f and then replace all, my names for hud elements are pretty self explanatory i hope, hope you can change yours!

in case you dont know how to do hud colors (im sure you do) my best bet for neon blue would be something like
fgcolor "0 128 255 255"
or
fgcolor "0 255 255 255"

[code]//===========================================

//Health Bonus Pulse
event HudHealthBonusPulse
{
Animate PlayerStatusHealthBonusImage Alpha "160" Linear 0.0 0.2
Animate PlayerStatusHealthBonusImage Alpha "80" Linear 0.2 0.4

RunEvent HudHealthBonusPulseLoop 0.4

Animate PlayerStatusHealthValue Alpha "255" Linear 0.0 0.1
Animate PlayerStatusHealthValue FgColor "PlayerHPColorHigh" Linear 0.0 0.0

Animate PlayerStatusHealthValueShadow1 Alpha "255" Linear 0.0 0.1
Animate PlayerStatusHealthValueShadow1 FgColor "255 255 255 255" Linear 0.0 0.0

Animate PlayerStatusHealthValueShadow Alpha "255" Linear 0.0 0.1
Animate PlayerStatusHealthValueShadow FgColor "255 0 205 255" Linear 0.0 0.0



Animate SpectatorPlayerStatusHealthValue FgColor "Garm3nHUDBonusPulse" Linear 0.0 0.2
Animate SpectatorPlayerStatusHealthValue FgColor "235 235 235 255" Linear 0.2 0.4

Animate SpectatorPlayerStatusHealthValue2 FgColor "Garm3nHUDBonusPulse" Linear 0.0 0.2
Animate SpectatorPlayerStatusHealthValue2 FgColor "235 235 235 255" Linear 0.2 0.4

}

// call to loop HudHealthBonusPulse
event HudHealthBonusPulseLoop
{
RunEvent HudHealthBonusPulse 0.0
}

event HudHealthBonusPulseStop
{
StopEvent HudHealthBonusPulse 0.0
StopEvent HudHealthBonusPulseLoop 0.0

Animate PlayerStatusHealthValue Alpha "255" Linear 0.0 0.1
Animate PlayerStatusHealthValue FgColor "235 235 235 255" Linear 0.0 0.0

Animate PlayerStatusHealthValueShadow FgColor "Black" Linear 0.0 0.0

Animate PlayerStatusHealthValueShadow1 FgColor "Black" Linear 0.0 0.0

Animate SpectatorPlayerStatusHealthValue alpha 255 linear 0.0 0.0
Animate SpectatorPlayerStatusHealthValue fgcolor "235 235 235 255" accel 0.0 0.0

Animate SpectatorPlayerStatusHealthValue2 alpha 255 linear 0.0 0.0
Animate SpectatorPlayerStatusHealthValue2 fgcolor "235 235 235 255" accel 0.0 0.0
}[/code]

hope this answers your question, good luck!
8
#8
0 Frags +

for damage account you need to define "delta_item_font_big" in resource\ui\HudDamageAccount

for example mine is

"delta_item_font"		"surface15outline"
		"delta_item_font_big"		"surface23outline"

You need to use fonts that are defined in ClientScheme.res though, so if you want you can just make it the same as delta_item_font.

for damage account you need to define "delta_item_font_big" in resource\ui\HudDamageAccount


for example mine is
[code]
"delta_item_font" "surface15outline"
"delta_item_font_big" "surface23outline"
[/code]
You need to use fonts that are defined in ClientScheme.res though, so if you want you can just make it the same as delta_item_font.
9
#9
0 Frags +

[fixed]

[fixed]
10
#10
0 Frags +

images broken, found out how to fix it anyway.

images broken, found out how to fix it anyway.
11
#11
0 Frags +

.

.
12
#12
0 Frags +

I might just implement the request for the targetID. Yes, its me the creator of KBNHud. I never did make that because it never really was a problem for me, but I will make this request standard for the HUD for its birthday update sometime tomorrow (or today, seeing as its after midnight as I am typing this). Sorry about late replay, I didn't notice this thread until recently. Also, thanks hanbrolo for the animation code. I will modify it to properly fit the HUD.

I might just implement the request for the targetID. Yes, its me the creator of KBNHud. I never did make that because it never really was a problem for me, but I will make this request standard for the HUD for its birthday update sometime tomorrow (or today, seeing as its after midnight as I am typing this). Sorry about late replay, I didn't notice this thread until recently. Also, thanks hanbrolo for the animation code. I will modify it to properly fit the HUD.
Please sign in through STEAM to post a comment.