Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Changing the Text Label on Item Meters

A Question for Team Fortress 2

Members see zero ads. Membership is 100% free

Editing ItemEffectMeterLabel's color text.

I am currently trying to find a way to change the color value of ItemEffectMeterLabel under Resource/UI/HudItemEffectMeter.res and others under a similar name.
I don't know what to do in order to edit this color's value. I have tried FgColor and FgColor_override as well as making a copy element of the text and trying to allow changing the color there but with no luck.
Do keep in mind that I am quite well versed in HUD editing, so anything you throw my way is at least something to help me.

Note: I have seen other HUDs to this in the past but when I try to replicate it, I fail to recreate it, even with copy and pasting the code.
I don't know why this doesn't work; I do have a feeling that this is a bug in HUD editing on valve's part and I need to post a bug report about this element, or it may be intentional... for some reason.

TL;DR:
I'm wanting to change the color of the text in ItemEffectMeterLabel in the HudItemEffectMeter*.res files to gray or black to stand out over the meters.

Answers

Sign up to access this!
  • bakapear avatar
    bakapear Joined 6y ago
    Online
    Uber Universe Flag Affiliation: Uber Universe
    bakapear Uber Universe Flag
    Affiliation
    Uber Universe
    access_time 28d edit 28d
    "ItemEffectMeterLabel" {
    		"visible"		"0"
    		"enabled"		"0"
    	}
    	"ItemEffectMeterLabelEx" {
    		"ControlName"			"CExLabel"
    		"fieldName"				"ItemEffectMeterLabelEx"
    		"xpos"					"0"
    		"ypos"					"0"
    		"wide"					"41"
    		"tall"					"15"
    		"labelText"				"#TF_Ball"
    		"textAlignment"			"center"
    		"fgColor"	"255 255 0 255"
    	}

    Making a copy and changing the fgcolor works for me though
    Apathetic Schoolgirl Abusement
    URL to post:

Embed

menu
Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Asker

Delta Player avatar
Delta Player Joined 3y ago
Lurking around
657 points Ranked 43314th
12 medals 1 rare
  • Returned 1000 times Medal icon
  • One month a member Medal icon
  • Returned 100 times Medal icon
  • 6 months a member Medal icon
  • 1 year a member Medal icon
  • Reached 1,000 Points Medal icon
Delta Player
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • favorite 0
  • remove_red_eye 95
  • mode_comment 1
  • access_time 1mo
  • access_time 1mo

WiPs by Submitter

menu

More Other/Misc Questions