DayZ
37 ratings
UnlimitedAmmo
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod Type: Weapon
File Size
Posted
Updated
4.769 KB
Dec 13, 2019 @ 11:10pm
Nov 17, 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.
45 Comments
Martin  [author] May 8 @ 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.
can u make a youtube video how to instal it ?
Martin  [author] Jan 30 @ 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.
小峰 Jan 30 @ 1:48am 
@Martin It’s the module linked to your link, as well as CF, VPP administrator tools, and game servers are all 1.23
Martin  [author] Jan 29 @ 8:25am 
@小峰 Strange, it works for me. I just installed it on a test server and blasted away with an M4. It refilled the mag when it went below 5 rounds.

Make sure you are using my mod and not someone elses version. The mod is free to modify by whoever wants to, so maybe you have installed another variant of it?

The only other explanation I can think of is another mod interfering. Try running the server with only UnlimitedAmmo installed and see if it works. Then add more mods until it doesn't work anymore. Then you should know which mod caused the problem.
小峰 Jan 28 @ 7:32pm 
Didn't help me supplement
小峰 Jan 28 @ 7:32pm 
I finished it with m4a1 akm bullets.
Martin  [author] Jan 28 @ 3:08am 
@小峰 The mod applies to all weapons with internal and external magazines. It can't be applied to only a single weapon.

I don't know what you mean by 1.23 has expired.
小峰 Jan 28 @ 1:02am 
Okay, 1.23 has expired.
小峰 Jan 28 @ 12:52am 
How do I set up a single weapon?