Loot , Start-out Gear , and General DataBase

Hello Everyone i found a solution on how to change your load from the random one to the one you would like for your server.

First of all you have to open your server_playerLogin.sqf under the dayz_server.pbo and add before
Code:
dayzPlayerLogin = [_charID,_inventory,_backpack,_survival,_isNew,dayz_versionNo,_model,_isHiveOk,_newPlayer];
The following line where _inventory will be the load out of all the new players.

Code:
if ( _isNew ) then {
    _inventory = [["Makarov","ItemMap"],["ItemSodaPepsi","FoodCanBakedBeans","ItemBandage","ItemBandage","ItemBandage","ItemPainkiller","ItemPainkiller","8Rnd_9x18_Makarov","8Rnd_9x18_Makarov"]];
};
You may change the array as you wish this one was mine :p
 

Nonov Urbizniz

OpenDayZ Rockstar!
Staff member
Confirmed it works, looking at the code though it seems like you should just be able to add to the inventor array above? but I don't know. This works, I'm going to put in in and comment it out with credits for the next release.

We obv. don't prefer custom loadouts, but we also do like server host choice.

Thanks Quimera
 
Top