DayZ
123 ratings
MagLoaderBox
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
File Size
Posted
Updated
28.968 MB
20 Feb, 2024 @ 8:40am
8 Nov, 2024 @ 9:25am
20 Change Notes ( view )

Subscribe to download
MagLoaderBox

Description
This is a free to USE mod.

The Mag Loader Box is a portable battery powered ammo box that will either reload or unload magazine(s) attached to it. This allows you to free up your hands while reloading or unloading a magazine which is especially helpfull for the larger drum magazines. You can attach the mag loader box to the canteen slot. Attach a magazine, a battery and place the compatible ammo in the containter then place mag loader box in your hands or on the floor to turn on to activate. While unloading, if the MaqLoaderBox or Player inventory is full, it will drop all unloaded ammo into a pile on the floor at the MagLoaderBox's location. It can also unpack ammoboxes inside of it as well. The workbench can be used to repair weapons or magazines using an attached weapon cleaning kit. ( Repairs items to pristine and can repair RUINED items, enabled by default but can be disabled ) There is a config file that is generated inside your server's profile folder so that you can change certain settings for each of the magloaderboxes. Added a placable version and a static version. Added a new feature that will auto fill the magloader boxes or benches with all available ammo from player's inventory into the boxes or benches.(Only selects ammo related to attached magazines) Also benches will auto pick up nearby ammo within the vicinity of the bench. (Ammo on floor or bench)

Model for bench:
Ammo Reloading Workbench Free low-poly 3D model[www.cgtrader.com]

Updated 11/08/2024
Check change notes for recent changes.

Config Options

Check your server's profile folder for the MagLoaderBox config for each of the 3 MagLoaderBox types as well as the workbench.

Defaults:
"MagazineAndBulletDamageActive": 1,
This determines if the magazines and bullets take damage per bullet during reloading and unloading. Set to 1 = True or 0 = False

"MagLoaderBoxDamagePercentOnUse": 0.01,
This is the amount of damage the MagLoaderBox takes per use. Set values between 0.0(min) - 1.0(max)

"MagLoaderBoxEnergyConsumedOnUse": 3.0,
This is how much total energy is consumed during each use. Set values between 0.0(min) - 100.0(max)

"ReloadTimeSecondsPerBullet": 0.5,
This is reload time per bullet in seconds. 0.0 = Instant and 1.0 = 1 second

"UnloadTimeSecondsPerBullet": 0.5
This is the unload time per bullet in seconds. 0.0 = instant and 1.0 = 1 second

"RepairRuinedItemsActive": 1, ( Workbench Config Only )
This enable/disables the ability to repair ruined weapons or magazines using the workbench.

"ConsumeAmountForKitPerUse": 10.0 ( Workbench Config Only )
This is how much is consumed from the weapon cleaning kit when repairing at the workbench. ( min 0.0, max 100.0 )

types

Don't forget to add it to your Types.xml file. (there is also a Types.xml located inside the mod's extras folder)

cfgspawnabletypes

Since the Mag Loader Box inherts from the AmmoBox you might want add it to your cfgspawnabletypes as well or else it will spawn with the same items as the AmmoBox. Here is an example

<type name="MagLoaderBox">
<attachments chance="0.30">
<item name="Battery9V" chance="1.00" />
</attachments>
</type>

<type name="MagLoaderBox2">
<attachments chance="0.30">
<item name="Battery9V" chance="1.00" />
</attachments>
</type>

<type name="MagLoaderBox3">
<attachments chance="0.30">
<item name="Battery9V" chance="1.00" />
</attachments>
</type>

Credits
Helzi for help with unpacking boxes

Language Support
Currently only supported languages are English and German. I added a stringtable for language support inside the mod's extras folder if you want your language added either translate it using the stringtable provided into a mod override or send me the translation and I'll add it to this mod.

Repacking and Monetization
Do Not Repack or Reupload, please use a collection. Requests will be ignored.
Monetization is allowed as long as you follow Bohemia Monetization Rules Monetization[www.bohemia.net]

