Browse Source

adjust turret weapons

Florian Steinschorn 4 years ago
parent
commit
f4f8b8cf87

+ 29 - 0
addons - Copy/RD501_Vehicles/air/ARC_170X/arc170_common.hpp

@@ -99,4 +99,33 @@ class Components: Components
 			};
 		};
 	};
+};
+class Turrets: Turrets
+{
+	class LaserPilot: LaserPilot
+	{
+		weapons[]=
+		{
+			//macro_basic_air_weapons,
+			//macro_new_weapon(generic,republic_aircraft_cannon)
+		};
+		magazines[]=
+		{
+			//macro_basic_air_mags,
+			//macro_new_mag(generic_aircraft_cannon_green,1000)
+		};
+	};
+	class Reargun: Reargun
+	{
+		weapons[]=
+		{
+			macro_basic_air_weapons,
+			macro_new_weapon(generic,republic_aircraft_cannon)
+		};
+		magazines[]=
+		{
+			macro_basic_air_mags,
+			macro_new_mag(generic_aircraft_cannon_green,1000)
+		};
+	};
 };

+ 31 - 0
addons - Copy/RD501_Vehicles/air/ARC_170X/arc170_inheritance.hpp

@@ -1,25 +1,56 @@
 class 3as_arc_170_base;
+class Turrets;
 class 3as_arc_170_razor: 3as_arc_170_base
 {
 	class Components;
+	class Turrets: Turrets
+	{
+		class LaserPilot;
+		class Reargun;
+	};
 };
 class 3as_arc_170_blue: 3as_arc_170_base
 {
 	class Components;
+	class Turrets: Turrets
+	{
+		class LaserPilot;
+		class Reargun;
+	};
 };
 class 3as_arc_170_green: 3as_arc_170_base
 {
 	class Components;
+	class Turrets: Turrets
+	{
+		class LaserPilot;
+		class Reargun;
+	};
 };
 class 3as_arc_170_Orange: 3as_arc_170_base
 {
 	class Components;
+	class Turrets: Turrets
+	{
+		class LaserPilot;
+		class Reargun;
+	};
 };
 class 3as_arc_170_yellow: 3as_arc_170_base
 {
 	class Components;
+	class Turrets: Turrets
+	{
+		class LaserPilot;
+		class Reargun;
+	};
 };
 class 3as_arc_170_red: 3as_arc_170_base
 {
 	class Components;
+	class Turrets: Turrets
+	{
+		class LaserPilot;
+		class Reargun;
+	};
 };