DayZ
47 个评价
UnlimitedAmmo
3
   
奖励
收藏
已收藏
取消收藏
Type: Mod
Mod Type: Weapon
文件大小
发表于
更新日期
4.769 KB
2019 年 12 月 13 日 下午 11:10
2021 年 11 月 17 日 下午 5:29
5 项改动说明 ( 查看 )

订阅以下载
UnlimitedAmmo

描述
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 条留言
Martin  [作者] 7 月 29 日 上午 7:56 
@~SideSwipE~ I don't know, but it should.
~SideSwipE~ 7 月 28 日 下午 2:01 
Does this work with other mods, like Morty's? Just wondering....building out my first server now. :)
Martin  [作者] 2 月 5 日 上午 8:09 
@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 2 月 4 日 下午 6:49 
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 2024 年 7 月 22 日 下午 12:49 
@Martin
Awesome, thank you for the fast reply.
Martin  [作者] 2024 年 7 月 20 日 下午 1:29 
@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 2024 年 7 月 20 日 上午 9:52 
is there a way to have this work only on specific weapons and not every weapons on the server?
Martin  [作者] 2024 年 5 月 8 日 下午 3:45 
@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 I niepozorny goat 2024 年 5 月 8 日 下午 2:38 
can u make a youtube video how to instal it ?
Martin  [作者] 2024 年 1 月 30 日 上午 8:31 
@小峰 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.