ACE3/addons/missileguidance/CfgAmmo.hpp

140 lines
4.7 KiB
C++
Raw Normal View History

enum {
ACE_LOBL = 1,
ACE_LOAL = 2
};
class CfgAmmo {
class MissileBase;
class M_PG_AT : MissileBase {
model = "\A3\Weapons_F\Ammo\Rocket_01_fly_F";
2015-04-17 14:28:19 +00:00
proxyShape = "\A3\Weapons_F\Ammo\Rocket_01_F";
irLock = 0;
2015-04-17 14:28:19 +00:00
laserLock = 0;
airLock = 0;
weaponLockSystem = "2 + 16";
2015-04-17 14:28:19 +00:00
maxSpeed = 720;
maxControlRange = 5000;
maneuvrability = 8;
timeToLive = 60;
simulationStep = 0.01;
airFriction = 0.1;
sideAirFriction = 0.16;
initTime = 0.002;
thrustTime = 1.07;
thrust = 530;
fuseDistance = 2;
2015-04-07 19:11:28 +00:00
2015-04-17 14:28:19 +00:00
effectsMissileInit = "MissileDAR1";
effectsMissile = "missile2";
whistleDist = 4;
muzzleEffect = "";
2015-04-08 15:01:39 +00:00
// Turn off arma crosshair-guidance
manualControl = 0;
2015-04-07 19:11:28 +00:00
2015-04-08 15:01:39 +00:00
// ACE uses these values
trackOversteer = 1;
trackLead = 0;
// Begin ACE guidance Configs
2015-04-14 15:24:13 +00:00
class ADDON {
2015-04-08 15:01:39 +00:00
enabled = 1;
2015-04-14 16:36:39 +00:00
minDeflection = 0.00025; // Minium flap deflection for guidance
2015-04-14 17:39:00 +00:00
maxDeflection = 0.001; // Maximum flap deflection for guidance
2015-04-14 15:24:13 +00:00
incDeflection = 0.0005; // The incrmeent in which deflection adjusts.
2015-04-08 15:01:39 +00:00
canVanillaLock = 0; // Can this default vanilla lock? Only applicable to non-cadet mode
2015-04-08 15:01:39 +00:00
// Guidance type for munitions
defaultSeekerType = "SALH";
seekerTypes[] = { "SALH", "LIDAR", "SARH", "Optic", "Thermal", "GPS", "SACLOS", "MCLOS" };
defaultSeekerLockMode = "LOAL";
seekerLockModes[] = { "LOAL", "LOBL" };
2015-04-08 15:01:39 +00:00
seekerAngle = 90; // Angle in front of the missile which can be searched
seekerAccuracy = 1; // seeker accuracy multiplier
2015-04-09 16:39:23 +00:00
seekerMinRange = 1;
2015-04-08 15:01:39 +00:00
seekerMaxRange = 2500; // Range from the missile which the seeker can visually search
// Attack profile type selection
defaultAttackProfile = "LIN";
2015-04-14 17:39:00 +00:00
attackProfiles[] = { "LIN", "DIR", "MID", "HI" };
2015-04-08 15:01:39 +00:00
};
};
2015-04-07 06:15:26 +00:00
class ACE_Hydra70_DAGR : M_PG_AT {
2015-04-10 19:16:18 +00:00
displayName = "$STR_ACE_Hydra70_DAGR";
2015-04-17 14:28:19 +00:00
displayNameShort = "$STR_ACE_Hydra70_DAGR_Short";
2015-04-10 19:16:18 +00:00
description = "$STR_ACE_Hydra70_DAGR";
2015-04-17 14:28:19 +00:00
descriptionShort = "$STR_ACE_Hydra70_DAGR_Desc";
2015-04-07 06:15:26 +00:00
};
class ACE_Hellfire_AGM114K : ACE_Hydra70_DAGR {
2015-04-10 19:16:18 +00:00
displayName = "$STR_ACE_Hellfire_AGM114K";
2015-04-17 14:28:19 +00:00
displayNameShort = "$STR_ACE_Hellfire_AGM114K_Short";
2015-04-10 19:16:18 +00:00
2015-04-17 14:28:19 +00:00
description = "$STR_ACE_Hellfire_AGM114K_desc";
2015-04-10 19:16:18 +00:00
descriptionShort = "$STR_ACE_Hellfire_AGM114K_desc";
// @TODO: placeholder model to at least make it look different
model = "\A3\Weapons_F\Ammo\Missile_AT_03_fly_F";
proxyShape = "\A3\Weapons_F\Ammo\Missile_AT_03_F";
hit = 1400;
indirectHit = 71;
2015-04-17 14:28:19 +00:00
indirectHitRange = 4.5;
effectsMissile = "missile2";
2015-04-07 06:15:26 +00:00
};
// Titan
class M_Titan_AT : MissileBase {
irLock = 0;
2015-04-17 14:28:19 +00:00
laserLock = 0;
airLock = 0;
// Turn off arma crosshair-guidance
manualControl = 0;
hit = 1400; // default: 800
2015-04-17 14:28:19 +00:00
indirectHit = 20;
indirectHitRange = 2;
// ACE uses these values
2015-04-09 21:11:15 +00:00
//trackOversteer = 1;
//trackLead = 0;
// Begin ACE guidance Configs
2015-04-14 15:24:13 +00:00
class ADDON {
enabled = 1;
2015-04-14 16:36:39 +00:00
minDeflection = 0.00005; // Minium flap deflection for guidance
maxDeflection = 0.025; // Maximum flap deflection for guidance
incDeflection = 0.00005; // The incrmeent in which deflection adjusts.
canVanillaLock = 0;
// Guidance type for munitions
defaultSeekerType = "Optic";
seekerTypes[] = { "Optic" };
defaultSeekerLockMode = "LOBL";
seekerLockModes[] = { "LOBL" };
seekerAngle = 180; // Angle in front of the missile which can be searched
seekerAccuracy = 1; // seeker accuracy multiplier
2015-04-09 16:39:23 +00:00
seekerMinRange = 0;
seekerMaxRange = 2500; // Range from the missile which the seeker can visually search
// Attack profile type selection
defaultAttackProfile = "JAV_TOP";
attackProfiles[] = { "JAV_TOP", "JAV_DIR" };
};
};
};