DayZ
45 ratings
UnlimitedAmmo
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod Type: Weapon
File Size
Posted
Updated
4.769 KB
13 Dec, 2019 @ 11:10pm
17 Nov, 2021 @ 5:29pm
5 Change Notes ( view )

Subscribe to download
UnlimitedAmmo

Description
Description
When the rounds in the magazine drop to 5 or below, the number of rounds is reset to the max capacity of the magazine.

The mod works with weapons using internal and external magazines.

The source code is included in the "SourceCode" folder within the mod.

Permission is granted to do whatever you want with the mod and source code.


Change Notes
v3
2021-11-18
• No functional changes, but some code changes that make the mod work better with other mods.
• New key file called UnlimitedAmmo.bikey instead of MartinsMods.bikey. You can delete the old key.

v2
2019-12-25
• Now works with internal magazines as well, such as Mosin, SK 59/66 and BK-133 etc.

v1
2019-12-14
• Works with external magazines only, such as M4, AKM and pistols.


Installation
• Copy @UnlimitedAmmo to your servers root directory

• Copy the mods keyfile, "UnlimitedAmmo.bikey", to the servers "Keys" directory.

• Edit the bat file used to start the server and add the mod to the -mod parameter, like:
"-mod=@UnlimitedAmmo;@OtherMod1;@OtherMod2" etc.
52 Comments
Martin  [author] 29 Jul @ 7:56am 
@~SideSwipE~ I don't know, but it should.
~SideSwipE~ 28 Jul @ 2:01pm 
Does this work with other mods, like Morty's? Just wondering....building out my first server now. :)
Martin  [author] 5 Feb @ 8:09am 
@UNKNOWNFROST I'm sorry, but I'm lazy as frikk, but I bet you can probably just paste the script into ChatGPT and tell it to do whatever you want done and it'll do it, then just reupload as your own mod.
UNKNOWNFROST 4 Feb @ 6:49pm 
i know you dont want to modify this version of the mod but would you be willing to do commission work for another version of it, i honestly dont know how to script just thought i would ask.
FaithfulNerd 22 Jul, 2024 @ 12:49pm 
@Martin
Awesome, thank you for the fast reply.
Martin  [author] 20 Jul, 2024 @ 1:29pm 
@FaithfulNerd Absolutelly. Just add a method that, before each round is fired, checks if the current weapon being fired is on a list of weapons to which the mod will apply unlimited ammo to.

That list can be stored in a JSON-file for example and read on every server startup.

I'm not going to change this mod though, but feel free to modify it yourself and upload it as your own mod.
FaithfulNerd 20 Jul, 2024 @ 9:52am 
is there a way to have this work only on specific weapons and not every weapons on the server?
Martin  [author] 8 May, 2024 @ 3:45pm 
@Jarek "Pasza" Jarząbkowski I'm afraid not, but just YouTube on how to install mods on DayZ servers. It's the same way for most mods.
s 8 May, 2024 @ 2:38pm 
can u make a youtube video how to instal it ?
Martin  [author] 30 Jan, 2024 @ 8:31am 
@小峰 Ok, I don't know what it is then. It works for me and I haven't heard anyone else having problems with it. I had the exact same server setup when I tried it and it works fine:

"-mod=@CF;@VPPAdminTools;@UnlimitedAmmo"

Not sure what to do.