Upvote Upvoted 252 Downvote Downvoted
1 ⋅⋅ 140 141 142 143 144 145 146 ⋅⋅ 195
HUD editing: short questions, quick answers
posted in Customization
4261
#4261
0 Frags +

I've been trying to make the shadow of my health/ammo numbers bigger than the white number itself, while they both have the same x- and y-pos so the shadow becomes sort of a outline around the number.
Problem is, whenever I change the tall and wide values they somehow act just like the x- and y-pos values and change the position of the shadow instead of making the number bigger.
Using a bigger font for the shadow doesn't really have the effect I want either.

So is there a way to make the shadow numbers bigger, without changing their positions at all so they stick out from under the white numbers the same amount on all sides?

I've been trying to make the shadow of my health/ammo numbers bigger than the white number itself, while they both have the same x- and y-pos so the shadow becomes sort of a outline around the number.
Problem is, whenever I change the tall and wide values they somehow act just like the x- and y-pos values and change the position of the shadow instead of making the number bigger.
Using a bigger font for the shadow doesn't really have the effect I want either.

So is there a way to make the shadow numbers bigger, without changing their positions at all so they stick out from under the white numbers the same amount on all sides?
4262
#4262
whitelist.tf
0 Frags +

@RentQN Changing wide/tall depending on textalignment will act like coordinates (xpos/ypos) changing.

I recommend duplicating xpos/ypos from the original value, increasing font size and hope you achieve the effect you want to create that way.

@RentQN Changing wide/tall depending on textalignment will act like coordinates (xpos/ypos) changing.

I recommend duplicating xpos/ypos from the original value, increasing font size and hope you achieve the effect you want to create that way.
4263
#4263
0 Frags +
Wiethoofd@RentQN Changing wide/tall depending on textalignment will act like coordinates (xpos/ypos) changing.

I recommend duplicating xpos/ypos from the original value, increasing font size and hope you achieve the effect you want to create that way.

Thanks.
I already tried that, but had pretty weird results.
My normal font size is 56.
Changing the shadow to 58 and 60 didn't do anything for some reason, which is weird because they should already be bigger, but it stayed completely invisible/aligned with the white numbers.
At 62 the shadow did become bigger, but at the same time it also became off-centered and stuck out on some sides more than on others.

You said depending on textalignment. Not exactly sure what that means, but isn't there maybe a way to change the textalignement so wide/tall doesn't act like xpos/ypos but actually makes the numbers wider and taller?
Or would that fuck up my entire HUD and I'd have to redo all the xpos/ypos values for all the text/numbers?

[quote=Wiethoofd]@RentQN Changing wide/tall depending on textalignment will act like coordinates (xpos/ypos) changing.

I recommend duplicating xpos/ypos from the original value, increasing font size and hope you achieve the effect you want to create that way.[/quote]

Thanks.
I already tried that, but had pretty weird results.
My normal font size is 56.
Changing the shadow to 58 and 60 didn't do anything for some reason, which is weird because they should already be bigger, but it stayed completely invisible/aligned with the white numbers.
At 62 the shadow did become bigger, but at the same time it also became off-centered and stuck out on some sides more than on others.

You said depending on textalignment. Not exactly sure what that means, but isn't there maybe a way to change the textalignement so wide/tall doesn't act like xpos/ypos but actually makes the numbers wider and taller?
Or would that fuck up my entire HUD and I'd have to redo all the xpos/ypos values for all the text/numbers?
4264
#4264
0 Frags +
RentQNWiethoofd@RentQN Changing wide/tall depending on textalignment will act like coordinates (xpos/ypos) changing.

I recommend duplicating xpos/ypos from the original value, increasing font size and hope you achieve the effect you want to create that way.

Thanks.
I already tried that, but had pretty weird results.
My normal font size is 56.
Changing the shadow to 58 and 60 didn't do anything for some reason, which is weird because they should already be bigger, but it stayed completely invisible/aligned with the white numbers.
At 62 the shadow did become bigger, but at the same time it also became off-centered and stuck out on some sides more than on others.

You said depending on textalignment. Not exactly sure what that means, but isn't there maybe a way to change the textalignement so wide/tall doesn't act like xpos/ypos but actually makes the numbers wider and taller?
Or would that fuck up my entire HUD and I'd have to redo all the xpos/ypos values for all the text/numbers?

