diff --git a/addons/gbu/CfgAmmo.hpp b/addons/gbu/CfgAmmo.hpp index bc79240019..7cb1f89786 100644 --- a/addons/gbu/CfgAmmo.hpp +++ b/addons/gbu/CfgAmmo.hpp @@ -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; diff --git a/addons/gbu/CfgMagazines.hpp b/addons/gbu/CfgMagazines.hpp index 531a9bc774..dc6c2cdfd5 100644 --- a/addons/gbu/CfgMagazines.hpp +++ b/addons/gbu/CfgMagazines.hpp @@ -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); + }; }; diff --git a/addons/gbu/CfgWeapons.hpp b/addons/gbu/CfgWeapons.hpp index a155b37682..2c76d0626c 100644 --- a/addons/gbu/CfgWeapons.hpp +++ b/addons/gbu/CfgWeapons.hpp @@ -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 diff --git a/addons/missileguidance/todo.txt b/addons/missileguidance/todo.txt index 21e7753492..db022e4c6d 100644 --- a/addons/missileguidance/todo.txt +++ b/addons/missileguidance/todo.txt @@ -31,4 +31,4 @@ Navigation States: General To-Do: Add more weapons - Fix GBU drag + X Fix GBU drag