Half-Life: Alyx

Half-Life: Alyx

266 arvostelua
Auto Pickup
2
6
3
2
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Tiedostokoko
Julkaistu
Päivitetty
24.307 KB
30.7.2020 klo 1.00
28.11.2022 klo 10.00
19 muutosilmoitusta ( näytä )

Tilaa ladataksesi
Auto Pickup

1 kokoelmassa, tekijä Sam
Quality of Life Mods
3 luomusta
Kuvaus
Tired of putting items to your backpack over your shoulder? With Auto Pickup, you can release these items anywhere to automatically pick them up.

Enable the lock-on mode to pick up items from distance by locking on to them with the gravity gloves.

Compatible with custom weapons. Works on any map.

Commands:

Command
Value
Description
auto_pickup_mode
0
Set auto pickup lock on mode 0/1
auto_pickup_enable
1
Enable auto pickup
auto_pickup_ammo_insertion_range
7.5
(debug)
auto_pickup_ammo_insertion_debug
0
(debug)

Creating persistent settings:

Create a config file named "auto_pickup.cfg" in your game config directory, and put your commands in it.

/steamapps/common/Half-Life Alyx/game/hlvr/cfg/auto_pickup.cfg

You may also include other game commands in this file, such as "vr_hold_ragdoll_large_biped_counter_spring_freq 2" to remove ragdoll constraints.


Notes:

- Picking up an item while the same type of item is inside or under the hand may fail to pick up the item. Simply move your hand a bit further before releasing.

- Lock-on mode does not work on custom-functionality-weapon ammo (hlvr_weapon_generic_pistol), NOT reskins. This is only because it is not possible to get the ammo amount of these clips.



- (debug) auto_pickup_ammo_insertion_range is 7.5 by default; setting this value too large will cause the pickup to fail depending on the distance between hands while picking up an ammo while holding its weapon on the other hand - range determined by the value.

- (debug) auto_pickup_ammo_insertion_debug draws the ammo insertion point (magenta), and ammo position once on release (green), and once one frame before it is picked up (red). Auto pickup is cancelled when either of these intersect with the insertion point.


github.com/samisalreadytaken/vscripts




Guide on how to create your own addons that work on any map:

https://steamcommunity.com/sharedfiles/filedetails/?id=2187633818
41 kommenttia
kλleid 4.12.2023 klo 12.34 
Bloody brilliant mod, just started playing Levitation on my Quest 2 and gone are the times the controller loses tracking when I move my hand over my shoulder. Thank you! ❤️
Bob 10.9.2022 klo 16.40 
goes good with novr
Sam  [tekijä] 9.5.2022 klo 7.41 
Make sure you have the Auto Pickup addon enabled even while loading a save.
Mixz0r 7.5.2022 klo 22.13 
I just loaded up a game with only 2 addons enabled in the save file; auto pickup and resin detector. But auto pickup isn't working. Any thoughts? It was fine last time I played. I have validated all files in Steam.
revers 31.1.2022 klo 15.43 
Sorry, got it working, I didn't realize that I need to restart a new game (can't use my save) and that's why never heard about the 'Start game with addons' button. Now I see it and it works. Thank you! Now need to resolve using of ammo from backpack... :)
Sam  [tekijä] 31.1.2022 klo 12.12 
What does the console say when the game is loaded and you release the ammo?

And just to be sure, did you choose 'Start game with addons'?
revers 31.1.2022 klo 11.58 
Hi everyone,
It's not working for some reason. The game says it's loaded, however releasing the ammo doesn't add it to the backpack. The ammo is not used, I have Reverb G2, so I'm stuck at the beginning of the game where I have to add ammo to my backpack for the first time. Workshop is installed, and I've created the config file (/steamapps/common/Half-Life Alyx/game/hlvr/cfg/auto_pickup.cfg) with the following contents:

auto_pickup_enable 1
auto_pickup_mode 1
auto_pickup_ammo_insertion_debug 1

Tried to restart Steam / PC - doesn't help at all. Any ideas what do I do wrong please?

Thanks in advance.
Kaundere 6.9.2021 klo 11.26 
Thank you Sam, I indeed did that and it worked. Restarting Steam is what fixed it in the end.
Sam  [tekijä] 6.9.2021 klo 0.29 
Try re-downloading, validating game files, restarting the game and Steam.
Kaundere 5.9.2021 klo 4.54 
For some reason the addon is not showing up in the game at all