mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-22 20:12:20 +03:00
commented out more diag_logs
This commit is contained in:
@@ -77,9 +77,11 @@ if (_damage > 0.4) then {
|
||||
if (_unitIsPlayer) then {
|
||||
//Cause blood loss
|
||||
//Log Damage
|
||||
/*
|
||||
if (DZE_Debug_Damage) then {
|
||||
diag_log ("DAMAGE: player hit by " + typeOf _source + " in " + _hit + " with " + _ammo + " for " + str(_damage) + " scaled " + str(_damage * _scale));
|
||||
};
|
||||
*/
|
||||
r_player_blood = r_player_blood - (_damage * _scale);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -6,7 +6,7 @@ if ("ItemMap_Debug" in items player) then {
|
||||
_maptype = ["NameCityCapital","NameCity","NameVillage","NameLocal"];
|
||||
_config = configFile >> "CfgWorlds" >> worldName >> "Names";
|
||||
|
||||
for "_i" from 0 to (count _config -1) do {
|
||||
for "_i" from 0 to (count _config -1) do {
|
||||
|
||||
_class = _config select _i; //Returns a conif
|
||||
_name = getText (_class >> "name");
|
||||
|
||||
@@ -34,7 +34,7 @@ while {(alive _projectile) && !(isNull _projectile) && _callCount < 85;} do {
|
||||
_isInCombat = _nearVehicle getVariable["startcombattimer",0];
|
||||
if ((alive _nearVehicle) && _isInCombat == 0) then {
|
||||
_nearVehicle setVariable["startcombattimer", 1];
|
||||
diag_log("Now in Combat (Player): " + name _unit);
|
||||
//diag_log("Now in Combat (Player): " + name _unit);
|
||||
};
|
||||
};
|
||||
|
||||
@@ -43,7 +43,7 @@ while {(alive _projectile) && !(isNull _projectile) && _callCount < 85;} do {
|
||||
_isInCombat = _x getVariable["startcombattimer",0];
|
||||
if (isPlayer _x && _isInCombat == 0 && alive _x) then {
|
||||
_x setVariable["startcombattimer", 1];
|
||||
diag_log("Now in Combat (Crew): " + name _x);
|
||||
//diag_log("Now in Combat (Crew): " + name _x);
|
||||
};
|
||||
} forEach (crew _nearVehicle);
|
||||
};
|
||||
|
||||
@@ -23,7 +23,7 @@ player removeMagazine "FoodSteakRaw";
|
||||
_animalID = _dog getVariable "fsm_handle";
|
||||
_animalID setFSMVariable ["_isTamed", true];
|
||||
sleep 1;
|
||||
diag_log format["DEBUG: %1, id: %2 [%3]",_dog,_animalID,completedFSM _animalID];
|
||||
// diag_log format["DEBUG: %1, id: %2 [%3]",_dog,_animalID,completedFSM _animalID];
|
||||
if (!moveToCompleted _dog) then {
|
||||
_dog moveTo ([_dog] call FNC_GetPos);
|
||||
};
|
||||
|
||||
@@ -17,7 +17,7 @@ if (isServer) then {
|
||||
PVDZE_veh_Update = [_unit, "killed",_killer];
|
||||
_killerVeh = if (vehicle _killer != _killer) then { format["[KILLER IN VEHICLE %1 OF TYPE %2]", (vehicle _killer), (typeOf (vehicle _killer))]; } else {""};
|
||||
_name = if (alive _killer) then { name _killer; } else { format["OBJECT %1", _killer]; };
|
||||
diag_log format["DAMAGE: Vehicle %1 (TYPE: %2) Killed by player %3 (UID: %4) %5",_unit, (typeOf _unit), _name, (getPlayerUID _killer), _killerVeh];
|
||||
// diag_log format["DAMAGE: Vehicle %1 (TYPE: %2) Killed by player %3 (UID: %4) %5",_unit, (typeOf _unit), _name, (getPlayerUID _killer), _killerVeh];
|
||||
} else {
|
||||
PVDZE_veh_Update = [_unit, "killed"];
|
||||
};
|
||||
|
||||
@@ -51,7 +51,7 @@ if ((dayz_spawnZombies < _maxControlledZombies) && (dayz_CurrentNearByZombies <
|
||||
//Check if anyone close
|
||||
_tooClose = {isPlayer _x} count (_position nearEntities ["CAManBase",30]) > 0;
|
||||
if (_tooClose) exitwith {
|
||||
diag_log ("Zombie_Generate: was too close to player.");
|
||||
// diag_log ("Zombie_Generate: was too close to player.");
|
||||
};
|
||||
|
||||
//Add zeds if unitTypes equals 0
|
||||
@@ -73,7 +73,7 @@ if ((dayz_spawnZombies < _maxControlledZombies) && (dayz_CurrentNearByZombies <
|
||||
};
|
||||
|
||||
//Check if point is in water
|
||||
if (surfaceIsWater _position) exitwith { Diag_log ("Location is in Water Abort"); };
|
||||
if (surfaceIsWater _position) exitwith { };
|
||||
|
||||
_agent = createAgent [_type, _position, [], _radius, _method];
|
||||
sleep 0.001;
|
||||
|
||||
Reference in New Issue
Block a user