Search the Community
Showing results for tags 'sensor'.
Found 8 results
-
Need help getting this sensor code to work
SpikiestMass15 posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Trying to add sensors to this tank and make them available for the crew to see. In addition trying to get RCS targeting to work. Would really appreciate some help with this. Thanks class Turrets; class MainTurret; class Components; //Sensor Template classes class SensorTemplatePassiveRadar; class SensorTemplateAntiRadiation; class SensorTemplateActiveRadar; class SensorTemplateIR; class SensorTemplateVisual; class SensorTemplateMan; class SensorTemplateLaser; class SensorTemplateNV; class SensorTemplateDataLink; class VehicleSystemsTemplateLeftDriver; class VehicleSystemsTemplateRightDriver; class VehicleSystemsTemplateLeftCommander; class VehicleSystemsTemplateRightCommander; class VehicleSystemsTemplateLeftGunner; class VehicleSystemsTemplateRightGunner; class cfgvehicles { class Burnes_FV4034_01; class Burnes_FV4034_02; class Atlas_FV4040_01 : Burnes_FV4034_01 { //woodland displayName = "FV4040 Challenger 2 Mk3 (W)"; faction = "BLU_F"; idleRPM = 1300; maxSpeed = 60; peakTorque = 4126; enginePower = 910; driverCanSee = 2+8+16; gunnerCanSee = 31; commanderCanSee = 31; incomingMissileDetectionSystem = 8; class Turrets : Turrets { class MainTurret : MainTurret { magazines[] = {"UAS_140mm_XM964_10Rnd","UAS_140mm_XM964_10Rnd", "UAS_140mm_XM964_10Rnd", "UAS_140mm_DM171_10Rnd", "UAS_140mm_XM965_10Rnd", "CHAL_2000RND_762_M240", "CHAL_2000RND_762_M240", "CHAL_2000RND_762_M240", "CHAL_2000RND_762_M240"}; weapons[] = {"CHAL2_140mm", "CHAL_COAX_M240"}; }; }; class Components : Components { class DriverDisplayManagerComponentLeft : VehicleSystemsTemplateLeftDriver { componentType = "VehicleSystemsDisplayManager"; // mandatory x = (safezoneX + 0.5 * (((safezoneW / safezoneH) min 1.2) / 40)); y = (safezoneY + safezoneH - 21 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)); left = 1; class SensorsDisplay { componentType = "SensorsDisplayComponent"; range[] = {3500}; showTargetTypes = 1+2+4+8+16+32+64+128+256+512+1024; resource = "RscCustomInfoSensors"; }; }; class DriverDisplayManagerComponentRight : DriverDisplayManagerComponentLeft { forcedDisplay = "SensorsDisplay"; x = ((10 * (((safezoneW / safezoneH) min 1.2) / 40)) + 0.5 * (((safezoneW / safezoneH) min 1.2) / 40))); left = 0; right = 1; }; class GunnerDisplayManagerComponentLeft : VehicleSystemsTemplateLeftGunner { componentType = "VehicleSystemsDisplayManager"; // mandatory x = (safezoneX + 0.5 * (((safezoneW / safezoneH) min 1.2) / 40)); y = (safezoneY + safezoneH - 21 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)); left = 1; class SensorsDisplay { componentType = "SensorsDisplayComponent"; range[] = {3500}; showTargetTypes = 1+2+4+8+16+32+64+128+256+512+1024; resource = "RscCustomInfoSensors"; }; }; class GunnerDisplayManagerComponentRight : GunnerDisplayManagerComponentLeft { forcedDisplay = "SensorsDisplay"; x = ((10 * (((safezoneW / safezoneH) min 1.2) / 40)) + 0.5 * (((safezoneW / safezoneH) min 1.2) / 40))); left = 0; right = 1; }; class CommanderDisplayManagerComponentLeft : VehicleSystemsTemplateLeftCommander { componentType = "VehicleSystemsDisplayManager"; // mandatory x = (safezoneX + 0.5 * (((safezoneW / safezoneH) min 1.2) / 40)); y = (safezoneY + safezoneH - 21 * ((((safezoneW / safezoneH) min 1.2) / 1.2) / 25)); left = 1; class SensorsDisplay { componentType = "SensorsDisplayComponent"; range[] = {3500}; showTargetTypes = 1+2+4+8+16+32+64+128+256+512+1024; resource = "RscCustomInfoSensors"; }; }; class CommanderDisplayManagerComponentRight : CommanderDisplayManagerComponentLeft { forcedDisplay = "SensorsDisplay"; x = ((10 * (((safezoneW / safezoneH) min 1.2) / 40)) + 0.5 * (((safezoneW / safezoneH) min 1.2) / 40))); left = 0; right = 1; }; class SensorsManagerComponent { class Components { class DataLinkComponent : SensorTemplateDataLink {}; class CommanderIRSensorComponent : SensorTemplateIR { class GroundTarget { minRange = 50; maxRange = 3300; objectDistanceLimitCoef = -1; viewDistanceLimitCoef = -1; }; angleRangeHorizontal = 60; angleRangeVertical = 55; typeRecognitionDistance = 1900; animDirection = "CommanderOptics"; allowsMarking= 1 }; class GunnerIRSensorComponent : SensorTemplateIR { class GroundTarget { minRange = 50; maxRange = 3500; objectDistanceLimitCoef = -1; viewDistanceLimitCoef = -1; }; angleRangeHorizontal = 40; angleRangeVertical = 55; typeRecognitionDistance = 2100; animDirection = "MainTurret"; allowsMarking= 1 }; class VisualSensorComponent : SensorTemplateVisual { class GroundTarget { minRange = 0; maxRange = 2200; objectDistanceLimitCoef = -1; viewDistanceLimitCoef = -1; }; angleRangeHorizontal = 300; angleRangeVertical = 35; typeRecognitionDistance = 500; allowsMarking= 1 }; class NVSensorComponent : SensorTemplateNV { class GroundTarget { minRange = 0; maxRange = 1800; objectDistanceLimitCoef = -1; viewDistanceLimitCoef = -1; }; angleRangeHorizontal = 300; angleRangeVertical = 35; typeRecognitionDistance = 350; allowsMarking= 1 }; class PassiveRadarSensorComponent : SensorTemplatePassiveRadar { class GroundTarget { minRange = 0; maxRange = 2200; objectDistanceLimitCoef = -1; viewDistanceLimitCoef = -1; }; angleRangeHorizontal = 360; angleRangeVertical = 40; typeRecognitionDistance = 900; allowsMarking= 1 }; }; }; }; }; -
scripting Anti Lock on scripting
Andrew D'Alessio posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I am trying to make it so a vehicle on the ground. In this Case, a ZU-23 Either cant be locked onto by ANTI-RADIATION Etc. Or is confused because there is a lot of targets. As well as Mess up Less guided systems. Basically I want to make a target that guided munitions are ineffective against. -
Arma 3 has: An awesome sensor overhaul which includes radar. Golf ball radar buildings sprinkled around the maps. It would seem logical (and awesome) for these radar buildings to be capable of more than decoration and actually operate as radar for a certain faction. I could not find any function or scripting command that would add a sensor to anything, let alone a building. One hacky idea I was thinking was to create a AN/MPQ-105 or R-750 Cronus radar inside the building and then somehow make the building transparent to sensors. But I'm not sure if there's a way to do that. Anyone have any ideas or thoughts on achieving this?
-
Damage sensors / displays on Tanks
lawman_actual posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hey I'm trying to add some additional damage simulation to tanks and was trying to figure out how to disrupt sensors and displays. DISPLAYS: I've found the render targets for the example vehicle; "commander_display" and "driver_display", but I can't quite figure out how to modify them. I don't know how to refer to that render target for that vehicle when using a command like setPipEffect. SENSORS: So some vehicles have incoming missile warnings and such. Is there a way to disable these? I'm thinking I might also be able to disable data link send/receive. Are there any other sensors or electronics I may be able to disrupt? Cheers -
Hi! I'm currently working on a few mod. Most of the planes within the mod has a radar, and I got that shit working just fine. My only problem is the fact that I can't figure out a way to set the zoom on the radar panel. The radar is set to a range of 15 km, but the display can't zoom further than 4km. Does anyone know how to fix this?
-
Sensor Display heading to the backward
Mickyleitor posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Hi, I'm updating my custom SAM (NASAMS) Launcher to the new sensor update from Jet DLC. I've a working SAM Launcher, sensors are doing its job except for a litlle issue. Which is the Right Display Manager Component isn't heading to the real direction of the turret azimut (but it's attached to, via "animDirection"), instead, it's heading to the opposite the turret is heading... Also, the poiting vector (the arrow inside the display) is pointing to the backward of the vehicle. Here is a short video: https://gyazo.com/dc8d800d44b355af29b7a0d85cd0211f All stuff is working right, like the spawn point, direction of the missile. I was wondering if it's something related to the config or the model itself. Here is the config: Any clue? Greetings. -
Trouble with creating a sensor template
pttn40 posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
I have been playing around with the new sensor system a bit to try to get a feel for how it works. I want to make a small library of radar templates based on real radars that can be applied to vehicles. I made a test template that would bring the range of the cheetah down from 9000m to 5000m. When I try to override the active radar of the cheetah it defaults back to the original radar. I am not sure if this is because I simply cant override the existing radar by inheriting a template or because my template is set up wrong. config.cpp for my test templates class CfgPatches { class Test_Sensors { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {}; author = "Pttn40" authors[] = {"Pttn40"}; }; }; class SensorTemplateActiveRadar; class Test_TestRadar : SensorTemplateActiveRadar { class AirTarget { minRange = 5000; maxRange = 5000; objectDistanceLimitCoef=-1; viewDistanceLimitCoef=-1; }; class GroundTarget { minRange = 5000; maxRange = 5000; objectDistanceLimitCoef=-1; viewDistanceLimitCoef=-1; }; typeRecognitionDistance = 5000; angleRangeHorizontal=360; angleRangeVertical=100; aimDown=-45; minSpeedThreshold=30; maxSpeedThreshold=90; minTrackableATL = 25; maxTrackableATL = 3500; }; config.cpp for overriding the cheetah class CfgPatches { class Test_AAIFVTest { units[] = {}; weapons[] = {}; requiredVersion = 0.1; requiredAddons[] = {"A3_Armor_F_Beta", "Test_Sensors"}; author = "Pttn40" authors[] = {"Pttn40"}; addonRootClass = "A3_Armor_F_Beta"; }; }; class Components; class Test_TestRadar; class CfgVehicles { class B_APC_Tracked_01_base_F; class B_APC_Tracked_01_AA_F : B_APC_Tracked_01_base_F { displayName = "Test AA"; class Components : Components { class SensorsManagerComponent { class Components { class ActiveRadarSensorComponent : Test_TestRadar {}; }; }; }; }; }; Does anyone know if this is because of an issue with how I have the configs set up, or if it is because I am simply not allowed to override the existing ActiveRadarSensorComponent through inheritance? -
Static AA locking only on shared targets
crewt posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Hey there, I need help with the 'new' sensor Technic. I'm searching for the right targeting approach so that an automated AA like the Mantis or an C-RAM would only shoot at a target provided by an Radar( or basically any Vehicle which broadcasts 'remoteTargets'.) An script solution would be possible, but as far as my understanding goes, there should be an solution to do this via config. Any help would be veeeery much appreciated :)