Half-Life: Alyx

Half-Life: Alyx

118 beoordelingen
Partial Clip Storage
2
3
2
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Bestandsgrootte
Geplaatst op
Bijgewerkt op
100.327 KB
12 sep 2024 om 3:15
11 aug om 6:24
4 wijzigingsnotities (weergeven)

Abonneren om te downloaden
Partial Clip Storage

Omschrijving
Partial Clip Storage

Allows the storage of partially empty pistol clips in your backpack so you can reload at your leisure.

This addon requires AlyxLib to work.

Note: Valve refers to their gun magazines as "clips" so this addon will refer to them the same way for consistency.

How To Use

Store partially empty clips into your backpack as normal. Your ammo pool will be increased by the number of bullets left inside the clip. Full clips will be taken out of the backpack until you have less than 10 bullets left, at which point a final clip will be removed with the number of bullets left.

Version 1.2.0 introduces an alternative tracking mode for incompatible pistol addons.

If partial ammo isn’t being stored in your backpack, do the following:

  1. Attempt to store a partial clip into your backpack.
  2. Insert the clip into your pistol.
  3. Remove the clip from the pistol.
  4. Then try storing it in your backpack again.

If partial ammo still doesn’t get stored after this, please leave a comment with a link to the addon you’re using so I can look into it.




Source Code

GitHub: https://github.com/FrostSource/partial_clip_storage

Known Issues

The invalid storage instructor message might appear sometimes when trying to store partially empty clips. If this happens to you please leave a comment with what you can remember about the moment (exactly how were you storing the clip? Did you have any other addon enabled?)

Getting Help

Please feel free to reach out either by commenting below or messaging me on the Discord server!

[discord.gg]
63 opmerkingen
Alex 16 okt om 8:46 
Oh yeah, I see what you mean. Nah what I figured was the cell would just be ejected as if it were empty and the ammo itself would just magically return to your inventory or something lol. Rather than have a physical mag with the remaining ammo spawn on eject.
FrostEpex  [auteur] 16 okt om 7:46 
The magazine entity is made up of two objects, mag and capsule, the mag is discarded and the capsule inserted. The capsule can't be put in the backpack so I would have to spawn a new mag on eject or write custom backpack code which is a lot for this project
Alex 16 okt om 7:34 
What do you mean magazine appear?
FrostEpex  [auteur] 16 okt om 7:32 
It's something I'm still researching since I'm releasing duel wielding soon. The cell in the smg is a small part of the magazine (which is discarded after inserting), so it might be a bit jarring to have a magazine appear if the cell is ejected.
Alex 16 okt om 7:09 
I see. Well you never know until you ask, right? Thanks for the quick response!
FrostEpex  [auteur] 16 okt om 7:06 
I haven't found any way to eject from the smg or shotgun, they seem to be way more internally bound than the pistol.
Alex 16 okt om 6:41 
Hey Frost, is there a possibility of Combine SMG support? I was thinking of the ability to press the other button on the controller to eject the cell prematurely to replace it with a fresh one, and maybe(?) it somehow keeps the leftover rounds from the ejected cell?
Grug 28 sep om 19:33 
Sorry for taking so long to respond, Steam doesn't give me proper notifications. I found out the problem, I was just an idiot. I installed the mod and tried using it on my pre existing save. I made a new save and it worked just fine! I love it!
FrostEpex  [auteur] 6 sep om 17:14 
What happens when you store partial ammo in your backpack in campaign, do you get any ammo at all? Can you share a list of mods you're using alongside it?
Grug 6 sep om 17:07 
So the issue I'm experiencing with the mod is. It doesn't work in the main story. But DOES work in the Bioshock Mod. What the heck?!