Garry's Mod

Garry's Mod

160 ratings
[OUTDATED] Half-Life 2 Auto-Reload
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Weapon
Addon Tags: Comic, Fun
File Size
Posted
2.886 KB
8 Apr, 2023 @ 11:41am
1 Change Note ( view )

Subscribe to download
[OUTDATED] Half-Life 2 Auto-Reload

In 1 collection by PlumpZombie
Half-Life 2-Like gameplay mods
33 items
Description
THIS VERSION IS OUTDATED, DOWNLOAD THE NEWER IMPROVED VERSION MODIFIED BY COFFE MAN
https://steamproxy.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 Comments
Jariner 26 Jan @ 5:46am 
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 25 Aug, 2023 @ 9:32am 
I didn't even realize this was thing in HL2, thanks for teaching me something new. Great addon!
ballsaSTEEL2001 4 Aug, 2023 @ 11:36am 
Nevermind my other comment it was another addon causing the error, this addon is dope
anormalgamer54432 25 May, 2023 @ 1:32pm 
does not work
Jariner 21 May, 2023 @ 12:16pm 
epic.
Smytsidian 24 Apr, 2023 @ 6:37pm 
for some reason the medkit regenerates slower when you put it away
NextKurome76TheSoldier 21 Apr, 2023 @ 9:40am 
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 16 Apr, 2023 @ 11:42am 
9\10
DingusMingusBingus[no stop] 15 Apr, 2023 @ 6:45am 
NOO YOU CANT JUST AUTO RELOAD AFTER SWITCHING WEAPONS
Sandw1ch 14 Apr, 2023 @ 1:52pm 
@eblan nice nickname