THEGENERAL
Member
I only changed the first part last time, that will be why it didn't work then. Did you get custom loadout's working through the database?
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.
Yea they work fine if you use the hiveext.dll from 1.7.7
Open your Mission PBO....then open init.sqf....look for this around line 39:and also on our dayz.st server with overwatch 0.2.5 we dont start with taser; all we get are flares and a bandage
i actually told you this in another post already ... this will disable tazers!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.
waitUntil { !isNil ("dayz_animalCheck") and
Honestly, I told you, it didn't disable tasers! This prevents the taser default loadout. I can still use Tasers on my Overwatch server!i actually told you this in another post already ... this will disable tazers!
idk why you want everyone to disable this, when you have no idea what it actually does?
it has nothing to do with loadouts ...
does this even work?
dayz_animalCheck should be either dayz_Totalzedscheck or imo earlier ... personally i use PVDZ_plr_LoginRecord
please post this tazer init script and highlight the part of code that defines default loadout.Honestly, I told you, it didn't disable tasers! This prevents the taser default loadout. I can still use Tasers on my Overwatch server!
i belive you are describing yourself here, i guess?You are ignorant and dense aren't you?
You can argue with me till you're blue in the face but it's not going to stop the fact that I'm right and you're wrong. Get over it and quit crying. Go change your tampon, it may help...
i could care less whoever wrote the code, im just stating here that its not optimal and might even be wrong!Not to mention you're questioning Player2 from the original post as this is her code...so if you feel this wrong, take it up with her.
I'm not giving anyone wrong info. If I was, I wouldn't post. I specifically use the code I have provided. I have no issues with this. My server runs perfect. No problems. I've been using this for the past couple months...I've had no complaints.please post this tazer init script and highlight the part of code that defines default loadout.
i belive you are describing yourself here, i guess?
i could care less whoever wrote the code, im just stating here that its not optimal and might even be wrong!
now wake up and realize what you are doing chris ... its nice that you want to help ppl but giving wrong info is worse than no info imho!
// Set effects control to player
player setVariable ["isTazed", false, true];
// Add EH to player
if (DDOPP_taser_enableEH) then {
player addEventHandler ["HandleDamage",{_this call DDOPP_taser_handleHit}];
};
tbh i really dont enjoy debating with idiots, but this time i guess i kinda have to do an exception ...
you also neglected to show me the part where it sets default loadout from the tazer init script, and since i cant find it either i thought i would show you this part i stumpled uppon, just to demontrate what i mean, since you aparently have a very hard time understanding:
this is the part that adds the eventhandler and sets the base variable for when you get tazed ... if that is not in place, nothing will happend when you are tazed!PHP:// Set effects control to player player setVariable ["isTazed", false, true]; // Add EH to player if (DDOPP_taser_enableEH) then { player addEventHandler ["HandleDamage",{_this call DDOPP_taser_handleHit}]; };
you might not be using tazers and obviusly it will work fine then, but im pretty sure a lot of other overwatch server actually do use the tazers.
not to mention if someone was to pickup a tazer while looting ... pretty sure they will be very surprised to find it wont do anything when fired.
yes you are being an idiot now ... but where in my initial post was i wrong?I'm an idiot because you're wrong about the initial post?
well i do hope this is true ...It's over. End of story.
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. This will disable the default Overwatch Taser loadout.
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//
You also need to open your SERVER PBO and open open compile\server_playerSetup.sqf and look near line 239 for:
Code:
PVCDZ_plr_Login2 = [_worldspace,_state];
and replace with:
Code:
PVCDZ_plr_Login2 = [_worldspace,_state,_randomSpot];
Now you are good to go. FYI, this is my custom starting loadout. Edit your own or use this one.
And as always, thanks to Player2 for the original code.
I have tried both the DB and SQfs and both seem not to work at all. :/Okay how do I get it to loadout from the MySQL DB instead of a .sqf? this is for Dayz Overwatch I checked everywhere in the code I have no clue the DB writes the DB loadout than goes to roadflares once the player enters the world why is this?