Missileguidance - Update DAGR (#10024)

This commit is contained in:
Bailey Danyluk 2024-08-23 08:46:44 -06:00 committed by GitHub
parent 8d2b2ce3b9
commit 4d088fd828
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 46 additions and 15 deletions

View File

@ -20,19 +20,21 @@ class CfgAmmo {
class ADDON { class ADDON {
enabled = 1; enabled = 1;
minDeflection = 0.0005; // Minium flap deflection for guidance pitchRate = 40; // degrees per second
maxDeflection = 0.0025; // Maximum flap deflection for guidance yawRate = 40;
incDeflection = 0.0005; // The incrmeent in which deflection adjusts.
canVanillaLock = 0; // Can this default vanilla lock? Only applicable to non-cadet mode canVanillaLock = 0; // Can this default vanilla lock? Only applicable to non-cadet mode
// Guidance type for munitions // Guidance type for munitions
defaultSeekerType = "SALH"; defaultSeekerType = "SALH";
seekerTypes[] = { "SALH", "LIDAR", "SARH", "Optic", "Thermal", "GPS", "SACLOS", "MCLOS" }; seekerTypes[] = { "SALH" };
defaultSeekerLockMode = "LOAL"; defaultSeekerLockMode = "LOAL";
seekerLockModes[] = { "LOAL", "LOBL" }; seekerLockModes[] = { "LOAL", "LOBL" };
defaultNavigationType = "AugmentedProportionalNavigation";
navigationTypes[] = { "AugmentedProportionalNavigation" };
seekerAngle = 90; // Angle in front of the missile which can be searched seekerAngle = 90; // Angle in front of the missile which can be searched
seekerAccuracy = 1; // seeker accuracy multiplier seekerAccuracy = 1; // seeker accuracy multiplier
@ -68,7 +70,6 @@ class CfgAmmo {
// Begin ACE guidance Configs // Begin ACE guidance Configs
class ADDON { class ADDON {
enabled = 1; enabled = 1;
minDeflection = 0.00005; // Minium flap deflection for guidance minDeflection = 0.00005; // Minium flap deflection for guidance
maxDeflection = 0.025; // Maximum flap deflection for guidance maxDeflection = 0.025; // Maximum flap deflection for guidance
incDeflection = 0.00005; // The incrmeent in which deflection adjusts. incDeflection = 0.00005; // The incrmeent in which deflection adjusts.

View File

@ -4,24 +4,40 @@ class CfgMagazines {
class 6Rnd_ACE_Hydra70_DAGR: 12Rnd_PG_missiles { class 6Rnd_ACE_Hydra70_DAGR: 12Rnd_PG_missiles {
ammo = "ACE_Hydra70_DAGR"; ammo = "ACE_Hydra70_DAGR";
count = 12; count = 12;
displayName = "6 Round DAGR"; displayName = CSTRING(Hydra70_DAGR_6x);
displayNameShort = "6 Round DAGR";
descriptionShort = "6 Round DAGR";
weight = 36; weight = 36;
}; };
class 12Rnd_ACE_Hydra70_DAGR: 6Rnd_ACE_Hydra70_DAGR { class 12Rnd_ACE_Hydra70_DAGR: 6Rnd_ACE_Hydra70_DAGR {
count = 12; count = 12;
displayName = "16 Round DAGR"; displayName = CSTRING(Hydra70_DAGR_12x);
displayNameShort = "16 Round DAGR";
descriptionShort = "16 Round DAGR";
weight = 72; weight = 72;
}; };
class 24Rnd_ACE_Hydra70_DAGR: 6Rnd_ACE_Hydra70_DAGR { class 24Rnd_ACE_Hydra70_DAGR: 6Rnd_ACE_Hydra70_DAGR {
count = 24; count = 24;
displayName = "24 Round DAGR"; displayName = CSTRING(Hydra70_DAGR_24x);
displayNameShort = "24 Round DAGR";
descriptionShort = "24 Round DAGR";
weight = 72; weight = 72;
}; };
class PylonRack_12Rnd_PG_missiles;
class PylonRack_6Rnd_ACE_DAGR: PylonRack_12Rnd_PG_missiles {
ammo = "ACE_Hydra70_DAGR";
displayName = CSTRING(Hydra70_DAGR_6x);
count = 6;
pylonWeapon = QGVAR(dagr);
};
class PylonRack_12Rnd_ACE_DAGR: PylonRack_12Rnd_PG_missiles {
ammo = "ACE_Hydra70_DAGR";
displayName = CSTRING(Hydra70_DAGR_12x);
count = 12;
pylonWeapon = QGVAR(dagr);
};
class PylonRack_24Rnd_ACE_DAGR: PylonRack_12Rnd_PG_missiles {
ammo = "ACE_Hydra70_DAGR";
displayName = CSTRING(Hydra70_DAGR_24x);
count = 24;
pylonWeapon = QGVAR(dagr);
};
}; };

View File

@ -2,8 +2,13 @@ class CfgWeapons {
class missiles_DAGR; class missiles_DAGR;
class GVAR(dagr): missiles_DAGR { class GVAR(dagr): missiles_DAGR {
EGVAR(laser,canSelect) = 1; // can ace_laser lock (allows switching laser code)
EGVAR(laser,showHud) = 1; // show attack profile / lock on hud
magazines[] = {"6Rnd_ACE_Hydra70_DAGR","12Rnd_ACE_Hydra70_DAGR","24Rnd_ACE_Hydra70_DAGR","PylonRack_6Rnd_ACE_DAGR","PylonRack_12Rnd_ACE_DAGR","PylonRack_24Rnd_ACE_DAGR"};
autoFire = 0;
canLock = 0; canLock = 0;
magazines[] = {"6Rnd_ACE_Hydra70_DAGR","12Rnd_ACE_Hydra70_DAGR","24Rnd_ACE_Hydra70_DAGR"}; weaponLockSystem = 0;
lockingTargetSound[] = {"",0,1}; lockingTargetSound[] = {"",0,1};
lockedTargetSound[] = {"",0,1}; lockedTargetSound[] = {"",0,1};
}; };

View File

@ -205,5 +205,14 @@
<Chinese>循環切換開火模式</Chinese> <Chinese>循環切換開火模式</Chinese>
<Turkish>Ateşleme Modunu Değiştir</Turkish> <Turkish>Ateşleme Modunu Değiştir</Turkish>
</Key> </Key>
<Key ID="STR_ACE_MissileGuidance_Hydra70_DAGR_6x">
<English>6x DAGR [ACE]</English>
</Key>
<Key ID="STR_ACE_MissileGuidance_Hydra70_DAGR_12x">
<English>12x DAGR [ACE]</English>
</Key>
<Key ID="STR_ACE_MissileGuidance_Hydra70_DAGR_24x">
<English>24x DAGR [ACE]</English>
</Key>
</Package> </Package>
</Project> </Project>