gummybear_qc 1 Posted October 5, 2013 So yeah the Vehicle respawn module is malfunctionning (vehicle don't respawn at the same spot) and Tophe's vehicle respawn script is still down :S So any solutions? Share this post Link to post Share on other sites
Gunter Severloh 4056 Posted October 5, 2013 Use the Arma2Co version? http://www.armaholic.com/page.php?id=6080&highlight=SIMPLE+VEHICLE+RESPAWN+SCRIPT Share this post Link to post Share on other sites
walshy690 10 Posted October 6, 2013 just to jump in on this one where/how would I put this information on an existing watesland mod? I'm new so be gentle please Also ids there a console command to delete all the vehicles and make them respawn like they did at the begining of the mission or in my case straight after a server restart. Any help is appreciated. Share this post Link to post Share on other sites
Gunter Severloh 4056 Posted October 6, 2013 Hi, Are you asking about the script i linked in my previous post? Wasteland is a mission, not a mod, big difference. As far as console command, idk but whatever vehicles are placed in the editor wll be there when the mission starts. As for using the script I linked, put the script in the mission folder itself, then pbo it, but you will need to look at the mission in the editor, and put this code in the init line of each vehicle you want to respawn. veh = [this] execVM "vehicle.sqf" Share this post Link to post Share on other sites
walshy690 10 Posted October 6, 2013 Hmm that may be pretty difficult as the I have about 300 maroers on the map saying Spawn_1 etc and the vehicles that spawn on them are random and these spawn points are used for the objects as well (vehicles use odd numbers objects use even numbers). I believe the mission has a script in it but it seems to stop working as towards the end of the 6 hour cycle vehicles are difficult to come across. So currently I'm at a bit of a loss lol Walshy Share this post Link to post Share on other sites
na_palm 19 Posted October 6, 2013 Hi walshy690, the script Günter Severloh mentions in his post is most likely already in use in your wasteland mission. Look in server\spawning\vehicleCreation.sqf line ~34 (may change as you could have another base as i have) [_car, 1800, 3600, 0, false, _markerPos] execVM "server\functions\vehicle.sqf"; this line is the script call in question. If your 2nd or 3rd parameter, in my example the 1800 and 3600, is 0 change it to this values or another that seems fit for you. These two control respawn and deserted timer and are given in seconds. Share this post Link to post Share on other sites
walshy690 10 Posted October 6, 2013 out of curiosity what does the first numer mean? I have now set mine to this: [_car, 1800, 300, 300, false, _markerPos] execVM "server\functions\vehicle.sqf"; so the vehicles should respawn after 5 minutes of being destroyed or deserted? Share this post Link to post Share on other sites
nimrod_z 8 Posted October 6, 2013 here's the breakdown of the params. veh = [vehicle, respawn Delay, Deserted timer, # of Respawns, explosion Effect, Static] execVM "vehicle.sqf" static is if you want the vehicle to respawn back where it was originaly placed. - should be true or false. false will make it respawn where it was destroyed. looks like the script you r using may be modified a little. with the "static" setting to a marker position. Share this post Link to post Share on other sites