Fonts are messed after a certain point and often will stop getting bigger. I don't know the exact tall values that this happens at, or if it depends on the font (it could be based on font metrics also), but in my experience it happens around the 60 mark.

The easy solution would be to decrease the normal font down, until you start seeing it smaller than the shadow. Though you will always get your issue at the fontsize of 62, to completely fix that you'd either need multiple shadow labels with the same size as normal but positioned slightly differently, or you'd need to use a bolder version of that font (might have to do it yourself depending on how the font is made, fontforge has an option to automatically do this that usually works).

textalignment just changes where to position text when the label's wide/tall don't fit it exactly. Should text be at the top, or maybe the bottom, or at the center, etc. You can't change font sizes through textalignment, font sizes never change.

[quote=RentQN][quote=Wiethoofd]@RentQN Changing wide/tall depending on textalignment will act like coordinates (xpos/ypos) changing.

I recommend duplicating xpos/ypos from the original value, increasing font size and hope you achieve the effect you want to create that way.[/quote]

Thanks.
I already tried that, but had pretty weird results.
My normal font size is 56.
Changing the shadow to 58 and 60 didn't do anything for some reason, which is weird because they should already be bigger, but it stayed completely invisible/aligned with the white numbers.
At 62 the shadow did become bigger, but at the same time it also became off-centered and stuck out on some sides more than on others.

You said depending on textalignment. Not exactly sure what that means, but isn't there maybe a way to change the textalignement so wide/tall doesn't act like xpos/ypos but actually makes the numbers wider and taller?
Or would that fuck up my entire HUD and I'd have to redo all the xpos/ypos values for all the text/numbers?[/quote]
Fonts are messed after a certain point and often will stop getting bigger. I don't know the exact tall values that this happens at, or if it depends on the font (it could be based on font metrics also), but in my experience it happens around the 60 mark.

The easy solution would be to decrease the normal font down, until you start seeing it smaller than the shadow. Though you will always get your issue at the fontsize of 62, to completely fix that you'd either need multiple shadow labels with the same size as normal but positioned slightly differently, or you'd need to use a bolder version of that font (might have to do it yourself depending on how the font is made, fontforge has an option to automatically do this that usually works).

textalignment just changes where to position text when the label's wide/tall don't fit it exactly. Should text be at the top, or maybe the bottom, or at the center, etc. You can't change font sizes through textalignment, font sizes never change.
4265
#4265
0 Frags +

What is the fieldname of the time left in a server, as I would like to move mine up, as it is slightly out of my box for it?

Here is a pictures. It is at the top centre of the screen.
http://imgur.com/EU7wFp1

What is the fieldname of the time left in a server, as I would like to move mine up, as it is slightly out of my box for it?

Here is a pictures. It is at the top centre of the screen.
http://imgur.com/EU7wFp1
4266
#4266
0 Frags +
chostarmanWhat is the fieldname of the time left in a server, as I would like to move mine up, as it is slightly out of my box for it?

Here is a pictures. It is at the top centre of the screen.
http://imgur.com/EU7wFp1

I think it's in HudLayout.res under 'HudRoundTimer'.

[quote=chostarman]What is the fieldname of the time left in a server, as I would like to move mine up, as it is slightly out of my box for it?

Here is a pictures. It is at the top centre of the screen.
http://imgur.com/EU7wFp1[/quote]

I think it's in HudLayout.res under 'HudRoundTimer'.
4267
#4267
0 Frags +
driftachostarmanWhat is the fieldname of the time left in a server, as I would like to move mine up, as it is slightly out of my box for it?

Here is a pictures. It is at the top centre of the screen.
http://imgur.com/EU7wFp1

I think it's in HudLayout.res under 'HudRoundTimer'.

Nope doesn't work

[quote=drifta][quote=chostarman]What is the fieldname of the time left in a server, as I would like to move mine up, as it is slightly out of my box for it?

Here is a pictures. It is at the top centre of the screen.
http://imgur.com/EU7wFp1[/quote]

I think it's in HudLayout.res under 'HudRoundTimer'.[/quote]

