Jelajahi Sumber

new impulser for swop laats

thefloff 4 tahun lalu
induk
melakukan
73852477cc
1 mengubah file dengan 71 tambahan dan 5 penghapusan
  1. 71 5
      addons - Copy/RD501_Vehicles/air/LAAT/config.cpp

+ 71 - 5
addons - Copy/RD501_Vehicles/air/LAAT/config.cpp

@@ -315,11 +315,33 @@ class CfgVehicles
 	
 		class UserActions
 		{
-			#include "../../common/user_action.hpp"
+			class ThrusterEngage
+			{
+				displayName = "";
+				displayNameDefault = "";
+				textToolTip = "";
+				position = "pilotview";
+				radius = 20;
+				priority = 0;
+				onlyForPlayer = 1;
+				condition = "((player == driver this) AND (alive this))";
+				statement = "this execVM ""\RD501_Main\functions\impulse\fnc_impulseIncrease.sqf""";
+				shortcut="User19"
+			};
+
+			class ThrusterDisengage: ThrusterEngage
+			{
+				priority = 0;
+				displayName = "";
+				displayNameDefault = "";
+				textToolTip = "";
+				condition = "((player == driver this) AND (alive this))";
+				statement = "this execVM ""\RD501_Main\functions\impulse\fnc_impulseDecrease.sqf""";
+				shortcut="User20"
+			};
 		};
 		class ACE_SelfActions:ACE_SelfActions
 		{		
-			
 			#include "../../common/universal_hud_color_changer.hpp"
 		};
 
@@ -398,8 +420,30 @@ class CfgVehicles
 
 		class UserActions
 		{
-			#include "../../common/user_action.hpp"
-
+			class ThrusterEngage
+			{
+				displayName = "";
+				displayNameDefault = "";
+				textToolTip = "";
+				position = "pilotview";
+				radius = 20;
+				priority = 0;
+				onlyForPlayer = 1;
+				condition = "((player == driver this) AND (alive this))";
+				statement = "this execVM ""\RD501_Main\functions\impulse\fnc_impulseIncrease.sqf""";
+				shortcut="User19"
+			};
+			class ThrusterDisengage: ThrusterEngage
+			{
+				priority = 0;
+				displayName = "";
+				displayNameDefault = "";
+				textToolTip = "";
+				condition = "((player == driver this) AND (alive this))";
+				statement = "this execVM ""\RD501_Main\functions\impulse\fnc_impulseDecrease.sqf""";
+				shortcut="User20"
+			};
+			
 			class OpenCargoDoor
 			{
 				displayName = "<t color='#F64747'>[Open Doors]</t>";
@@ -521,7 +565,6 @@ class CfgVehicles
 		#include "sounds.hpp"
 		class UserActions
 		{
-			#include "../../common/user_action.hpp"
 			class StartRefuel
 			{
 				displayName = "<t color='#07CC0C'>[Start Refueling]</t>";
@@ -546,6 +589,29 @@ class CfgVehicles
 				condition = "this call RD501_fnc_mc_canStopRefuel";
 				statement = "_vehicle setVariable['RD501_mc_stop_refuel',true,true];";
 			};
+			class ThrusterEngage
+			{
+				displayName = "";
+				displayNameDefault = "";
+				textToolTip = "";
+				position = "pilotview";
+				radius = 20;
+				priority = 0;
+				onlyForPlayer = 1;
+				condition = "((player == driver this) AND (alive this))";
+				statement = "this execVM ""\RD501_Main\functions\impulse\fnc_impulseIncrease.sqf""";
+				shortcut="User19"
+			};
+			class ThrusterDisengage: ThrusterEngage
+			{
+				priority = 0;
+				displayName = "";
+				displayNameDefault = "";
+				textToolTip = "";
+				condition = "((player == driver this) AND (alive this))";
+				statement = "this execVM ""\RD501_Main\functions\impulse\fnc_impulseDecrease.sqf""";
+				shortcut="User20"
+			};
 		};
 		class EventHandlers : DefaultEventhandlers {
 			fired = "_this call (uinamespace getvariable 'BIS_fnc_effectFired');";