How long destroyed vehicles respawn?

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
 
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 :)
 
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
 
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 ;)
 
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.
 
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.
 
Back
Top