A fix for HUD messages being cut off in widescreen
Posted: Mon Jul 12, 2010 1:49 pm
I've found a fix for HUD messages being cut off (like those on oc_diving and oc_kake) on widescreen resolutions. See the screenshots below if you don't understand what I mean.
Here's how:
1) Assuming you installed Steam to the default location, go to 'C:\Program Files\Steam\steamapps\SourceMods\obsidian\scripts' and open up the file 'HudLayout.res' in Notepad (make a backup of the file first).
2) Perform a search for 'HudMessage', you should see a block like this:
3) Change
to
(for clarity, that's the letter 'f' followed by a zero)
4) Now, save the file and load up the mod, it should be fixed. If you already have your mod open, you can force an update with the console command 'hud_reloadscheme' (note that motd panels will appear messed up after this, but it'll go away after a mod restart)
Hope this helps.
Before:
After:
Here's how:
1) Assuming you installed Steam to the default location, go to 'C:\Program Files\Steam\steamapps\SourceMods\obsidian\scripts' and open up the file 'HudLayout.res' in Notepad (make a backup of the file first).
2) Perform a search for 'HudMessage', you should see a block like this:
Code: Select all
HudMessage
{
"fieldName" "HudMessage"
"visible" "1"
"enabled" "1"
"wide" "640"
"tall" "480"
}
Code: Select all
"wide" "640"
Code: Select all
"wide" "f0"
4) Now, save the file and load up the mod, it should be fixed. If you already have your mod open, you can force an update with the console command 'hud_reloadscheme' (note that motd panels will appear messed up after this, but it'll go away after a mod restart)
Hope this helps.
Before:
After: