diff --git a/SQF/dayz_code/Configs/CfgVehicles/Helicopter/CH53.hpp b/SQF/dayz_code/Configs/CfgVehicles/Helicopter/CH53.hpp index 914061502..ea4ae8285 100644 --- a/SQF/dayz_code/Configs/CfgVehicles/Helicopter/CH53.hpp +++ b/SQF/dayz_code/Configs/CfgVehicles/Helicopter/CH53.hpp @@ -28,13 +28,9 @@ class CH53_DZE : USEC_ch53_E { transportmaxbackpacks = 15; fuelCapacity = 3849; class eventhandlers { - GetIn = "if ((_this select 2) == player) then {MonitorVM = [_this select 0] execvm '\usec_ch53\scripts\ch53_monitor.sqf';};"; - init = "MonitorVM = [_this select 0] execvm '\usec_ch53\scripts\ch53_monitor.sqf';MonitorSFXVM = [_this select 0] execvm '\usec_ch53\scripts\ch53_monitorSFX.sqf';"; killed = "_this spawn BIS_Effects_EH_Killed;"; }; - /*class UserActions { - class Repair {ACTION_REPAIR; radius = 8;}; - class Salvage {ACTION_SALVAGE; radius = 8;}; + class UserActions { class RampOpen { displayName = $STR_EPOCH_OPEN_RAMP; position = "ramp action"; @@ -54,7 +50,7 @@ class CH53_DZE : USEC_ch53_E { onlyforplayer = 0; }; class LandingGear_down { - displayName = "Gear Down"; + displayName = $STR_ACTION_GEAR_DOWN; position = "ramp action"; showWindow = 0; onlyforplayer = 0; @@ -64,7 +60,7 @@ class CH53_DZE : USEC_ch53_E { statement = "[this] execvm ""\usec_ch53\scripts\ch53_geardown.sqf"""; }; class LandingGear_up { - displayName = "Gear Up"; + displayName = $STR_ACTION_GEAR_UP; position = "ramp action"; showWindow = 0; onlyforplayer = 0; @@ -73,41 +69,5 @@ class CH53_DZE : USEC_ch53_E { condition = "(this animationPhase ""gear_nose_1"" < 0.1)&&(player == driver this)"; statement = "[this] execvm ""\usec_ch53\scripts\ch53_gearup.sqf"""; }; - class StropDown { - displayName = "Attach Strop"; - position = "ramp action"; - showWindow = 0; - onlyforplayer = 0; - radius = 5; - condition = "(this animationPhase ""Strop1_Empty"" == 1)&&((this animationPhase 'cargo' == 1) AND (this animationPhase 'cargo2' == 1))&&(player == driver this)"; - statement = "[this,true] execvm ""\usec_ch53\scripts\ch53_strop.sqf"""; - }; - class StropUp { - displayName = "Detach Strop"; - position = "ramp action"; - showWindow = 0; - onlyforplayer = 0; - radius = 5; - condition = "(this animationPhase ""Strop1_Empty"" == 0)&&(player == driver this)"; - statement = "[this,false] execvm ""\usec_ch53\scripts\ch53_strop.sqf"""; - }; - class CollectCargo { - displayName = "Collect Cargo"; - position = "ramp action"; - showWindow = 1; - onlyforplayer = 0; - radius = 5; - condition = "(count(nearestObjects [(this modeltoworld [0,0,-10]), [""USEC_CargoContainer1"",""USEC_CargoContainer2""], 6])>0) and (this animationPhase 'Strop1_Empty' == 0) and (this animationPhase 'cargo' == 1);"; - statement = "[this] execvm ""\usec_ch53\scripts\ch53_cargo.sqf"";"; - }; - class DetachCargo { - displayName = "Detach Cargo"; - position = "ramp action"; - showWindow = 1; - onlyforplayer = 0; - radius = 5; - condition = "((this animationPhase 'cargo' == 0) OR (this animationPhase 'cargo2' == 0));"; - statement = "[this] execvm ""\usec_ch53\scripts\ch53_cargodrop.sqf"";"; - }; - };*/ + }; }; \ No newline at end of file