mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Clean up CH53 configs
In consultation with Seelenapparat we changed the configs from the ch53. This removes strop down and up, the collect and detach cargo options. both actions are not really used in epoch and needed an init script which runs permanently while in the helicopter. It is the same for the sfx sounds from this helicopter. In this special case we decided that performance is more valuable as the removed actions. If someone uses the removed actions in scripts or something like that please message me on discord.
This commit is contained in:
@@ -28,13 +28,9 @@ class CH53_DZE : USEC_ch53_E {
|
|||||||
transportmaxbackpacks = 15;
|
transportmaxbackpacks = 15;
|
||||||
fuelCapacity = 3849;
|
fuelCapacity = 3849;
|
||||||
class eventhandlers {
|
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;";
|
killed = "_this spawn BIS_Effects_EH_Killed;";
|
||||||
};
|
};
|
||||||
/*class UserActions {
|
class UserActions {
|
||||||
class Repair {ACTION_REPAIR; radius = 8;};
|
|
||||||
class Salvage {ACTION_SALVAGE; radius = 8;};
|
|
||||||
class RampOpen {
|
class RampOpen {
|
||||||
displayName = $STR_EPOCH_OPEN_RAMP;
|
displayName = $STR_EPOCH_OPEN_RAMP;
|
||||||
position = "ramp action";
|
position = "ramp action";
|
||||||
@@ -54,7 +50,7 @@ class CH53_DZE : USEC_ch53_E {
|
|||||||
onlyforplayer = 0;
|
onlyforplayer = 0;
|
||||||
};
|
};
|
||||||
class LandingGear_down {
|
class LandingGear_down {
|
||||||
displayName = "Gear Down";
|
displayName = $STR_ACTION_GEAR_DOWN;
|
||||||
position = "ramp action";
|
position = "ramp action";
|
||||||
showWindow = 0;
|
showWindow = 0;
|
||||||
onlyforplayer = 0;
|
onlyforplayer = 0;
|
||||||
@@ -64,7 +60,7 @@ class CH53_DZE : USEC_ch53_E {
|
|||||||
statement = "[this] execvm ""\usec_ch53\scripts\ch53_geardown.sqf""";
|
statement = "[this] execvm ""\usec_ch53\scripts\ch53_geardown.sqf""";
|
||||||
};
|
};
|
||||||
class LandingGear_up {
|
class LandingGear_up {
|
||||||
displayName = "Gear Up";
|
displayName = $STR_ACTION_GEAR_UP;
|
||||||
position = "ramp action";
|
position = "ramp action";
|
||||||
showWindow = 0;
|
showWindow = 0;
|
||||||
onlyforplayer = 0;
|
onlyforplayer = 0;
|
||||||
@@ -73,41 +69,5 @@ class CH53_DZE : USEC_ch53_E {
|
|||||||
condition = "(this animationPhase ""gear_nose_1"" < 0.1)&&(player == driver this)";
|
condition = "(this animationPhase ""gear_nose_1"" < 0.1)&&(player == driver this)";
|
||||||
statement = "[this] execvm ""\usec_ch53\scripts\ch53_gearup.sqf""";
|
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"";";
|
|
||||||
};
|
|
||||||
};*/
|
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user