Half-Life: Alyx

Half-Life: Alyx

Body Holsters
95 Comments
FrostEpex  [author] Apr 23 @ 11:02am 
First try entering the commands in the discussions "Console Commands" under "All Other Controllers" which should use grip for most controllers.

If that doesn't work please enter in the console "alyxlib_diagnose body_holsters" and share the results with me if there are no suggested fixes.

Unfortunately my computer is dead and will not be fixed for a while so I have limited capacity to debug problems.
BLACK SANTA Apr 23 @ 3:38am 
@FrostEpex Hello, have issues with Oculus Quest 3 (23.04.2025). Grip is not working (but I feeling vibration, check that initialized in console and turn debug spheres - it's ok). Tried to turn

"commands:body_holsters_unholster_is_analog 0"
"body_holsters_unholster_action 7" - not effect

and tried to "body_holsters_require_trigger_to_unholster" and "body_holsters_require_use_to_holster" to 1 - this commands not exist in console commands (maybe was deleted by update?)

Same issues, nothing changed:3 Can you help, please?)
Ang3l Mar 6 @ 9:38am 
Thank you very much, that really helped me. I can for some reason only unholster the weapons with trigger button but that is absolutly fine by me :DThank you!
FrostEpex  [author] Mar 5 @ 7:14pm 
I'm away for a few days. I'll point you to the Custom Input Actions Guide in the discussions section of this workshop page for instructions on the new options.
For your case you should be able to replace your old cfg lines with this:
body_holsters_unholster_is_analog 0
body_holsters_unholster_action 7
Ang3l Mar 5 @ 4:28pm 
Hello!

I really like the mod it gives more realism into the handling of the weapons. A while ago I played the game with unholstering the weapons with the trigger button because the grab button did never work for some reason. I have put the needed command into Skill.cfg as mentioned.

I started playing now after a while and noticed that it does not even work with trigger anymore or normal grab button. I saw you updated this mod recently. Can you tell me how to get the trigger or grab button work again?

Im using an Oculus Rift.

Thank you very much 😊
FrostEpex  [author] Feb 22 @ 3:59pm 
Yes activate AlyxLib last. You can simply click it twice in the menu to disable and enable which gives it priority. You shouldn't need to disable scalable init support if for some reason it is helping, but AlyxLib has scalable init support built in to try and keep things compatible.
CHAPO Feb 22 @ 3:50pm 
Thank you for responding so quickly! I use several mods, and they all worked fine, but to use the body holsters and partial clip storage, I needed to use AlyxLib. I don't remember the exact activation order, but I know I activated these three last, and some of the mods I mentioned stopped working I'll try again. Activate AlyxLib last, right? I should disable the Scalable Init Support?
FrostEpex  [author] Feb 22 @ 3:09pm 
Thanks for the feedback. I've determined the load issue is with AlyxLib and will be uploading a fix today.

Bullet Penetration uses custom mod loading which can override AlyxLib so you'll need to make sure AlyxLib is the last mod you enable in the menu so it has priority.

I can talk to the creator about this and further issues that could arrise but the above step works for me in testing.

The utility menu looks fully compatible from reading over the code and testing.

