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.
cutText ["You feel the knife slice your finger.", "PLAIN DOWN"];
Code:Lower down the file find [code] player removeAction s_player_flipveh;
and Add
Code://Gut Human player removeAction s_player_butcher_human; s_player_butcher_human = -1;
//flip vehicle
if ((_isVehicletype) and !_canmove and _isAlive and (player distance cursorTarget >= 2) and (count (crew cursorTarget))== 0 and ((vectorUp cursorTarget) select 2) < 0.5) then {
if (s_player_flipveh < 0) then {
s_player_flipveh = player addAction [format[localize "str_actions_flipveh",_text], "\z\addons\dayz_code\actions\player_flipvehicle.sqf",cursorTarget, 1, true, true, "", ""];
};
} else {
player removeAction s_player_flipveh;
//Gut Human
player removeAction s_player_butcher_human;
s_player_butcher_human = -1;
s_player_flipveh = -1;
};
That text happens as soon as your select the menu option.
Only on infection I believe.
That still doesn't make any sense. Why is the knife slicing 'your finger'?
you can change it for "This doesn't make sense!!!"
Its the same code dayz 2017 has if you dont like it change it.
Lower down the file find
Code:player removeAction s_player_flipveh;
and Add
Code://Gut Human player removeAction s_player_butcher_human; s_player_butcher_human = -1;
//flip vehicle
if ((_isVehicletype) and !_canmove and _isAlive and (player distance cursorTarget >= 2) and (count (crew cursorTarget))== 0 and ((vectorUp cursorTarget) select 2) < 0.5) then {
if (s_player_flipveh < 0) then {
s_player_flipveh = player addAction [format[localize "str_actions_flipveh",_text], "\z\addons\dayz_code\actions\player_flipvehicle.sqf",cursorTarget, 1, true, true, "", ""];
};
} else {
player removeAction s_player_flipveh;
//Gut Human
player removeAction s_player_butcher_human;
s_player_butcher_human = -1;
s_player_flipveh = -1;
};
Inside the variables.sqf file at the end you need to add the following code:
after dayzState = -1; add this:
Code:s_player_butcher_human = -1;
This confused me, maybe im just dumb, but am i adding both of those lines to the end of variables.sqf, or just the one marked as a code?, and if so what that other bit of code?
_isGutted = _body getVariable["meatHarvested",false];
if (_isGutted) then {
_newUnit setVariable["meatHarvested",true,true];
};
if( _model in ["Sniper1_DZ","Camo1_DZ"] ) then { _model = "Skin_" + _model;
_rnd = random 1;
if (_rnd > 0.6) then {
_result = [player,_model] call BIS_fnc_invAdd;
}
else {
_model = "Skin_Survivor2_DZ";
_result = [player,_model] call BIS_fnc_invAdd;
cutText ["The clothing tears as you try to remove it from the corpse", "PLAIN DOWN"];
};