Default Loadout, Need Help

Deanos

New Member
I rent a server from ViLAYER, the host is amazing but i lack a simple tool to set the default loadout. I currently have Halo Spawn on but without a map it is quite hard for player to figure out where to go (including me). I have played on other Overwatch servers well one in particular with a random default loadout. How could i implement this or a plain default loadout to my server?
 
this works from (player2)

At the bottom of your init.sqf:
PHP:
waitUntil { !isNil ("PVDZ_plr_LoginRecord") and
!(
player getVariable ["humanity",0] > 5000 andtypeOf player == "Survivor2_DZ") and
!(
player getVariable ["humanity",0] < -2000 and
(
typeOf player == "Survivor2_DZ" ortypeOf player == "SurvivorW2_DZ") ) and
!(
player getVariable ["humanity",0] > 0 and
(
typeOf player == "Bandit1_DZ" ortypeOf player == "BanditW1_DZ") ) };//if they're a bambiif (dayzPlayerLogin2 select 2) then{
//customised loadout
//remove weapons
player removeWeapon "DDOPP_X26";
player removeMagazines "DDOPP_1Rnd_X26";//add weapons
player addWeapon "M9";
player addMagazine "15Rnd_9x19_M9";//tools
player addWeapon "ItemCompass";//backpack
removeBackpack player;
player addBackpack "DZ_Backpack_EP1";
};

You will also need this replacement in your 'dayz_server.pbo\server_playerSetup.sqf':
Replace: dayzPlayerLogin2 = [_worldspace,_state];
With: dayzPlayerLogin2 = [_worldspace,_state, _randomSpot];
 
Back
Top