Skip to content

Commit

Permalink
Hot - Update to new framework (#10029)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheCandianVendingMachine authored Aug 23, 2024
1 parent fad9244 commit 9d429b8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 4 deletions.
16 changes: 12 additions & 4 deletions addons/hot/CfgAmmo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,27 +58,35 @@ class CfgAmmo {
class ace_missileguidance {
enabled = 1;

minDeflection = 0; // Minium flap deflection for guidance
maxDeflection = 0.0030; // Maximum flap deflection for guidance
incDeflection = 0.0005; // The incrmeent in which deflection adjusts.
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 = 7;
lineGainD = 6;

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 = 8; // distance from center of crosshair where missile slows down
offsetFromCrosshair[] = { 0, 0, 0.5 }; // where the missile wants to stay in relation to the center of the crosshair.

// Attack profile type selection
Expand Down
11 changes: 11 additions & 0 deletions addons/hot/CfgVehicles.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,22 @@ class CfgVehicles {
class Turrets;
};
class LT_01_base_F: Tank_F {
class AnimationSources;
class Turrets: Turrets {
class MainTurret;
};
};
class LT_01_AT_base_F: LT_01_base_F {
class AnimationSources: AnimationSources {
class Missiles_revolving {
source = "revolving";
weapon = QGVAR(generic_launcher);
};
class Missiles_reloadMagazine {
source = "reloadMagazine";
weapon = QGVAR(generic_launcher);
};
};
class Turrets: Turrets {
class MainTurret: MainTurret {
weapons[] = {"SmokeLauncher","HMG_127",QGVAR(generic_launcher)};
Expand Down

0 comments on commit 9d429b8

Please sign in to comment.