Garry's Mod

Garry's Mod

Not enough ratings
[TTT] AMMO CAPACITY OVERHAUL
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Gamemode
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
5.709 KB
20 Jun, 2021 @ 4:39pm
22 Jun, 2021 @ 2:30am
3 Change Notes ( view )

Subscribe to download
[TTT] AMMO CAPACITY OVERHAUL

In 1 collection by S. HITMAN
Terrorism (S.HITMAN EDITION)
108 items
Description
FOR USE OF SERVER ADMINS ONLY [WARNING GAME CHANGING]

Alters the amount of ammunition players can carry in TTT, and the amount of ammunition carried by items.
Also alters the ammo boxes so that they don't delete themselves when at less than 25% capacity, and so the player can pick up less than 25% of their own ammo capacity.

Definition for non big brain:
In the original code if an ammo box held 100 bullets and a player took 76 of them, the remaining 24 would despawn. Also the player wouldn't be allowed to take any less than 25 bullets from the box at a given time. This addon removes that code entirely.

PLAYER CAPACITY:
45mm (smg1): 30
12 gauge (shotgun): 8
357mm (rifle): 10
357mm (magnum): 12
9mm (pistol): 40

BOX CAPACITY:
45mm (smg1): 90
12 gauge (shotgun): 20
357mm (rifle): 12
357mm (magnum): 24
9mm (pistol): 120

TTT supports the ability to only pick up portions of an ammo box, so I decided to make an overhaul of the entire ammo system.
3 Comments
claomker 27 Aug, 2024 @ 5:24am 
ah, ight
S. HITMAN  [author] 24 Aug, 2024 @ 10:05pm 
no :/
idk how to edit hl2 weapon code
claomker 24 Aug, 2024 @ 8:12pm 
does this work on sandbox?