Merging types.xml - FelixForesight2020/BaseBuildingPlus GitHub Wiki
Your types.xml is a file on your DayZ server that defines all the loot and AI spawns in the map.
If you have any issues with items despawning or loot and/or zombies not spawning in the world, you most likely have an error somewhere in your types.xml file.
Your types.xml file is located in your mission folder:
Your DayZ server/mpmissions/dayzOffline.chernarusplus/db/types.xml
Your DayZ server/mpmissions/dayzOffline.enoch/db/types.xml
- Open the example types.xml file located inside the mod (@BaseBuildingPlus/info) and copy all the contents.
- Open your types.xml located in your mission folder.
- Scroll to the end of the file and paste the contents just before the final line.
>>PASTE HERE<<
</types>
- Replacing your types.xml with a mod example types.xml instead of merging the contents.
- Always merge new types.xml entries, don't replace the whole file with an example from a mod.
- Forgeting to copy new entries to your types.xml after a mod update.
- Check that you have the all the latest items after a mod update.
- Overwriting your types.xml changes when DayZ updates.
- Always make a backup. It's easy to accidently overwrite your changes when updating the server.
- Adding extra
<types>
and/or</types>
tags.
- Sometimes mods include these tags in their example types.xml files. You should only have one opening
<types>
tag at the start of the file and one closing</types>
tag at the end of the file. Adding any extra will break the file.
- Typos.
- Be very careful when editing values in your types.xml file! One small typo like an extra space or a missing bracket can break the file and it can be a nightmare trying to find that error. You can use an XML validator like the one linked below to help find any errors or use the customizer to edit your files.
XML Validator is easy to use XML Validate tool. Copy, Paste, and Validate. Thanks to Crocodoc.
https://codebeautify.org/xmlvalidator
Thanks to The Helper Wannabe.