ACE3/addons/aim120/CfgWeapons.hpp

119 lines
4.0 KiB
C++
Raw Normal View History

class CfgWeapons {
class weapon_AMRAAMLauncher;
2021-04-13 05:14:22 +00:00
class MissileLauncher;
2021-04-17 02:05:49 +00:00
class GVAR(aim120Launcher): weapon_AMRAAMLauncher {
author = "Brandon (TCVM)";
2021-05-02 05:20:50 +00:00
displayName = CSTRING(aim120);
2021-04-13 05:14:22 +00:00
weaponLockDelay = 0.5;
2021-04-17 02:05:49 +00:00
magazines[] = {
QGVAR(a),
QGVAR(PylonRack_1Rnd_a),
QGVAR(PylonMissile_1Rnd_a),
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)
};
2021-04-13 05:14:22 +00:00
modes[] = {"Direct", "Loft"};
class Direct: MissileLauncher {
2021-05-02 05:20:50 +00:00
displayName = CSTRING(direct);
2021-04-13 05:14:22 +00:00
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;
2021-04-17 01:50:00 +00:00
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 {
2021-05-02 05:20:50 +00:00
displayName = CSTRING(loft);
2021-04-17 01:50:00 +00:00
textureType = "topdown";
minRange = 4000;
minRangeProbab = 0.5;
midRange = 7000;
midRangeProbab = 0.95;
maxRange = 13000;
maxRangeProbab = 1;
EGVAR(missileGuidance,attackProfile) = "LOFT";
};
};
class weapon_R77Launcher;
class GVAR(r77Launcher): weapon_R77Launcher {
author = "Brandon (TCVM)";
2021-05-02 05:20:50 +00:00
displayName = CSTRING(r77);
2021-04-17 01:50:00 +00:00
weaponLockDelay = 0.5;
magazines[] = {QGVAR(r77), QGVAR(PylonMissile_Missile_R77_x1), QGVAR(PylonMissile_Missile_R77__INT_x1)};
modes[] = {"Direct", "Loft"};
class Direct: MissileLauncher {
2021-05-02 05:20:50 +00:00
displayName = CSTRING(direct);
2021-04-17 01:50:00 +00:00
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;
2021-04-13 05:14:22 +00:00
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 {
2021-05-02 05:20:50 +00:00
displayName = CSTRING(loft);
2021-04-13 05:14:22 +00:00
textureType = "topdown";
minRange = 4000;
minRangeProbab = 0.5;
midRange = 7000;
midRangeProbab = 0.95;
maxRange = 13000;
maxRangeProbab = 1;
EGVAR(missileGuidance,attackProfile) = "LOFT";
};
};
};