Better Ammo on Kill

If you liked this item, please rate it up on Steam Workshop page.

Authors: lemontine, vaire

Last revision: 18 Jun, 2023 at 02:47 UTC

File size: 12.42 KB

On Steam Workshop

Description:
Gives you ammo for the weapon you’re using when killing NPCs or players, supporting secondary ammo types and guns without ammo reserve!

FEATURES

  • Works for guns with no ammo reserves (like the RPG)
  • Works for guns with secondary ammo types (like the SMG grenade or the combine ball)
  • Alternative to infinite ammo mods
  • Primarily works for default HL2 guns
  • Works for PVP and PVE
  • Works for most modded guns
  • Headshot only mode
  • Customizable with CVARS listed below

CVARS: These variables may be changed under Utilities > lemontine > Ammo on Kill

CVAR
Default value
Description

ammokill_enabled
1 (true)
whether ammo on kill is enabled

ammokill_headshots_only
0 (off)
only headshots give ammo

ammokill_overkills_are_headshots
0 (off)
count instakills as headshots

ammokill_hidden
1 (true)
hide the popup of receiving ammo when doing a kill

ammokill_primarymax
10
max # primary mags in reserve replenished by a kill

ammokill_secondarymax
10
max # alternate ammo in reserve replenished by a kill

ammokill_primary_multiplier
1
number of primary mags given per kill

ammokill_secondary_multiplier
1
number of secondary ammo given per kill

ammo_start_with_smg_grenades
1 (on)
start with smg alt ammo

ammo chance
100%
chance that the kill gives ammo

ammokill_balanced
1 (on)
(experimental) give the player a range of ammo per kill

ammokill_lower_limit_percent
1 (on)
percentage of the clip that will serve as the lower limit for balanced mode

Bonus: Check out my addon that automatically reloads holstered guns! https://steamcommunity.com/sharedfiles/filedetails/?id=2985939914
Bonus: Check out my addon that gives you ARMOR on kill!
https://steamcommunity.com/sharedfiles/filedetails/?id=2990936813