mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
3898202091
* Hellfire * Cleanup dev macros * Cleanup some debug * Add base interaction node for firemode actions * Handle bad data in attack profile variable * Skip ammo checks (returns bad data on added weaps) * Add mags sizes for apache * Add Hellfire Wiki Doc * Cleanup doc * Add pylon support * Add support for pilot controlled weapons * Add label to pylon mags * Cleanup vehicle configs, autoAdd laser des, fix ineractions for driver
107 lines
3.6 KiB
C++
107 lines
3.6 KiB
C++
class CfgAmmo {
|
|
class MissileBase;
|
|
|
|
class M_PG_AT: MissileBase {};
|
|
|
|
class ACE_Hydra70_DAGR: M_PG_AT {
|
|
displayName = CSTRING(Hydra70_DAGR);
|
|
displayNameShort = CSTRING(Hydra70_DAGR_Short);
|
|
|
|
description = CSTRING(Hydra70_DAGR_Desc);
|
|
descriptionShort = CSTRING(Hydra70_DAGR_Desc);
|
|
|
|
irLock = 0;
|
|
laserLock = 0;
|
|
manualControl = 0;
|
|
maxSpeed = 300;
|
|
|
|
EGVAR(rearm,caliber) = 70;
|
|
|
|
class ADDON {
|
|
enabled = 1;
|
|
|
|
minDeflection = 0.0005; // Minium flap deflection for guidance
|
|
maxDeflection = 0.0025; // Maximum flap deflection for guidance
|
|
incDeflection = 0.0005; // The incrmeent in which deflection adjusts.
|
|
|
|
canVanillaLock = 0; // Can this default vanilla lock? Only applicable to non-cadet mode
|
|
|
|
// Guidance type for munitions
|
|
defaultSeekerType = "SALH";
|
|
seekerTypes[] = { "SALH", "LIDAR", "SARH", "Optic", "Thermal", "GPS", "SACLOS", "MCLOS" };
|
|
|
|
defaultSeekerLockMode = "LOAL";
|
|
seekerLockModes[] = { "LOAL", "LOBL" };
|
|
|
|
seekerAngle = 90; // Angle in front of the missile which can be searched
|
|
seekerAccuracy = 1; // seeker accuracy multiplier
|
|
|
|
seekerMinRange = 1;
|
|
seekerMaxRange = 2500; // Range from the missile which the seeker can visually search
|
|
|
|
// Attack profile type selection
|
|
defaultAttackProfile = "LIN";
|
|
attackProfiles[] = { "LIN", "DIR", "MID", "HI" };
|
|
};
|
|
};
|
|
|
|
// Titan
|
|
class M_Titan_AT: MissileBase {};
|
|
|
|
class ACE_Javelin_FGM148: M_Titan_AT {
|
|
irLock = 1;
|
|
laserLock = 0;
|
|
airLock = 0;
|
|
|
|
// Turn off arma crosshair-guidance
|
|
manualControl = 0;
|
|
|
|
hit = 1400; // default: 800
|
|
indirectHit = 20;
|
|
indirectHitRange = 2;
|
|
// ACE uses these values
|
|
//trackOversteer = 1;
|
|
//trackLead = 0;
|
|
|
|
initTime = 2;
|
|
|
|
// Begin ACE guidance Configs
|
|
class ADDON {
|
|
enabled = 1;
|
|
|
|
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
|
|
|
|
seekerMinRange = 0;
|
|
seekerMaxRange = 2500; // Range from the missile which the seeker can visually search
|
|
|
|
seekLastTargetPos = 1; // seek last target position [if seeker loses LOS of target, continue to last known pos]
|
|
|
|
// Attack profile type selection
|
|
defaultAttackProfile = "JAV_TOP";
|
|
attackProfiles[] = { "JAV_TOP", "JAV_DIR" };
|
|
};
|
|
};
|
|
class ACE_Javelin_FGM148_static: ACE_Javelin_FGM148 {
|
|
//Take config changes from (M_Titan_AT_static: M_Titan_AT)
|
|
initTime = 0.25; //"How long (in seconds) the projectile waits before starting it's engine.", - but doesn't seem to do anything
|
|
effectsMissileInit = "RocketBackEffectsStaticRPG";
|
|
|
|
//Explicity add guidance config
|
|
class ADDON: ADDON {};
|
|
};
|
|
};
|