How do i change the dayz overwatch 0.2.5 starting gear?

Put this at the bottom of your init.sqf:

Code:
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";
        };
    };
};
 
Open your Mission PBO....then open init.sqf....look for this around line 39:
Code:
//[] execVM "\ddopp_taserpack\scripts\init_Taser.sqf";
and comment (//) it out.

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...).
 
Open your Mission PBO....then open init.sqf....look for this around line 39:
Code:
//[] execVM "\ddopp_taserpack\scripts\init_Taser.sqf";
and comment (//) it out.

you do realize this possibly disables tazers right?

quite possibly creating a lot of errors ...
 
I have tried this but it just doesn't work I know I am doing this right. I think it maybe because I have a vilayer server, and I have tried to do the custom load out via the control panel and it still doesn't work I am totally baffled as to why this isn't working. If you guys want to be kind then I will make you a temp sub user account on my vilayer control pannel but I know I am doing this right and It will not work but it works for everyone else :(
 
Open your Mission PBO....then open init.sqf....look for this around line 39:
Code:
//[] execVM "\ddopp_taserpack\scripts\init_Taser.sqf";
and comment (//) it out.

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

I tried this as well as a couple other suggestions, still no go. Using a .ST server. Also, I created a sqf with the code above, called it a couple different ways, still didn't work. Any other suggestions or sol? Thanks.
 
Back
Top