Planning to Change the Source VGUI to better fit Black Mesa

I am planning to change the Source Engine’s VGUI to better suit BM. For example, giving it an icon for the taskbar when minimized, (it still uses the HL2 icon.) removing all of the redundant keyboard settings, like C to recall squad, because there’s no such thing as squad follow in BM. Or removing the G for Gravity Gun bind, because there’s no Gravity Gun in BM, and making a BM-themed autosave icon. (To replace the HL2 icon on autosaves in the load game/save game menu.) I also might change the UI color to the legacy green that was in the original HL. All of this I am going to do by editing a series of .RES files, from the 2007 Source Engine binaries.

I will extract the required .RES files for the the things listed above, as well as the VGUI .TXTs as well. I will edit what needs editing, and put them into the BM folder. The only problem is finding what .RES files effect which VGUI elements. If I can get a experienced person to help me, or a BM dev, I would be grateful.

EDIT: I’m done with a number of small changes to the UI. Archive available in OP.

Changes:

-Took out weapon slot #6

-Removed HL2’s walk function because it doesn’t work

-Added a custom autosave icon

-Removed G to get out Gravity Gun

-Removed C to recall squad

-Changed the Easy difficulty description from “Enemies are easy to defeat, and the computer helps you aim.” to “Enemies are easy to defeat; your weapons are more effective.” Due to the game already having a toggleable auto-aim option, and really? “The computer helps you aim.”?

[b]Update: I haven’t gotten around to doing any big UI changes while I was gone, I simply didn’t have the freetime to work on that kind of stuff. However, here’s two new changes:

[/b]
-The viewroll slider now functions. [NOTE: For some reason, if you set your value then restart the game, it will reset back to the default; 3.5]

-Removed “Fast Weapon Switch” from the advanced keyboard options because it doesn’t function, and also because there’s a fast switch option in the ‘Black Mesa’ tab.
BMS.zip (30.2 KB)

Just an idea but any chance we can have the spinning black mesa logo from screensavers on computers in game as the loading symbol instead of the bar filling

Also It would be great to have wallpaper loading screens as well

like these

https://s8.postimage.org/9dwnhf7f9/black_mesa_wallpaper_2.jpg

I did some looking around, it seems that you need scripts\kb_act.lst for the keyboard menu.

The file I have looks incomplete at first glance though. I might do some testing later.

Edit: looks like it works. Here’s the file. Just put it in the scripts folder and the gravity gun and squad command keybinds should be gone in the options menu.

Is there actally a shortcut icon that can be used to launch game and display fir game saves…?

There must be in the txt fike or res for load game save game? Or is it derault icon somewhere in sdk base 2007?

What about something that swaps the maps’ names in the load screen for the chapters’ names like in HL2?

If you can redesign the main menu in Classic Half-Life WON style I will give you 9000 internets.

Thanks for the guidance.

I took out:

“slot6” “#Valve_Weapon_Category_6

There’s no need for a 6th weapon slot since there’s no 6th slot weapon in BM.

“impulse 50” “#Valve_Commander_Mode

There’s no squad follow, therefore there’s no need for this.

“phys_swap” “#Valve_Gravity_Gun

There’s no Gravity Gun in BM, not even if you enter impulse 101. I guess they purged out all of the HL2 weapon scripts, so this option is practically useless.

“+walk” “#Valve_Walk

This keyboard option is bugged, it was originally bound to ALT because it was meant for HL2 since Sprint is shift in that game. So if you bind this option to shift, the “Always Run” walk will be non-functional, and the Sprint when you uncheck “Always Run” will be non-functional as well, because HL2’s ALT walk is completely independent to the Always Run walk/sprint.

If anyone can get me to the file where the names of the functions are defined, for example, in BM, it says:

SPRINT (Move quickly) SHIFT

I want to change it to:

SPRINT (Move quickly/walk) SHIFT

I’ll do some looking for myself as well.

Found what I wanted, and I’m done my current set of changes. I’ll tell you what I changed.

I extracted these lines from the gameui_english.txt file in source 2007 binaries.gcf file.

“GameUI_EasyDescription” “Enemies are easy to defeat, and the computer helps you aim.”
“GameUI_NormalDescription” “Challenging enemies; your weapons do normal damage.”
“GameUI_HardDescription” “Enemies are very tough; your weapons are less effective.”

I changed the Easy Difficulty header and took out “and the computer helps you aim,” and replaced it with “;your weapons are more effective.” Why did I do that? There is already a toggleable Auto-aim option in the Black Mesa tab, so there is no need for it to be telling you that Auto-aim will be turned on when there’s already a separate option for it. I also changed it to bring it in line with the Normal and Hard difficulty headers. If your weapons are less effective on Hard, then they must be more effective on Easy.

