mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-04 15:22:53 +03:00
minor changes 0.98
This commit is contained in:
@@ -45,6 +45,7 @@ AllowedVehiclesList = [
|
|||||||
["UH1H_DZ",2],
|
["UH1H_DZ",2],
|
||||||
["Mi17_Civilian_DZ",3],
|
["Mi17_Civilian_DZ",3],
|
||||||
["Mi17_DZ",1],
|
["Mi17_DZ",1],
|
||||||
|
["CH_47F_EP1",1],
|
||||||
["LandRover_CZ_EP1",2],
|
["LandRover_CZ_EP1",2],
|
||||||
["HMMWV_Ambulance",2],
|
["HMMWV_Ambulance",2],
|
||||||
["HMMWV_DES_EP1",1],
|
["HMMWV_DES_EP1",1],
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ AllowedVehiclesList = [
|
|||||||
["UH1H_DZ",2],
|
["UH1H_DZ",2],
|
||||||
["Mi17_Civilian_DZ",3],
|
["Mi17_Civilian_DZ",3],
|
||||||
["Mi17_DZ",1],
|
["Mi17_DZ",1],
|
||||||
|
["CH_47F_EP1",1],
|
||||||
["LandRover_CZ_EP1",2],
|
["LandRover_CZ_EP1",2],
|
||||||
["HMMWV_Ambulance",2],
|
["HMMWV_Ambulance",2],
|
||||||
["HMMWV_DES_EP1",1],
|
["HMMWV_DES_EP1",1],
|
||||||
|
|||||||
@@ -6,20 +6,23 @@ _unit = _array select 0;
|
|||||||
_medic = _array select 1;
|
_medic = _array select 1;
|
||||||
|
|
||||||
if (_unit == player) then {
|
if (_unit == player) then {
|
||||||
r_fracture_legs = true;
|
|
||||||
r_fracture_arms = true;
|
|
||||||
_unit setHit["legs",1];
|
|
||||||
_unit setHit["hands",1];
|
|
||||||
|
|
||||||
//Ensure Control is visible
|
// Make bleed
|
||||||
|
r_player_injured = true;
|
||||||
|
_unit setVariable ["USEC_injured",true,true];
|
||||||
|
|
||||||
|
//Ensure Control is visible for bleeding
|
||||||
_display = uiNamespace getVariable 'DAYZ_GUI_display';
|
_display = uiNamespace getVariable 'DAYZ_GUI_display';
|
||||||
_control = _display displayCtrl 1203;
|
_control = _display displayCtrl 1300;
|
||||||
_control ctrlShow true;
|
_control ctrlShow true;
|
||||||
|
|
||||||
_id = true spawn dayz_disableRespawn;
|
// Make player infected
|
||||||
|
// r_player_infected = true;
|
||||||
|
// _unit setVariable["USEC_infected",true];
|
||||||
|
|
||||||
};
|
};
|
||||||
_unit setVariable ["hit_legs",1,false];
|
|
||||||
_unit setVariable ["hit_hands",1,false];
|
|
||||||
|
|
||||||
if (isServer) then {
|
if (isServer) then {
|
||||||
_unit setVariable["medForceUpdate",true];
|
_unit setVariable["medForceUpdate",true];
|
||||||
|
|||||||
@@ -102,7 +102,7 @@ _allowedObjects = ["TentStorage", "VaultStorageLocked", "Hedgehog_DZ", "Sandbag1
|
|||||||
|
|
||||||
if ((typeOf _object) in _allowedObjects) then {
|
if ((typeOf _object) in _allowedObjects) then {
|
||||||
// Forces object to ground may not be needed
|
// Forces object to ground may not be needed
|
||||||
_pos set [2,0];
|
// _pos set [2,0];
|
||||||
// Must be set to damage buildables
|
// Must be set to damage buildables
|
||||||
_object addMPEventHandler ["MPKilled",{_this call vehicle_handleServerKilled;}];
|
_object addMPEventHandler ["MPKilled",{_this call vehicle_handleServerKilled;}];
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -1622,7 +1622,7 @@ class CfgVehicles
|
|||||||
|
|
||||||
faceType = "ZFaces";
|
faceType = "ZFaces";
|
||||||
identityTypes[] = {"Zombie1","Zombie2"};
|
identityTypes[] = {"Zombie1","Zombie2"};
|
||||||
// extCameraPosition[] = {0,1.5,-9};
|
extCameraPosition[] = {0,1.5,-9};
|
||||||
|
|
||||||
canHideBodies = 0;
|
canHideBodies = 0;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user