mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
65 lines
2.1 KiB
C++
65 lines
2.1 KiB
C++
|
THIS IS A WIP FUNCTIONALITY, DUE TO CHANGE
|
||
|
|
||
|
|
||
|
class M_PG_AT : MissileBase {
|
||
|
model = "\A3\Weapons_F\Ammo\Rocket_01_fly_F";
|
||
|
proxyShape = "\A3\Weapons_F\Ammo\Rocket_01_F";
|
||
|
|
||
|
irLock = 0;
|
||
|
laserLock = 0;
|
||
|
airLock = 0;
|
||
|
weaponLockSystem = "2 + 16";
|
||
|
|
||
|
maxSpeed = 720;
|
||
|
maxControlRange = 5000;
|
||
|
maneuvrability = 8;
|
||
|
timeToLive = 60;
|
||
|
simulationStep = 0.01;
|
||
|
airFriction = 0.1;
|
||
|
sideAirFriction = 0.16;
|
||
|
initTime = 0.002;
|
||
|
thrustTime = 1.07;
|
||
|
thrust = 530;
|
||
|
fuseDistance = 2;
|
||
|
|
||
|
effectsMissileInit = "MissileDAR1";
|
||
|
effectsMissile = "missile2";
|
||
|
whistleDist = 4;
|
||
|
muzzleEffect = "";
|
||
|
|
||
|
// Turn off arma crosshair-guidance
|
||
|
manualControl = 0;
|
||
|
|
||
|
// ACE uses these values
|
||
|
trackOversteer = 1;
|
||
|
trackLead = 0;
|
||
|
|
||
|
// Begin ACE guidance Configs
|
||
|
class ACE_MissileGuidance {
|
||
|
enabled = 1;
|
||
|
|
||
|
minDeflection = 0.005; // Minium flap deflection for guidance
|
||
|
maxDeflection = 0.025; // Maximum flap deflection for guidance
|
||
|
incDeflection = 0.005; // The incrmeent in which deflection adjusts.
|
||
|
//minDeflection = 0.005;
|
||
|
//maxDeflection = 0.5;
|
||
|
//incDeflection = 0.005;
|
||
|
|
||
|
// Guidance type for munitions
|
||
|
defaultSeekerType = "SALH";
|
||
|
seekerTypes[] = { "SALH", "LIDAR", "SARH", "Optic", "Thermal", "GPS", "SACLOS", "MCLOS" };
|
||
|
|
||
|
defaultSeekerLockMode = "LOAL";
|
||
|
seekerLockModes[] = { "LOAL", "LOBL" };
|
||
|
|
||
|
seekerAngle = 90; // Angle in front of the missile which can be searched
|
||
|
seekerAccuracy = 1; // seeker accuracy multiplier
|
||
|
|
||
|
seekerMinRange = 1;
|
||
|
seekerMaxRange = 2500; // Range from the missile which the seeker can visually search
|
||
|
|
||
|
// Attack profile type selection
|
||
|
defaultAttackProfile = "LIN";
|
||
|
attackProfiles[] = { "LIN", "DIR", "MID", "HI", "TOP", "PYM" };
|
||
|
};
|
||
|
};
|