DayZ: Other Game Info
Speeding up Night Time
Using the following serverDZ.cfg file values:
|serverTime="SystemTime";||Server Start Time - Initial ingame time of server. "SystemTime" means local time of machine. Another possibility is to set the time to some value in "YYYY/MM/DD/HH/MM" format, f.e. "2015/4/8/17/23" .|
|serverTimeAcceleration=0;||Accelerated Time (value 0-24) - This is a time multiplier for in-game time. In this case time would move 24 times faster than normal, an entire day would pass in one hour.|
|serverNightTimeAcceleration=1;||Accelerated Nigh Time - The numerical value being a multiplier (0.1-64) and also multiplied by serverTimeAcceleration value. Thus, in case it is set to 4 and serverTimeAcceleration is set to 2, night time would move 8 times faster than normal. An entire night would pass in 3 hours.|
|serverTimePersistent=0;||Persistent Time (value 0-1) - Actual server time is saved to storage, so when active, next server start will use saved time value.|
- serverNightTimeAcceleration - The numerical value being a multiplier (0.1-64) and ALS0 multiplied by the serverTimeAcceleration (0-24) value.
- So for example serverNightTimeAcceleration is set to 4 and serverTimeAcceleration is set to 2, night time would move 8 times faster than normal.
- So with serverNightTimeAcceleration = 64 then night time in game = 22.5 mins - but only if serverTimeAcceleration is set to 1 (set to 0 means the game stays the same time forever)
- serverTimeAcceleration can be 0-24 - this gives you a shortest night of 21 seconds every hour (and a game day would last 1 hour).
Changing Loot/Spawn Rates
Before editing any of the server configuration files, make sure you have made a backup copy. We can only provide you with an original/default file if you break yours.
The following is provided for information purposes only. If you choose to modify any of the files listed and your server does nor work afterwards, we are NOT RESPONSIBLE for the damage you may have caused as result of any changes.
The reliability of information is also subject to change based on changes by the game developer.
Changing AI Spawn Rates
To edit/change the loot and/or spawn rates on your server, you need to edit the types.xml file.
This file can be found in the \mpmissions\dayzOffline.chernarusplus\db\ folder.
There are two ways to edit this file:
You can use the game control panel built in file editor ( part of the File Manager ).
Once you have located the types.xml file. Click on the edit icon (pencil) to open the file.
The other option is to download the file to your local PC and use your favorite editor to edit the file, then upload it back to your server.
In the following example:
<type name="Ammo_12gaPellets"> <nominal>100</nominal> <lifetime>7200</lifetime> <restock>0</restock> <min>80</min> <quantmin>20</quantmin> <quantmax>100</quantmax> <cost>100</cost> <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/> <category name="weapons"/> <usage name="Police"/> <usage name="Farm"/> <usage name="Town"/> <usage name="Village"/> <usage name="Hunting"/> <value name="Tier1"/> <value name="Tier2"/> <value name="Tier3"/> </type>
|Name||Class Name of Item to Spawn|
|Nominal||Number of items spawned in the world at any given time. (Ideal Value) Must be more or equal to min value|
|Lifetime||Time (In Seconds) before this type of items gets deleted in the world (If no players interact with it)|
|Restock||If Value=0, Respawn item type in bulk to reach Nominal Value, If !=0, then Value=Time in seconds to respawn 1 additional item type, until Nominal Value is reached.|
|Min||Minimum number of items of this type in world, Once number falls below minimum, the Restock process begins. (must be less or equal to nominal value)|
|QuantMin||Minimum % Value for quantity (Rags #, Mag Ammo Value, Ammo Counts), Use -1 if Not Applicable. (less or equal to quantmax value) See note below|
|QuantMax||Maximum % Value for quantity (Rags #, Mag Ammo Value, Ammo Counts), Use -1 if Not Applicable. (more or equal to quantmin value) See note below|
|Cost||Priority of Item Spawning in CE queue (100 is default)|
|Flags||flags directs the spawner, in what case is must take min and nominal values in to consideration for every item counting for spawning:|
|Category Name||Useful for sorting, Internal Category|
|Tag Name (optional)||MUST be AFTER the category|
|Usage Name (optional)||Internal Category used in the mpmissions\dayzOffline.chernarusplus\cfgRandomPresets.xml file.|
|Value Name (optional)||Used to specify Central Loot Economy Spawning Locations ( More info here: Loot Locations)|
- Note: MUST BE be -1 for all normal items types OR from 0 to 100 (value in percents) for items that could have something inside (subclass inside the item),
- For example for bullets inside weapon mags, water bottle, canteen, can of soda..
- Note: you cannot set quantmin 20 quanmax -1 it will break things!!
Possible options for:
- If using any of the info in the above table, it is CASE SENSITIVE
Web Based Editors
This is one link we have found that allows you to edit your types.xml file, very easily.
Follow the instructions on the website.
We cannot provide any assistance with these sites. It is provided for information purposes only.