fix mod compats

This commit is contained in:
Bailey Danyluk 2024-08-29 07:51:44 -06:00
parent 6d3cd25778
commit 1ece7988e4
2 changed files with 62 additions and 12 deletions

View File

@ -7,20 +7,51 @@ class CfgAmmo {
class ace_missileguidance {
enabled = 1;
minDeflection = 0.00005;
maxDeflection = 0.025;
incDeflection = 0.00005;
pitchRate = 120; // degrees per second
yawRate = 120;
stabilityCoefficient = 0.2;
bangBangGuidance = 0;
canVanillaLock = 0;
// Guidance type for munitions
defaultSeekerType = "Optic";
seekerTypes[] = { "Optic" };
defaultSeekerLockMode = "LOBL";
seekerLockModes[] = { "LOBL" };
seekerAngle = 180;
seekerAccuracy = 1;
defaultNavigationType = "Direct";
navigationTypes[] = { "Direct", "ZeroEffortMiss" };
navigationGain = 3;
seekerAngle = 180; // Angle in front of the missile which can be searched
seekerAccuracy = 1; // seeker accuracy multiplier
seekerMinRange = 0;
seekerMaxRange = 2500;
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" };
useModeForAttackProfile = 1;
class navigationStates {
class initial {
transitionCondition = QEFUNC(missileguidance,javelin_midCourseTransition);
navigationType = "Direct";
};
class terminal {
transitionCondition = "";
navigationType = "ZeroEffortMiss";
};
// transitions from initial -> termimal
states[] = {"initial", "terminal"};
};
};
};
};

View File

@ -9,9 +9,10 @@ class CfgAmmo {
class ace_missileguidance {
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.
pitchRate = 120; // degrees per second
yawRate = 120;
stabilityCoefficient = 0.2;
bangBangGuidance = 0;
canVanillaLock = 0;
@ -22,6 +23,11 @@ class CfgAmmo {
defaultSeekerLockMode = "LOBL";
seekerLockModes[] = { "LOBL" };
defaultNavigationType = "Direct";
navigationTypes[] = { "Direct", "ZeroEffortMiss" };
navigationGain = 3;
seekerAngle = 180; // Angle in front of the missile which can be searched
seekerAccuracy = 1; // seeker accuracy multiplier
@ -34,6 +40,19 @@ class CfgAmmo {
defaultAttackProfile = "JAV_TOP";
attackProfiles[] = { "JAV_TOP", "JAV_DIR" };
useModeForAttackProfile = 1;
class navigationStates {
class initial {
transitionCondition = QEFUNC(missileguidance,javelin_midCourseTransition);
navigationType = "Direct";
};
class terminal {
transitionCondition = "";
navigationType = "ZeroEffortMiss";
};
// transitions from initial -> termimal
states[] = {"initial", "terminal"};
};
};
};
};