Dayz Overwatch - custom starter loadout

cen

Valued Member!
goes in your @hive/@bliss/@whateveryounamed it folder where your addons/dayz_server.pbo is.
 

The_Doctor

New Member
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!!!
 

Scrumbee

Member
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.
 

gamejoejoe

New Member
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 ;)
 

Jester J

Member
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
 

LIMBSAVERâ„¢

New Member
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.
 

cen

Valued Member!
1.8 uses different variables:

PVCDZ_plr_Login2 = [_worldspace,_state,_randomSpot];
 

THEGENERAL

Member
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?
 

cen

Valued Member!
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";
};
 

cen

Valued Member!
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
 
Top