From b4ed5bc183f949c3708219f744b4d932f3210a45 Mon Sep 17 00:00:00 2001 From: "[VB]AWOL" Date: Sun, 22 Jun 2014 17:32:26 -0500 Subject: [PATCH] change path for death screen --- SQF/dayz/config.cpp | 2 +- SQF/dayz_code/compile/fn_damageActions.sqf | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SQF/dayz/config.cpp b/SQF/dayz/config.cpp index 05d27d127..485bf0af5 100644 --- a/SQF/dayz/config.cpp +++ b/SQF/dayz/config.cpp @@ -43,7 +43,7 @@ class RscTitles { y = "0.00001 * safezoneH + safezoneY"; w = "1 * safezoneW"; h = "1 * safezoneH"; - text = "\dayz\ui\screen_death_ca.paa"; + text = "\z\addons\dayz_epoch\ui\screen_death_ca.paa"; }; }; diff --git a/SQF/dayz_code/compile/fn_damageActions.sqf b/SQF/dayz_code/compile/fn_damageActions.sqf index cb7354f72..8bde0e586 100644 --- a/SQF/dayz_code/compile/fn_damageActions.sqf +++ b/SQF/dayz_code/compile/fn_damageActions.sqf @@ -31,7 +31,7 @@ if (_inVehicle) then { //allow switch to pilot if (((_assignedRole select 0) != "driver") && ((!alive _driver) || ((_vehicle emptyPositions "Driver") > 0))) then { if (_vehicle isKindOf "helicopter") then { - _action = _vehicle addAction[localize "STR_EPOCH_PLAYER_308A", "\z\addons\dayz_code\actions\veh_seatActions.sqf", ["MoveToPilot", _driver], -1, false, true]; + _action = _vehicle addAction[localize "STR_EPOCH_PLAYER_308A", "\z\addons\dayz_code\actions\veh_seatActions.sqf", ["MoveToPilot", _driver], 0, false, true]; } else { _action = _vehicle addAction[localize "STR_EPOCH_PLAYER_308", "\z\addons\dayz_code\actions\veh_seatActions.sqf", ["MoveToPilot", _driver], -1, false, true]; }; @@ -46,13 +46,13 @@ if (_inVehicle) then { }; //allow switch to gunner if (((_assignedRole select 0) != "Turret") && ((_vehicle emptyPositions "Gunner") > 0)) then { - _action = _vehicle addAction[localize "STR_EPOCH_PLAYER_310", "\z\addons\dayz_code\actions\veh_seatActions.sqf", ["MoveToTurret", _driver], -1, false, true]; + _action = _vehicle addAction[localize "STR_EPOCH_PLAYER_310", "\z\addons\dayz_code\actions\veh_seatActions.sqf", ["MoveToTurret", _driver], 0, false, true]; r_player_actions2 set [count r_player_actions2,_action]; r_action2 = true; }; //allow switch to commander if (((assignedCommander _vehicle) != player) && ((_vehicle emptyPositions "Commander") > 0)) then { - _action = _vehicle addAction[localize "STR_EPOCH_PLAYER_311", "\z\addons\dayz_code\actions\veh_seatActions.sqf", ["MoveToTurret", _driver], -1, false, true]; + _action = _vehicle addAction[localize "STR_EPOCH_PLAYER_311", "\z\addons\dayz_code\actions\veh_seatActions.sqf", ["MoveToTurret", _driver], 0, false, true]; r_player_actions2 set [count r_player_actions2,_action]; r_action2 = true; };