Half-Life: Alyx

Half-Life: Alyx

302 arvostelua
Auto Pickup
2
6
2
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://sp.zhabite.com/sharedfiles/filedetails/?id=2187633818
45 kommenttia
GoatHead 7.12.2024 klo 12.24 
additionally does not work with Resin Detector
GoatHead 4.12.2024 klo 20.53 
This mod sadly does not work with the Resin Watch mod
Sam  [tekijä] 19.8.2024 klo 11.00 
@Alu Midian , assuming you have both addons enabled and started a new save, open the console and see if you can execute "auto_pickup_enable" command. If the command does not exist, then it's an initialisation issue that they need to fix; if the command is there, then it might be functionality conflict that can be looked into.
Alu Midian 15.8.2024 klo 17.25 
seems to conflict with Resin Watch, making this mod not work, that author seems to think it has something to do with scalable init support, but im room temp IQ when it comes to mods so its all moon speak to me
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! ❤️
help im in cave 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'?