add KAB-250 lgb

This commit is contained in:
Brandon Danyluk 2021-04-12 18:04:40 -06:00
parent 8948e8ac77
commit 0d0019b272
4 changed files with 56 additions and 4 deletions

View File

@ -24,7 +24,44 @@ class CfgAmmo {
navigationTypes[] = { "LineOfSight" };
seekLastTargetPos = 0; // seek last target position [if seeker loses LOS of target, continue to last known pos]
seekerAngle = 90; // Angle from the shooter's view that can track the missile
seekerAngle = 60; // Angle from the shooter's view that can track the missile
seekerAccuracy = 1; // seeker accuracy multiplier
seekerMinRange = 5;
seekerMaxRange = 4000; // Range from the missile which the seeker can visually search
// Attack profile type selection
defaultAttackProfile = "LIN";
attackProfiles[] = {"LIN"};
};
};
class Bomb_03_F;
class GVAR(FAB250): Bomb_03_F {
maneuvrability = 0; // no maneuvrability so that default guidance doesnt work
airFriction = 0.25; // bombs have high drag who woulda thunk
class ace_missileguidance {
enabled = 1;
pitchRate = 23;
yawRate = 23;
bangBangGuidance = 1;
canVanillaLock = 0; // Can this default vanilla lock? Only applicable to non-cadet mode
// Guidance type for munitions
defaultSeekerType = "SALH";
seekerTypes[] = { "SALH" };
defaultSeekerLockMode = "LOAL";
seekerLockModes[] = { "LOAL" };
defaultNavigationType = "LineOfSight";
navigationTypes[] = { "LineOfSight" };
seekLastTargetPos = 0; // seek last target position [if seeker loses LOS of target, continue to last known pos]
seekerAngle = 60; // Angle from the shooter's view that can track the missile
seekerAccuracy = 1; // seeker accuracy multiplier
seekerMinRange = 5;

View File

@ -13,5 +13,20 @@ class CfgMagazines {
ammo = QGVAR(12);
pylonWeapon = QGVAR(12);
};
class magazine_Bomb_KAB250_x1;
class GVAR(1Rnd_FAB250): magazine_Bomb_KAB250_x1 {
displayName = "KAB-250M-54 [ACE]";
author = "Brandon (TCVM)";
ammo = QGVAR(FAB250);
};
class PylonMissile_Bomb_KAB250_x1;
class GVAR(1_PylonMissile_1Rnd_FAB250): PylonMissile_Bomb_KAB250_x1 {
displayName = "KAB-250M-54 [ACE]";
author = "Brandon (TCVM)";
ammo = QGVAR(FAB250);
pylonWeapon = QGVAR(FAB250);
};
};

View File

@ -8,9 +8,9 @@ class CfgWeapons {
EGVAR(laser,showHud) = 1; // show attack profile / lock on hud
};
class GVAR(lom250): weapon_LGBLauncherBase {
class GVAR(FAB250): weapon_LGBLauncherBase {
displayName = "FAB-250M-54 [ACE]";
magazines[] = {"2Rnd_Bomb_03_F","PylonMissile_1Rnd_Bomb_03_F"};
magazines[] = {QGVAR(1Rnd_FAB250), QGVAR(1_PylonMissile_1Rnd_FAB250)};
EGVAR(laser,canSelect) = 1; // can ace_laser lock (allows switching laser code)
EGVAR(laser,showHud) = 1; // show attack profile / lock on hud

View File

@ -31,4 +31,4 @@ Navigation States:
General To-Do:
Add more weapons
Fix GBU drag
X Fix GBU drag