I also removed some redundant keyboard binds.

I took out:

“slot6” “#Valve_Weapon_Category_6

There’s no need for a 6th weapon slot since there’s no 6th slot weapon in BM.

“impulse 50” “#Valve_Commander_Mode

There’s no squad follow, therefore there’s no need for this.

“phys_swap” “#Valve_Gravity_Gun

There’s no Gravity Gun in BM, not even if you enter impulse 101. I guess they purged out all of the HL2 weapon scripts, so this option is practically useless.

“+walk” “#Valve_Walk

This keyboard option is bugged, it was originally bound to ALT because it was meant for HL2 since Sprint is shift in that game. So if you bind this option to shift, the “Always Run” walk will be non-functional, and the Sprint when you uncheck “Always Run” will be non-functional as well, because HL2’s ALT walk is completely independent to the Always Run walk/sprint.

I also went into the valve_english.txt file and found the keyboard binding descriptions.

I changed:

“Valve_Sprint” "Sprint (Move Quickly)

To: “Valve_Sprint” "Sprint (Move Quickly / Walk)

Because the ALT walk function made specifically for HL2 won’t work in BM, and it will bug out Always Run.

I also gave the game a taskbar icon. (I didn’t make the icon, the BMS team did.)

I also have a bonus. I edited the skill.cfg a tiny bit.

bms_normal_jump_vertical_speed “210”
bms_normal_jump_crouch_vertical_speed “210”

This is the exact same jump height as the original.

Changed the long jump module to the same value.

I also changed the Gluon Gun’s ammo consumption rate. It was way to fast. It drained really quickly, so I changed it from the default “2,” and made it “1.”

Merge the 3 folders inside “BMS” with your original folders.

EDIT: Added a custom autosave icon.

I WILL DO BIG UI CHANGES LATER.
[/SIZE]
BMS.zip (28.4 KB)

Interesting stuff… Does it change the save load icons from Hl2 to the bms shortcut logo?

I am cueious about why you decided to put skill config changes in?

I Don’t think you should take the 6th weapon slot out either This is for the m4 and if it was reincluded for any reason it would conflict with the game and updates…

Regarding skill.cfg the default values are 200 in hl2 i set mine at 190 in bms and this felt about right.

Look forward to seeing some visual updates to the gui

the m4 is supposed to replace the machine gun anyway

Added a custom autosave icon.

Updated archive in previous post.

Good Work will check this out :slight_smile:

Any thoughts on doing a custom loading screen? or loading screens?

Also I suggested before the spinning Black Mesa Icon in game on computer screens… Could perhaps use this as opposed to the loading bar filling?

Just Ideas

this might help

https://gamebanana.com/hl2dm/guis/22944

Although better to have a full screen loading pic perhaps

Also when clicking in steam create desktop shortcut the shortcut works but does not put the logo either… Any chance of fixing this too as a nice touch? Does that require steam integration?

There should be a folder within your steam folder called steam. Inside that there will be another folder called games. If you open that folder, there should be a BM icon. If not, download my zip, install the files, then right click on the shortcut and go to it’s properties. You should find an option to change your desktop icon. Find where the icon is located, (BMS > resource > game.ico) and use that icon for your main desktop icon.

I also made a minor change.

“Sprint (Move Quickly / Walk)” is now:

“Sprint/Walk (Move Quickly/Move Slowly)”

This was to further articulate the setting and make it more clearer since the original walk function from HL2 is bugged.

Updated the archive in my previous big post.

You should add the archive in the OP :slight_smile:

Will do.

Nice work by the way.

Just one suggestion and one question though:
What have you changed in bms_english.txt?

And maybe you should put the default values in comment in the cfg file.

Are you changing anything in the area of the look of the menus? Or are you making minor unnecessary tweaks.

The changes made are in the OP :slight_smile:

I took some strings from gameui_english.txt in the source 2007 binaries, put them into bms_english, and edited it to make more sense.

The strings I edited and put into bms_english.txt:

“GameUI_EasyDescription” “Enemies are easy to defeat; your weapons are more effective.”
“GameUI_NormalDescription” “Challenging enemies; your weapons do normal damage.”
“GameUI_HardDescription” “Enemies are very tough; your weapons are less effective.”

                        "Valve_Sprint"        "Sprint/Walk (Move Quickly/Move Slowly)"
                 }  

}

Founded in 2004, Leakfree.org became one of the first online communities dedicated to Valve’s Source engine development. It is more famously known for the formation of Black Mesa: Source under the 'Leakfree Modification Team' handle in September 2004.