Nope doesn't work
4268
#4268
1 Frags +
chostarmanWhat is the fieldname of the time left in a server, as I would like to move mine up, as it is slightly out of my box for it?

Here is a pictures. It is at the top centre of the screen.
http://imgur.com/EU7wFp1

In HudMatchStatus.res, adjust the ypos value of TimePanelValue under ObjectiveStatusTimePanel.

[quote=chostarman]What is the fieldname of the time left in a server, as I would like to move mine up, as it is slightly out of my box for it?

Here is a pictures. It is at the top centre of the screen.
http://imgur.com/EU7wFp1[/quote]

In HudMatchStatus.res, adjust the ypos value of TimePanelValue under ObjectiveStatusTimePanel.
4269
#4269
0 Frags +

OK Thanks

OK Thanks
4270
#4270
0 Frags +

Is there a way to move my envelope icon and the small text under my hud title?
(the hud is customized woolhud)
Image (Envelope is in top left, small text is under title on top right)
http://imgur.com/iowtEp1

Is there a way to move my envelope icon and the small text under my hud title?
(the hud is customized woolhud)
Image (Envelope is in top left, small text is under title on top right)
http://imgur.com/iowtEp1
4271
#4271
0 Frags +

Also, is there a way to edit how something is spelt, as my hud spells 'disconnect' as 'dissconnect'
Image:
Bottom of options to do:
http://imgur.com/7FzmDfb

Also, is there a way to edit how something is spelt, as my hud spells 'disconnect' as 'dissconnect'
Image:
Bottom of options to do:
http://imgur.com/7FzmDfb
4272
#4272
0 Frags +
chostarmanAlso, is there a way to edit how something is spelt, as my hud spells 'disconnect' as 'dissconnect'
Image:
Bottom of options to do:
http://imgur.com/7FzmDfb

yes there is

look for "labeltext" within your mainmenuoverride.res file

[quote=chostarman]Also, is there a way to edit how something is spelt, as my hud spells 'disconnect' as 'dissconnect'
Image:
Bottom of options to do:
http://imgur.com/7FzmDfb[/quote]

yes there is

look for "labeltext" within your mainmenuoverride.res file
4273
#4273
0 Frags +
KonceptchostarmanAlso, is there a way to edit how something is spelt, as my hud spells 'disconnect' as 'dissconnect'
Image:
Bottom of options to do:
http://imgur.com/7FzmDfb

yes there is

look for "labeltext" within your mainmenuoverride.res file

I have searched up 'DisconnectButton' in mainmenuoverride, but ther is no labeltext. should i just add one?

[quote=Koncept][quote=chostarman]Also, is there a way to edit how something is spelt, as my hud spells 'disconnect' as 'dissconnect'
Image:
Bottom of options to do:
http://imgur.com/7FzmDfb[/quote]

yes there is

look for "labeltext" within your mainmenuoverride.res file[/quote]

I have searched up 'DisconnectButton' in mainmenuoverride, but ther is no labeltext. should i just add one?
4274
#4274
1 Frags +
chostarmanKonceptchostarmanAlso, is there a way to edit how something is spelt, as my hud spells 'disconnect' as 'dissconnect'
Image:
Bottom of options to do:
http://imgur.com/7FzmDfb

yes there is

look for "labeltext" within your mainmenuoverride.res file

I have searched up 'DisconnectButton' in mainmenuoverride, but ther is no labeltext. should i just add one?

check inside the gamemenu.res as well!

[quote=chostarman][quote=Koncept][quote=chostarman]Also, is there a way to edit how something is spelt, as my hud spells 'disconnect' as 'dissconnect'
Image:
Bottom of options to do:
http://imgur.com/7FzmDfb[/quote]

yes there is

look for "labeltext" within your mainmenuoverride.res file[/quote]

I have searched up 'DisconnectButton' in mainmenuoverride, but ther is no labeltext. should i just add one?[/quote]
check inside the gamemenu.res as well!
4275
#4275
-1 Frags +

Is there a way to move my envelope icon and the small text under my hud title?
(the hud is customized woolhud)
Image (Envelope is in top left, small text is under title on top right)
http://imgur.com/iowtEp1

Is there a way to move my envelope icon and the small text under my hud title?
(the hud is customized woolhud)
Image (Envelope is in top left, small text is under title on top right)
http://imgur.com/iowtEp1
4276
#4276
0 Frags +
chostarmanIs there a way to move my envelope icon and the small text under my hud title?
(the hud is customized woolhud)
Image (Envelope is in top left, small text is under title on top right)
http://imgur.com/iowtEp1

Look for the fieldname using the vgui drawtree and check your mainmenuoverride.res file

If it's not in there you're probably going to have to grab the code from the default hud files and then edit it from there

[quote=chostarman]Is there a way to move my envelope icon and the small text under my hud title?
(the hud is customized woolhud)
Image (Envelope is in top left, small text is under title on top right)
http://imgur.com/iowtEp1[/quote]
Look for the fieldname using the vgui drawtree and check your mainmenuoverride.res file

If it's not in there you're probably going to have to grab the code from the default hud files and then edit it from there
4277
#4277
-2 Frags +

Is there a way to move my envelope icon?
(the hud is customized woolhud)
Image (Envelope is in top left)
http://imgur.com/iowtEp1

Is there a way to move my envelope icon?
(the hud is customized woolhud)
Image (Envelope is in top left)
http://imgur.com/iowtEp1
4278
#4278
-2 Frags +

Is there a way to get rid of the 'I prob wont update this' under my hud title?
http://imgur.com/iowtEp1

Is there a way to get rid of the 'I prob wont update this' under my hud title?
http://imgur.com/iowtEp1
4279
#4279
-2 Frags +

Does anyone know the path to take in order to get to the mainmenuoverride.res elements via vgui_drawtree 1?

Does anyone know the path to take in order to get to the mainmenuoverride.res elements via vgui_drawtree 1?
4280
#4280
-2 Frags +
chostarmanIs there a way to move my envelope icon?
(the hud is customized woolhud)
Image (Envelope is in top left)
http://imgur.com/iowtEp1

Ive used vgui_drawtree, and ive located the code. However, even though I have changed the xpos many times, it still doesnt move.
Here is an image of the code and an image of the envelope (news icon)
http://imgur.com/fGZixJh - Code
http://imgur.com/iowtEp1 - Envelope

[quote=chostarman]Is there a way to move my envelope icon?
(the hud is customized woolhud)
Image (Envelope is in top left)
http://imgur.com/iowtEp1[/quote]
Ive used vgui_drawtree, and ive located the code. However, even though I have changed the xpos many times, it still doesnt move.
Here is an image of the code and an image of the envelope (news icon)
http://imgur.com/fGZixJh - Code
http://imgur.com/iowtEp1 - Envelope
4281
#4281
whitelist.tf
4 Frags +

hud_reloadscheme doesn't work for main menu, change mat_antialias from 1 to 2 and back to reload it.

Also you should edit your previous post instead of having 5 with the same/similar question

hud_reloadscheme doesn't work for main menu, change [i]mat_antialias[/i] from 1 to 2 and back to reload it.

Also you should edit your previous post instead of having 5 with the same/similar question
4282
#4282
0 Frags +
Wiethoofdhud_reloadscheme doesn't work for main menu, change mat_antialias from 1 to 2 and back to reload it.

Also you should edit your previous post instead of having 5 with the same/similar question

yeah, im new to this, soory

[quote=Wiethoofd]hud_reloadscheme doesn't work for main menu, change [i]mat_antialias[/i] from 1 to 2 and back to reload it.

Also you should edit your previous post instead of having 5 with the same/similar question[/quote]
yeah, im new to this, soory
4283
#4283
0 Frags +

doesn't mean you have to quadruple post, there's an edit button for a reason

doesn't mean you have to quadruple post, there's an edit button for a reason
4284
#4284
0 Frags +

nvm i figured it out :)

nvm i figured it out :)
4285
#4285
0 Frags +

does anyone know how to remove the mann co store featured item thing on the main menu?

does anyone know how to remove the mann co store featured item thing on the main menu?
4286
#4286
-1 Frags +

Has anybody updated RevHud yet?

Has anybody updated RevHud yet?
4287
#4287
whitelist.tf
1 Frags +
chostarmandoes anyone know how to remove the mann co store featured item thing on the main menu?