The combat overhaul has no compatibility issues because it only modified cfg files.
CHAPO Feb 22 @ 2:28pm 
the mod is great, but after dying and respawning, it’s no longer possible to holster weapons, and it stops working. You have to restart the game to make it work again. It’s also not compatible with several mods, such as the bullet penetration mod, spawn utility menu, gunman combat overhaul, etc. Is it possible to adjust it to work with these mods as well?
FrostEpex  [author] Feb 17 @ 2:54pm 
Yes I updated it at the same time. I'm using index controllers and found no issues on my end during testing. Can you run the new command: 'alyxlib_diagnose holsters' and send me the result here, on discord or as a steam friend?
Diogenes Feb 17 @ 1:09pm 
Is this mod compatible with the current version? I tried it with the index controllers, both with and without the grip to holster commands and couldn’t get it to work after releasing despite feeling the haptic feedback, I also tried to enable debug spheres to see where the holsters are but they’re not visible.
Revanche Jan 9 @ 6:31pm 
This is just a reply to (Audhd). Could you make it a mod? If it's not a vanilla-based game, I mean, it would feel more realistic than just floating hands. But I think it's because Stress Level Zero showed Valve what was possible and influenced Half-Life: Alyx. Maybe they didn’t want to copy Boneworks?"
FrostEpex  [author] Jan 8 @ 6:42pm 
For now try setting body_holsters_knuckles_use_squeeze to 0.
When I get free time for an update this should be fixed, but there are quite a few changes to the underlying system that need to be updated.
Paus_Benedictus Jan 8 @ 3:35pm 
This mod is great! The only annoying thing is that the unholstering doesn't actually use the grip button but the (a or b button not sure wich one of these 2) on the quest 3 controllers. With the use trigger to unholster it uses the trigger/shoot button which is also not ideal. Is there any way to chance this?
Revanche Dec 30, 2024 @ 4:40pm 
please make an full body like boneworks
Khaziir Everflight Dec 17, 2024 @ 9:40am 
Yeah that did the trick. I genuinely do not get why this is not base vanilla game design. sure, the pseudo-1hand guns i can accept, but even when this game came out, it would have been more than possible and far better to havbe holsters instead of the quickswap menu that we have...
FrostEpex  [author] Dec 17, 2024 @ 7:50am 
Specifically my scripts might detect it as an index by default because of the way I have it set up. I'll be fixing this in the next update
Khaziir Everflight Dec 17, 2024 @ 7:40am 
@FrostEpex hm okay, i'll give that a go. let's hope it actually works out for me. Tho usually virtual desktop makes games think my pico4 controlers are quest controlers (since that'S what virtual desktop "emulates"... unless the game uses some weird as hell legacy control scheme...
FrostEpex  [author] Dec 14, 2024 @ 2:42pm 
@Khaziir try setting "body_holsters_knuckles_use_squeeze" to 0. It might be recognizing your controller as index.

@Sixteen60 as long as you mean one after the other in different body slots (pistol on hip, shotgun on shoulder etc) then yes, it's an alternative to the weapon selection menu
Sixteen60 Dec 14, 2024 @ 2:35pm 
Wait, so are you able to holster 2 weapons at once with this mod on and take out each weapon you want?
Khaziir Everflight Dec 4, 2024 @ 1:35pm 
okay, got holstering with visible weapons working, but it refuses to work in regards to unholster weapons. Using a Pico 4 with Virtual desktop and steamVR runtime. So yeah... no clue wtf the games issue is. I go to where the holsterpoint is, i hold the grab button, and move my hand away from the holsterpoint, but nothing happens. Any help appreciated greatly. until then, I'll stick to the vanilla menu, sadly...
fujikawa17 Dec 4, 2024 @ 3:24am 
Thank you very much for making this. I was hoping someone would figure this out.
Obese Male Dec 1, 2024 @ 8:52pm 
this is NOT boneworks
Ded5 Nov 29, 2024 @ 9:46pm 
Sleeves down there described how guns work in Metro Awakening and I loved how guns feels there. You unholster from your back or whatever and have to constantly grip your weapon, once you let go it disappears.

BTW Thanks for this mod, it was exactly what I was looking for!
The DysfunctionalCabinet Nov 12, 2024 @ 4:42pm 
im having an issue where my holstered gun jut vanishes aftr i press he grip button. would using the custom berretta mod cause this?
Steex Sep 21, 2024 @ 2:22pm 
Hello guys, sorry for maybe obvious question, but how to continue my game using this mod after the update for alyxlib? I've downloaded the alyxlib mod, enabled in in the addon menu, but I cannot contonue my game with it. The list of addons for a save does not have alyxlib in it, and holsters do not work as well. I'm on chapter 7 now, I wouldn't want to start anew. Thanks!
Sleeves Sep 16, 2024 @ 7:31pm 
well that would be great. if there is anything i can do to help let me know.
FrostEpex  [author] Sep 16, 2024 @ 7:14pm 
I can probably add a console command that makes your gun get holstered when you let go at any point, provided it was previously holstered since you have to reach for the holster to take it out
Sleeves Sep 16, 2024 @ 7:03pm 
I have a oculus quest 2 so im not sure how the index controller works. but after 15 secs of research it looks like the index also has a "grip" button.
Sleeves Sep 16, 2024 @ 7:01pm 
Do you want your gun to be instantly holstered in the previous holster you used when you stop pressing the trigger?
yes, that would be great.
By trigger do you mean the shooting trigger or something else? Controllers have different layouts.
By Trigger i mean the "grip" button.
FrostEpex  [author] Sep 16, 2024 @ 6:39pm 
Hi Sleeves can you please explain your idea more?

Do you want your gun to be instantly holstered in the previous holster you used when you stop pressing the trigger?
By trigger do you mean the shooting trigger or something else? Controllers have different layouts.
Sleeves Sep 16, 2024 @ 5:53pm 
First off let me say that i love the mod, its the only reason im giving half life alyx another chance. Now lets cut to the chase. I love immersion in my video games so i was wondering if you could some how make it possible to have the gun stay in my hand when I'm holding the trigger. and return to the holster when I've let go. It would really improve my gaming gaming experience. Of course im some random person on the internet so if its to much to ask just dont worry about it. and thank you for the wonderful mod.
-sleeves xoxo
Alucard-A336 Aug 26, 2024 @ 1:31pm 
They added hand tracking to the steam link beta for meta quest headsets, and the tracking doesn't go behind the shoulder, so it's really hard to grab or store ammo.
FrostEpex  [author] Aug 25, 2024 @ 4:23am 
I'm not sure what you mean by hand tracking means you can't pull out ammo, as far as I'm aware all headsets use hand/controller tracking.
A front ammo holster has been suggested and is on my list but I have no date for making it yet
Dreamy Bull Aug 25, 2024 @ 3:58am 
can u make a ammo holster beacose if u use hand tracking you cant store ammo or pull out ammo from your back
FrostEpex  [author] Aug 22, 2024 @ 10:53pm 
Alex Aug 22, 2024 @ 10:30pm 
Alyx Wears Glasses? lol does that just enable the glasses silhouette or does it do something more?
FrostEpex  [author] Aug 22, 2024 @ 10:29pm 
Body Holster, Resin Watch, Partial Clip Storage, Alyx Wears Glasses (4, my bad). They all use the same new interconnected system.
Alex Aug 22, 2024 @ 10:24pm 
Three addons?
FrostEpex  [author] Aug 22, 2024 @ 10:22pm 
It's technically done I'm just testing as much as I can before I release the three addons using the new systems (including this one)
Alex Aug 22, 2024 @ 10:18pm 
Hey Frost, how's the overhaul coming along?
bexiecymru Aug 17, 2024 @ 2:52pm 
BONE LAB???
FrostEpex  [author] Jul 23, 2024 @ 11:35am 
To your point about the visible weapons being default, I will change it if enough people want this to be the case. Until then you can force it to be the default by putting the following in your Alyx launch parameters:

-body_holsters_visible 1

Or adding it to skill.cfg in the game folder hlvr/cfg:

body_holsters_visible 1
FrostEpex  [author] Jul 23, 2024 @ 11:32am 
Thanks for taking the time to give all this feedback.
You're correct about the naming discrepancy for Quest controllers but this will change in the next update as I have overhauled the grabbing code.
The reason I haven't expanded on visible weapons is because of how janky they look in a lot of scenarios due to the way the backpack they're connected to behaves. I will look into animations and ammo states to see what I can do for you.
I can't promise a fix for your last issue because I can't override how the hands work, but I have several ideas to work around it and am hopeful.
Huxley Jul 23, 2024 @ 11:07am 
A more general issue I have with this mod is that it can be easy to accidentally grab a nearby object instead of your gun. This makes it difficult to grab shoulder weapons when you are wearing a gas mask, for instance. Perhaps there is a way you could make grabbing a weapon take priority over other objects when both are in range?
Huxley Jul 23, 2024 @ 11:07am 
Some feedback:
I find "body_holsters_visible_weapons" to be almost required to use this mod effectively. I think it should be the default and the mod should be designed around it. (It's even in the showcase .gif!)
In conjunction, polishing the visible weapons system would be a good idea. Currently, the guns always read as empty when holstered, and although they snap to a certain position when holstered, their orientation remains unchanged, which can look weird. I think making the guns sort of "glide" into a certain position and orientation when holstered would look a lot better.
Also, if you holster a gun while your off-hand is interacting with it, you get a gray model of Alyx's hand attached to the gun.
Huxley Jul 23, 2024 @ 11:07am 
Great mod! I'm using the Quest 3 and it worked perfectly once I set both "body_holsters_require_trigger_to_unholster" and "body_holsters_require_use_to_holster" to 1. It's strange though, because although the names of these variables would imply that you use the trigger to unholster and the "use" button to unholster when they're set to 1, on the Quest both are bound to the grip. I'm guessing that this has something to do with the way that SteamVR handles inputs from different controllers, but I'm no expert. It's an oddity, but I actually prefer it.
FlashbackGames Jun 25, 2024 @ 4:11pm 
I tried all the commands and I still cant holster at all. (I am on the quest 3)
MITSSN May 24, 2024 @ 3:19pm 
its not working. cannot holster
PBF Guy May 18, 2024 @ 8:35am 
if you do body_holsters_require_use_to_holster 1 and body_holsters_require_trigger_to_unholster 1 it works fine.