EinfachRobin_ 2 Posted November 10, 2018 Hello, is it possible to let cars spawn ready to drive? Is there a setting for it or something I can do that all spawned cars on my server are ready to drive straight away? Thanks Robin Share this post Link to post Share on other sites
mrwolv 46 Posted November 11, 2018 7 hours ago, EinfachRobin_ said: Hello, is it possible to let cars spawn ready to drive? Is there a setting for it or something I can do that all spawned cars on my server are ready to drive straight away? Thanks Robin yes there is a way but they need to be refueled here is some edited code to do this place in your cfgspawnable types <type name="OffroadHatchback"> <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="HeadlightH7" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HeadlightH7" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HatchbackDoors_Driver" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HatchbackDoors_CoDriver" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HatchbackHood" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HatchbackTrunk" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="SparkPlug" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="EngineBelt" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="CanisterGasoline" chance="1.00" /> </attachments> </type> <type name="V3S_Chassis"> <attachments chance="1.00"> <item name="V3SWheel" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="V3SWheel" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="V3SWheel" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="V3SWheel" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="V3SWheelDouble" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="V3SWheelDouble" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="V3SWheelDouble" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="V3SWheelDouble" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="TruckBattery" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="HeadlightH7" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="V3SHood_Blue" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="V3SDoors_Driver" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="V3SDoors_CoDriver" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="CanisterGasoline" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="TruckExhaust" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="TruckRadiator" chance="1.00" /> </attachments> <attachments chance="1.00"> <item name="WindscreenBox" chance="1.00" /> </attachments> </type> 2 Share this post Link to post Share on other sites
EinfachRobin_ 2 Posted November 11, 2018 How do I replace already spawned cars or spawn new cars? Is this possible somehow? Share this post Link to post Share on other sites
mrwolv 46 Posted November 11, 2018 3 hours ago, EinfachRobin_ said: How do I replace already spawned cars or spawn new cars? Is this possible somehow? either leave them to despawn on there own or delete your storage folders Share this post Link to post Share on other sites
Fester808 11 Posted November 11, 2018 31 minutes ago, mrwolv said: either leave them to despawn on there own or delete your storage folders Do not delete your entire storage folder unless you want a server wipe. That will delete your entire database (players and their gear, economy, tents, bases etc.) If you are having issues with vehicles you can remove all vehicles from your database by going to /mpmissions/dayzOffline.chernarusplus/storage_66435/data then deleting the vehicles.bin then upon restart the server will look to spawn vehicles with the amendments you have made - as long as you added the code corectly. Share this post Link to post Share on other sites
mrwolv 46 Posted November 11, 2018 im 80% sure vehicles.bin also covers tents barrels and barrels tho Share this post Link to post Share on other sites
Fester808 11 Posted November 11, 2018 (edited) 9 hours ago, mrwolv said: im 80% sure vehicles.bin also covers tents barrels and barrels tho I would avoid an entire server wipe at all costs unless you have no player base or a huge issue. A player loosing a tent is not as bad as losing everything. Could change the despawn rate to 1 second. Then with the amendments after 5 seconds all vehicles will be despawned and respawned repaired. Then obviously change the despawn rate back to original value. Edited November 12, 2018 by Fester808 1 Share this post Link to post Share on other sites
MacAgony 1 Posted November 12, 2018 I test this but spawns only v3s chassis with nothing on,I delete vehicles.bin and no help.Tent asnd barrels stay after delete. Share this post Link to post Share on other sites
mrwolv 46 Posted November 12, 2018 13 minutes ago, MacAgony said: I test this but spawns only v3s chassis with nothing on,I delete vehicles.bin and no help.Tent asnd barrels stay after delete. yes it only spawns v3s chassis but its a extra vehicle in game along side the offroad :) Share this post Link to post Share on other sites
MacAgony 1 Posted November 12, 2018 I chanced all values to 1.0 so it shoud be ready,but it is not.Also I dont find engine belt anywhere on files. Share this post Link to post Share on other sites