Skip to content

Commit

Permalink
standardize aim9
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCandianVendingMachine committed Sep 10, 2024
1 parent 00669d0 commit 4e5b72e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 148 deletions.
159 changes: 13 additions & 146 deletions addons/missile_aim9/CfgAmmo.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
class EGVAR(missileguidance,type_Sidewinder);
class EGVAR(missileguidance,type_ASRAAM);
class EGVAR(missileguidance,type_R73);
class EGVAR(missileguidance,type_R74);
class CfgAmmo {
class Missile_AA_04_F;
class GVAR(m): Missile_AA_04_F {
Expand All @@ -9,37 +13,8 @@ class CfgAmmo {
author = "Dani (TCVM)";
maneuvrability = 0;

class ace_missileguidance {
class ace_missileguidance: EGVAR(missileguidance,type_Sidewinder) {
enabled = 1;

pitchRate = 35; // Minium flap deflection for guidance
yawRate = 35; // Maximum flap deflection for guidance

canVanillaLock = 1; // Can this default vanilla lock? Only applicable to non-cadet mode

// Guidance type for munitions
defaultSeekerType = "IR";
seekerTypes[] = { "IR" };

flareDistanceFilter = 100;
flareAngleFilter = 1.6; // can filter out flares that are >= flareAngleFilter to known target velocity

defaultSeekerLockMode = "LOBL";
seekerLockModes[] = { "LOBL" };

defaultNavigationType = "AugmentedProportionalNavigation";
navigationTypes[] = { "AugmentedProportionalNavigation" };

seekLastTargetPos = 0; // seek last target position [if seeker loses LOS of target, continue to last known pos]
seekerAngle = 45; // Angle from the shooter's view that can track the missile
seekerAccuracy = 0.8; // seeker accuracy multiplier

seekerMinRange = 75;
seekerMaxRange = 5000; // Range from the missile which the seeker can visually search

// Attack profile type selection
defaultAttackProfile = "DIR";
attackProfiles[] = {"DIR"};
};
};

Expand All @@ -53,37 +28,16 @@ class CfgAmmo {
author = "Dani (TCVM)";
maneuvrability = 0;

class ace_missileguidance {
class ace_missileguidance: EGVAR(missileguidance,type_Sidewinder) {
enabled = 1;

pitchRate = 90; // Minium flap deflection for guidance
yawRate = 90; // Maximum flap deflection for guidance

canVanillaLock = 1; // Can this default vanilla lock? Only applicable to non-cadet mode

// Guidance type for munitions
defaultSeekerType = "IR";
seekerTypes[] = { "IR" };

pitchRate = 90;
yawRate = 90;
flareDistanceFilter = 50;
flareAngleFilter = 0.8; // can filter out flares that are >= flareAngleFilter to known target velocity

defaultSeekerLockMode = "LOBL";
seekerLockModes[] = { "LOBL" };

defaultNavigationType = "ZeroEffortMiss";
navigationTypes[] = { "ZeroEffortMiss" };

seekLastTargetPos = 0; // seek last target position [if seeker loses LOS of target, continue to last known pos]
seekerAngle = 120; // Angle from the shooter's view that can track the missile
seekerAccuracy = 0.95; // seeker accuracy multiplier

seekerMinRange = 75;
seekerMaxRange = 5000; // Range from the missile which the seeker can visually search

// Attack profile type selection
defaultAttackProfile = "DIR";
attackProfiles[] = {"DIR"};
seekerAngle = 120;
seekerAccuracy = 0.95;
};
};

Expand All @@ -98,37 +52,8 @@ class CfgAmmo {
author = "Dani (TCVM)";
maneuvrability = 0;

class ace_missileguidance {
class ace_missileguidance: EGVAR(missileguidance,type_ASRAAM) {
enabled = 1;

pitchRate = 100; // Minium flap deflection for guidance
yawRate = 100; // Maximum flap deflection for guidance

canVanillaLock = 1; // Can this default vanilla lock? Only applicable to non-cadet mode

// Guidance type for munitions
defaultSeekerType = "IR";
seekerTypes[] = { "IR" };

flareDistanceFilter = 50;
flareAngleFilter = 0.8; // can filter out flares that are >= flareAngleFilter to known target velocity

defaultSeekerLockMode = "LOBL";
seekerLockModes[] = { "LOBL" };

defaultNavigationType = "ZeroEffortMiss";
navigationTypes[] = { "ZeroEffortMiss" };

seekLastTargetPos = 0; // seek last target position [if seeker loses LOS of target, continue to last known pos]
seekerAngle = 120; // Angle from the shooter's view that can track the missile
seekerAccuracy = 0.98; // seeker accuracy multiplier

seekerMinRange = 75;
seekerMaxRange = 8000; // Range from the missile which the seeker can visually search

// Attack profile type selection
defaultAttackProfile = "DIR";
attackProfiles[] = {"DIR"};
};
};

Expand All @@ -143,37 +68,8 @@ class CfgAmmo {
author = "Dani (TCVM)";
maneuvrability = 0;

class ace_missileguidance {
class ace_missileguidance: EGVAR(missileguidance,type_Sidewinder) {
enabled = 1;

pitchRate = 35; // Minium flap deflection for guidance
yawRate = 35; // Maximum flap deflection for guidance

canVanillaLock = 1; // Can this default vanilla lock? Only applicable to non-cadet mode

// Guidance type for munitions
defaultSeekerType = "IR";
seekerTypes[] = { "IR" };

flareDistanceFilter = 50;
flareAngleFilter = 0.8; // can filter out flares that are >= flareAngleFilter to known target velocity

defaultSeekerLockMode = "LOBL";
seekerLockModes[] = { "LOBL" };

defaultNavigationType = "AugmentedProportionalNavigation";
navigationTypes[] = { "AugmentedProportionalNavigation" };

seekLastTargetPos = 0; // seek last target position [if seeker loses LOS of target, continue to last known pos]
seekerAngle = 40; // Angle from the shooter's view that can track the missile
seekerAccuracy = 0.85; // seeker accuracy multiplier

seekerMinRange = 75;
seekerMaxRange = 5000; // Range from the missile which the seeker can visually search

// Attack profile type selection
defaultAttackProfile = "DIR";
attackProfiles[] = {"DIR"};
};
};

Expand All @@ -187,37 +83,8 @@ class CfgAmmo {
author = "Dani (TCVM)";
maneuvrability = 0;

class ace_missileguidance {
class ace_missileguidance: EGVAR(missileguidance,type_R74) {
enabled = 1;

pitchRate = 50; // Minium flap deflection for guidance
yawRate = 50; // Maximum flap deflection for guidance

canVanillaLock = 1; // Can this default vanilla lock? Only applicable to non-cadet mode

// Guidance type for munitions
defaultSeekerType = "IR";
seekerTypes[] = { "IR" };

flareDistanceFilter = 50;
flareAngleFilter = 0.8; // can filter out flares that are >= flareAngleFilter to known target velocity

defaultSeekerLockMode = "LOBL";
seekerLockModes[] = { "LOBL" };

defaultNavigationType = "AugmentedProportionalNavigation";
navigationTypes[] = { "AugmentedProportionalNavigation" };

seekLastTargetPos = 0; // seek last target position [if seeker loses LOS of target, continue to last known pos]
seekerAngle = 75; // Angle from the shooter's view that can track the missile
seekerAccuracy = 0.95; // seeker accuracy multiplier

seekerMinRange = 75;
seekerMaxRange = 8000; // Range from the missile which the seeker can visually search

// Attack profile type selection
defaultAttackProfile = "DIR";
attackProfiles[] = {"DIR"};
};
};
};
Expand Down
4 changes: 2 additions & 2 deletions addons/missileguidance/CfgMissileTypesNato.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -612,8 +612,8 @@ class GVAR(type_Redeye) {
class GVAR(type_Sidewinder) {
enabled = 0;

pitchRate = 25; // Minium flap deflection for guidance
yawRate = 25; // Maximum flap deflection for guidance
pitchRate = 35; // Minium flap deflection for guidance
yawRate = 35; // Maximum flap deflection for guidance

canVanillaLock = 1; // Can this default vanilla lock? Only applicable to non-cadet mode

Expand Down

0 comments on commit 4e5b72e

Please sign in to comment.