Please like and favorite if you enjoy this mod.

Discord
Discord Link[discord.gg]

I originally made this for my Namalsk server that I am hosting but decided to make it public. If you want to, come check it out. This discord link is for the server that I host but you can contact me on there if you have questions or need assistance.

Trailer Link

Tags
load, reload, unload, loading, reloading, unloading, magazine, mag, ammo, bullet, auto, workbench, portable, static
Popular Discussions View All (3)
3
7 Nov, 2024 @ 7:46am
duplicating ammo
andrew
3
6 Mar, 2024 @ 9:03am
Excessive battery consumption
D4RKS
2
6 Mar, 2024 @ 9:03am
charger expense
Ghost Dko
75 Comments
yutou 6 Aug @ 12:50am 
NULL pointer to instance. Variable 'loaderbox' during call 'MagLoaderBox.GetInventory'
Class: 'MLB_UnpackAmmoCase'
Function: 'ActionCondition'
Stack trace:
magloaderbox/q878X5LD/ aqtoZdGo/k5D32G6w//49uWG A7/ETWB Xqb/x2 6vTrg.OjIbXvEg:39 Function ActionCondition
scripts/4_World/classes\useractionscomponent\actionbase.c:892 Function Can
scripts/4_World/classes\useractionscomponent\actioninput.c:341 Function _GetSelectedActions
scripts/4_World/classes\useractionscomponent\actioninput.c:385 Function UpdatePossibleActions
scripts/4_World/classes\useractionscomponent\actionmanagerclient.c:555 Function
Dj Kendall✔♔ 13 Jul @ 5:01am 
Can the portable mag box be repaired? and if so how?
Onionsss 13 Jun @ 5:10pm 
Ammo boxes do not have a turn on function when hovering over them with crosshair or in hand. Battery is in, tried with a full ammo clip to unload, no bueno. Tried unpacking an ammo box, no bueno. Cant use it if i cant turn it on :(
₣Ʉ฿₳Ɽ 12 Jun @ 7:12am 
this mod crashed my server after rag_liquid_framework update cant see why as it has obfuscated ActionConstructor hope to have it back again.
Capin_action_basturd 4 Jun @ 7:01pm 
works great but does create a 23,000 mb crashfile if you try to load the mag you loaded in the ammo boxes or the workbench with a round still in the weapons chamber.
Dizzle 19 May @ 11:00pm 
Thank you! Working Good the only thing is When you have the loader equipped to your canteen slot and drag a mag into it directly from a gun The gun bugs and thinks the mag is still on And cant be reload with any mag.
jayfusion  [author] 1 Apr @ 4:17pm 
@CyberRAT Yes, check the config for energy consumption
CyberRAT 1 Apr @ 7:33am 
Is it possible to adjust the battery power consumption?
jayfusion  [author] 20 Mar @ 2:24pm 
@Jay after I update my helicopter mod I will look into updating this mod to fix and improve the scripts.
Jay 20 Mar @ 7:28am 
Hey dude, it was working fine before the dreaded 1.27 update but now we're getting crash reports and the bench no longer functions:

Function: 'ReloadMagazineRepeat5'
Stack trace:
magloaderbox/6m QLti0/ FFbsU 6 /LUkCaljB//4ozhyUfa/ZDxiQl54/SicETNUo.zTT mhA :1249
scripts/3_Game/dayzgame.c:2919
GameLabs/Scripts/3_Game/3_Hooking/вЦТй*ь.fxy:7
JM/CF/Scripts/3_Game/communityframework\game\dayzgame.c:23
VPPAdminTools/3_Game/vppadmintools\vanillaplusplus.c:211
DayZExpansion/Core/Scripts/3_Game/dayzexpansion_core\dayzgame.c:268
SCRIPT (E): NULL pointer to instance
Class: 'MagLoaderWorkbench'
Entity id:2993089