DayZ
46 ratings
Destructible Boxes and Barrels
2
2
3
2
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
File Size
Posted
Updated
44.961 MB
11 Dec, 2024 @ 3:32pm
12 Dec, 2024 @ 3:19am
7 Change Notes ( view )

Subscribe to download
Destructible Boxes and Barrels

Description
Add Destructible Objects

This mod introduces destructible environmental objects to DayZ, adding a touch of variety to the gameplay:

Loot Boxes: Breakable boxes that contain items upon destruction.

Explosive Barrels: Barrels that detonate when destroyed.

Installation
Upon subscribing and starting the server for the first time a new folder should appear in your profiles folder called DBB. The json file inside handles the loot inside the boxes, that is the chance of loot appearing and the lootpool. Currently there is no way of extending the configuration for more boxes with different names.

{ "enabledebug": 0, - "Boxes": [ { "name": "DBB_WoodenBox", - Denotes the name of the box, the configuration will apply to "chance": 100.0, - float chance from 0 to 100 of loot spawning upon breaking "items": [ - loot pool will choose and item to randomly spawn from "BandageDressing", "GlassBottle", "SewingKit" ] }, { "name": "DBB_MetalBox", "chance": 50.0, "items": [ "AmmoBox_556x45_20Rnd", "AmmoBox_762x39_20Rnd", "AmmoBox_00buck_10rnd", "AmmoBox_545x39_20Rnd" ] } ] }

Usage
Once you succesfully install and configure the mod, you can get these boxes to actually appear!

Depending on how you want to spawn them, there are two main ways I would recommend to do that and those are:

- Vanilla/3rd party object spawner
- Central economy integration

Object spawner

DayZ servers are by default able to spawn objects on every restart using Object Spawner[community.bistudio.com]. This feature is not turned on by default, but server owners can fully leverage it to spawn what they wish. Since I don't want to parrot what is already said, I recommend clicking on the link[http//Object+Spawner]. This feature will allow you to predetermine exact coordinates where boxes and barrels from this mod can spawn. This functionality can remind you of DayZ Editor mod, which function similarly.

If you decide to go with this approach, make sure to put the classnames of the spawned objects into mpmissions/yourmission/cfgignorelist.xml, unless you want them to stack into each other on every restart. A sample file that is gameready is for the grabs in mod folder.

Central economy integration

If you are looking for more experimental and more "dynamic" approach to spawning boxes and barrels, you can try introducing these objects to central economy. They will spawn with other DayZ items as ground loot, so you can find them where you would normally find regular items depending on your exact settings. This can be handled in mpmissions/yourmission/db/types.xml file. A sample file is provided in the mod folder. You can add the contents of that file into your types.xml or create new types file.

If you use this approach, you cannot have the classnames of boxes and barrels in cfgignore.xml, otherwise the Central Economy will ignore them.

License
This is a mod using assets from S.T.A.L.K.E.R. games.
This is a derivative work from the S.T.A.L.K.E.R. games developed and owned by GSC Game World.
This has no affiliation with GSC and it is fan-made.
This is not an official product of GSC Game World.
I recommend buying their games on Steam, GOG SoC [www.gog.com], GOG CS[www.gog.com], GOG CoP[www.gog.com], PS Store[store.playstation.com], Xbox Store [www.xbox.com],

Old link to license[gsc-game.com]

This mod was originally created for The Renegade STALKER RP/PVP server. [https://steamproxy.com/sharedfiles/filedetails/?id=2548092603]

Monetization
As long as you follow and obtained https://www.bohemia.net/monetization, you are free to use it on your monetized server. it is not allowed to hide contents of this mod behind monetization.

Repack
You are NOT allowed to repack any part of this mod, unless given my explicit consent.
14 Comments
lappaduch  [author] 12 Jan @ 5:52am 
@Host Leaver

Thanks for feedback, I think that can be arranged. I am not sure when, but next update might contain it
Host Leaver 31 Dec, 2024 @ 6:45am 
This is really cool, thanks! Can you add the option to make the items destructible only with explosives?
lappaduch  [author] 27 Dec, 2024 @ 3:57am 
@Hightech
Can you elaborate what doesn't work?
Hightech 25 Dec, 2024 @ 6:36am 
this is not work....
Shaggoth (Ищезаяц) 14 Dec, 2024 @ 12:36pm 
Sajid YES
Саджид_Альфа 13 Dec, 2024 @ 12:24pm 
@Hightech Free mod. Repack NO!
Hightech 13 Dec, 2024 @ 12:12pm 
this is free mod?
Shaggoth (Ищезаяц) 13 Dec, 2024 @ 11:38am 
lets repack Black Zone RP
Саджид_Альфа 13 Dec, 2024 @ 11:21am 
@KrAsAv4iK
Repack
You are NOT allowed to repack any part of this mod, unless given my explicit consent.


I can't write it in a bigger font anymore.
Hunterz 13 Dec, 2024 @ 11:21am 
cool, but make models of exploded barrels too