Loot , Start-out Gear , and General DataBase

Discussion in 'Sahrani' started by Manie Booyse, Jun 4, 2013.

  1. Quimera

    Quimera New Member

    Joined:
    Oct 1, 2013
    Messages:
    17
    Likes Received:
    2
    Any news on the loadouts ?
     
  2. Quimera

    Quimera New Member

    Joined:
    Oct 1, 2013
    Messages:
    17
    Likes Received:
    2
    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 likes this.
  3. Nonov Urbizniz

    Nonov Urbizniz OpenDayZ Rockstar! Staff Member

    Joined:
    Jan 20, 2013
    Messages:
    798
    Likes Received:
    166
    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
     

Share This Page