Upvote Upvoted 257 Downvote Downvoted
1 ⋅⋅ 77 78 79 80 81 82 83 ⋅⋅ 197
HUD editing: short questions, quick answers
posted in Customization
2371
#2371
0 Frags +
JermKqiSmesiJermKqiHave a short qns here!
How do you change the colour when you get 1 kill/death or more from green to white?
Eg: http://i.imgur.com/9V4CXhQ.jpg
Look at the 1 on the scoreboard, its green n how do i make it white? Btw it is the death counter.

Thanks for your help!

http://www.teamfortress.tv/post/456134/hud-editing-short-questions-quick-answers
http://www.teamfortress.tv/19073/hud-editing-short-questions-quick-answers/?page=79

I did try to change the fgcolor to "255 255 255 255" however there must be another file that is causing the numbers to be green cause it still remained green when I killed myself. Tried looking through the animations file, could not find anything related to the colours changing from white to green when the kill/death count is above 0.

Pastebin of the scoreboard.res kill and deaths section: http://pastebin.com/NWWTLmuS

I actually messed up the elements you have to rename, my bad.

Basically, make a copy of Kills and Deaths (not KillsLabel and DeathsLabel), turn the original Kills and Deaths to visible 0, and make the copy of your kills and deaths a different name like "KillsNotGreen" and "DeathsNotGreen". As long as your elements aren't called Kills and Deaths, they won't turn Green when they're non-zero.

