Welcome to The Forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies and more


cfgspawnabletypes


Luke Humphrey

Recommended Posts

So I've edited this specific xml file so all of my car attachments and chances are "1.00". The cars spawn but with no attachments, non functioning cars do spawn doors/hoods etc. I tried changing this value to "0.99" as well but the same thing still happens. I'm quite confused because this was working perfectly on my other server but it refuses to work even after deleting everything in my storage folder (vehicles.bin etc). Any ideas? I've changed the nominal values in the types.xml to 20 so more cars spawn but I have not adjusted the min/max values so I don't think that is causing any issues.

Here's an example of how it's configured, previous values were "1.00"

 

    </type>
    <type name="CivilianSedan">
        <attachments chance="0.99">
            <item name="CivSedanWheel" chance="0.99" />
        </attachments>
        <attachments chance="0.99">
            <item name="CivSedanWheel" chance="0.99" />
        </attachments>
        <attachments chance="0.99">
            <item name="CivSedanWheel" chance="0.99" />
        </attachments>
        <attachments chance="0.99">
            <item name="CivSedanWheel" chance="0.99" />
        </attachments>
        <attachments chance="0.99">
            <item name="CarRadiator" chance="0.99" />
        </attachments>
        <attachments chance="0.99">
            <item name="CarBattery" chance="0.99" />
        </attachments>
        <attachments chance="0.99">
            <item name="SparkPlug" chance="0.99" />
        </attachments>
        <attachments chance="0.99">
            <item name="HeadlightH7" chance="0.99" />
        </attachments>
        <attachments chance="0.99">
            <item name="HeadlightH7" chance="0.99" />
        </attachments>
        <attachments chance="0.99">
            <item name="CivSedanDoors_Driver" chance="0.99" />
        </attachments>
        <attachments chance="0.99">
            <item name="CivSedanDoors_CoDriver" chance="0.99" />
        </attachments>
        <attachments chance="0.99">
            <item name="CivSedanDoors_BackLeft" chance="0.99" />
        </attachments>
        <attachments chance="0.99">
            <item name="CivSedanDoors_BackRight" chance="0.99" />
        </attachments>
        <attachments chance="0.99">
            <item name="CivSedanHood" chance="0.99" />
        </attachments>
        <attachments chance="0.99">
            <item name="CivSedanTrunk" chance="0.99" />
        </attachments>
 

Share this post


Link to post
Share on other sites

I would recommend reading through this post -> https://rexxenexx.com/?goto=Gaming&Gaming=dayz_add_veh. While it does mainly talk about making a brand new vehicle, it should give you all the information you need to know about changing the vehicles to spawn with all parts each time!

 

From what I can tell you are on the right track, you will want the change to be 1.00. You may need to delete the vehicles.bin (this wipes all current vehicles)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...