mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
54 lines
2.0 KiB
C++
54 lines
2.0 KiB
C++
class CfgWeapons {
|
|
class weapon_AMRAAMLauncher;
|
|
class MissileLauncher;
|
|
class GVAR(aim120Launcher): weapon_AMRAAMLauncher {
|
|
author = "Brandon (TCVM)";
|
|
displayName = "AIM-120 [ACE]";
|
|
weaponLockDelay = 0.5;
|
|
|
|
magazines[] = { QGVAR(c), QGVAR(PylonMissile_Missile_c_x1), QGVAR(PylonRack_Missile_c_x1), QGVAR(PylonRack_Missile_c_x2), QGVAR(PylonMissile_Missile_d_x1), QGVAR(PylonMissile_Missile_d_INT_x1), QGVAR(PylonRack_Missile_d_x1), QGVAR(PylonRack_Missile_d_x2)};
|
|
|
|
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";
|
|
};
|
|
};
|
|
};
|
|
|