123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- #include "../../../RD501_main/config_macros.hpp"
- #include "../../_common/common.hpp"
- class CfgPatches
- {
- class macro_patch_name(missiles)
- {
- author=DANKAUTHORS;
- addonRootClass= macro_patch_name(vehicle_weapons)
- requiredAddons[]=
- {
- macro_patch_name(vehicle_weapons)
- };
- requiredVersion=0.1;
- units[]={};
- weapons[]={
- macro_new_weapon(wynd,a2a),
- macro_new_weapon(wynd,agm),
- macro_new_weapon(wynd,ugm),
- macro_new_weapon(wynd,lgm),
- };
- };
- };
- class CfgWeapons
- {
- class missiles_ASRAAM;
- class Rocket_04_AP_Plane_CAS_01_F;
- class missiles_DAGR;
- class missiles_Jian;
- class Missile_AGM_01_Plane_CAS_02_F;
- class RocketPods;
-
- class macro_new_weapon(wynd,a2a) : missiles_ASRAAM
- {
- displayName = "Zephyr (AA)";
- displayNameShort = "Zephyr";
- magazines[] = {macro_new_mag(a2a,4)};
- soundFly[] = {"\xt\SWrocketloop.ogg",3,1,800};
- lockedTargetSound[] = {"TIE\LockedOn_2.ogg",0.7,1};
- lockingTargetSound[] = {"TIE\Locking_Beep1.ogg",1,1};
- };
- class macro_new_weapon(wynd,agm) : missiles_DAGR
- {
- displayName = "Torrent (AGM)";
- displayNameShort = "Torrent";
- canLock = 2;
- magazines[] = {macro_new_mag(agm,6)};
- soundfly[] = {"\xt\SWionrocketloop.ogg",3,1,800};
- lockedTargetSound[] = {"TIE\LockedOn_2.ogg",0.7,1};
- lockingTargetSound[] = {"TIE\Locking_Beep1.ogg",1,1};
- };
- class macro_new_weapon(wynd,ugm) : Rocket_04_AP_Plane_CAS_01_F
- {
- displayName = "Hurricane (UGM)";
- displayNameShort = "Hurricane";
- soundfly[] = {"\xt\SWionrocketloop.ogg",3,1,800};
- magazines[] = {macro_new_mag(ugm,10)};
- autoFire=true;
- };
- class macro_new_weapon(wynd,lgm) : missiles_Jian
- {
- displayName = "Flashfire (LGM)";
- displayNameShort = "Flashfire";
- soundfly[] = {"\rd501_vehicle_weapons\_sounds\proton_torp.ogg",3,1,800};
- magazines[] = {macro_new_mag(lgm,4)};
- };
- class macro_new_weapon(wynd,lgm1) : missiles_Jian
- {
- displayName = "Flashfire (LGM)";
- displayNameShort = "Flashfire";
- soundfly[] = {"\rd501_vehicle_weapons\_sounds\proton_torp.ogg",3,1,800};
- magazines[] = {macro_new_mag(lgm,1)};
- };
- class macro_new_weapon(pylon,agm):missiles_DAGR
- {
- displayName = "Torrent(Pylon)";
- displayNameShort = "Torrent";
- canLock = 2;
- magazines[] = {
- macro_new_mag(pylon_agm,6)
- };
- soundfly[] = {"\xt\SWionrocketloop.ogg",3,1,800};
- lockedTargetSound[] = {"TIE\LockedOn_2.ogg",0.7,1};
- lockingTargetSound[] = {"TIE\Locking_Beep1.ogg",1,1};
- };
- class macro_new_weapon(pylon,a2a) : missiles_ASRAAM
- {
- displayName = "Zephyr Pylon)";
- displayNameShort = "Zephyr";
- magazines[] = {macro_new_mag(pylon_aa,4)};
- soundFly[] = {"\xt\SWrocketloop.ogg",3,1,800};
- lockedTargetSound[] = {"TIE\LockedOn_2.ogg",0.7,1};
- lockingTargetSound[] = {"TIE\Locking_Beep1.ogg",1,1};
- };
- class macro_new_weapon(pylon,ugm) : Rocket_04_AP_Plane_CAS_01_F
- {
- displayName = "Hurricane(Pylon)";
- displayNameShort = "Hurricane";
- soundfly[] = {"\xt\SWionrocketloop.ogg",3,1,800};
- magazines[] = {macro_new_mag(pylon_ugm,10)};
- autoFire=true;
- modes[]=
- {
- "Far_AI",
- "Medium_AI",
- "Close_AI",
- "Burst",
- "Dual"
- };
- class Dual: RocketPods
- {
- displayName="Hurricane Dual(Pylon)";
- textureType="burst";
- burst=2;
- autoFire=0;
- soundContinuous=0;
- lockingTargetSound[]=
- {
- "A3\Sounds_F\weapons\Rockets\locked_1",
- 0.56234133,
- 1
- };
- lockedTargetSound[]=
- {
- "A3\Sounds_F\weapons\Rockets\locked_3",
- 0.56234133,
- 1.5
- };
- sounds[]=
- {
- "StandardSound"
- };
- class StandardSound
- {
- begin1[]=
- {
- "A3\Sounds_F\weapons\Rockets\missile_1",
- 1,
- 1,
- 2000
- };
- soundBegin[]=
- {
- "begin1",
- 1
- };
- };
- salvo=20;
- reloadTime=0.2;
- dispersion=0.015;
- aiRateOfFire=1;
- aiRateOfFireDistance=10;
- minRange=0;
- minRangeProbab=0.0099999998;
- midRange=1;
- midRangeProbab=0.0099999998;
- maxRange=2;
- maxRangeProbab=0.0099999998;
- };
- };
- class macro_new_weapon(pylon,spark) : Rocket_04_AP_Plane_CAS_01_F
- {
- displayName = "Spark(Pylon)";
- displayNameShort = "Spark";
- soundfly[] = {"\xt\SWionrocketloop.ogg",3,1,800};
- magazines[] = {macro_new_mag(pylon_spark,6)};
- autoFire=true;
- };
- class macro_new_weapon(pylon,lgm) : missiles_Jian
- {
- displayName = "Flashfire (Pylon)";
- displayNameShort = "Flashfire";
- soundfly[] = {"\rd501_vehicle_weapons\_sounds\proton_torp.ogg",3,1,800};
- magazines[] = {macro_new_mag(pylon_lgm,4)};
- };
- };
|