Dayz Overwatch - custom starter loadout

goes in your @hive/@bliss/@whateveryounamed it folder where your addons/dayz_server.pbo is.
 
Yeah If You Have A Host For A DayZ Server Only Like HFB or Dayz.st or Survival Servers they wont allow you to upload a .dll so I Got A Dedicated box so that i would have complete control over my server like cen

Kinda what I figured...thanks for the help!!!
 
I do plan on releasing this with the server files for the next update assuming i get the time to test it properly, but at end of the day going to be up the server providers if they are gone add those.
 
At the bottom of your init.sqf:

PHP:
waitUntil { !isNil ("PVDZ_plr_LoginRecord") and
!(player getVariable ["humanity",0] > 5000 and
typeOf player == "Survivor2_DZ") and
!(player getVariable ["humanity",0] < -2000 and
(typeOf player == "Survivor2_DZ" or
typeOf player == "SurvivorW2_DZ") ) and
!(player getVariable ["humanity",0] > 0 and
(typeOf player == "Bandit1_DZ" or
typeOf player == "BanditW1_DZ") ) };
//if they're a bambi
if (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];

Gracias ;)
 
At the bottom of your init.sqf:

PHP:
waitUntil { !isNil ("PVDZ_plr_LoginRecord") and
!(player getVariable ["humanity",0] > 5000 and
typeOf player == "Survivor2_DZ") and
!(player getVariable ["humanity",0] < -2000 and
(typeOf player == "Survivor2_DZ" or
typeOf player == "SurvivorW2_DZ") ) and
!(player getVariable ["humanity",0] > 0 and
(typeOf player == "Bandit1_DZ" or
typeOf player == "BanditW1_DZ") ) };
//if they're a bambi
if (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];

Does this just gets placed at the very bottom of the init file or is it replacing part of something? Can someone show where please
 
Jester J - Does this just gets placed at the very bottom of the init file or is it replacing part of something? Can someone show where please

Just as it says...
At the bottom of your init.sqf:
place it at the bottom of your init.sqf file.. if in doubt, save a copy before you add the text.
 
I tried changing that a few days ago, I shall try it again. Does that variable also need to be changed with the code that is placed in the init file?
 
Code:
waitUntil { !isNil ("dayz_animalCheck") and
!(player getVariable ["humanity",0] > 5000 and
typeOf player == "Survivor2_DZ") and
!(player getVariable ["humanity",0] < -2000 and
(typeOf player == "Survivor2_DZ" or
typeOf player == "SurvivorW2_DZ") ) and
!(player getVariable ["humanity",0] > 0 and
(typeOf player == "Bandit1_DZ" or
typeOf player == "BanditW1_DZ") ) };
//if they're a bambi
if (PVCDZ_plr_Login2 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";
};
 
I made an edit above.

You have to change the first one and second one, but they are different:

waitUntil { !isNil ("PVDZ_plr_LoginRecord") and

becomes

waitUntil { !isNil ("dayz_animalCheck") and


and

if (dayzPlayerLogin2 select 2) then

becomes

if (PVCDZ_plr_Login2 select 2) then
 
Back
Top