class CfgPatches {
class Diver_AGM65D {
units[] = {};
weapons[] = {"diver_w_AGM65D_Launcher"};
requiredVersion = 1.70;
requiredAddons[] = {"diver_a10_data"};
};
};
class cfgAmmo {
class MissileBase; // External class reference
class Diver_a_agm65d : MissileBase {
model = "\Diver_a10_data\stores\AGM65D\m_AGM65D.p3d";
proxyShape = "\Diver_a10_data\stores\AGM65D\m_AGM65D.p3d";
hit = 2100;
indirectHit = 85;
indirectHitRange = 8;
timetoLive = 60;
maneuvrability = 20;
airLock = 0;
irLock = 1;
laserLock = 0;
nvLock = 0;
initTime = 0.100000;
thrustTime = 10;
maxspeed = 500;
maxControlRange = 2800;
trackOversteer = 1;
trackLead = 1;
thrust = 300;
effectsMissile = "BIS_fnc_effectFiredHeliRocket";
soundHit[] = { "A3\Sounds_F\weapons\Rockets\explosion_missile_01", 3.1622777, 1, 1800 };
missileLockCone = 180;
missileKeepLockedCone = 180;
missileLockMaxDistance = 6000;
missileLockMinDistance = 50;
missileLockMaxSpeed = 550;
class Components
{
class SensorsManagerComponent
{
class Components
{
class SomeRadarSensorComponent
{
componentType = "IRSensorComponent";
class AirTarget // ranges for targets with sky background
{
minRange = 0; //minimum possible range in meters
maxRange = 0; //maximum possible range in meters
objectDistanceLimitCoef = -1; //range not limited by obj. view distance
viewDistanceLimitCoef = -1; //range not limited by view distance
};
class GroundTarget // ranges for targets with ground background
{
minRange = 50;
maxRange = 6000;
objectDistanceLimitCoef = -1;
viewDistanceLimitCoef = -1;
};
typeRecognitionDistance = 6000; // distance how far the target type gets recognized
angleRangeHorizontal = 180; // sensor azimuth coverage in degrees
angleRangeVertical = 240; // sensor elevation coverage in degrees
groundNoiseDistanceCoef = -1; // portion of sensor-target-ground distance below which the targets become invisible to the sensor
maxGroundNoiseDistance = -1; // distance from the ground in meters, hard cap, above which the target will be visible even if still below groundNoiseDistanceCoef
minSpeedThreshold = -1; // target speed in km/h above which the target will start to become visible
maxSpeedThreshold = -1; // target speed above which the target becomes visible even if below groundNoiseDistanceCoef, linearly decreases to minSpeedThreshold
};
};
};
};
};
};
class cfgMagazines {
class VehicleMagazine; // External class reference
class Diver_m_agm65d_x1 : VehicleMagazine {
scope = public;
displayName = "AGM-65/D";
displayNameShort = "AGM-65/D";
hardpoints[]={"diver_agm"};
count = 1;
pylonWeapon = Diver_a_agm65d;
nameSound = "missiles";
ammo = "Diver_a_agm65d";
initSpeed = 0;
};
};
class cfgWeapons {
class LauncherCore; // External class reference
class Diver_w_AGM65D_Launcher : LauncherCore {
scope = public;
holdsterAnimValue = 1;
displayName = "AGM-65/D (IIR)";
displayNameMagazine = "AGM-65D";
shortNameMagazine = "AGM-65D";
magazines[] = {"Diver_m_agm65d_x1"};
sounds[] = { "StandardSound" };
class StandardSound
{
begin1[] = { "A3\Sounds_F\weapons\Rockets\titan_1", 2.5118864, 1, 1100 };
soundBegin[] = { "begin1", 1 };
weaponSoundEffect = "DefaultRifle";
};
initspeed = 10;
magazineReloadTime = 0.1;
reloadTime = 0.500000;
aiRateOfFire = 4.0;
aiRateOfFireDistance = 500;
minRange = 100;
minRangeProbab = 0.04;
midRange = 1000;
midRangeProbab = 0.85;
maxRange = 4000;
maxRangeProbab = 0.55;
maxLeadSpeed = 2500;
};
};