MikeCandys
Well-Known Member
How to change the default vanilla starter pack to a custom start gear with for example a map.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
_config = (configFile >> "CfgSurvival" >> "Inventory" >> "Default");
_mags = getArray (_config >> "magazines");
_wpns = getArray (_config >> "weapons");
_bcpk = getText (_config >> "backpack");
Not sure if this is the best way but i changed it like this:the easiest place to change it for everyone is server_playerLogin.sqf in the server files.
look for these lines
Code:_config = (configFile >> "CfgSurvival" >> "Inventory" >> "Default"); _mags = getArray (_config >> "magazines"); _wpns = getArray (_config >> "weapons"); _bcpk = getText (_config >> "backpack");
if (isNil "sm_done") exitWith { diag_log ("Login cancelled, server is not ready. " + str(_playerObj)); };
_inventory = [["ItemMap","ItemToolbox","MakarovSD_DZN"],["ItemPainkiller","ItemBandage","ItemBandage","ItemMorphine","ItemAntibiotic","ItemHeatPack","ItemHeatPack","ItemHeatPack","8Rnd_9x18_Makarov","8Rnd_9x18_Makarov","8Rnd_9x18_Makarov"]];
_backpack = ["DZ_Czech_Vest_Puch",[[],[]],[[],[]]];
_survival = [0,0,0];
_model = "";