Procházet zdrojové kódy

Merge branch 'Casskun/ARC-fix' of 501st-Aux-Team/501st-Aux-Mod into master

mark před 3 roky
rodič
revize
d0c5a555af

+ 51 - 1
addons/RD501_Vehicles/air/ARC_170X/arc170_common.hpp

@@ -1,5 +1,5 @@
 #include "../../common/common_pilotCamera.hpp"
-
+#include "../../common/sensor_templates.hpp"
 scope = 2;
 scopeCurator = 2;
 scopeArsenal = 2;
@@ -52,6 +52,56 @@ class ViewPilot: ViewPilot
 };
 class Components: Components
 {
+	class SensorsManagerComponent
+	{
+		class Components
+		{
+			class IRSensorComponent: SensorTemplateIR
+			{
+				class AirTarget
+				{
+					minRange=0;
+					maxRange=8000;
+					objectDistanceLimitCoef=-1;
+					viewDistanceLimitCoef=-1;
+				};
+				class GroundTarget
+				{
+					minRange=0;
+					maxRange=8000;
+					objectDistanceLimitCoef=-1;
+					viewDistanceLimitCoef=-1;
+				};
+				typeRecognitionDistance=7500;
+				maxTrackableSpeed=900;
+				angleRangeHorizontal=80;
+				angleRangeVertical=60;
+				aimDown=20;
+			};
+			class ActiveRadarSensorComponent: SensorTemplateActiveRadar
+			{
+				class AirTarget
+				{
+					minRange=50;
+					maxRange=20000;
+					objectDistanceLimitCoef=-1;
+					viewDistanceLimitCoef=-1;
+				};
+				class GroundTarget
+				{
+					minRange=50;
+					maxRange=12000;
+					objectDistanceLimitCoef=-1;
+					viewDistanceLimitCoef=-1;
+				};
+				typeRecognitionDistance=16000;
+				angleRangeHorizontal=180;
+				angleRangeVertical=180;
+				aimDown=0;
+				maxTrackableSpeed=1388.89;
+			};
+		};
+	};
 	class TransportPylonsComponent
 	{
 		uiPicture = "\A3\Air_F_Gamma\Plane_Fighter_03\Data\UI\Plane_A143_3DEN_CA.paa";