EventPromo is the element your looking for

chostarmanHas anybody updated RevHud yet?

Wrong thread, try here

[quote=chostarman]does anyone know how to remove the mann co store featured item thing on the main menu?[/quote]
[i]EventPromo[/i] is the element your looking for

[quote=chostarman]Has anybody updated RevHud yet?[/quote]
Wrong thread, try [url=http://www.teamfortress.tv/33738/ive-updated-some-huds]here[/url]
4288
#4288
0 Frags +

I'm trying to make a casting HUD, and I have a few questions. I have almost everything figured out besides the horizontal health bars.

I am using Mannterface as a base to work off and edit. Picture of what I currently have: http://i.imgur.com/AH5xjJ5.png

In the picture you can see that the horizontal health bars are quite offset.

Where would I go/do to fix the offset of the horizontal health bars? Is there a possibility for health to lower from the outside rather than the inside?

Is it possible to create two separate versions of these horizontal health bars that I can put on either side instead of using the same one to cover both sides? If possible where would I go to do this?

Finally, where would I go to change the color of the borders? The border is called "ThinBorder"

Any help on these health bars would be super helpful. They are foreign to me.

I'm trying to make a casting HUD, and I have a few questions. I have almost everything figured out besides the horizontal health bars.

I am using Mannterface as a base to work off and edit. Picture of what I currently have: http://i.imgur.com/AH5xjJ5.png

In the picture you can see that the horizontal health bars are quite offset.

Where would I go/do to fix the offset of the horizontal health bars? Is there a possibility for health to lower from the outside rather than the inside?

Is it possible to create two separate versions of these horizontal health bars that I can put on either side instead of using the same one to cover both sides? If possible where would I go to do this?

Finally, where would I go to change the color of the borders? The border is called "ThinBorder"

Any help on these health bars would be super helpful. They are foreign to me.
4289
#4289
0 Frags +

I'm having an issue with a hud I've been customizing.
My demoman sticky charge meter is overlapping with the object that appears when a medic is healing me.
I have tried moving "ChargeMeter" in HudDemomanPipes.res, HudDemomanCharge.res and also in hudlayout.res; the whole object doesn't seem to let me change it at all
Other things work when I've tried editing them such as "NumPipesLabel"

Image:
http://i.imgur.com/nMLBv2k.jpg

Thanks
edit: fixed, ignore this post

I'm having an issue with a hud I've been customizing.
My demoman sticky charge meter is overlapping with the object that appears when a medic is healing me.
I have tried moving "ChargeMeter" in HudDemomanPipes.res, HudDemomanCharge.res and also in hudlayout.res; the whole object doesn't seem to let me change it at all
Other things work when I've tried editing them such as "NumPipesLabel"

Image:
http://i.imgur.com/nMLBv2k.jpg

Thanks
edit: fixed, ignore this post
4290
#4290
whitelist.tf
2 Frags +

Nicell, center the PlayerStatusHealthBonusImage in the health element (spectatortournamentguihealth), which should be taking up the full width of the playerpanel_kv

To lower from the outside pin an element to the side of the bonus image (pin_to_sibling) so it 'covers' up the background, darkening it and making it look like an actual healthbar.

If you have the correct offset (centered bonus image) you can move 1 half of the player panel off screen for each side so you get only on side visible.

More here in Jarateking's post about the health bars.

For the ThinBorder: ClientScheme.res?

Nicell, center the [i]PlayerStatusHealthBonusImage[/i] in the health element (spectatortournamentguihealth), which should be taking up the full width of the playerpanel_kv

To lower from the outside pin an element to the side of the bonus image (pin_to_sibling) so it 'covers' up the background, darkening it and making it look like an actual healthbar.

If you have the correct offset (centered bonus image) you can move 1 half of the player panel off screen for each side so you get only on side visible.

More [url=http://www.teamfortress.tv/post/554023/casting-hud-design-contest]here in Jarateking's post[/url] about the health bars.

For the ThinBorder: ClientScheme.res?
1 ⋅⋅ 140 141 142 143 144 145 146 ⋅⋅ 195
Please sign in through STEAM to post a comment.