Garry's Mod

Garry's Mod

171 个评价
[OUTDATED] Half-Life 2 Auto-Reload
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 武器
插件标签: 漫画, 快乐
文件大小
发表于
2.886 KB
2023 年 4 月 8 日 上午 11:41
1 项改动说明 ( 查看 )

订阅以下载
[OUTDATED] Half-Life 2 Auto-Reload

在 PlumpZombie 的 1 个合集中
Half-Life 2-Like gameplay mods
34 件物品
描述
THIS VERSION IS OUTDATED, DOWNLOAD THE NEWER IMPROVED VERSION MODIFIED BY COFFE MAN
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3216421218

This mod is not going to be updated again, probably :P

This is a faithful recreation of the Half-Life 2 auto-reload mechanic. When you fire your weapon and switch to other, after 3 seconds the game will automatically reload your previous weapon, so you don't need to remember to switch again and reload by yourself!

It also respects the reserved ammo avaliable, adding ammo relative to the amount of reserved ammo you have. This means that if you need more ammo than the reserved ammo avaliable, it'll not reload completely, and if you don't have reserved ammo, it'll not reload at all.

You can turn it on or off and customize the time it takes to reload.

I had the idea of this addon and my brother (XxSourceGamerxX) "made it" with ChatGPT.


CONSOLE COMMANDS:

auto_reload 1 (enabled by default, set to 0 to disable the mod)
auto_reload_duration 3 (seconds it takes to reload the last weapon. 3 by default, change it to any value you want)


Tags:
half life 2, hl2, autoreload, auto reload, ammo, script, code, lua, remake, vanilla, halflife
35 条留言
Jariner 2024 年 1 月 26 日 上午 5:46 
tbh, now that i think about it. it would have been nice if this addon had a blacklist feature for weapons that dont use ammo/weapons that regenerate ammo, so that it doesnt break them.
appl 2023 年 8 月 25 日 上午 9:32 
I didn't even realize this was thing in HL2, thanks for teaching me something new. Great addon!
ballsaSTEEL2001 2023 年 8 月 4 日 上午 11:36 
Nevermind my other comment it was another addon causing the error, this addon is dope
anormalgamer54432 2023 年 5 月 25 日 下午 1:32 
does not work
Jariner 2023 年 5 月 21 日 下午 12:16 
epic.
Smytsidian 2023 年 4 月 24 日 下午 6:37 
for some reason the medkit regenerates slower when you put it away
NextKurome76TheSoldier 2023 年 4 月 21 日 上午 9:40 
you should add an isvalid check for this error

[Half-Life 2 Auto-Reload] lua/autorun/sh_autoreload.lua:12: Tried to use a NULL entity!
1. GetPrimaryAmmoType - [C]:-1
2. reloadInactiveWeapons - lua/autorun/sh_autoreload.lua:12
3. unknown - lua/autorun/sh_autoreload.lua:45
In_a_Traur 2023 年 4 月 16 日 上午 11:42 
9\10
Sparrow 2023 年 4 月 15 日 上午 6:45 
NOO YOU CANT JUST AUTO RELOAD AFTER SWITCHING WEAPONS
Sandw1ch 2023 年 4 月 14 日 下午 1:52 
@eblan nice nickname