Black Mesa

Black Mesa

69 beoordelingen
>Controller Support [XONE/DS4 Icons, DS4 Gyro setup]
Door StavaasEVG
So, you tried to play BM with the controller...
I know what could help you.
And no, you don't need the Steam BigPicture controller thing. It makes movement really bad.
2
4
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
About/Downloads
The new UI doesn't have controller support yet, it has no options to enable controller movement and bind controller buttons.

To play with a controller without any problems, download this and put the "bms" folder into the game's root folder.
This should allow you to play with a controller, see the buttons icons in the in-game hints (not sure if every prompt still shows, but try that)

Main Files (Xbox One Icons)[drive.google.com]

Next two are optional, for those who wants DS4 icons instead of Xbox One's, and for those wanting HUD to be like in console HL2. First one needs the main files to be installed, the HUD one doesn't need anything. To install, just put the "bms" folder into the game's root folder (after putting the main files).


I put "exec 360controller.cfg" into the autoexec.cfg, because for some reason it didn't work when i was typing that directly into the console.

!! Even with this mod, you still can't use menu without mouse. !!
!! This mod allows you to use a controller in-game, not in the menu. !!
!! This mod unbinds all keyboard/mouse binds so the game could show the proper controller hints. !!
!! This mod is executing every time the game launches, to stop that - just delete "exec 360controller.cfg" from the "bms/cfg/autoexec.cfg". !!

!!Also, this mod has the icons for the keyboard/mouse that show up in hints, and they're better than just text. !!
Editing layout, sensitivity etc.
To change bindings - get the command you want to bind to a button, open bms/cfg/360controller.cfg and edit it


bind "L_TRIGGER" "+attack2" | LT - Secondary Attack
bind "R_TRIGGER" "+attack" | RT - Primary Attack

bind "A_BUTTON" "+jump" | A - Jump
bind "B_BUTTON" "+reload" | B - Reload
bind "X_BUTTON" "+use" | X - Use
bind "Y_BUTTON" "impulse 100" | Y - Flashlight

bind "L_SHOULDER" "+speed" | LB - Sprint
bind "R_SHOULDER" "+duck" | RB - Duck

bind "BACK" "save quick" | Back - Quick Save
bind "START" "cancelselect" | Start - Opens pause menu !!!Don't change!!!

bind "STICK1" "+duck" | LS - Duck
bind "STICK2" "toggle_zoom" | RS - Toggle Zoom

bind "POV_UP" "invlast" | Dpad Up - Last Used Weapon
bind "POV_RIGHT" "invnext" | Dpad Right - Next Weapon
bind "POV_DOWN" "use weapon_crowbar" | Dpad Down - Use Crowbar
bind "POV_LEFT" "invprev" | Dpad Left - Previous Weapon

These two are for proper buttons in hints, don't edit.
bind "S1_UP" "xmove" | Left Stick - Move
bind "S2_UP" "xlook" | Right Stick - Look

This sets left stick's vertical movement to inverted (1) and normal (-1) modes. Edit it if you have problems with it.
joy_forwardsensitivity "-1.0"

These two change the vertical and horizontal sensitivity of the right stick(camera movement)
Second one should always be negative i think, like the "joyforwardsensitivity".
joy_pitchsensitivity "+1.3"
joy_yawsensitivity "-1.3"


This sets the scale of damage taken (set to 1.0 if you want to take full damage).
sk_dmg_take_scale2 "0.8"
Useful Bindable Commands
Action
Command
Jump
+jump
Duck (Hold)
+duck
Duck (Toggle)
toggle_duck
Sprint
+speed
Use/Interact
+use
Primary Attack
+attack
Secondary Attack
+attack2
Reload
+reload
Flashlight
impulse 100
Quick Grenade Throw
+quickfrag
Zoom (Hold)
+zoom
Zoom (Toggle)
toggle_zoom
Next Weapon
invnext
Previous Weapon
invprev
Last Used Weapon
lastinv
Switch to Crowbar
use weapon_crowbar
Switch to Glock
use weapon_glock
Switch to .357
use weapon_357
Switch to MP5
use weapon_mp5
Switch to Shotgun
use weapon_shotgun
Switch to Crossbow
use weapon_crossbow
Switch to RPG
use weapon_rpg
Switch to Tau-cannon
use weapon_tau
Switch to Gluon Gun
use weapon_gluon
Switch to Hivehand
use weapon_hivehand
Switch to Frag Grenade
use weapon_frag
Switch to Tripmine
use weapon_tripmine
Switch to Satchel
use weapon_satchel
Switch to Snarks
use weapon_snark
Quick Save
save quick
Quick Load
load quick
Show Multiplayer Scores
+showscores
Screenshots
Xbox One Icons

Dualshock 4 Icons
Using Dualshock 4 full potential
If you have a Dualshock 4 controller, you know that it has gyroscope, that is not being used in almost every game. But with DS4Windows we can fix that. We have the ability to bind the controller gyroscope to a mouse movement! And it really works flawlessly and playing with it feels fun and interesting!

So what you should have to make this work?
1 - DS4 controller
2 - Latest version of DS4Windows[github.com]
3 - DS4Windows profile set up for Black Mesa[drive.google.com]
4 - And of course this mod, without it you couldn't bind the controller buttons and movement without problems.

Now when you set up DS4Windows, you'll have to unpack the "Black Mesa.xml" profile into the "DS4Windows/Profiles", turn on the controller and choose the downloaded profile in the main "Controllers" tab. That's all, now you'll just have to launch the game and play it!
Everything was done by me, Stavaas.
Hope you'll enjoy playing this masterpiece with my mod and a controller.
Also...
I made the mod for the HL2, Episodes, HL:Source, Lost Coast and Portal which brings the console UI and some gameplay changes to the PC versions of the games.
This is the best thing i've done yet, hope you'd like to use it too)
50 opmerkingen
StavaasEVG  [auteur] 20 mei om 12:21 
This was made long before the latest necro patch with improved controller support. It's outdated / not needed anymore.
Vlad The Russian 18 mei om 20:31 
so you are doing all of that just to make hints better? I don't see any problem playing the game with a controller without modding the game
Plake 28 dec 2022 om 1:05 
It works great on PC, but no dice on the Deck. Any ideas?
Cynel1 11 dec 2022 om 4:57 
You are a lifesaver it's not the x360 gui mod but it's close enough
ThisAr1sGuy 21 jun 2022 om 8:33 
cool now how can i remove it
Varit Rockatansky 31 jan 2022 om 20:43 
Thanks for this mate. Worked like a charm out of the box!
J4k The Reaper 15 feb 2021 om 4:03 
@tobasoft
Did you ever get this working? I'm currently trying to but I am having same issue you had. only right analog works. Plus the xb1 input hints, I don't think actually show up.
StavaasEVG  [auteur] 29 nov 2020 om 11:55 
Try writing "exec 360controller.cfg" or "exec 360controller" in the console. This could happen if the controller was turned on after the game was launched.

And you can try turning off steam controller support, if it is enabled.
tobasoft 28 nov 2020 om 14:12 
I can't seem to get this wo work, can anyone help me out? I'm using an xbone controller. I placed the folder in the root as instructed and it overwrote some files and now I can only look around and nothing else.
Kuneh0 3 nov 2020 om 3:35 
Just imagine they ported Black Mesa in PS4 and PS5!