thespecops
Member
How do i change the dayz overwatch 0.2.5 starting gear?
I am running a vilayer server if that helps
I am running a vilayer server if that helps
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.
if (!isDedicated) then {
[] spawn {
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 (dayzPlayerLogin2 select 2) then
{
//customized starting loadout
//remove weapons
player removeWeapon "DDOPP_X26";
player removeMagazines "DDOPP_1Rnd_X26";
//add weapons
player addWeapon "glock17_EP1";
player addMagazine "17Rnd_9x19_glock17";
player addMagazine "17Rnd_9x19_glock17";
//tools
player addWeapon "ItemCompass";
player addWeapon "ItemToolbox";
//backpack
removeBackpack player;
player addBackpack "DZ_Patrol_Pack_EP1";
};
};
};
//[] execVM "\ddopp_taserpack\scripts\init_Taser.sqf";
//Custom New Spawn Loadouts Start//
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 "RH_M9SD";
player addMagazine "15Rnd_9x19_M9SD";
player addMagazine "15Rnd_9x19_M9SD";
player addMagazine "15Rnd_9x19_M9SD";
//tools
player addWeapon "ItemCompass";
player addWeapon "ItemMatchbox";
player addWeapon "ItemKnife";
//backpack
removeBackpack player;
player addBackpack "DZ_Patrol_Pack_EP1";
};
//Custom New Spawn Loadout End//
Open your Mission PBO....then open init.sqf....look for this around line 39:
and comment (//) it out.Code://[] execVM "\ddopp_taserpack\scripts\init_Taser.sqf";
Open your Mission PBO....then open init.sqf....look for this around line 39:
and comment (//) it out.Code://[] execVM "\ddopp_taserpack\scripts\init_Taser.sqf";
Then add this (this is my custom one, edit as you see fit) to the very bottom of your init.sqf:
Code://Custom New Spawn Loadouts Start// 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 "RH_M9SD"; player addMagazine "15Rnd_9x19_M9SD"; player addMagazine "15Rnd_9x19_M9SD"; player addMagazine "15Rnd_9x19_M9SD"; //tools player addWeapon "ItemCompass"; player addWeapon "ItemMatchbox"; player addWeapon "ItemKnife"; //backpack removeBackpack player; player addBackpack "DZ_Patrol_Pack_EP1"; }; //Custom New Spawn Loadout End//
Now you are good to go. FYI, this is my custom starting loadout. Edit your own or use this one.
And thanks to Player2 for the original code (I think...).