Browse Source

added laat\c :eyes:

Hobnob 3 years ago
parent
commit
5a63205a60

+ 14 - 2
addons/RD501_Vehicles/air/LAAT/config.cpp

@@ -21,7 +21,8 @@ class CfgPatches
 		requiredAddons[]=
 		{
 			RD501_patch_vehicles,
-			"3AS_LAAT"
+			"3AS_LAAT",
+			"3AS_LAAT_Cargo"
 		};
 		requiredVersion=0.1;
 		units[]=
@@ -372,7 +373,10 @@ class CfgVehicles
 		author="RD501";
 		forceInGarage = 1;
 
-		faction = MACRO_QUOTE(MACRO_QUOTE(macro_faction(republic)));
+		hiddenSelections[] = {"camo","camo1"};
+		hiddenSelectionsTextures[] = {"RD501_Vehicles\textures\LAAT\Camo_0_CO.paa","RD501_Vehicles\textures\LAAT\Camo_1_CO.paa"};
+
+		faction = MACRO_QUOTE(macro_faction(republic));
 		editorSubcategory = MACRO_QUOTE(macro_editor_cat_air(Republic_heli));
 		vehicleClass = MACRO_QUOTE(macro_editor_vehicle_type_air(Republic));
 		class UserActions
@@ -401,6 +405,14 @@ class CfgVehicles
                 statement = "this execVM ""\RD501_Main\functions\impulse\fnc_impulseDecrease.sqf""";
                 shortcut="User20";
             };
+			class afterburnerMk1_turn_on
+			{
+				condition="false;";
+			};
+			class afterburnerMk1_turn_off
+			{
+				condition="false;";
+			};
 		};
 		
 		RD501_magclamp_small_1[] = {-7.0,-2.0,-4.5};

+ 11 - 4
addons/RD501_Vehicles/air/LAAT/user_action.hpp

@@ -8,7 +8,7 @@
 		priority = 0;
 		onlyForPlayer = 1;
 		condition = "((player == driver this) AND (alive this))";
-		statement = "this execVM ""\RD501_Main\functions\impulse\fnc_impulseIncrease.sqf""";
+		statement = "this execVM '\RD501_Main\functions\impulse\fnc_impulseIncrease.sqf'";
 		shortcut="User19";
 	};
 
@@ -19,12 +19,19 @@
 		displayNameDefault = "";
 		textToolTip = "";
 		condition = "((player == driver this) AND (alive this))";
-		statement = "this execVM ""\RD501_Main\functions\impulse\fnc_impulseDecrease.sqf""";
+		statement = "this execVM '\RD501_Main\functions\impulse\fnc_impulseDecrease.sqf'";
 		shortcut="User20";
 	};
 
-    class afterburnerMk1_turn_on{};
-    class afterburnerMk1_turn_off{};
+	class impulseOn
+	{
+		condition = "false;";
+	};
+	
+    class impulseOff
+	{
+		condition = "false;";
+	};
 
 	class rampOpen: rampOpen
 	{

BIN
addons/RD501_Vehicles/textures/LAAT/Camo_0_CO.paa


BIN
addons/RD501_Vehicles/textures/LAAT/Camo_1_CO.paa


BIN
addons/RD501_Vehicles/textures/LAAT/hull_tmp_co.paa