How long destroyed vehicles respawn?

J.Dominic

New Member
Now i run DayZ Mod 1.8.9 server. And i try to destroy some vehicle and restart server but it doesn't respawn.
 

Goose QZ

New Member
Destroyed vehicles wont respawn upon restart or in any other period of time.
Vehicles spawn "Dynamically" meaning they spawn in mainly random places around the map. Its very unlikely you will get the same vehicle to spawn in the same place it spawned previously just by destroying it
 

J.Dominic

New Member
Destroyed vehicles wont respawn upon restart or in any other period of time.
Vehicles spawn "Dynamically" meaning they spawn in mainly random places around the map. Its very unlikely you will get the same vehicle to spawn in the same place it spawned previously just by destroying it
Thank you sir :)
 

Goose QZ

New Member
While never running a vanilla server, i have ran epoch, which has an option in the init.sqf to change how many vehicles can be on the map at one time. If this is the same with vanilla, you could change this number if you want more or less vehicles to spawn
 

J.Dominic

New Member
While never running a vanilla server, i have ran epoch, which has an option in the init.sqf to change how many vehicles can be on the map at one time. If this is the same with vanilla, you could change this number if you want more or less vehicles to spawn

Thank you @Goose QZ i know about that setting because before i comeback running vanilla i use Epoch too ;)
 

clifdayz

Well-Known Member
the other things to mention is that in vanilla there is this code in pCleanup()
Code:
#remove damaged vehicles older than vehicle_spawns.CleanupTime
    DELETE FROM object_data
    WHERE CharacterID = 0
        AND Damage = 1
        AND SYSDATE() > DATE(last_updated) + INTERVAL (
            SELECT CleanupTime
            FROM vehicle_spawns
            WHERE vehicle_spawns.Classname = object_data.Classname
            LIMIT 1) MINUTE;

and in vehicle_spawns.sql CleanupTime is from 60-900 minutes so vehicles may not even be cleaned up to repsawn at restart. Personally, I remove everything after "AND Damage = 1" for my server.
 

J.Dominic

New Member
the other things to mention is that in vanilla there is this code in pCleanup()
Code:
#remove damaged vehicles older than vehicle_spawns.CleanupTime
    DELETE FROM object_data
    WHERE CharacterID = 0
        AND Damage = 1
        AND SYSDATE() > DATE(last_updated) + INTERVAL (
            SELECT CleanupTime
            FROM vehicle_spawns
            WHERE vehicle_spawns.Classname = object_data.Classname
            LIMIT 1) MINUTE;

and in vehicle_spawns.sql CleanupTime is from 60-900 minutes so vehicles may not even be cleaned up to repsawn at restart. Personally, I remove everything after "AND Damage = 1" for my server.
Thank you sir brother.
 
Top