Jump to content
DAYZ-CODE.RU - Создай свой игровой сервер

[How to] Split types.xml to each mod without breaking it


Recommended Posts

Hi all, I'm fairly new to this and learning new things daily as I build my own small servers.

After all the tutorials studied, I also wanted to contribute something here.
If more experienced modders / server owners find a mistake, please let me know so I can update the tutorial and still learn myself!


I have learned a new way to edit the types.xml without damaging it or having it overwritten by an update.

The whole thing works like this.


1. Step

At the beginning we leave the types.xml from the folder below remains as is.

Please Log in or Register to see this: Code

2. Step
now we create a folder for example "CustomTypes" where our types.xml will be placed

Please Log in or Register to see this: Code

3. Step
In our example, I'll take two mods (CodeLock and BaseBuildingPlus), so we go on and create a folder for each of the Mods where we put later the types.xml and the cfgspawnabletypes if the mod has one.

Please Log in or Register to see this: Code

4. Step

Now we go to the folder "mpmissions/dayzOffline.xxxxx/" and make a backup of the file cfgeconomycore.xml !!! VERY IMPORTANT !!!
Then we open this file to edit it. Here we will enter the single paths of our splitted types.xml.

Please Log in or Register to see this: Code

As you can see above, this is a part of cfgeconomycore.xml. Important for us now is the line after </defaults>
here we will insert the paths of the individual types.xml of our installed mods. In our example, I'll take two mods to list this below. (CodeLock & BaseBuildingPlus in this case)

So we gonna add these lines to the above xml

5. Step

Please Log in or Register to see this: Code

So you put the path where your types and your spawnabletypes is locked, and on the next line you put the name of your types.xml and at least what type this file is (types or spawnabletypes)

Please Log in or Register to see this: Code


6. Step

Test if your changes work correctly with an Admin Tool Ingame, if specific Items of an xml is spawning correctly!

Below you will find an example of cfgeconomycore.xml.

I hope this little tutorial will help you, bring some structure and at the same time security for your types.xml.

If you have further questions, let me know. I am looking forward to your feedback


Virus Total - Result

Please Log in or Register to see this: Attachment

Edited by StGrigo
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...