Upvote Upvoted 330 Downvote Downvoted
1 ⋅⋅ 171 172 173 174 175 176 177 ⋅⋅ 234
HUD editing: short questions, quick answers
posted in Customization
5191
#5191
0 Frags +

I enabled pulse damage on thincircle (which i made transparent) but as soon as it pulses it turns solid white again, anyone has any guess where else i need to change the transparency for it to work?

I enabled pulse damage on thincircle (which i made transparent) but as soon as it pulses it turns solid white again, anyone has any guess where else i need to change the transparency for it to work?
5192
#5192
0 Frags +

how do i make damage numbers without the "-"sign like yight's hud

edit: misspelling

how do i make damage numbers without the "-"sign like yight's hud

edit: misspelling
5193
#5193
0 Frags +

Is there a console command that can close the new item screen? I notice sometimes its unclickable in my hud and I have to quit to fix it. Escape key doesnt work when it happens either.

Also, is the map stamp upsell window broken even in the default hud?

Is there a console command that can close the new item screen? I notice sometimes its unclickable in my hud and I have to quit to fix it. Escape key doesnt work when it happens either.

Also, is the map stamp upsell window broken even in the default hud?
5194
#5194
1 Frags +
jnuhow do i make damage numbers without the "-"sign like yight's hud

edit: misspelling

As far as I know it's only possible by editing the font. I've been using fontforge to do this in my huds.
The method I use is to replace the "-" symbol with the "space" symbol. Before saving the hud you have to change the font name, so you can properly add the font to your hud. The fontname can be changed in File -> Names or something similar.
Once you've created the font, you can add it to your hud like any other font. Last thing you need to do is changing the font used in huddamageaccount.res.

[quote=jnu]how do i make damage numbers without the "-"sign like yight's hud

edit: misspelling[/quote]

As far as I know it's only possible by editing the font. I've been using fontforge to do this in my huds.
The method I use is to replace the "-" symbol with the "space" symbol. Before saving the hud you have to change the font name, so you can properly add the font to your hud. The fontname can be changed in File -> Names or something similar.
Once you've created the font, you can add it to your hud like any other font. Last thing you need to do is changing the font used in huddamageaccount.res.
5195
#5195
whitelist.tf
0 Frags +
AiTratHey, so the ammo numbers on the default HUD are cutoff slightly at the top. This is also a problem when on min mode. Fix?

Depends on your resolution I suppose

TETEBI enabled pulse damage on thincircle (which i made transparent) but as soon as it pulses it turns solid white again, anyone has any guess where else i need to change the transparency for it to work?

Change the color(s) in the event DamagedPlayer animation.

jnuhow do i make damage numbers without the "-"sign like yight's hud

custom font where the '-' glyph has been removed/set to 0 width as JB explained

HonsterIs there a console command that can close the new item screen? I notice sometimes its unclickable in my hud and I have to quit to fix it. Escape key doesnt work when it happens either.
"closeShortKey"
{
	"ControlName"	"CExButton"
	"visible"	"1"
	"xpos"		"r0"
	"labelText"	"&E"
	"command"	"vguicancel"
}
Also, is the map stamp upsell window broken even in the default hud?

Valve changed something to the 'econ/ConfirmDialog.res' to be dynamic height, screwing up this panel in the process.

[quote=AiTrat]Hey, so the ammo numbers on the default HUD are cutoff slightly at the top. This is also a problem when on min mode. Fix?[/quote]
Depends on your resolution I suppose

[quote=TETEB]I enabled pulse damage on thincircle (which i made transparent) but as soon as it pulses it turns solid white again, anyone has any guess where else i need to change the transparency for it to work?[/quote]
Change the color(s) in the event [i]DamagedPlayer[/i] animation.

[quote=jnu]how do i make damage numbers without the "-"sign like yight's hud[/quote]
custom font where the '-' glyph has been removed/set to 0 width as JB explained

