I had previously change my targerid.res so that the TargetNameLabel uses a custom fgcolor so that people name shows up in that color. However after a tf2 update a couple of days ago, this stopped working and is now showing in white. Tried fgcolor_override and that didn't work either. The bgcolor_override however still works. Any idea if I did something wrong or if the update broke this? Thanks.
Wanderer
Account Details | |
---|---|
SteamID64 | 76561198047915298 |
SteamID3 | [U:1:87649570] |
SteamID32 | STEAM_0:0:43824785 |
Country | Canada |
Signed Up | July 5, 2015 |
Last Posted | August 30, 2015 at 3:44 AM |
Posts | 3 (0 per day) |
Game Settings | |
---|---|
In-game Sensitivity | |
Windows Sensitivity | |
Raw Input | |
DPI |
|
Resolution |
|
Refresh Rate |
Hardware Peripherals | |
---|---|
Mouse | |
Keyboard | |
Mousepad | |
Headphones | |
Monitor |
#1501
HUD editing: short questions, quick answers
in
Customization
redd0tWandererNewbie question here.Try "replay/thumbnails/test" and place your vtf into 'materials\vgui\replay\thumbnails'. Console is usually used for Main Menu backgrounds. For "ControlName" you can use "ScalableImagePanel"...
I'm trying to put a custom image into my tf2 main menu so I prepared the vtf file (let's call it test.vtf) and put it into the materials/console folder within my hud folder. Changed the mainmenuoverride.res to draw that picture referencing it as ../console/test. When I launched it, it seems my tf2 didn't pick up the vtf andi t draws the blank image (the pink and black square thingie valve does). Do I need to change or create files so it knows to look for that vtf when it launches?
EDIT:
Pazer is also right, just create a text file and put this in:Once you save it, change the extension from .txt to .vmt"UnlitGeneric" { "$basetexture" "vgui/replay/thumbnails/test" // change this to the original name of your .vtf file "$translucent" 1 "$alpha" 1 "$vertexalpha" 1 "$vertexcolor" 1 "$no_fullbright" 1 "$ignorez" 1 "%keywords" "tf" }
Thanks, that worked!
posted about 9 years ago
#1491
HUD editing: short questions, quick answers
in
Customization
Newbie question here.
I'm trying to put a custom image into my tf2 main menu so I prepared the vtf file (let's call it test.vtf) and put it into the materials/console folder within my hud folder. Changed the mainmenuoverride.res to draw that picture referencing it as ../console/test. When I launched it, it seems my tf2 didn't pick up the vtf andi t draws the blank image (the pink and black square thingie valve does). Do I need to change or create files so it knows to look for that vtf when it launches?
posted about 9 years ago