Skip to content

Commit

Permalink
standardize vikhr
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCandianVendingMachine committed Sep 10, 2024
1 parent 1d228b3 commit ecccaf3
Showing 1 changed file with 2 additions and 31 deletions.
33 changes: 2 additions & 31 deletions addons/missile_vikhr/CfgAmmo.hpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
class EGVAR(missileguidance,type_Vikhr);
class CfgAmmo {
class M_Scalpel_AT;
class GVAR(9k121): M_Scalpel_AT {
Expand All @@ -8,38 +9,8 @@ class CfgAmmo {
laserLock = 0;
manualControl = 0;

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

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

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

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

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

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

lineGainP = 8;
lineGainD = 6;

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

seekerMinRange = 30;
seekerMaxRange = 12000; // Range from the missile which the seeker can visually search

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

0 comments on commit ecccaf3

Please sign in to comment.