Trying to edit spawn points with functioning Ogla

  • I was able to edit the correct XML files

    • cfgeventspawns
    • cfgplayerspawnpoints
    • cfgspawnabletypes
    • events
    • types

    The issue is when I spawn into my server, There is a Olga at spawn point but when the car spawns into location it's not in pristine condition.


    Here is the code


    <type name="CivilianSedan">

    <attachments chance="1.00">

    <item name="CivSedanWheel" chance="1.00" />

    </attachments>

    <attachments chance="1.00">

    <item name="CivSedanWheel" chance="1.00" />

    </attachments>

    <attachments chance="1.00">

    <item name="CivSedanWheel" chance="1.00" />

    </attachments>

    <attachments chance="1.00">

    <item name="CivSedanWheel" chance="1.00" />

    </attachments>

    <attachments chance="1.00">

    <item name="CarRadiator" chance="1.00" />

    </attachments>

    <attachments chance="1.00">

    <item name="CarBattery" chance="1.00" />

    </attachments>

    <attachments chance="1.00">

    <item name="SparkPlug" chance="1.00" />

    </attachments>

    <attachments chance="1.00">

    <item name="HeadlightH7" chance="1.00" />

    </attachments>

    <attachments chance="1.00">

    <item name="HeadlightH7" chance="1.00" />

    </attachments>

    <attachments chance="1.00">

    <item name="CivSedanDoors_Driver" chance="1.00" />

    </attachments>

    <attachments chance="1.00">

    <item name="CivSedanDoors_CoDriver" chance="1.00" />

    </attachments>

    <attachments chance="1.00">

    <item name="CivSedanDoors_BackLeft" chance="1.00" />

    </attachments>

    <attachments chance="1.00">

    <item name="CivSedanDoors_BackRight" chance="1.00" />

    </attachments>

    <attachments chance="1.00">

    <item name="CivSedanHood" chance="1.00" />

    </attachments>

    <attachments chance="1.00">

    <item name="CivSedanTrunk" chance="1.00" />

    </attachments>

    <attachments chance="1.00">

    <item name="CanisterGasoline" chance="1.00" />

    </attachments

  • Below the code for my Olga. For the damage you have to change the damage tag

    in example <damage min="0.00" max="0.00" /> every item below that tag will be affected.

    With this example top on the cfgspawnabletypes.xml any item will spawn pristine.


    <type name="CivilianSedan">

    <attachments chance="1">

    <item name="CivSedanWheel" chance="1" />

    </attachments>

    <attachments chance="1">

    <item name="CivSedanWheel" chance="1" />

    </attachments>

    <attachments chance="1">

    <item name="CivSedanWheel" chance="1" />

    </attachments>

    <attachments chance="1">

    <item name="CivSedanWheel" chance="1" />

    </attachments>

    <attachments chance="1">

    <item name="CarRadiator" chance="1" />

    </attachments>

    <attachments chance="1">

    <item name="CarBattery" chance="1" />

    </attachments>

    <attachments chance="1">

    <item name="SparkPlug" chance="1" />

    </attachments>

    <attachments chance="1">

    <item name="HeadlightH7" chance="1" />

    </attachments>

    <attachments chance="1">

    <item name="HeadlightH7" chance="1" />

    </attachments>

    <attachments chance="1">

    <item name="CivSedanDoors_Driver" chance="1" />

    </attachments>

    <attachments chance="1">

    <item name="CivSedanDoors_CoDriver" chance="1" />

    </attachments>

    <attachments chance="1">

    <item name="CivSedanDoors_BackLeft" chance="1" />

    </attachments>

    <attachments chance="1">

    <item name="CivSedanDoors_BackRight" chance="1" />

    </attachments>

    <attachments chance="1">

    <item name="CivSedanHood" chance="1" />

    </attachments>

    <attachments chance="1">

    <item name="CivSedanTrunk" chance="1" />

    </attachments>

    <attachments chance="1">

    <item name="CanisterGasoline" chance="1" />

    </attachments>

    <attachments chance="1">

    <item name="WaterBottle" chance="1" />

    </attachments>

    <attachments chance="1">

    <item name="WaterBottle" chance="1" />

    </attachments>

    <attachments chance="1">

    <item name="WaterBottle" chance="1" />

    </attachments>

    <attachments chance="1">

    <item name="WaterBottle" chance="1" />

    </attachments>

    <attachments chance="1">

    <item name="WaterBottle" chance="1" />

    </attachments>

    <attachments chance="1">

    <item name="WaterBottle" chance="1" />

    </attachments>

    </type>

  • Maybe your editing vehicle and spawn the other:

    cfgspawnabletypes file below for white Niva (ada) with a petrol can in the trunk (but without doors for the fastest paratrooping))):

    <type name="OffroadHatchback_White">
    <attachments chance="1.00">
    <item name="HatchbackWheel" chance="1.00" />
    </attachments>
    <attachments chance="1.00">
    <item name="HatchbackWheel" chance="1.00" />
    </attachments>
    <attachments chance="1.00">
    <item name="HatchbackWheel" chance="1.00" />
    </attachments>
    <attachments chance="1.00">
    <item name="HatchbackWheel" chance="1.00" />
    </attachments>
    <attachments chance="1.00">
    <item name="HatchbackWheel" chance="1.00" />
    </attachments>
    <attachments chance="1.00">
    <item name="CarRadiator" chance="1.00" />
    </attachments>
    <attachments chance="1.00">
    <item name="CarBattery" chance="1.00" />
    </attachments>
    <attachments chance="1.00">
    <item name="SparkPlug" chance="1.00" />
    </attachments>
    <attachments chance="1.00">
    <item name="HeadlightH7" chance="0.40" />
    </attachments>
    <attachments chance="1.00">
    <item name="HeadlightH7" chance="0.40" />
    </attachments>
    <attachments chance="1.00">
    <item name="HatchbackDoors_Driver_White" chance="0.30" />
    </attachments>
    <attachments chance="1.00">
    <item name="HatchbackDoors_CoDriver_White" chance="0.30" />
    </attachments>
    <attachments chance="1.00">
    <item name="HatchbackHood_White" chance="1" />
    </attachments>
    <attachments chance="1.00">
    <item name="HatchbackTrunk_White" chance="1" />
    </attachments>
    <cargo chance="1">
    <item name="CanisterGasoline" />
    </cargo>
    </type>

    As you can see 1.00 equals 1 in syntax. Ofcourse you should adjust event to spawn this type (white). For other vehicles you should do the same. (it approx 12 types of cars in the OEM server)

  • hi 1 is okay for 1.0 tested it a while ago as I read it somewhere. I wanted to reduce signs for keeping filesize == RAM down.

    I guess you have to wait till all old cars on the map despawned. you could set lifetime to 3 for all cars and restart the server. after an hour change back to your value and restart.

    Mentioned this more detailed a few times in other posts.


    Think about spawning base buildiung materials or sets of weapons and clothes in cars. I had a while ago all olgas filed with different sets of materials, adas with different set of personal gear for me and my friends.

  • Were you trying to set just the Olga to prestine? if not and you want everything prestine make sure the top of cfgSpawnableTypes has the header like so:

    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>


    <spawnabletypes>

    <damage min="0.1" max="0.2" />