Garry's Mod

Garry's Mod

79 ratings
Resident Evil 4: Ammo Packs
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Server content
Addon Tags: Roleplay, Realism
File Size
Posted
Updated
3.085 MB
1 Dec, 2018 @ 1:14pm
29 Jan @ 7:32pm
8 Change Notes ( view )

Subscribe to download
Resident Evil 4: Ammo Packs

Description
This add-on adds the Resident Evil 4 ammo packs to Garry's Mod.
Works just like normal ammo drops in Garry's Mod.

The textures are from the HD release on PC.

Can be used with DarkRP, other roleplay game modes, or whatever.

Below are the default values for ammo type and ammo.

For singleplayer, you can change these directly from console (`).
For server operators/multiplayer, you can change these values from the server console.
Name
Default
Description
re4_show_ammo_pickup
1
Show default ammo pickup popup. 1 enables, 0 disables.
re4_magnum_ammo_amount
10
The amount of ammo to give for the magnum ammo box.
re4_magnum_ammo_type
"357"
The type of ammo to give for the magnum ammo box.
re4_mine_ammo_amount
3
The amount of ammo to give for the mine darts ammo box.
re4_mine_ammo_type
"slam"
The type of ammo to give for the mine darts ammo box.
re4_pistol_ammo_amount
15
The amount of ammo to give for the pistol ammo box.
re4_pistol_ammo_type
"Pistol"
The type of ammo to give for the pistol ammo box.
re4_shotgun_ammo_amount
10
The amount of ammo to give for the shotgun ammo box.
re4_shotgun_ammo_type
"Buckshot"
The type of ammo to give for the shotgun ammo box.
re4_sniper_ammo_amount
10
The amount of ammo to give for the sniper ammo box.
re4_sniper_ammo_type
"m9k_ammo_sniper_rounds"
The type of ammo to give for the sniper ammo box.
re4_tmp_ammo_amount
50
The type of ammo to give for the TMP ammo box.
re4_tmp_ammo_type
"SMG1"
The amount of ammo to give for the TMP ammo box.

For ammo types you can set, see Default Ammo Types[wiki.facepunch.com]. For ammo types added by other addons, you will need to see how the developer registered them. For M9K, you can reference this spreadsheet[docs.google.com].

If you'd like to modify anything else, you can download the source here[github.com].
19 Comments
Leeous  [author] 5 Mar @ 8:32pm 
I'll look into it, thanks for the suggestion @MagnumForce
Earl Lancaster 24 Feb @ 2:49pm 
Suggestion, make this compatible with VManip. You can still grab it but the grabbing animation doesn't play and walking over the ammo still collects it.
Callsign_Ewok 31 Jan, 2024 @ 6:32am 
Entities. Also it's cool how they have the RE4 sound effects and do work for modern weapon bases like arccw, arc9, tfa etc.
Lemono 18 Nov, 2023 @ 7:22pm 
Which tab are the ammo pickups under
pixel0poprocks!!! 17 Oct, 2021 @ 4:29pm 
mine ammo could be slams.
Theiamusername666 12 Jan, 2020 @ 8:35am 
@Leeous Actually they work with every other ammo in M9K other than sniper, I guess these sniper rounds don't work with M9K snipers.
Leeous  [author] 12 Jan, 2020 @ 7:32am 
Do they not work with M9K? If they don't I might be able to edit the script for it to work with that addon. @Theiamusername666
Theiamusername666 12 Jan, 2020 @ 12:58am 
Do you think there could be a way for these to work with M9K weapons?
Slav 3 Jun, 2019 @ 3:27am 
oh.... For im not have a Discord well sorry .-.
Leeous  [author] 2 Jun, 2019 @ 7:28pm 
I can send you a version that has one of the packs set to AR2 ammo, DM me on Discord. Leeous#4510