add 2 new vars and fix up variable names

DZE_HeartBeat
DZE_UseBloodTypes
This commit is contained in:
icomrade
2016-03-01 00:23:14 -05:00
parent a3dac45061
commit bad0a2e461
28 changed files with 112 additions and 121 deletions

View File

@@ -589,7 +589,7 @@ if (!isDedicated) then {
private "_humanity";
_humanity = _unit getVariable["humanity",0];
dayz_heartBeat = true;
if (_humanity < -3000) then {
if (_humanity < -5000) then {
private "_delay";
_delay = ((10000 + _humanity) / 5500) + 0.3;
playSound "heartbeat_1";

View File

@@ -14,12 +14,12 @@
//"usecBreakLegs" addPublicVariableEventHandler {(_this select 1) call player_breaklegs};
//Both
"PVCDZ_veh_SetFuel" addPublicVariableEventHandler {(_this select 1) spawn local_setFuel};
"PVCDZE_veh_SetFuel" addPublicVariableEventHandler {(_this select 1) spawn local_setFuel};
"PVDZE_veh_SFix" addPublicVariableEventHandler {(_this select 1) call object_setFixServer};
"PVDZE_plr_HideBody" addPublicVariableEventHandler {hideBody (_this select 1)};
"PVCDZE_plr_HideBody" addPublicVariableEventHandler {hideBody (_this select 1)};
"PVDZE_obj_Hide" addPublicVariableEventHandler {hideObject (_this select 1)};
"PVDZE_veh_Lock" addPublicVariableEventHandler {(_this select 1) spawn local_lockUnlock};
"PVCDZE_plr_GutBody" addPublicVariableEventHandler {(_this select 1) spawn local_gutObject};
"PVCDZE_obj_GutBody" addPublicVariableEventHandler {(_this select 1) spawn local_gutObject};
"PVDZE_plr_GutBodyZ" addPublicVariableEventHandler {(_this select 1) spawn local_gutObjectZ};
"PVDZE_plr_DelLocal" addPublicVariableEventHandler {(_this select 1) call object_delLocal};
"PVDZE_veh_Init" addPublicVariableEventHandler {(_this select 1) call fnc_veh_ResetEH};
@@ -210,7 +210,7 @@ if (isServer) then {
};
};
"PVDZ_serverStoreVar" addPublicVariableEventHandler {
"PVDZE_serverStoreVar" addPublicVariableEventHandler {
_obj = ((_this select 1) select 0);
_name = ((_this select 1) select 1);
_value = ((_this select 1) select 2);

View File

@@ -586,7 +586,7 @@ dayz_zombieTargetList = [
];
PVDZE_plr_Hit = [];
PVDZE_obj_Publish = []; //used for eventhandler to spawn a mirror of players tent
PVDZE_plr_HideBody = objNull;
PVCDZE_plr_HideBody = objNull;
dayz_selectedVault = objNull;
dayz_selectedDoor = objNull;
@@ -757,6 +757,12 @@ if(isNil "DZE_PlotPole") then {
if(isNil "DZE_maintainRange") then {
DZE_maintainRange = ((DZE_PlotPole select 0)+20);
};
if(isNil "DZE_HeartBeat") then {
DZE_HeartBeat = false;
};
if(isNil "DZE_UseBloodTypes") then {
DZE_UseBloodTypes = false;
};
if(isNil "dayz_presets") then { dayz_presets = "Vanilla"; };