Increase loot in DayZ
Rent your own DayZ server at 4Netplayers.com
In this article we describe where you can download the required types.xml
.
We also explain how and where you can upload the edited types.xml
.
Download types.xml
You can download a types.xml
here: GitHub.
Alternatively, you can take one from your game directory.
Edit types.xml
It is best to use an editor with syntax highlighting such as Notepad++.
As an example, let's change the entry for the AK101
.
Default:
<type name="AK101"> <nominal>5</nominal> <lifetime>28800</lifetime> <restock>1800</restock> <min>2</min> <quantmin>-1</quantmin> <quantmax>-1</quantmax> <cost>100</cost> <flags count_in_cargo="1" count_in_hoarder="1" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/> <category name="weapons"/> <usage name="Military"/> <value name="Tier4"/> </type>
Edited:
<type name="AK101"> <nominal>10</nominal> <lifetime>28800</lifetime> <restock>1800</restock> <min>0</min> <quantmin>-1</quantmin> <quantmax>-1</quantmax> <cost>100</cost> <flags count_in_cargo="1" count_in_hoarder="1" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/> <category name="weapons"/> <usage name="Military"/> <value name="Tier4"/> </type>
This change means there are up to 2 times as many AK101
in the world as before.
An explanation of each setting:
Setting | Description |
---|---|
type | Determines which item is spawned, e.g. <type name="Rice"> would spawn rice
|
nominal | Determines the maximum number of an item, e.g. <nominal>7</nominal> spawns 7
|
lifetime | Time in seconds before an item is despawned if it has not been touched before. |
restock | Time in seconds until an item of the specified type is spawned. If the value is 0, all items are spawned at once. |
min | If the number of items in the world falls below this value, new items are spawned. |
quantmin | Min % of the quantity e.g. for ammunition |
quantmax | Max % of the quantity e.g. ammunition |
cost | Priority for CE, the higher the value the higher the priority |
flags | Example: <flags count_in_cargo="1" count_in_hoarder="1" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/> count_in_cargo="1" Loot is counted in vehicles, backpack and cocount_in_hoarder="1" Loot is counted in containers, Loot is counted in containers, barrels and binscount_in_map="1" Loot is counted on the mapcount_in_player="1" Loot on the player is countedcrafted="1" If the item was crafteddeloot="1" If the item is static, e.g. can only be sprouted at predefined locations, it is counted on the player. For example, it can only spawn at predefined locations.
|
category | Determines the category of the item |
tag | Example <tag name="shelves" /> Determines where the item is spawned depending on the group, in this example on shelves. |
usage | Example <usage name="Military" /> Determines the group in which the item is spawned. |
value | Example <value name="Tier4" /> Determines the zone on the map in which the item is spawned. |
Upload types.xml
1. stop your server
2. connect to the Upload FTP with your FTP program.
You can find the login data in the FTP overview by clicking on FTP.
3. the edited types.xml
belongs in the db folder of the particular map.
For example:
ConfigID/mpmissions/dayzOffline.chernarusplus/db/
Or:
ConfigID/mpmissions/dayzOffline.enoch/db/
Note: The ConfigID or ConfigurationID for your server can be found on our page under Gameserver.
So, for example, if your configID was 123456 it would look like this:/123456/mpmissions/dayzOffline.enoch/db/
4. start your server
Your edited types.xml will be included and used at startup.