DayZ
TimeDestruction
Shika 8 Apr, 2020 @ 8:19am
English translation
Description:
This modification allows you to change from the side of your server 3 values ​​of the time of destruction of buildings:
1) Time of destruction of buildings outside
2) The time of destruction of buildings from the inside
3) Lock cutting time
The time can be set for a raid from all items to any specific building element of the building, or any specific item used to raid a particular building element, or for all building elements and items used for the raid!

Features:
* The modification does not have the ability to disable the possibility of sawing down the castle or the destruction of individual structural elements.
* Modification allows you to set an individual fracture time for building elements.
* Modification allows you to set an individual destruction time for objects used to destroy buildings.
* Modification allows you to set an individual destruction time for all objects, and buildings not specified separately, for each specific case and situation.
* Modification is valid only for buildings that are available in the game by default, or which can be built. Performance with other elements of buildings and buildings of modifications is possible, but not guaranteed!
* Modification is valid only for items available in the game by default. Performance with other items from the modifications is possible, but not guaranteed!

Installation:
For the game client:
1) Subscribe to the modification
2) Launch DayZ Launcher and enable the modification
3) Play on the server with this modification!

For the game server:
1) Subscribe to the modification
2) Launch DayZ Launcher and wait until the program detects a new modification
3) In the folder with the game installed from the folder '! Workshop' find and copy the modification '@TimeDestruction' to the server side
4) Enable server-side modification with the parameter '-mod = @ TimeDestruction'
5) Make sure that the 'Profile' system variable is indicated in the server startup parameters. If not marked, then you need to mark it, for example, like this: -profile = Instance
6) In the folder of the system variable 'Profile' of the server, place the configuration file you need from the folder 'ServerConfigs' (lies inside the folder '@TimeDestruction' with the modification)
7) Start the server, wait for it to fully load and turn it off. Make sure that there are no errors in the 'scripts.log' in the log blocks '[#TimeDestructionMod]' for reading the configuration.
8) In the directory directory of the system variable 'Profile' (in the example above, the Instance folder) find the file 'Config_TimeDestruction.json' and edit the time to the values ​​you need. The format for editing the configuration will be separately below!
Time is indicated in seconds! By default, the standard parsing time is set by the developers of the game.
9) Start the server and play.

Modification setup instructions:
Read the instructions for setting up the modification, examples, as well as a visual description of the modification and its settings in the ReadMe.rtf file inside the folder with the modification itself, written in two languages.

IMPORTANT!!! This modification only works with walls, combination locks and other items native to the game (available by default). Performance on items added from other modifications is not guaranteed!

Additionally:
This modification only works with walls, combination locks and other objects and buildings native to the game (available in it by default). Performance on objects and structures added from other modifications is not guaranteed!
The data generated by the default modification cannot be downloaded in a more complete form, since there are problems with the automatic generation of the json-format configuration file by the game server (game bug).

For authors of other modifications:
A special tag variable has been added to the codes of my modification, which will be determined if this modification is connected to the player. Use it in your code of your modification in case you want to make friends of your modification with this optional one! (hint: see the description and operation of the #define method in the c ++ and c # programming languages).