mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
change path for death screen
This commit is contained in:
@@ -43,7 +43,7 @@ class RscTitles {
|
|||||||
y = "0.00001 * safezoneH + safezoneY";
|
y = "0.00001 * safezoneH + safezoneY";
|
||||||
w = "1 * safezoneW";
|
w = "1 * safezoneW";
|
||||||
h = "1 * safezoneH";
|
h = "1 * safezoneH";
|
||||||
text = "\dayz\ui\screen_death_ca.paa";
|
text = "\z\addons\dayz_epoch\ui\screen_death_ca.paa";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ if (_inVehicle) then {
|
|||||||
//allow switch to pilot
|
//allow switch to pilot
|
||||||
if (((_assignedRole select 0) != "driver") && ((!alive _driver) || ((_vehicle emptyPositions "Driver") > 0))) then {
|
if (((_assignedRole select 0) != "driver") && ((!alive _driver) || ((_vehicle emptyPositions "Driver") > 0))) then {
|
||||||
if (_vehicle isKindOf "helicopter") 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 {
|
} else {
|
||||||
_action = _vehicle addAction[localize "STR_EPOCH_PLAYER_308", "\z\addons\dayz_code\actions\veh_seatActions.sqf", ["MoveToPilot", _driver], -1, false, true];
|
_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
|
//allow switch to gunner
|
||||||
if (((_assignedRole select 0) != "Turret") && ((_vehicle emptyPositions "Gunner") > 0)) then {
|
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_player_actions2 set [count r_player_actions2,_action];
|
||||||
r_action2 = true;
|
r_action2 = true;
|
||||||
};
|
};
|
||||||
//allow switch to commander
|
//allow switch to commander
|
||||||
if (((assignedCommander _vehicle) != player) && ((_vehicle emptyPositions "Commander") > 0)) then {
|
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_player_actions2 set [count r_player_actions2,_action];
|
||||||
r_action2 = true;
|
r_action2 = true;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user