2017-06-02 21:51:20 +00:00
|
|
|
class CfgAmmo {
|
|
|
|
class M_NLAW_AT_F;
|
|
|
|
class ACE_NLAW: M_NLAW_AT_F {
|
|
|
|
hit = 400; // Default was 500
|
|
|
|
indirectHit = 20; // Default was 15
|
|
|
|
class ace_missileguidance {
|
|
|
|
enabled = 1;
|
|
|
|
|
|
|
|
minDeflection = 0.0005; // Minium flap deflection for guidance
|
|
|
|
maxDeflection = 0.01; // 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 = QGVAR(seeker);
|
|
|
|
seekerTypes[] = {QGVAR(seeker)};
|
|
|
|
|
|
|
|
defaultSeekerLockMode = "LOBL";
|
|
|
|
seekerLockModes[] = {"LOBL"};
|
|
|
|
|
|
|
|
seekLastTargetPos = 0; // seek last target position [if seeker loses LOS of target, continue to last known pos]
|
|
|
|
seekerAngle = 45; // Angle in front of the missile which can be searched
|
|
|
|
seekerAccuracy = 1; // seeker accuracy multiplier
|
|
|
|
|
|
|
|
seekerMinRange = 0;
|
|
|
|
seekerMaxRange = 10; // Range from the missile which the seeker can visually search
|
|
|
|
|
|
|
|
// Attack profile type selection
|
|
|
|
defaultAttackProfile = QGVAR(directAttack);
|
|
|
|
attackProfiles[] = {QGVAR(directAttack), QGVAR(overflyTopAttack)};
|
2019-01-31 04:11:01 +00:00
|
|
|
useModeForAttackProfile = 1;
|
2017-06-02 21:51:20 +00:00
|
|
|
showHintOnCycle = 1;
|
|
|
|
|
|
|
|
// Run once at fired event
|
|
|
|
onFired = QFUNC(onFired);
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
// Sub ammos used in OTA mode (see fnc_seeker.sqf)
|
|
|
|
class ACE_NLAW_Explosion: ACE_NLAW { // Based on FCS-Airburst, will explode right away
|
|
|
|
timeToLive = 0;
|
2018-04-14 21:05:30 +00:00
|
|
|
model = "\A3\weapons_f\empty";
|
2017-06-02 21:51:20 +00:00
|
|
|
};
|
|
|
|
class ACE_NLAW_ShapedCharge: ACE_NLAW { // Shaped charge from rocket explosion, no effects
|
|
|
|
timeToLive = 1;
|
2018-04-14 21:05:30 +00:00
|
|
|
model = "\A3\weapons_f\empty";
|
2017-06-02 21:51:20 +00:00
|
|
|
hit = 750;
|
|
|
|
indirectHit = 0;
|
|
|
|
indirectHitRange = 0;
|
|
|
|
explosionSoundEffect = "";
|
|
|
|
explosionEffects = "";
|
|
|
|
CraterEffects = "";
|
|
|
|
muzzleEffect = "";
|
|
|
|
};
|
|
|
|
};
|