3.17 (2024-03-16:
-fix rare "client not in game" error.
3.16 (2024-02-22:
-minor improve.
3.15 (2024-02-17:
-minor improve of code.
3.14 (2024-02-13:
-add cvar "infinite_reserve_ammo_path" to dynamically load config.
3.13 (2023-12-27:
-no longer load empty weapon name.
3.12 (2023-12-17:
-improve .cfg data parsing, use SMCParser instead of KeyValues.
3.11 (2023-06-21:
add check for engine version, no longer load plugin in other games.
3.10 (2023-05-13:
minor improve of code.
3.9 (2023-04-25:
refurbishment code format.
3.8 (2023-04-12:
minor improve of code.
3.7 (2023-02-16:
minor improve.
3.6 (2023-01-24:
no longer instantly generate reserve ammo once on weapon equip.
3.5 (2023-01-24:
no longer automatically spawn config data, you have to install it manually.
3.4 (2023-01-24:
minor improve.
3.3 (2023-01-21:
change command from server cmd to admin cmd.
3.2 (2023-01-21:
minor improve.
3.1 (2023-01-02:
clean up code.
3.0 (2023-01-18 | reupload 2023-01-20:
add support for weapons on slot2.
2.8 (2023-01-17:
change plugin/command/config name.
2.7 (2023-01-16:
minor improve of code.
2.6 (2022-12-22:
instantly generate reserve ammo once on weapon equip. used to deny other plugins force pickup ammo from ammo stack.
2.5 (2022-12-16 | reupload 2022-12-17:
change original configs of "weapon_rifle_desert" and "weapon_rifle_sg552".
2.4 (2022-12-16 | reupload 2022-12-16:
new method for all weapons, automatically generate reserve ammo when not in reloading.
2.3 (2022-12-16:
increase reserve ammo set to of original configs, used to avoid ammo reduce if reloading without empty clip on the first time. also deny pickup ammo from ammo stack.
new method for shotguns, now generate reserve ammo when not in reloading.
you can remove the old config data and automatically respawn a new one by run game, or manually change them.
2.2 (2022-12-16:
fix wrong root key name, if you are updating from 2.0, please remove file "sourcemod/data/infinite_reserve_ammo_cheat_ammo.cfg" first or manually change root key name.
2.1 (2022-12-16:
add late-load support.
2.0 (2022-12-16:
new style of generating ammo. if you are updating from 1.0, please remove file "sourcemod/data/infinite_reserve_ammo_cheat_ammo.cfg" first !
1.0 (2022-12-16:
init public release.
Configs installation
put infinite_reserve_ammo.cfg in sourcemod/data/. if you changed the file name or path, you have to edit the cvar "path" too.
"reserve_ammo" means, on this weapon, how many reserve ammo set to when it's lower than the value and not in reloading. 0 or lower = disable.
the previous one will check the sum of clip and reserve ammo, if it lower than the "max", it will work.
the "max" is suggested set to lower or equal the max clip size of each weapon. can be a "limited" infinite reserve ammo.