[quote=Honster]Is there a console command that can close the new item screen? I notice sometimes its unclickable in my hud and I have to quit to fix it. Escape key doesnt work when it happens either.[/quote]
[code]
"closeShortKey"
{
"ControlName" "CExButton"
"visible" "1"
"xpos" "r0"
"labelText" "&E"
"command" "vguicancel"
}[/code]
[quote]Also, is the map stamp upsell window broken even in the default hud?[/quote]
Valve changed something to the 'econ/ConfirmDialog.res' to be dynamic height, screwing up this panel in the process.
5196
#5196
3 Frags +
JBjnuhow do i make damage numbers without the "-"sign like yight's hud

edit: misspelling

As far as I know it's only possible by editing the font. I've been using fontforge to do this in my huds.
The method I use is to replace the "-" symbol with the "space" symbol. Before saving the hud you have to change the font name, so you can properly add the font to your hud. The fontname can be changed in File -> Names or something similar.
Once you've created the font, you can add it to your hud like any other font. Last thing you need to do is changing the font used in huddamageaccount.res.

yes that's how you do it. Your way is probably easiest

now, does anyone know if it's possible to edit the thing at the top of the screen?

https://puu.sh/A23gv/0bcf70f073.png

I want to see if you can make the healthbars more prominent, ideally being the entire portrait so it's easy to see overall team health

[quote=JB][quote=jnu]how do i make damage numbers without the "-"sign like yight's hud

edit: misspelling[/quote]

As far as I know it's only possible by editing the font. I've been using fontforge to do this in my huds.
The method I use is to replace the "-" symbol with the "space" symbol. Before saving the hud you have to change the font name, so you can properly add the font to your hud. The fontname can be changed in File -> Names or something similar.
Once you've created the font, you can add it to your hud like any other font. Last thing you need to do is changing the font used in huddamageaccount.res.[/quote]

yes that's how you do it. Your way is probably easiest

now, does anyone know if it's possible to edit the thing at the top of the screen?

[img]https://puu.sh/A23gv/0bcf70f073.png[/img]

I want to see if you can make the healthbars more prominent, ideally being the entire portrait so it's easy to see overall team health
5197
#5197
1 Frags +

#5200 yes easily. File is hudmatchstatus.res. Panels are controlled by the teamstatus element within, but the rest of the elements are relevent. See solarhud's most recent tf.tv post for an example picture and it's GitHub for what exactly I editted.

#5200 yes easily. File is hudmatchstatus.res. Panels are controlled by the teamstatus element within, but the rest of the elements are relevent. See solarhud's most recent tf.tv post for an example picture and it's GitHub for what exactly I editted.
5198
#5198
3 Frags +

flame did a nice edit of that a couple of years ago. After looking at a copy of his old hud, I've managed to recreate it and I think it should work on any HUD:

https://i.imgur.com/0ipWokw.png

Copy and paste this over your existing TeamStatus in hudmatchstatus.res: Link
and
Replace your event TeamStatus_PlayerDead in hudanimations_tf.txt with this: Link
(or add to your custom hudanimations if your HUD uses manifest)

I only tested it in 1920x1080, so I'm not entirely sure how it is in other resolutions. Also it's really only meant for 6v6, as it starts looking pretty odd after more than 12 players on a server.

Edit: You'll have to move your killfeed down in hudlayout.res in order for it not to overlap with the panels.

