Half-Life: Alyx

Half-Life: Alyx

118 个评价
Partial Clip Storage
2
3
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
100.327 KB
2024 年 9 月 12 日 上午 3:15
8 月 11 日 上午 6:24
4 项改动说明 ( 查看 )

订阅以下载
Partial Clip Storage

描述
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 条留言
Alex 10 月 16 日 上午 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  [作者] 10 月 16 日 上午 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 10 月 16 日 上午 7:34 
What do you mean magazine appear?
FrostEpex  [作者] 10 月 16 日 上午 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 10 月 16 日 上午 7:09 
I see. Well you never know until you ask, right? Thanks for the quick response!
FrostEpex  [作者] 10 月 16 日 上午 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 10 月 16 日 上午 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 9 月 28 日 下午 7: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  [作者] 9 月 6 日 下午 5: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 9 月 6 日 下午 5: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?!