Black/transparent Hammer model browser background fix

Vel0city

func_fish
aa
Dec 6, 2014
1,947
1,589
Now that all the uploading of files is over because of the 72 hour jam, lemme do a bumpy-de-bump:

It seems like the file isn't there anymore (in fact, it looks like most of the files in that folder are just plain gone, and I did validate the game cache), and the models have gone transparent again. Is there another way to fix this?
 

bazooka

L1: Registered
Mar 7, 2015
20
18
Extract resource\sourcescheme.res from tf\tf2_misc_dir.vpk using GCFScape.

Under the BaseSettings section, add:

Panel.BgColor "31 31 31 255"

Place the modified file in tf\custom\<custom folder name>\resource\.

This fixes the model browser for models that use transparency. Some models are still affected (possibly ones that use cubemaps?). This is probably why some people thought it wasn't working.
 
Last edited:

Uncuepa

aa
Oct 25, 2014
793
1,159
d9846ec947.png


help
 

Gatorix

L1: Registered
May 6, 2015
31
12
I use a custom hud (bwhud to be precise) and my sourcescheme.res file looks a bit different. I tried changing the number underneath, but it didn't have any effect in hammer.
Sourcescheme.res picture.PNG
 

seth

aa
May 31, 2013
1,019
851
I can't seem to override the existing file when I try to save it. When I open sourcescheme.res back up again, it's back to how it was before.

Are you sure you're saving it to your custom/customstuff/resource folder?
 

DrSquishy

we've all had better times to die
aa
Feb 10, 2017
1,297
974
I am so sorry for the necro, but after the 2017-08-08 patch, did someone figure out how to fix the background issue?
I did find a fix, although some props do appear to remain transparent the main ones are fixed.
Get your /platform folder open on one window, and /bin open in the other. Drag platform_misc.vpk over vpk.exe (latter in the /bin folder) and after a few seconds, a folder containing all the contents of platform_misc will be in your /platform folder. Open the folder and navigate to sourceschemebase.res, and open it with notepad, as done before. Change the same line to any colour you'd like, although I found "Black" was the only one that worked properly, others seemingly breaking hammer's model viewer. Now you've edited it, save the file and exit out back to your /platform folder. Delete the original platform_misc.vpk, and drag your platform_misc folder over vpk.exe, which will create a new .vpk with your modified file within.
I hope this helps!