mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
v02
This commit is contained in:
@@ -4,7 +4,7 @@ _item = _this select 3;
|
||||
//player removeAction s_player_callzombies;
|
||||
//s_player_callzombies = -1;
|
||||
|
||||
player playActionNow "Surrender";
|
||||
// player playActionNow "Surrender";
|
||||
|
||||
[player,"spotted",0,false] call dayz_zombieSpeak;
|
||||
|
||||
|
||||
@@ -1,7 +1,16 @@
|
||||
private["_item","_id","_regen","_isAnimal","_animalType","_isMan","_config","_isListed","_qty"];
|
||||
_item = _this select 3;
|
||||
|
||||
player playActionNow "PutDown";
|
||||
player removeAction s_player_butcher;
|
||||
|
||||
_item setDammage 1;
|
||||
|
||||
// wait until dead
|
||||
waitUntil {not alive _item};
|
||||
|
||||
s_player_butcher = -1;
|
||||
|
||||
// player playActionNow "PutDown";
|
||||
_id = [player,50,true,(getPosATL player)] spawn player_alertZombies;
|
||||
|
||||
[player,"gut",0,false] call dayz_zombieSpeak;
|
||||
|
||||
@@ -48,7 +48,8 @@ if(_isPZombie) then {
|
||||
//hint str(_state);
|
||||
if (s_player_callzombies < 0) then {
|
||||
s_player_callzombies = player addAction ["Call Zombies", "\z\addons\dayz_code\actions\call_zombies.sqf",player, 5, true, false, "",""];
|
||||
// s_player_callzombies1 = player addAction ["Zombie Vison", "\z\addons\dayz_code\actions\vison_zombie.sqf",player, 4, true, false, "",""];
|
||||
//s_player_callzombies1 = player addAction ["Zombie Vison", "\z\addons\dayz_code\actions\vison_zombie.sqf",player, 4, true, false, "",""];
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
@@ -139,7 +140,7 @@ if (!isNull cursorTarget and !_inVehicle and (player distance cursorTarget < 4))
|
||||
|
||||
if(_isPZombie) then {
|
||||
// Pzombie Gut human corpse or animal
|
||||
if (!alive cursorTarget and (_isAnimal or _isMan) and !_isHarvested and _canDo) then {
|
||||
if ((_isAnimal or _isMan) and !_isHarvested and _canDo) then {
|
||||
if (s_player_butcher < 0) then {
|
||||
s_player_butcher = player addAction ["Feed", "\z\addons\dayz_code\actions\pzombie\pz_feed.sqf",cursorTarget, 3, true, false, "",""];
|
||||
};
|
||||
|
||||
@@ -7,6 +7,9 @@ _scaleMvmt = 0.2; //0.4;
|
||||
_scaleLight = 0.5;
|
||||
_scaleAlert = 1;
|
||||
|
||||
_isPZombie = player isKindOf "PZombie_VB";
|
||||
if(_isPZombie) exitWith {};
|
||||
|
||||
//Assess Players Position
|
||||
_anim = animationState player;
|
||||
_anim4 = toArray _anim;
|
||||
@@ -123,4 +126,6 @@ _audial = round(_speed * dayz_surfaceNoise * _scaleMvmt * _scaleSound);
|
||||
if ((_audial > DAYZ_disAudial) or ((time - dayz_firedCooldown) > 0.3)) then {
|
||||
DAYZ_disAudial = _audial;
|
||||
};
|
||||
DAYZ_disVisual = (round((_initial + (_speed * 3)) * _scalePose * _scaleLight)) * 1.5;
|
||||
|
||||
|
||||
DAYZ_disVisual = (round((_initial + (_speed * 3)) * _scalePose * _scaleLight)) * 1.5;
|
||||
|
||||
@@ -17,7 +17,7 @@ _targets = _lead nearTargets _range;
|
||||
private["_obj","_dis"];
|
||||
_obj = _x select 4;
|
||||
_dis = _obj distance _lead;
|
||||
if (_obj isKindOf "Man" and !(_obj isKindOf "PZombie_VB")) then {
|
||||
if (_obj isKindOf "Man") then {
|
||||
if (!(_obj isKindOf "zZombie_Base") and !(_obj in _targetMen)) then {
|
||||
//process man targets
|
||||
_targetMen set [count _targetMen,_obj];
|
||||
|
||||
Reference in New Issue
Block a user