mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Tweak flight parameters. Add R-77
This commit is contained in:
parent
fe1e6d45cb
commit
265670cafa
@ -1,6 +1,12 @@
|
|||||||
class CfgAmmo {
|
class CfgAmmo {
|
||||||
class ammo_Missile_AMRAAM_C;
|
class ammo_Missile_AMRAAM_C;
|
||||||
|
// AIM-120
|
||||||
class GVAR(c): ammo_Missile_AMRAAM_C {
|
class GVAR(c): ammo_Missile_AMRAAM_C {
|
||||||
|
missileLockCone = 30;
|
||||||
|
missileKeepLockedCone = 30;
|
||||||
|
missileLockMaxDistance = 16000;
|
||||||
|
missileLockMinDistance = 500;
|
||||||
|
|
||||||
author = "Brandon (TCVM)";
|
author = "Brandon (TCVM)";
|
||||||
maneuvrability = 0;
|
maneuvrability = 0;
|
||||||
flightProfiles[] = {"Direct", "Loft"};
|
flightProfiles[] = {"Direct", "Loft"};
|
||||||
@ -9,8 +15,8 @@ class CfgAmmo {
|
|||||||
class ace_missileguidance {
|
class ace_missileguidance {
|
||||||
enabled = 1;
|
enabled = 1;
|
||||||
|
|
||||||
pitchRate = 40; // Minium flap deflection for guidance
|
pitchRate = 30; // Minium flap deflection for guidance
|
||||||
yawRate = 40; // Maximum flap deflection for guidance
|
yawRate = 30; // Maximum flap deflection for guidance
|
||||||
|
|
||||||
canVanillaLock = 1; // Can this default vanilla lock? Only applicable to non-cadet mode
|
canVanillaLock = 1; // Can this default vanilla lock? Only applicable to non-cadet mode
|
||||||
|
|
||||||
@ -45,6 +51,11 @@ class CfgAmmo {
|
|||||||
|
|
||||||
class ammo_Missile_AMRAAM_D;
|
class ammo_Missile_AMRAAM_D;
|
||||||
class GVAR(d): ammo_Missile_AMRAAM_D {
|
class GVAR(d): ammo_Missile_AMRAAM_D {
|
||||||
|
missileLockCone = 45;
|
||||||
|
missileKeepLockedCone = 45;
|
||||||
|
missileLockMaxDistance = 16000;
|
||||||
|
missileLockMinDistance = 500;
|
||||||
|
|
||||||
author = "Brandon (TCVM)";
|
author = "Brandon (TCVM)";
|
||||||
maneuvrability = 0;
|
maneuvrability = 0;
|
||||||
flightProfiles[] = {"Direct", "TopDown"};
|
flightProfiles[] = {"Direct", "TopDown"};
|
||||||
@ -53,8 +64,58 @@ class CfgAmmo {
|
|||||||
class ace_missileguidance {
|
class ace_missileguidance {
|
||||||
enabled = 1;
|
enabled = 1;
|
||||||
|
|
||||||
pitchRate = 50; // Minium flap deflection for guidance
|
pitchRate = 45; // Minium flap deflection for guidance
|
||||||
yawRate = 50; // Maximum flap deflection for guidance
|
yawRate = 45; // Maximum flap deflection for guidance
|
||||||
|
|
||||||
|
canVanillaLock = 1; // Can this default vanilla lock? Only applicable to non-cadet mode
|
||||||
|
|
||||||
|
// Guidance type for munitions
|
||||||
|
defaultSeekerType = "DopplerRadar";
|
||||||
|
seekerTypes[] = { "DopplerRadar" };
|
||||||
|
lockableTypes[] = {"Air"};
|
||||||
|
|
||||||
|
minimumSpeedFilter = 15; // filter out targets that have a closing velocity less than this
|
||||||
|
minimumTimeFilter = 0.00005; // filter out targets that are this close to the ground (speed of light)
|
||||||
|
maxTerrainCheck = 16000; // How far we should check for terrain
|
||||||
|
|
||||||
|
defaultSeekerLockMode = "LOAL";
|
||||||
|
seekerLockModes[] = { "LOAL", "LOBL" };
|
||||||
|
|
||||||
|
defaultNavigationType = "ZeroEffortMiss";
|
||||||
|
navigationTypes[] = { "ZeroEffortMiss" };
|
||||||
|
|
||||||
|
seekLastTargetPos = 0; // seek last target position [if seeker loses LOS of target, continue to last known pos]
|
||||||
|
seekerAngle = 50; // Angle from the shooter's view that can track the missile
|
||||||
|
seekerAccuracy = 1; // seeker accuracy multiplier
|
||||||
|
|
||||||
|
seekerMinRange = 75;
|
||||||
|
seekerMaxRange = 2500; // Range from the missile which the seeker can visually search
|
||||||
|
|
||||||
|
// Attack profile type selection
|
||||||
|
defaultAttackProfile = "DIR";
|
||||||
|
attackProfiles[] = {"DIR", "LOFT"};
|
||||||
|
useModeForAttackProfile = 1;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
// R-77
|
||||||
|
class ammo_Missile_AA_R77;
|
||||||
|
class GVAR(r77): ammo_Missile_AA_R77 {
|
||||||
|
missileLockCone = 50;
|
||||||
|
missileKeepLockedCone = 50;
|
||||||
|
missileLockMaxDistance = 16000;
|
||||||
|
missileLockMinDistance = 500;
|
||||||
|
|
||||||
|
author = "Brandon (TCVM)";
|
||||||
|
maneuvrability = 0;
|
||||||
|
flightProfiles[] = {"Direct", "TopDown"};
|
||||||
|
class Direct {}; // dummy to allow for F cycling of missile mode
|
||||||
|
class TopDown {};
|
||||||
|
class ace_missileguidance {
|
||||||
|
enabled = 1;
|
||||||
|
|
||||||
|
pitchRate = 40; // Minium flap deflection for guidance
|
||||||
|
yawRate = 40; // Maximum flap deflection for guidance
|
||||||
|
|
||||||
canVanillaLock = 1; // Can this default vanilla lock? Only applicable to non-cadet mode
|
canVanillaLock = 1; // Can this default vanilla lock? Only applicable to non-cadet mode
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@ class CfgMagazines {
|
|||||||
class PylonRack_Missile_AMRAAM_D_x1;
|
class PylonRack_Missile_AMRAAM_D_x1;
|
||||||
class PylonRack_Missile_AMRAAM_D_x2;
|
class PylonRack_Missile_AMRAAM_D_x2;
|
||||||
|
|
||||||
|
// AIM-120
|
||||||
class GVAR(c): magazine_Missile_AMRAAM_C_x1 {
|
class GVAR(c): magazine_Missile_AMRAAM_C_x1 {
|
||||||
author = "Brandon (TCVM)";
|
author = "Brandon (TCVM)";
|
||||||
displayName = "1x AIM-120C [ACE]";
|
displayName = "1x AIM-120C [ACE]";
|
||||||
@ -56,5 +57,28 @@ class CfgMagazines {
|
|||||||
ammo = QGVAR(d);
|
ammo = QGVAR(d);
|
||||||
pylonWeapon = GVAR(aim120Launcher);
|
pylonWeapon = GVAR(aim120Launcher);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// R-77
|
||||||
|
class magazine_Missile_AA_R77_x1;
|
||||||
|
class PylonMissile_Missile_AA_R77_x1;
|
||||||
|
class PylonMissile_Missile_AA_R77_INT_x1;
|
||||||
|
|
||||||
|
class GVAR(r77): magazine_Missile_AA_R77_x1 {
|
||||||
|
author = "Brandon (TCVM)";
|
||||||
|
displayName = "1x R77 [ACE]";
|
||||||
|
ammo = QGVAR(r77);
|
||||||
|
};
|
||||||
|
class GVAR(PylonMissile_Missile_R77_x1): PylonMissile_Missile_AA_R77_x1 {
|
||||||
|
author = "Brandon (TCVM)";
|
||||||
|
displayName = "1x R77 [ACE]";
|
||||||
|
ammo = QGVAR(r77);
|
||||||
|
pylonWeapon = QGVAR(r77Launcher);
|
||||||
|
};
|
||||||
|
class GVAR(PylonMissile_Missile_R77__INT_x1): PylonMissile_Missile_AA_R77_INT_x1 {
|
||||||
|
author = "Brandon (TCVM)";
|
||||||
|
displayName = "1x R77 [ACE]";
|
||||||
|
ammo = QGVAR(r77);
|
||||||
|
pylonWeapon = QGVAR(r77Launcher);
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -49,5 +49,55 @@ class CfgWeapons {
|
|||||||
EGVAR(missileGuidance,attackProfile) = "LOFT";
|
EGVAR(missileGuidance,attackProfile) = "LOFT";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
class weapon_R77Launcher;
|
||||||
|
class GVAR(r77Launcher): weapon_R77Launcher {
|
||||||
|
author = "Brandon (TCVM)";
|
||||||
|
displayName = "R-77 [ACE]";
|
||||||
|
weaponLockDelay = 0.5;
|
||||||
|
|
||||||
|
magazines[] = {QGVAR(r77), QGVAR(PylonMissile_Missile_R77_x1), QGVAR(PylonMissile_Missile_R77__INT_x1)};
|
||||||
|
|
||||||
|
modes[] = {"Direct", "Loft"};
|
||||||
|
class Direct: MissileLauncher {
|
||||||
|
displayName = "Direct";
|
||||||
|
textureType = "direct";
|
||||||
|
reloadTime = 0.1;
|
||||||
|
magazineReloadTime = 0.1;
|
||||||
|
aiRateOfFire = 15;
|
||||||
|
aiRateOfFireDispersion = -10;
|
||||||
|
aiRateOfFireDistance = 10000;
|
||||||
|
minRange = 800;
|
||||||
|
minRangeProbab = 0.5;
|
||||||
|
midRange = 2500;
|
||||||
|
midRangeProbab = 0.95;
|
||||||
|
maxRange = 4000;
|
||||||
|
maxRangeProbab = 1;
|
||||||
|
sounds[] = {"StandardSound"};
|
||||||
|
class StandardSound {
|
||||||
|
begin1[] = {"A3\Sounds_F\weapons\Rockets\missile_2", 1.12202, 1.3, 1000};
|
||||||
|
soundBegin[] = {"begin1", 1};
|
||||||
|
weaponSoundEffect = "DefaultRifle";
|
||||||
|
};
|
||||||
|
soundFly[] = {"A3\Sounds_F\weapons\Rockets\rocket_fly_1", 1, 1.5, 700};
|
||||||
|
lockingTargetSound[] = {"\A3\Sounds_F\weapons\Rockets\locked_1", 0.562341, 1};
|
||||||
|
lockedTargetSound[] = {"\A3\Sounds_F\weapons\Rockets\locked_3", 0.562341, 2.5};
|
||||||
|
|
||||||
|
EGVAR(missileGuidance,attackProfile) = "DIR";
|
||||||
|
};
|
||||||
|
class Loft: Direct {
|
||||||
|
displayName = "Loft";
|
||||||
|
textureType = "topdown";
|
||||||
|
|
||||||
|
minRange = 4000;
|
||||||
|
minRangeProbab = 0.5;
|
||||||
|
midRange = 7000;
|
||||||
|
midRangeProbab = 0.95;
|
||||||
|
maxRange = 13000;
|
||||||
|
maxRangeProbab = 1;
|
||||||
|
|
||||||
|
EGVAR(missileGuidance,attackProfile) = "LOFT";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -46,8 +46,8 @@ class CfgAmmo {
|
|||||||
class ace_missileguidance {
|
class ace_missileguidance {
|
||||||
enabled = 1;
|
enabled = 1;
|
||||||
|
|
||||||
pitchRate = 30; // Minium flap deflection for guidance
|
pitchRate = 40; // Minium flap deflection for guidance
|
||||||
yawRate = 30; // Maximum flap deflection for guidance
|
yawRate = 40; // Maximum flap deflection for guidance
|
||||||
|
|
||||||
canVanillaLock = 1; // Can this default vanilla lock? Only applicable to non-cadet mode
|
canVanillaLock = 1; // Can this default vanilla lock? Only applicable to non-cadet mode
|
||||||
|
|
||||||
|
@ -6,8 +6,8 @@ class CfgAmmo {
|
|||||||
class ace_missileguidance {
|
class ace_missileguidance {
|
||||||
enabled = 1;
|
enabled = 1;
|
||||||
|
|
||||||
pitchRate = 15;
|
pitchRate = 5;
|
||||||
yawRate = 15;
|
yawRate = 5;
|
||||||
|
|
||||||
bangBangGuidance = 1;
|
bangBangGuidance = 1;
|
||||||
|
|
||||||
@ -43,8 +43,8 @@ class CfgAmmo {
|
|||||||
class ace_missileguidance {
|
class ace_missileguidance {
|
||||||
enabled = 1;
|
enabled = 1;
|
||||||
|
|
||||||
pitchRate = 23;
|
pitchRate = 8;
|
||||||
yawRate = 23;
|
yawRate = 8;
|
||||||
|
|
||||||
bangBangGuidance = 1;
|
bangBangGuidance = 1;
|
||||||
|
|
||||||
|
@ -26,8 +26,8 @@ class CfgAmmo {
|
|||||||
class ace_missileguidance {
|
class ace_missileguidance {
|
||||||
enabled = 1;
|
enabled = 1;
|
||||||
|
|
||||||
pitchRate = 40; // degrees per second
|
pitchRate = 30; // degrees per second
|
||||||
yawRate = 40;
|
yawRate = 30;
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
|
@ -12,8 +12,8 @@ class CfgAmmo {
|
|||||||
class ace_missileguidance {
|
class ace_missileguidance {
|
||||||
enabled = 1;
|
enabled = 1;
|
||||||
|
|
||||||
pitchRate = 10;
|
pitchRate = 15;
|
||||||
yawRate = 10;
|
yawRate = 15;
|
||||||
|
|
||||||
canVanillaLock = 1;
|
canVanillaLock = 1;
|
||||||
|
|
||||||
@ -55,8 +55,8 @@ class CfgAmmo {
|
|||||||
class ace_missileguidance {
|
class ace_missileguidance {
|
||||||
enabled = 1;
|
enabled = 1;
|
||||||
|
|
||||||
pitchRate = 30;
|
pitchRate = 15;
|
||||||
yawRate = 30;
|
yawRate = 15;
|
||||||
|
|
||||||
canVanillaLock = 0;
|
canVanillaLock = 0;
|
||||||
|
|
||||||
@ -90,8 +90,8 @@ class CfgAmmo {
|
|||||||
class ace_missileguidance {
|
class ace_missileguidance {
|
||||||
enabled = 1;
|
enabled = 1;
|
||||||
|
|
||||||
pitchRate = 45;
|
pitchRate = 20;
|
||||||
yawRate = 45;
|
yawRate = 20;
|
||||||
|
|
||||||
canVanillaLock = 0;
|
canVanillaLock = 0;
|
||||||
|
|
||||||
|
@ -20,8 +20,8 @@ class CfgAmmo {
|
|||||||
class ADDON {
|
class ADDON {
|
||||||
enabled = 1;
|
enabled = 1;
|
||||||
|
|
||||||
pitchRate = 50; // degrees per second
|
pitchRate = 40; // degrees per second
|
||||||
yawRate = 50;
|
yawRate = 40;
|
||||||
|
|
||||||
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
|
||||||
|
|
||||||
@ -71,8 +71,8 @@ class CfgAmmo {
|
|||||||
class ADDON {
|
class ADDON {
|
||||||
enabled = 1;
|
enabled = 1;
|
||||||
|
|
||||||
pitchRate = 40; // degrees per second
|
pitchRate = 25; // degrees per second
|
||||||
yawRate = 40;
|
yawRate = 25;
|
||||||
|
|
||||||
bangBangGuidance = 0;
|
bangBangGuidance = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user