Skip to content

Commit

Permalink
add rhs compat
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCandianVendingMachine committed Jul 31, 2024
1 parent e1664e7 commit fe44c70
Show file tree
Hide file tree
Showing 24 changed files with 1,192 additions and 483 deletions.
497 changes: 14 additions & 483 deletions addons/missileGuidanceCompat/CfgAmmo.hpp

Large diffs are not rendered by default.

38 changes: 38 additions & 0 deletions addons/missileGuidanceCompat/CfgMissileAtaka.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
class ace_missileguidance {
enabled = 1;

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

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

showTrail = 1;

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

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

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

lineGainP = 16;
lineGainD = 10.44;

initialPitch = 2;

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

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

offsetFromCrosshair[] = { 0, 0, 0 }; // where the missile wants to stay in relation to the center of the crosshair.

// Attack profile type selection
defaultAttackProfile = "BEAM";
attackProfiles[] = {"BEAM"};
};
39 changes: 39 additions & 0 deletions addons/missileGuidanceCompat/CfgMissileBastion.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
class ace_missileguidance {
enabled = 1;

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

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

showTrail = 1;

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

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

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

lineGainP = 16;
lineGainD = 10.44;

initialPitch = 2;

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

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

correctionDistance = 30; // distance from center of crosshair where missile slows down
offsetFromCrosshair[] = { 0, 0, 0 }; // where the missile wants to stay in relation to the center of the crosshair.

// Attack profile type selection
defaultAttackProfile = "BEAM";
attackProfiles[] = {"BEAM"};
};
39 changes: 39 additions & 0 deletions addons/missileGuidanceCompat/CfgMissileDrakon.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
class ace_missileguidance {
enabled = 1;

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

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

showTrail = 1;

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

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

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

lineGainP = 16;
lineGainD = 9.5;

initialPitch = 2;

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

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

correctionDistance = 30; // distance from center of crosshair where missile slows down
offsetFromCrosshair[] = { 0, 0, 0 }; // where the missile wants to stay in relation to the center of the crosshair.

// Attack profile type selection
defaultAttackProfile = "BEAM";
attackProfiles[] = {"BEAM"};
};
39 changes: 39 additions & 0 deletions addons/missileGuidanceCompat/CfgMissileFagot.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
class ace_missileguidance {
enabled = 1;

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

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

showTrail = 1;

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

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

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

lineGainP = 16;
lineGainD = 10.44;

initialPitch = 2;

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

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

correctionDistance = 30; // distance from center of crosshair where missile slows down
offsetFromCrosshair[] = { 0, 0, 0 }; // where the missile wants to stay in relation to the center of the crosshair.

// Attack profile type selection
defaultAttackProfile = "BEAM";
attackProfiles[] = {"BEAM"};
};
37 changes: 37 additions & 0 deletions addons/missileGuidanceCompat/CfgMissileFalanga.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
class ace_missileguidance {
enabled = 1;

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

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

showTrail = 1;

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

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

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

lineGainP = 5;
lineGainD = 0;

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

seekerMinRange = 0;
seekerMaxRange = 2500; // Range from the missile which the seeker can visually search

correctionDistance = 0; // distance from center of crosshair where missile slows down
offsetFromCrosshair[] = { 0, 0, 0 }; // where the missile wants to stay in relation to the center of the crosshair.

// Attack profile type selection
defaultAttackProfile = "WIRE";
attackProfiles[] = {"WIRE"};
};
37 changes: 37 additions & 0 deletions addons/missileGuidanceCompat/CfgMissileFleyta.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
class ace_missileguidance {
enabled = 1;

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

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

showTrail = 1;

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

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

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

lineGainP = 5;
lineGainD = 0;

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

seekerMinRange = 0;
seekerMaxRange = 3000; // Range from the missile which the seeker can visually search

correctionDistance = 0; // distance from center of crosshair where missile slows down
offsetFromCrosshair[] = { 0, 0, 0 }; // where the missile wants to stay in relation to the center of the crosshair.

// Attack profile type selection
defaultAttackProfile = "WIRE";
attackProfiles[] = {"WIRE"};
};
32 changes: 32 additions & 0 deletions addons/missileGuidanceCompat/CfgMissileIgla.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
class ace_missileguidance {
enabled = 1;

pitchRate = 30; // Minium flap deflection for guidance
yawRate = 43; // 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.1; // 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.76; // seeker accuracy multiplier

seekerMinRange = 5;
seekerMaxRange = 5200; // Range from the missile which the seeker can visually search

// Attack profile type selection
defaultAttackProfile = "DIR";
attackProfiles[] = {"DIR"};
};
27 changes: 27 additions & 0 deletions addons/missileGuidanceCompat/CfgMissileKH25.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
class ace_missileguidance {
enabled = 1;

pitchRate = 20;
yawRate = 20;

canVanillaLock = 0;

defaultSeekerType = "SALH";
seekerTypes[] = {"SALH"};

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

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

seekLastTargetPos = 1;
seekerAngle = 40;
seekerAccuracy = 1;

seekerMinRange = 1;
seekerMaxRange = 10000;

defaultAttackProfile = "maverick";
attackProfiles[] = {"maverick"};
};
27 changes: 27 additions & 0 deletions addons/missileGuidanceCompat/CfgMissileKH29.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
class ace_missileguidance {
enabled = 1;

pitchRate = 20;
yawRate = 20;

canVanillaLock = 0;

defaultSeekerType = "SALH";
seekerTypes[] = {"SALH"};

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

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

seekLastTargetPos = 1;
seekerAngle = 40;
seekerAccuracy = 1;

seekerMinRange = 1;
seekerMaxRange = 10000;

defaultAttackProfile = "maverick";
attackProfiles[] = {"maverick"};
};
39 changes: 39 additions & 0 deletions addons/missileGuidanceCompat/CfgMissileKobra.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
class ace_missileguidance {
enabled = 1;

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

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

showTrail = 1;

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

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

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

lineGainP = 16;
lineGainD = 9.5;

initialPitch = 2;

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

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

correctionDistance = 30; // distance from center of crosshair where missile slows down
offsetFromCrosshair[] = { 0, 0, 0 }; // where the missile wants to stay in relation to the center of the crosshair.

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

0 comments on commit fe44c70

Please sign in to comment.