m0rehud black as an example below
"Kills" //turn the default kill counting element invisible
		{
			"ControlName"           "CExLabel"
			"fieldName"		 "Kills"
			"visible"		   "0"
		}
		"KillsWhite" //make a new kill counting element that isn't named Kills and customize that
		{
			"ControlName"           "CExLabel"
			"fieldName"		 "KillsWhite"

Oh yea never thought of that haha Thanks alot mate!

[quote=Jerm][quote=Kqi][quote=Smesi][quote=Jerm][quote=Kqi]Have a short qns here!
How do you change the colour when you get 1 kill/death or more from green to white?
Eg: [url=http://i.imgur.com/9V4CXhQ.jpg]http://i.imgur.com/9V4CXhQ.jpg [/url]
Look at the 1 on the scoreboard, its green n how do i make it white? Btw it is the death counter.

Thanks for your help![/quote]

http://www.teamfortress.tv/post/456134/hud-editing-short-questions-quick-answers[/quote]
http://www.teamfortress.tv/19073/hud-editing-short-questions-quick-answers/?page=79[/quote]

I did try to change the fgcolor to "255 255 255 255" however there must be another file that is causing the numbers to be green cause it still remained green when I killed myself. Tried looking through the animations file, could not find anything related to the colours changing from white to green when the kill/death count is above 0.

Pastebin of the scoreboard.res kill and deaths section: [url=http://pastebin.com/NWWTLmuS]http://pastebin.com/NWWTLmuS[/url][/quote]

I actually messed up the elements you have to rename, my bad.

Basically, make a copy of Kills and Deaths (not KillsLabel and DeathsLabel), turn the original Kills and Deaths to visible 0, and make the copy of your kills and deaths a different name like "KillsNotGreen" and "DeathsNotGreen". As long as your elements aren't called Kills and Deaths, they won't turn Green when they're non-zero.

m0rehud black as an example below
[code]"Kills" //turn the default kill counting element invisible
{
"ControlName" "CExLabel"
"fieldName" "Kills"
"visible" "0"
}
"KillsWhite" //make a new kill counting element that isn't named Kills and customize that
{
"ControlName" "CExLabel"
"fieldName" "KillsWhite"[/code][/quote]

Oh yea never thought of that haha Thanks alot mate!
2372
#2372
0 Frags +

What is the command to change the killfeed fade time?

What is the command to change the killfeed fade time?
2373
#2373
0 Frags +
zeFrostyWhat is the command to change the killfeed fade time?

Pretty sure you can't change the fade time.

[quote=zeFrosty]What is the command to change the killfeed fade time?[/quote]

Pretty sure you can't change the fade time.
2374
#2374
1 Frags +

hud_deathnotice_time x

x = the time in seconds

hud_deathnotice_time x

x = the time in seconds
2375
#2375
0 Frags +

anyone have a fix for the item text being shifted to the right like so:

Show Content

as well as the inspect panel being in the far bottom left like so:

Show Content
anyone have a fix for the item text being shifted to the right like so:

[spoiler][img]http://images.akamai.steamusercontent.com/ugc/392175615061659332/F8252006CFF78D4F24ED449D5103B29F455C9AA8/[/img][/spoiler]

as well as the inspect panel being in the far bottom left like so:

[spoiler][img]http://images.akamai.steamusercontent.com/ugc/356147995810756742/B07E2990B9F506BCC20ED8D5F14B647109F412F2/[/img][/spoiler]
2376
#2376
0 Frags +

On some HUDs, for example rayshud, the fonts are sometimes cut off, for example the 2 in the health. Is there a fix for this?

http://i.imgur.com/4xL790t.jpg

On some HUDs, for example rayshud, the fonts are sometimes cut off, for example the 2 in the health. Is there a fix for this?

[img]http://i.imgur.com/4xL790t.jpg[/img]
2377
#2377
0 Frags +
Show Content

what parameter controls the weird white bar that clips through at the top, how do i change the collector's/decorated quality font color, and how do I remove the dark background on the scoreboard (since names already darken the background)

Show Content
[spoiler][img]http://puu.sh/mdyWR.png[/img][/spoiler]
what parameter controls the weird white bar that clips through at the top, how do i change the collector's/decorated quality font color, and how do I remove the dark background on the scoreboard (since names already darken the background)
[spoiler][img]http://puu.sh/mdz8V.jpg[/img][/spoiler]
2378
#2378
0 Frags +

What should I change on MainMenuOverride to have the contracts and news buttons?
Also, how can I have different colors for low and buffed HP while spectating on tournament mode?
using m0rehud black

What should I change on MainMenuOverride to have the contracts and news buttons?
Also, how can I have different colors for low and buffed HP while spectating on tournament mode?
using m0rehud black
2379
#2379
0 Frags +

I want to make my Static Damage numbers Green when healing and Yellow when dealing damage.

How do I do that?

I want to make my Static Damage numbers Green when healing and Yellow when dealing damage.

How do I do that?
2380
#2380
0 Frags +

I've been unable to find what to rename my vtf and where to put it to change the loading screen image (I know how to change the main menu bg) so if anyone knows how, thanks!

On top of this I also wonder if anyone here knows how to add the matchmaking button (ie in Yaya_hud), I can add the button but it just displays the depressed click audio and doesn't take me tp the page.

Finally I haven't been able to fix on the contracts drawer, the numbers not appearing (the contract points and number of contracts complete) in the orange bar at the bottom.

Thank you for helping.

(edit - added other questions)

edit 2 - To edit the background on the loading screen between servers, you go to StatSummary.res, if anyone knows the other answers i'm still looking.

I've been unable to find what to rename my vtf and where to put it to change the loading screen image (I know how to change the main menu bg) so if anyone knows how, thanks!

On top of this I also wonder if anyone here knows how to add the matchmaking button (ie in Yaya_hud), I can add the button but it just displays the depressed click audio and doesn't take me tp the page.

Finally I haven't been able to fix on the contracts drawer, the numbers not appearing (the contract points and number of contracts complete) in the orange bar at the bottom.

Thank you for helping.

(edit - added other questions)

edit 2 - To edit the background on the loading screen between servers, you go to StatSummary.res, if anyone knows the other answers i'm still looking.
2381
#2381
0 Frags +
MightyI want to make my Static Damage numbers Green when healing and Yellow when dealing damage.

How do I do that?

I believe its impossible, both the values are counted under the same fieldname.

[quote=Mighty]I want to make my Static Damage numbers Green when healing and Yellow when dealing damage.

How do I do that?[/quote]

I believe its impossible, both the values are counted under the same fieldname.
2382
#2382
0 Frags +

This is not a HUD editing question, but it doesn't deserve it's own thread.

Where can I find the most recently updated version of m0re's HUD?

This is not a HUD editing question, but it doesn't deserve it's own thread.

Where can I find the most recently updated version of m0re's HUD?
2383
#2383
2 Frags +
MightyThis is not a HUD editing question, but it doesn't deserve it's own thread.

Where can I find the most recently updated version of m0re's HUD?

http://www.teamfortress.tv/15348/m0rehud-mvm-the-project/?page=10

[quote=Mighty]This is not a HUD editing question, but it doesn't deserve it's own thread.

Where can I find the most recently updated version of m0re's HUD?[/quote]

http://www.teamfortress.tv/15348/m0rehud-mvm-the-project/?page=10
2384
#2384
0 Frags +

How can I disable healthbars above teammates that appear when spectating?

How can I disable healthbars above teammates that appear when spectating?
2385
#2385
0 Frags +
shorasHow can I disable healthbars above teammates that appear when spectating?

Advanced Options

[quote=shoras]How can I disable healthbars above teammates that appear when spectating?[/quote]

Advanced Options
2386
#2386
0 Frags +
No1inPartiqlarshorasHow can I disable healthbars above teammates that appear when spectating?
Advanced Options

Only removes those that appear when spawning.

[quote=No1inPartiqlar][quote=shoras]How can I disable healthbars above teammates that appear when spectating?[/quote]

Advanced Options[/quote]
Only removes those that appear when spawning.
2387
#2387
0 Frags +

Maybe i'm incorrect but I though this in the advance options -

http://imgur.com/ooYTrQm

got rid of it.

Alternatively, go to your hudlayout.res (custom/hudname/scripts/hudlayout.res), find

	HudSpectatorExtras

    {
        "fieldName" "HudSpectatorExtras"
        "visible" "1"
        "enabled" "1"
        "xpos" "0"
        "ypos" "0"
        "wide" "f0"
        "tall" "f0"
    } 

and remove it.

Maybe i'm incorrect but I though this in the advance options - [img]http://imgur.com/ooYTrQm[/img] got rid of it.

Alternatively, go to your hudlayout.res (custom/hudname/scripts/hudlayout.res), find

[code] HudSpectatorExtras


{
"fieldName" "HudSpectatorExtras"
"visible" "1"
"enabled" "1"
"xpos" "0"
"ypos" "0"
"wide" "f0"
"tall" "f0"
} [/code]

and remove it.
2388
#2388
0 Frags +

Hi,
The numbers of contracts done and contract points in the contract menu are missing. Where can i find the file where they are located?
Thanks.

Hi,
The numbers of contracts done and contract points in the contract menu are missing. Where can i find the file where they are located?
Thanks.
2389
#2389
0 Frags +

Hello friends, bit of a longer question here but didn't think it was worth making a new thread over.

I'm trying to make the vaccinator charge bar work on my edit of the pvhud medic chargebars and would be great if someone could help me out or at least point me in the right direction.

I played around with the chargemeters in hudmediccharge.res but couldn't make it work properly as it would charge the entire length of the bar for 1 uber instead 1 uber per section.

Basically, I want to move the thing in yellow and also delete the things in green.

http://imgur.com/MM1ABzA.png

Currently the medic hud looks like this: (I want to keep it like this on uber/krits/qf)

http://imgur.com/LD8bDc7.png

Something like this for vacc would be ideal:

http://imgur.com/OscBBFI.png

Files:

my PVHUD edit

PVHUD master for reference

Thanks

Hello friends, bit of a longer question here but didn't think it was worth making a new thread over.

I'm trying to make the vaccinator charge bar work on my edit of the pvhud medic chargebars and would be great if someone could help me out or at least point me in the right direction.

I played around with the chargemeters in hudmediccharge.res but couldn't make it work properly as it would charge the entire length of the bar for 1 uber instead 1 uber per section.


Basically, I want to move the thing in yellow and also delete the things in green.
[img]http://imgur.com/MM1ABzA.png[/img]

Currently the medic hud looks like this: (I want to keep it like this on uber/krits/qf)
[img]http://imgur.com/LD8bDc7.png[/img]

Something like this for vacc would be ideal:
[img]http://imgur.com/OscBBFI.png[/img]

Files:

[url=https://www.dropbox.com/s/3sco4b23sf7vlry/lockpvhud.zip?dl=0]my PVHUD edit[/url]

[url=https://github.com/Chilcott/PVHUD/archive/master.zip]PVHUD master[/url] for reference


Thanks
2390
#2390
0 Frags +

EDIT: fixed it myself!
You have to edit the file /broeselhud/resource/ui/SpectatorGUIHealth under the line "PlayerStatusHealthValueTargetID" and "PlayerStatusHealthValueTargetIDshadow". You will be able to simply change the font and remove the shadow :)

Original post:

Hey, I want to add an outline to my TargetID health number instead of the small shadow:

http://i.imgur.com/1QSpBqU.png

I am using broeselhud and can't seem to find a way to edit it, so thanks in advance :)
EDIT: fixed it myself!
You have to edit the file /broeselhud/resource/ui/SpectatorGUIHealth under the line "PlayerStatusHealthValueTargetID" and "PlayerStatusHealthValueTargetIDshadow". You will be able to simply change the font and remove the shadow :)

Original post:
[quote]Hey, I want to add an outline to my TargetID health number instead of the small shadow:

[img]http://i.imgur.com/1QSpBqU.png[/img]

I am using broeselhud and can't seem to find a way to edit it, so thanks in advance :)[/quote]
2391
#2391
0 Frags +

How can I remove that white bar from hudtournamentsetup?

http://i.imgur.com/knD5dP3.jpg?1

also happens in the class menu

How can I remove that white bar from hudtournamentsetup?

[img]http://i.imgur.com/knD5dP3.jpg?1[/img]

also happens in the class menu
2392
#2392
0 Frags +

What's the best way to add a team indicator? atm I'm using the background of the 3d player model but having that on lowers your fps and I'm pretty sure I had team indicators before 3d player models were a thing.

Also how do I bind keys to do stuff. eg I currently have q back out of any menu and e open the edit loadout menu for a class while I'm hovering over it in class select.

What's the best way to add a team indicator? atm I'm using the background of the 3d player model but having that on lowers your fps and I'm pretty sure I had team indicators before 3d player models were a thing.

Also how do I bind keys to do stuff. eg I currently have q back out of any menu and e open the edit loadout menu for a class while I'm hovering over it in class select.
2393
#2393
2 Frags +
JBHow can I remove that white bar from hudtournamentsetup?

probably an image button somewhere

deetrWhat's the best way to add a team indicator? atm I'm using the background of the 3d player model but having that on lowers your fps and I'm pretty sure I had team indicators before 3d player models were a thing.

flames hud and some others use something like this in hudplayerhealth. you could resize it or use some other team colored thumbnail

"HealthCrossborder"
{
"ControlName" "CTFImagePanel"
"fieldName" "HealthCrossBorder"
"xpos" "3"
"ypos" "5"
"zpos" "3"
"wide" "128"
"tall" "128"
"visible" "1" // "1" to enable the team-colored HP cross border
"enabled" "1"
"image" "replay/thumbnails/health_border_red"
"teambg_2" "replay/thumbnails/health_border_red"
"teambg_3" "replay/thumbnails/health_border_blu"
"scaleImage" "1"
}

deetrAlso how do I bind keys to do stuff. eg I currently have q back out of any menu and e open the edit loadout menu for a class while I'm hovering over it in class select.

make another button section and make the labeltext (&E) or (&Q) or whatever key you want to bind. move it where ever you like and it should still work

[quote=JB]How can I remove that white bar from hudtournamentsetup?[/quote]

probably an image button somewhere

[quote=deetr]What's the best way to add a team indicator? atm I'm using the background of the 3d player model but having that on lowers your fps and I'm pretty sure I had team indicators before 3d player models were a thing.
[/quote]

flames hud and some others use something like this in hudplayerhealth. you could resize it or use some other team colored thumbnail

"HealthCrossborder"
{
"ControlName" "CTFImagePanel"
"fieldName" "HealthCrossBorder"
"xpos" "3"
"ypos" "5"
"zpos" "3"
"wide" "128"
"tall" "128"
"visible" "1" // "1" to enable the team-colored HP cross border
"enabled" "1"
"image" "replay/thumbnails/health_border_red"
"teambg_2" "replay/thumbnails/health_border_red"
"teambg_3" "replay/thumbnails/health_border_blu"
"scaleImage" "1"
}

[quote=deetr]Also how do I bind keys to do stuff. eg I currently have q back out of any menu and e open the edit loadout menu for a class while I'm hovering over it in class select.[/quote]

make another button section and make the labeltext (&E) or (&Q) or whatever key you want to bind. move it where ever you like and it should still work
2394
#2394
1 Frags +
deetrWhat's the best way to add a team indicator? atm I'm using the background of the 3d player model but having that on lowers your fps and I'm pretty sure I had team indicators before 3d player models were a thing.

Also how do I bind keys to do stuff. eg I currently have q back out of any menu and e open the edit loadout menu for a class while I'm hovering over it in class select.

Extracrispy explained it well but in more detail- you can put a team coloured bg such as

	"classmodelpanelBG"
	{
		"ControlName"	"CTFImagePanel"
		"fieldName"		"classmodelpanelBG"
		"xpos"			"9999"	
		"ypos"			"r41"
		"zpos"			"1"		
		"wide"			"51"
		"tall"			"19"
		"visible"		"1"
		"enabled"		"1"
		"scaleImage"	"1"
		"image"				"replay/thumbnails/bg_black"	
		"teambg_1"			"replay/thumbnails/bg_black"
		"teambg_2"			"replay/thumbnails/bg_red"
		"teambg_3"			"replay/thumbnails/bg_blue"
	}

(which requires custom textures from the materials/replay/thumbnails folder of - http://huds.tf/yayahud/) within the panel bounds of any hud file to make it appear, hudplayerhealth is ideal as it is permanently on the screen. If you want to edit panel bounds you can find most panels defined in scripts/hudlayout.res but some are within their unique resource folder. To check the panel bounds you can go into a private server, turn sv_cheats to 1 and then type vgui_drawtree 1, and then tick highlight selected and it will put a red border around the panel of the element.

Extracrispy explained it well, I just thought I'd elaborate on the idea.

[quote=deetr]What's the best way to add a team indicator? atm I'm using the background of the 3d player model but having that on lowers your fps and I'm pretty sure I had team indicators before 3d player models were a thing.

Also how do I bind keys to do stuff. eg I currently have q back out of any menu and e open the edit loadout menu for a class while I'm hovering over it in class select.[/quote]

Extracrispy explained it well but in more detail- you can put a team coloured bg such as [code] "classmodelpanelBG"
{
"ControlName" "CTFImagePanel"
"fieldName" "classmodelpanelBG"
"xpos" "9999"
"ypos" "r41"
"zpos" "1"
"wide" "51"
"tall" "19"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "replay/thumbnails/bg_black"
"teambg_1" "replay/thumbnails/bg_black"
"teambg_2" "replay/thumbnails/bg_red"
"teambg_3" "replay/thumbnails/bg_blue"
}
[/code]

(which requires custom textures from the materials/replay/thumbnails folder of - http://huds.tf/yayahud/) within the panel bounds of any hud file to make it appear, hudplayerhealth is ideal as it is permanently on the screen. If you want to edit panel bounds you can find most panels defined in scripts/hudlayout.res but some are within their unique resource folder. To check the panel bounds you can go into a private server, turn sv_cheats to 1 and then type vgui_drawtree 1, and then tick highlight selected and it will put a red border around the panel of the element.

Extracrispy explained it well, I just thought I'd elaborate on the idea.
2395
#2395
0 Frags +

The text on the right of the hp and ammo on my hud is higher than the left. How do I disable/fix this

http://images.akamai.steamusercontent.com/ugc/360651810466393354/03A6312F00BEEC96AE1B93308CBE553B63078778/

bump for this. It seems that all text in game in the hud is tilted slightly. The letters in the font files are all aligned properly.

The text on the right of the hp and ammo on my hud is higher than the left. How do I disable/fix this

[img]http://images.akamai.steamusercontent.com/ugc/360651810466393354/03A6312F00BEEC96AE1B93308CBE553B63078778/[/img]

bump for this. It seems that all text in game in the hud is tilted slightly. The letters in the font files are all aligned properly.
2396
#2396
0 Frags +

hey, does anyone know a tag i can put after a control to make it windows only?(not osx or linux) [win32] seems just for all pc versions of tf2, unless im mistaken
im in the midst of porting my currently linux-only hud over to windows for public release, and i need to fix a couple font sizes/y-offsets for windows
also, does mac osx tf2's font rendering differ from linxux tf2's? i dont have a machine running osx to test this on.

hey, does anyone know a tag i can put after a control to make it windows only?(not osx or linux) [win32] seems just for all pc versions of tf2, unless im mistaken
im in the midst of porting my currently linux-only hud over to windows for public release, and i need to fix a couple font sizes/y-offsets for windows
also, does mac osx tf2's font rendering differ from linxux tf2's? i dont have a machine running osx to test this on.
2397
#2397
1 Frags +

The freeze panel weapon display (the item you were killed by) likes to randomly place itself vertically and oftentimes part of it displays outside of the screen. Is there a way to make this panel work like all the other inspect panels that always keep a 10px spacing from the boundry? I am using the basehud freezepanel_basic itempanel and respective freezepanel hudlayout entry.

Side question, has anybody done a poll in this community to determine what resolution everybody uses?

[url=http://i.imgur.com/wExlrqy.jpg]The freeze panel weapon display (the item you were killed by) likes to randomly place itself vertically and oftentimes part of it displays outside of the screen. [/url] Is there a way to make this panel work like all the other inspect panels that always keep a 10px spacing from the boundry? [url=https://github.com/Stochast1c/solarhud/blob/Testing/resource/ui/freezepanel_basic.res]I am using the basehud freezepanel_basic itempanel and respective freezepanel hudlayout entry.[/url]

Side question, has anybody done a poll in this community to determine what resolution everybody uses?
2398
#2398
0 Frags +
extracrispyJBHow can I remove that white bar from hudtournamentsetup?
probably an image button somewhere

There are no images buttons in my hudtournamentsetup.res

I even copied a hudtournamentsetup.res from an other hud and replaced the elements with my huds elements and the white box was gone, when I restarted the game the next it was back.

[quote=extracrispy][quote=JB]How can I remove that white bar from hudtournamentsetup?[/quote]

probably an image button somewhere
[/quote]

There are no images buttons in my hudtournamentsetup.res

I even copied a hudtournamentsetup.res from an other hud and replaced the elements with my huds elements and the white box was gone, when I restarted the game the next it was back.
2399
#2399
-1 Frags +

installing an old vabe hud.

what the font should look like :
http://i.imgur.com/Tch4x8a.jpg

what font appears everywhere on the hud:
http://imgur.com/syv1JJN

i doubled checked everything, the correct font is just showing up as this weird one that i don't see when i open the font file. The font file is named "Montserrat-Bold" in the hud

installing an old vabe hud.

what the font should look like :
http://i.imgur.com/Tch4x8a.jpg

what font appears everywhere on the hud:
http://imgur.com/syv1JJN

i doubled checked everything, the correct font is just showing up as this weird one that i don't see when i open the font file. The font file is named "Montserrat-Bold" in the hud
2400
#2400
-2 Frags +

I want to have the bar from hudas Iscariote on my rayshud but cant seem to get it working correctly. Basically I want that bar to show up when I am a spy looking at the medic making undercharge easy to see. I tried editing it but can only get it as a solid white square. If someone that knows how to do it please tell me exactly what I need to do.

Bar From Hudas Iscariote:http://puu.sh/mkOm7/17a434bc0c.jpg

I want to have the bar from hudas Iscariote on my rayshud but cant seem to get it working correctly. Basically I want that bar to show up when I am a spy looking at the medic making undercharge easy to see. I tried editing it but can only get it as a solid white square. If someone that knows how to do it please tell me exactly what I need to do.

Bar From Hudas Iscariote:http://puu.sh/mkOm7/17a434bc0c.jpg
1 ⋅⋅ 77 78 79 80 81 82 83 ⋅⋅ 197
Please sign in through STEAM to post a comment.