[url=http://www.teamfortress.tv/post/562636/flamehud-reborn]flame did a nice edit of that a couple of years ago[/url]. After looking at a copy of his old hud, I've managed to recreate it and I think it [i]should[/i] work on any HUD:

[img]https://i.imgur.com/0ipWokw.png[/img]

Copy and paste this over your existing [i]TeamStatus [/i]in hudmatchstatus.res: [url=https://pastebin.com/Ys7HNCFg]Link[/url]
and
Replace your [i]event TeamStatus_PlayerDead[/i] in hudanimations_tf.txt with this: [url=https://pastebin.com/76Q6AFC3]Link[/url]
(or add to your custom hudanimations if your HUD uses manifest)

I only tested it in 1920x1080, so I'm not entirely sure how it is in other resolutions. Also it's really only meant for 6v6, as it starts looking pretty odd after more than 12 players on a server.

Edit: You'll have to move your killfeed down in hudlayout.res in order for it not to overlap with the panels.
5199
#5199
0 Frags +

Forgive me, i haven't played this game in a few years...

I'm trying to transfer a hud crosshair from an old version of KNhud to the updated version.. I tried to follow raysfire's tutorial on youtube (this is what i use to use long ago) but it's not working. Either i'm dumb or its out of date.. Is there an up to date tutorial somewhere or can someone plz help.

Forgive me, i haven't played this game in a few years...

I'm trying to transfer a hud crosshair from an old version of KNhud to the updated version.. I tried to follow raysfire's tutorial on youtube (this is what i use to use long ago) but it's not working. Either i'm dumb or its out of date.. Is there an up to date tutorial somewhere or can someone plz help.
5200
#5200
0 Frags +
WiethoofdTETEBI enabled pulse damage on thincircle (which i made transparent) but as soon as it pulses it turns solid white again, anyone has any guess where else i need to change the transparency for it to work?Change the color(s) in the event DamagedPlayer animation.

I have it like this on HudAnimations_tf.txt

event DamagedPlayer
{
	// empty
	Animate ThinCircle FgColor "255 0 0 50" Linear 0.0 0.0
	Animate ThinCircle FgColor "255 255 255 50" Linear 0.15 0.0
}

And like this on HudAnimations_custom.txt

event DamagedPlayer 
{
	StopEvent HitMarker 			0.0
	RunEvent HitMarker 				0.01
}

event HitMarker
{
	Animate ThinCircle	 		FgColor 	"CrosshairDamage" 	Linear 0.0 0.0
	Animate ThinCircle	 		FgColor 	"Crosshair" 		Linear 0.15 0.0
}
[quote=Wiethoofd]

[quote=TETEB]I enabled pulse damage on thincircle (which i made transparent) but as soon as it pulses it turns solid white again, anyone has any guess where else i need to change the transparency for it to work?[/quote]
Change the color(s) in the event [i]DamagedPlayer[/i] animation.
[/quote]

I have it like this on HudAnimations_tf.txt

[code]event DamagedPlayer
{
// empty
Animate ThinCircle FgColor "255 0 0 50" Linear 0.0 0.0
Animate ThinCircle FgColor "255 255 255 50" Linear 0.15 0.0
}
[/code]

And like this on HudAnimations_custom.txt

[code]event DamagedPlayer
{
StopEvent HitMarker 0.0
RunEvent HitMarker 0.01
}

event HitMarker
{
Animate ThinCircle FgColor "CrosshairDamage" Linear 0.0 0.0
Animate ThinCircle FgColor "Crosshair" Linear 0.15 0.0
}[/code]
5201
#5201
1 Frags +

My damage numbers for some reason are always red. I am using yahud M-X, and i even switched to m0rehud to see if it would change, and it doesn't. The font for the dmg changes, but the color is always red for some reason.

This is a screenshot of my custom folder, i am using the no hats mod, explosion smoke script, hitsounds, and vtf crosshairs along w/ my hud.

https://imgur.com/a/RlahH

My damage numbers for some reason are always red. I am using yahud M-X, and i even switched to m0rehud to see if it would change, and it doesn't. The font for the dmg changes, but the color is always red for some reason.

This is a screenshot of my custom folder, i am using the no hats mod, explosion smoke script, hitsounds, and vtf crosshairs along w/ my hud.

https://imgur.com/a/RlahH
5202
#5202
2 Frags +
iodineMy damage numbers for some reason are always red. I am using yahud M-X, and i even switched to m0rehud to see if it would change, and it doesn't. The font for the dmg changes, but the color is always red for some reason.

This is a screenshot of my custom folder, i am using the no hats mod, explosion smoke script, hitsounds, and vtf crosshairs along w/ my hud.

https://imgur.com/a/RlahH

hud_combattext_green
hud_combattext_red
hud_combattext_blue

[quote=iodine]My damage numbers for some reason are always red. I am using yahud M-X, and i even switched to m0rehud to see if it would change, and it doesn't. The font for the dmg changes, but the color is always red for some reason.

This is a screenshot of my custom folder, i am using the no hats mod, explosion smoke script, hitsounds, and vtf crosshairs along w/ my hud.

https://imgur.com/a/RlahH[/quote]
hud_combattext_green
hud_combattext_red
hud_combattext_blue
5203
#5203
1 Frags +
typtoiodineMy damage numbers for some reason are always red. I am using yahud M-X, and i even switched to m0rehud to see if it would change, and it doesn't. The font for the dmg changes, but the color is always red for some reason.

This is a screenshot of my custom folder, i am using the no hats mod, explosion smoke script, hitsounds, and vtf crosshairs along w/ my hud.

https://imgur.com/a/RlahH
hud_combattext_green
hud_combattext_red
hud_combattext_blue

do i put that in my autoexec, or somewhere in my hud?

[quote=typto][quote=iodine]My damage numbers for some reason are always red. I am using yahud M-X, and i even switched to m0rehud to see if it would change, and it doesn't. The font for the dmg changes, but the color is always red for some reason.

This is a screenshot of my custom folder, i am using the no hats mod, explosion smoke script, hitsounds, and vtf crosshairs along w/ my hud.

https://imgur.com/a/RlahH[/quote]
hud_combattext_green
hud_combattext_red
hud_combattext_blue[/quote]

do i put that in my autoexec, or somewhere in my hud?
5204
#5204
0 Frags +

Does anyone know if you can edit the class avatars in the match hud to be other images? Perhaps the class icons?

Does anyone know if you can edit the class avatars in the match hud to be other images? Perhaps the class icons?
5205
#5205
0 Frags +

is there an easy way to modify the size of damage numbers?

is there an easy way to modify the size of damage numbers?
5206
#5206
whitelist.tf
2 Frags +
nuzeDoes anyone know if you can edit the class avatars in the match hud to be other images? Perhaps the class icons?

You can, but there is a high chance they won't work in sv_pure servers. You can move the VTFs to materials\vgui\replay\thumbnails and keep the VMTs in the original materials\vgui\class_portraits folder pointing to the VTF image files in the replay folder.

snowiis there an easy way to modify the size of damage numbers?

ui/HudDamageAccount.res modify the delta_item_font(_big_) values to the required size.

[quote=nuze]Does anyone know if you can edit the class avatars in the match hud to be other images? Perhaps the class icons?[/quote]
You can, but there is a high chance they won't work in sv_pure servers. You can move the VTFs to [i]materials\vgui\replay\thumbnails[/i] and keep the VMTs in the original [i]materials\vgui\class_portraits[/i] folder pointing to the VTF image files in the replay folder.

[quote=snowi]is there an easy way to modify the size of damage numbers?[/quote]
ui/HudDamageAccount.res modify the [i]delta_item_font(_big_)[/i] values to the required size.
5207
#5207
0 Frags +

Sorry if this is a dumb question but how do you edit the size of player health and ammo? I tried changing the font size but it still the same.

Sorry if this is a dumb question but how do you edit the size of player health and ammo? I tried changing the font size but it still the same.
5208
#5208
0 Frags +

.

.
5209
#5209
huds.tf
0 Frags +
fizzwhizHow do I make damage numbers also appear on the HUD, on the bottom-left side in between the health bar and the centre? I'm looking to use it as a hit-marker to replace hitsounds. I'm using the default HUD in minmode.

I've made a huddamageaccount.res in custom/[folder]/resource/ui. I've adapted the following code from the Improved Default HUD:
"Resource/UI/HudDamageAccount.res"
{
	"CDamageAccountValue"
	{
		"ControlName"	"CExLabel"
		"fieldName"	"CDamageAccountValue"
		"fgcolor"	"0 255 0 255
		"font"		"resource/tf2.ttf"
		"xpos"		"128"
		"ypos"		"r110"
		"xpos_minmode"	"110"
		"ypos_minmode"	"r75"
		"wide"		"100"
		"tall"		"26"
		"visible"	"1"
		"enabled"	"1"
		"labelText"	"%metal%"
		"textAlignment"	"left"
	}
}

You need to change the font. It won’t read “resource/tf2.tff” as a valid font value.

[quote=fizzwhiz]How do I make damage numbers also appear on the HUD, on the bottom-left side in between the health bar and the centre? I'm looking to use it as a hit-marker to replace hitsounds. I'm using the default HUD in minmode.

I've made a huddamageaccount.res in custom/[folder]/resource/ui. I've adapted the following code from the [url=https://wiki.teamfortress.com/wiki/User:Eniere/Improved_Default_HUD#How_to_change_damage_position_and_visibility]Improved Default HUD[/url]:

[code]
"Resource/UI/HudDamageAccount.res"
{
"CDamageAccountValue"
{
"ControlName" "CExLabel"
"fieldName" "CDamageAccountValue"
"fgcolor" "0 255 0 255
"font" "resource/tf2.ttf"
"xpos" "128"
"ypos" "r110"
"xpos_minmode" "110"
"ypos_minmode" "r75"
"wide" "100"
"tall" "26"
"visible" "1"
"enabled" "1"
"labelText" "%metal%"
"textAlignment" "left"
}
}
[/code][/quote]
You need to change the font. It won’t read “resource/tf2.tff” as a valid font value.
5210
#5210
0 Frags +

.

.
5211
#5211
0 Frags +

anyone know how to get rid of the marked for death sign?

anyone know how to get rid of the marked for death sign?
5212
#5212
0 Frags +

How do I add the healing stat for my scoreboard (just that one, using hypnotise hud)?
ty

How do I add the healing stat for my scoreboard (just that one, using hypnotise hud)?
ty
5213
#5213
0 Frags +

how to change engi bulid status like this?

https://imgur.com/JYl1vHT

how to change engi bulid status like this?

https://imgur.com/JYl1vHT
5214
#5214
0 Frags +

Ignore this I managed to resolve my issues and the only one left remainig (Phlog & gasspasser overlap is a bug within the default hud) I cant do anything about. Thanks anyways.

Ignore this I managed to resolve my issues and the only one left remainig (Phlog & gasspasser overlap is a bug within the default hud) I cant do anything about. Thanks anyways.
5215
#5215
whitelist.tf
0 Frags +
zeFrostyanyone know how to get rid of the marked for death sign?

Put away that Escape Plan :D

Possibly need to update your HudPlayerHealth.res instead to have all the status icons in there they added for mannpower and with Meet Your Match

DocFlameHow do I add the healing stat for my scoreboard (just that one, using hypnotise hud)?
ty
// Excerpt from the Default ScoreBoard.res file
	"LocalPlayerStatsPanel"
	{
		"HealingLabel"
		{
			"ControlName"		"CExLabel"
			"fieldName"		"HealingLabel"
			"font"			"ScoreboardVerySmall"
			"labelText"		"#TF_ScoreBoard_HealingLabel"
			"textAlignment"		"east"
			"xpos"			"326"
			"ypos"			"30"
			"zpos"			"3"
			"wide"			"95"
			"tall"			"20"
			"autoResize"	"0"
			"pinCorner"		"0"
			"visible"		"1"
			"enabled"		"1"
		}
		"Healing"
		{
			"ControlName"		"CExLabel"
			"fieldName"		"Healing"
			"font"			"ScoreboardVerySmall"
			"labelText"		"%healing%"
			"textAlignment"		"west"
			"xpos"			"425"
			"ypos"			"30"
			"zpos"			"3"
			"wide"			"35"
			"tall"			"20"
			"autoResize"	"0"
			"pinCorner"		"0"
			"visible"		"1"
			"enabled"		"1"
		}
	}
phoxhow to change engi bulid status like this?

If you know which hud it is it's the: hud_obj_ files in resource/ui

LuigiIgnore this I managed to resolve my issues and the only one left remainig (Phlog & gasspasser overlap is a bug within the default hud) I cant do anything about. Thanks anyways.

HudItemEffectMeter_Pyro is the phlog and the default HudItemEffectMeter is the Gas Passer

[quote=zeFrosty]anyone know how to get rid of the marked for death sign?[/quote]
Put away that Escape Plan :D

Possibly need to update your HudPlayerHealth.res instead to have all the status icons in there they added for mannpower and with Meet Your Match

[quote=DocFlame]How do I add the healing stat for my scoreboard (just that one, using hypnotise hud)?
ty[/quote]

[code]// Excerpt from the Default ScoreBoard.res file
"LocalPlayerStatsPanel"
{
"HealingLabel"
{
"ControlName" "CExLabel"
"fieldName" "HealingLabel"
"font" "ScoreboardVerySmall"
"labelText" "#TF_ScoreBoard_HealingLabel"
"textAlignment" "east"
"xpos" "326"
"ypos" "30"
"zpos" "3"
"wide" "95"
"tall" "20"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
}
"Healing"
{
"ControlName" "CExLabel"
"fieldName" "Healing"
"font" "ScoreboardVerySmall"
"labelText" "%healing%"
"textAlignment" "west"
"xpos" "425"
"ypos" "30"
"zpos" "3"
"wide" "35"
"tall" "20"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
}
}
[/code]

[quote=phox]how to change engi bulid status like [url=https://imgur.com/JYl1vHT]this[/url]?[/quote]
If you know which hud it is it's the: [i]hud_obj_[/i] files in resource/ui

[quote=Luigi]Ignore this I managed to resolve my issues and the only one left remainig (Phlog & gasspasser overlap is a bug within the default hud) I cant do anything about. Thanks anyways.[/quote]
[i]HudItemEffectMeter_Pyro[/i] is the phlog and the default [i]HudItemEffectMeter[/i] is the Gas Passer
5216
#5216
0 Frags +

---

---
5217
#5217
0 Frags +

I'm having trouble with a couple hud elements randomly moving position, specifically the chat window and "BuildingStatus_Engineer"

I extracted using gcfscape my resource folder but I cant find the default version of basechat.res?

Also is there anything other than the "BuildingStatus_Engineer" section from hudlayout.res that could be randomly moving my building status panel?

I'm having trouble with a couple hud elements randomly moving position, specifically the chat window and "BuildingStatus_Engineer"

I extracted using gcfscape my resource folder but I cant find the default version of basechat.res?

Also is there anything other than the "BuildingStatus_Engineer" section from hudlayout.res that could be randomly moving my building status panel?
5218
#5218
2 Frags +
Nahuelicsdoes anyone know how to make your overheal/hurt overlay to be round

You have to edit the "image" "../hud/health_over_bg" in PlayerStatusHealthBonusImage in hudplayerhealth.res

Easiest way to make the vtf would be https://www.getpaint.net/ + http://nemesis.thewavelength.net/index.php?c=225
Or you'll almost certainly be able to find a circle vtf from a different hud
Put the new material in materials/vgui/replay/thumbnails/ to get it to work in sv_pure

HonsterI extracted using gcfscape my resource folder but I cant find the default version of basechat.res?

basechat.res doesn't exist in the tf2 vpk's. Easiest way to get it is to just reference it from another hud and change it as needed, such as https://github.com/Wiethoofd/WietHUD/blob/master/resource/ui/BaseChat.res

[quote=Nahuelics]does anyone know how to make your overheal/hurt overlay to be round[/quote]
You have to edit the "image" "../hud/health_over_bg" in PlayerStatusHealthBonusImage in hudplayerhealth.res

Easiest way to make the vtf would be https://www.getpaint.net/ + http://nemesis.thewavelength.net/index.php?c=225
Or you'll almost certainly be able to find a circle vtf from a different hud
Put the new material in materials/vgui/replay/thumbnails/ to get it to work in sv_pure

[quote=Honster]I extracted using gcfscape my resource folder but I cant find the default version of basechat.res?[/quote]
basechat.res doesn't exist in the tf2 vpk's. Easiest way to get it is to just reference it from another hud and change it as needed, such as https://github.com/Wiethoofd/WietHUD/blob/master/resource/ui/BaseChat.res
5219
#5219
0 Frags +

how can i remove the buff cross

https://i.imgur.com/J3NEVb3.png

m0rehud

how can i remove the buff cross
[img]https://i.imgur.com/J3NEVb3.png[/img]
m0rehud
5220
#5220
0 Frags +

Guys, how do I make the borders/edges sharper?

It always looks like this:
1
2
3
4

Guys, how do I make the borders/edges sharper?

It always looks like this:
[url=https://imgur.com/MXJfll7]1[/url]
[url=https://imgur.com/urE25Af]2[/url]
[url=https://imgur.com/paYu8oL]3[/url]
[url=https://imgur.com/TLqX8lw]4[/url]
1 ⋅⋅ 171 172 173 174 175 176 177 ⋅⋅ 234
Please sign in through STEAM to post a comment.