mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-09 01:32:53 +03:00
0.995
+ Increased raise horde range to 100m. + Fixed player zombie ability to attack and cause bleeding and infect. + Server side change to prevent some common duping issues. + Fixed parachute dropping vehicles without helipad as marker.
This commit is contained in:
@@ -12,10 +12,10 @@ s_player_callzombies = 1;
|
||||
|
||||
[player,"spotted",0,false] call dayz_zombieSpeak;
|
||||
|
||||
_id = [player,65,true,(getPosATL player)] spawn player_alertZombies;
|
||||
_id = [player,100,true,(getPosATL player)] spawn player_alertZombies;
|
||||
|
||||
// wait a bit
|
||||
sleep 7;
|
||||
sleep 3;
|
||||
|
||||
// allow menu again
|
||||
s_player_callzombies = -1;
|
||||
|
||||
@@ -7,7 +7,15 @@ _holder = _array select 2;
|
||||
_playerID = getPlayerUID player;
|
||||
_text = getText (configFile >> _type >> _classname >> "displayName");
|
||||
|
||||
_holder setVariable["claimed",_playerID,true];
|
||||
_claimedBy = _holder getVariable["claimed","0"];
|
||||
|
||||
// Only allow if not already claimed.
|
||||
if (_claimedBy == "0") then {
|
||||
// Since item was not claimed proceed with claiming it.
|
||||
_holder setVariable["claimed",_playerID,true];
|
||||
};
|
||||
|
||||
|
||||
|
||||
if(_classname isKindOf "TrapBear") exitwith {deleteVehicle _holder;};
|
||||
|
||||
@@ -31,9 +39,9 @@ if(_classname == "WoodenArrow") then {
|
||||
};
|
||||
if (_broken) exitWith { deleteVehicle _holder; cutText [localize "str_broken_arrow", "PLAIN DOWN"] };
|
||||
|
||||
sleep 0.25;
|
||||
sleep 1;
|
||||
|
||||
_claimedBy = _holder getVariable["claimed",0];
|
||||
_claimedBy = _holder getVariable["claimed","0"];
|
||||
|
||||
if (_claimedBy != _playerID) exitWith {cutText [format[(localize "str_player_beinglooted"),_text] , "PLAIN DOWN"]};
|
||||
|
||||
@@ -58,7 +66,7 @@ if (_isOk) then {
|
||||
};
|
||||
};
|
||||
} else {
|
||||
_holder setVariable["claimed",0,true];
|
||||
_holder setVariable["claimed","0",true];
|
||||
cutText [localize "STR_DAYZ_CODE_2", "PLAIN DOWN"];
|
||||
if (_classname == "MeleeCrowbar") then {
|
||||
player removeMagazine 'crowbar_swing';
|
||||
|
||||
@@ -10,7 +10,7 @@ _rnd = round(random 9) + 1;
|
||||
_move = "ZombieStandingAttack" + str(_rnd);
|
||||
player playMoveNow _move;
|
||||
|
||||
sleep 1;
|
||||
sleep 0.25;
|
||||
|
||||
_isZombie = _ent isKindOf "zZombie_base";
|
||||
|
||||
@@ -19,8 +19,8 @@ _isZombie = _ent isKindOf "zZombie_base";
|
||||
if (_ent isKindOf "Animal" or _isZombie) then {
|
||||
_ent setDamage 1;
|
||||
} else {
|
||||
//["usecBreakLegs",[_unit,player]] call broadcastRpcCallAll;
|
||||
usecBreakLegs = [_unit,player];
|
||||
//["usecBreakLegs",[_item,player]] call broadcastRpcCallAll;
|
||||
usecBreakLegs = [_item,player];
|
||||
publicVariable "usecBreakLegs";
|
||||
};
|
||||
|
||||
|
||||
@@ -55,6 +55,8 @@ if (_qty >= _qty_in) then {
|
||||
|
||||
//place vehicle spawn marker (local)
|
||||
_veh = createVehicle ["Sign_arrow_down_large_EP1", _location, [], 0, "CAN_COLLIDE"];
|
||||
|
||||
_location = (getPosATL _veh);
|
||||
|
||||
//["dayzPublishVeh",[_veh,[_dir,_location],_part_out,false,dayz_playerUID]] call callRpcProcedure;
|
||||
dayzPublishVeh2 = [_veh,[_dir,_location],_part_out,false,dayz_playerUID];
|
||||
|
||||
@@ -62,6 +62,8 @@ if (_qty >= _qty_in) then {
|
||||
//place vehicle spawn marker (local)
|
||||
_veh = createVehicle ["Sign_arrow_down_large_EP1", _location, [], 0, "CAN_COLLIDE"];
|
||||
|
||||
_location = (getPosATL _veh);
|
||||
|
||||
//["dayzPublishVeh",[_veh,[_dir,_location],_part_out,false,dayz_playerUID]] call callRpcProcedure;
|
||||
dayzPublishVeh2 = [_veh,[_dir,_location],_part_out,false,dayz_playerUID];
|
||||
publicVariableServer "dayzPublishVeh2";
|
||||
|
||||
Reference in New Issue
Block a user