mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 12:12:34 +03:00
1.0.1.2 Release
+ [CHANGED] commented out many diag_logs + [CHANGED] bandit status is now at -5000 instead of -2000
This commit is contained in:
@@ -42,14 +42,14 @@ if (_vehicle != player) then {
|
||||
} forEach _openVehicles;
|
||||
};
|
||||
|
||||
diag_log ("Hitpoints " +str(_wound) + "hit points " + str(_hpList));
|
||||
//diag_log ("Hitpoints " +str(_wound) + "hit points " + str(_hpList));
|
||||
|
||||
if (_wound in DZE_vehicleZwounds) then {
|
||||
|
||||
_strH = "hit_" + (_wound);
|
||||
_dam = _vehicle getVariable [_strH,0];
|
||||
|
||||
diag_log ("Hitpoints " +str(_wound) +str(_total));
|
||||
//diag_log ("Hitpoints " +str(_wound) +str(_total));
|
||||
|
||||
//["dayzHitV",[_vehicle, _wound,_total, _unit,"zombie"]] call broadcastRpcCallAll;
|
||||
if (_dam >= 1) then {
|
||||
@@ -65,7 +65,7 @@ if (_vehicle != player) then {
|
||||
_wound = (DAYZ_woundHit_ok select 0) select _index;
|
||||
};
|
||||
_damage = 0.1 + random (1.2);
|
||||
diag_log ("START DAM: Player Hit on " + _wound + " for " + str(_damage));
|
||||
//diag_log ("START DAM: Player Hit on " + _wound + " for " + str(_damage));
|
||||
[player, _wound, _damage, _unit,"zombie"] call fnc_usec_damageHandler;
|
||||
//dayzHit = [player,_wound, _damage, _unit,"zombie"];
|
||||
//publicVariable "dayzHit";
|
||||
@@ -101,13 +101,13 @@ if (_vehicle != player) then {
|
||||
};
|
||||
_damage = 0.1 + random (1.2);
|
||||
|
||||
diag_log ("START DAM: Player Hit on " + _wound + " for " + str(_damage));
|
||||
//diag_log ("START DAM: Player Hit on " + _wound + " for " + str(_damage));
|
||||
[player, _wound, _damage, _unit,"zombie"] call fnc_usec_damageHandler;
|
||||
//dayzHit = [player,_wound, _damage, _unit,"zombie"];
|
||||
//publicVariable "dayzHit";
|
||||
[_unit,"hit",2,false] call dayz_zombieSpeak;
|
||||
} else {
|
||||
diag_log ("NO LOS: Player Hit on " + str(_unit) + " for " + str(_vehicle));
|
||||
//diag_log ("NO LOS: Player Hit on " + str(_unit) + " for " + str(_vehicle));
|
||||
/*
|
||||
_isZombieInside = [_unit,_building] call fnc_isInsideBuilding;
|
||||
if (_isPlayerInside) then {
|
||||
@@ -120,16 +120,6 @@ if (_vehicle != player) then {
|
||||
};
|
||||
*/
|
||||
};
|
||||
} else {
|
||||
diag_log ("out of angle : tpos " + str(_tPos) + " zpos " + str(_zPos) + " dir" + str(getdir _unit));
|
||||
};
|
||||
} else {
|
||||
if(!((_unit distance player) <= dayz_areaAffect)) then {
|
||||
_tPos = (getPosASL _vehicle);
|
||||
_zPos = (getPosASL _unit);
|
||||
diag_log ("to far to hit player : tpos " + str(_tPos) + " zpos " + str(_zPos));
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user