gasilfast.blogg.se

Dayz standalone sedan
Dayz standalone sedan





dayz standalone sedan

I haven't verified yet but for your custom locations you can set it to "0" and the value works fine. Two things to note, the Y coordinate has the attribute name "z", and the "a" attribute I believe is not altitude but azimuth, or the rotation since no value is greater than 360. The name of the event will be the same event name you gave in events.xml, which in my example I named ""VehicleCrSKBMW525iE34". Same technique here where we grab a similar event and paste it after the last event and before the closing tag. Gather your list of X, Y coordinates and we're ready to add them.īrowse to the folder "mpmissions\dayzOffline.enoch", assuming you are using Livonia, and open the file "cfgeventspawns.xml" in your editor.

dayz standalone sedan

You'll notice the 0, 0 coordinates for each map are on the bottom left of the map. Go to the Map tab, put your mouse over a location and the admin tool will give you its X and Y coordinates. To set your own custom spawn locations for your car, you'll need an administration mod like ZomBerry Admin Tools or VPPAdminTools to be installed, which has functions to locate your coordinates on the game map. Or we can go and scout new locations for our car making your server highly unique. We can simply take coordinate locations from existing events such as the VehicleCivilianSedan, and move them into our event for our car, this would help keep the ratio of functioning cars on your server the same. It may not be as difficult as you expect. All other items like clothes and guns will spawn depending on their location you set in types.xml and you do not need to do anything in this step. So more complex items like cars need to know where to spawn, and those locations are set in this file. Yes we have to manually set spawn points. I could add the beater variant as a fourth child and that's perfectly fine, but in another tutorial I'll go over creating BMW crash sites players can grab doors and wheels from which will have different spawn numbers and spawn points. So we have three child nodes for the grey, black, and red variant. Here I've named the copied event "VehicleCrSKBMW525iE34", and what we're looking for is having one child node per variant. This will take some trial-and-error on your part. Should it be harder for a user to build a car or should it be pretty easy to drive away once you spot a car.

dayz standalone sedan

What value you choose is up to your playstyle. Next go through and edit the chance values from 0.00 to 1.00, with 0 being never spawning as an attachment and 1 being always spawn as an attachment. I'm going to copy the type node for "CivSedanWheel" for each of the wheel variants, and then "CivSedanWheel_Ruined" for the shtamp wheel variants, and paste them below our "BMWE34_dver_1_1" type node. Next we copy these nodes above for our red, black, and beater variants of the BMW, just add "_red", "_black", and "_beater" to the end of each class. Note: In Livonia, "vehiclesparts" category items do not spawn for some reason, so I changed the category name to "tools" and it worked. Your file would look like this with "." representing the already existing content of the file. Since the BMW is a sedan, we can find the already existing "CivilianSedan" node, then copy the nodes for the doors, hood, trunk, and wheels, and paste them after the last type node and before the closing tag, and replace the CivilianSedan parts with our BMW parts. But don't worry we can just find a similar item, copy that XML, and replace the name attribute of the type node with our class name. However if your mod has no types.xml to import, like the BMW mod, then you'll need to create these nodes yourself.







Dayz standalone sedan