Trying to edit spawn points with functioning Ogla

Nitrado now has an official Discord server to bring communities, friends and other gamers together!
Join the Nitrado Community Discord now and share your experiences and knowledge with others!

Click here to go to the Discord Server!
  • 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" />

  • what will cause the Olga to spawn in with out any attachments ?

    I have both files edited

    • cfgspawnabletypes
    • events

    <event name="VehicleCivilianSedan">

    <nominal>66</nominal>

    <min>66</min>

    <max>66</max>

    <lifetime>2</lifetime>

    <restock>0</restock>

    <saferadius>1</saferadius>

    <distanceradius>1</distanceradius>

    <cleanupradius>250</cleanupradius>

    <flags deletable="0" init_random="0" remove_damaged="1"/>

    <position>fixed</position>

    <limit>mixed</limit>

    <active>1</active>

    <children>

    <child lootmax="0" lootmin="0" max="66" min="66" type="CivilianSedan"/>

    <child lootmax="0" lootmin="0" max="66" min="66" type="CivilianSedan_Black"/>

    <child lootmax="0" lootmin="0" max="66" min="66" type="CivilianSedan_Wine"/>



  • Yes - Here is my 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="WaterBottle" chance="1.00" />

    </attachments>

    <attachments chance="1.00">

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

    </attachments>

    <attachments chance="1.00">

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

    </attachments>

    <attachments chance="1.00">

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

    </attachments>

    <attachments chance="1.00">

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

    </attachments>

    <attachments chance="1.00">

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

    </attachments>

    <attachments chance="1.00">

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

    </attachments>

    <attachments chance="1.00">

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

    </attachments>

    <attachments chance="1.00">

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

    </attachments>

    <attachments chance="1.00">

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

    </attachments>

    <attachments chance="1.00">

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

    </attachments>

    <attachments chance="1.00">

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

    </attachments>

    <attachments chance="1.00">

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

  • I thought for month my green ada was buggy because there where nothing in the trunk but i sometimes realized that there was bug that prevented the trunk-content-window to open.

    By the way lifetime 2seconds is kinda low for my experience. I keep each car 44 days if it wont get ruined. your cars will despawn if you wont interact with them for 2 seconds after your first ride. no matter how long or short the ride is.