ACE3/addons/gbu/CfgAmmo.hpp

78 lines
2.8 KiB
C++
Raw Normal View History

2021-04-12 08:51:02 +00:00
class CfgAmmo {
class Bo_GBU12_LGB;
class GVAR(12): Bo_GBU12_LGB {
maneuvrability = 0; // no maneuvrability so that default guidance doesnt work
2021-04-12 21:39:02 +00:00
airFriction = 0.25; // bombs have high drag who woulda thunk
2021-04-12 08:51:02 +00:00
class ace_missileguidance {
enabled = 1;
2021-04-17 01:50:00 +00:00
pitchRate = 5;
yawRate = 5;
2021-04-12 08:51:02 +00:00
bangBangGuidance = 1;
stabilityCoefficient = 0.4; // how much this projectile likes to "weathervane" (keep direction toward velocity)
2021-04-12 08:51:02 +00:00
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]
2021-04-13 00:04:40 +00:00
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
2021-04-14 08:29:27 +00:00
defaultAttackProfile = "DIR";
attackProfiles[] = {"DIR"};
2021-04-13 00:04:40 +00:00
};
};
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;
2021-04-17 01:50:00 +00:00
pitchRate = 8;
yawRate = 8;
2021-04-13 00:04:40 +00:00
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
2021-04-12 08:51:02 +00:00
seekerAccuracy = 1; // seeker accuracy multiplier
seekerMinRange = 5;
seekerMaxRange = 4000; // Range from the missile which the seeker can visually search
// Attack profile type selection
2021-04-14 02:31:10 +00:00
defaultAttackProfile = "DIR";
attackProfiles[] = {"DIR"};
2021-04-12 08:51:02 +00:00
};
};
};