DanucasB Posted October 26, 2013 Report Share Posted October 26, 2013 Just wondering if this would work: Intention = To make game spawn 1 of either Littlebird type, instead of 1 of each. Proposal = AllowedVehiclesList = [ [[["AH6X_DZ"],["MH6J_DZ"]],1] ]; Link to comment Share on other sites More sharing options...
DanucasB Posted October 28, 2013 Author Report Share Posted October 28, 2013 Trialed it over and over.... just doesn't work for me, sadly :( Link to comment Share on other sites More sharing options...
Torndeco Posted October 28, 2013 Report Share Posted October 28, 2013 https://github.com/vbawol/DayZ-Epoch/blob/master/SQF/dayz_server/init/server_functions.sqf#L179-L201 That is the block of code u need to alter... so it will understand the nested arrays.. _vehicle = (_index select 0) call BIS_fnc_selectRandom; _qty = 0; { _tmp_vehicle = _x; _qty = _qty + ({_x == _tmp_vehicle} count serverVehicleCounter); } forEach (_index select 0); U will also need to alter your entire dynamic vehicles entries and turn all the vehicle entries into an array.. AllowedVehiclesList = [ [["AH6X_DZ","MH6J_DZ"],1], [["AN2_DZ"],3], Note this is un-tested and most likely has some typo mistakes... Link to comment Share on other sites More sharing options...
prue420 Posted October 29, 2013 Report Share Posted October 29, 2013 Can anyone confirms if this works i want to remove all normal vehicles and replace them with military vehicles i have changed the dynamic vehicle sqf and now nothing spawns any clue whats up? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now