123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472 |
- #define COMPONENT vehicle_weapons
- #include "../RD501_main/config_macros.hpp"
- #include "_common/common.hpp"
- class CfgPatches
- {
- class macro_patch_name(vehicle_weapons)
- {
- author=DANKAUTHORS;
- requiredAddons[]=
- {
- macro_lvl1_req,
- "3AS_LAAT"
- };
- requiredVersion=0.1;
- units[]={};
- weapons[]={
-
- };
- };
- };
- //scopes
- class CfgWeapons
- {
- };
- class CfgMagazineWells
- {
- class macro_new_magwell(generic_aircraft_laser)
- {
- macro_new_magwell(generic_aircraft_colors)[]=
- {
- macro_new_mag(generic_aircraft_gun,1000),
- macro_new_mag(generic_aircraft_gun_blue,1000),
- macro_new_mag(generic_aircraft_gun_green,1000),
- macro_new_mag(generic_aircraft_gun_purple,1000),
- macro_new_mag(generic_aircraft_gun_preatorian,1000)
- };
- };
- class macro_new_magwell(generic_aircraft_cannon)
- {
- macro_new_magwell(generic_aircraft_colors)[]=
- {
- macro_new_mag(generic_aircraft_cannon_red,1000),
- macro_new_mag(generic_aircraft_cannon_green,1000),
- macro_new_mag(generic_aircraft_cannon_blue,1000),
- macro_new_mag(generic_aircraft_cannon_plasma_red,1000),
- macro_new_mag(generic_aircraft_cannon_plasma_blue,1000),
- macro_new_mag(generic_aircraft_cannon_purple,1000)
- };
- };
-
- };
- class CfgMagazines
- {
- class 500Rnd_Cannon_30mm_Plane_CAS_02_F;
- //laser gun + kannon
- #include "_mags/aircraft_laser_gun.hpp"
-
- //laser cannon
- #include "_mags/aircraft_laser_cannon.hpp"
- class OPTRE_6Rnd_ASGM2_rockets;
- class macro_new_mag(MRLS_M80,2): OPTRE_6Rnd_ASGM2_rockets
- {
- count = 2;
- };
- class SWOP_e11_Mag;
- #include "_mags/super_mg.hpp"
- class 100Rnd_TXLaser_Cannon_mag;
- #include "_mags/tank_cannons.hpp"
- class og9_Laser_Cannon_mag;
- class macro_new_mag(homing_spider,10): og9_Laser_Cannon_mag
- {
- displayNameShort = "Blaster Cannon.";
- ammo = macro_new_ammo(homing_spider)
- count = 10;
- tracersEvery = 1;
- initSpeed =800;
- maxLeadSpeed = 30000;
- nameSound = "cannon";
- };
- #include "_mags/aa_gun.hpp"
- class 4Rnd_AAA_missiles;
- class 7Rnd_Rocket_04_AP_F;
- class magazine_Missile_rim116_x21;
- class magazine_Missile_rim162_x8;
- class PylonRack_12Rnd_PG_missiles;
- class 4Rnd_LG_Jian;
- #include "_mags/missiles.hpp"
- class 4Rnd_BombCluster_02_F;
- class PylonRack_Bomb_SDB_x4;
- class 2Rnd_GBU12_LGB;
- class macro_new_mag(cluster_bomb,4) : 4Rnd_BombCluster_02_F
- {
- ammo = macro_new_ammo(cluster_bomb)
- count = 4;
- DisplayName = "Thunderstorm CB";
- displayNameShort = "Thunderstorm CB";
- tracersEvery=1;
- };
- class macro_new_mag(cluster_bomb,2) : macro_new_mag(cluster_bomb,4)
- {
- count = 2;
- };
- class macro_new_mag(cluster_emp,2) : macro_new_mag(cluster_bomb,4)
- {
- ammo = macro_new_ammo(cluster_emp)
- DisplayName = "Lightning EMP CB";
- displayNameShort = "Lightning EMP CB";
- count = 2;
- };
- class macro_new_mag(sdb_bomb,4) : PylonRack_Bomb_SDB_x4
- {
- ammo = macro_new_ammo(sdb_bomb)
- count = 4;
- DisplayName = "Wrath PGB";
- displayNameShort = "Wrath PGB";
- tracersEvery=1;
- };
- class macro_new_mag(lgb_bomb,4) : 2Rnd_GBU12_LGB
- {
- ammo = macro_new_ammo(lgb_bomb)
- count = 4;
- DisplayName = "Ruinscape GB";
- displayNameShort = "Ruinscape GB";
- tracersEvery=1;
- };
- class 1000Rnd_Laser_Cannon_LAAT;
- class macro_new_mag(laat_cannon,100) : 1000Rnd_Laser_Cannon_LAAT
- {
- displayNameShort = "";
- ammo = macro_new_ammo(laat_cannon)
- count = 100;
- tracersEvery = 1;
- initSpeed = 2000;
- brightness = 100;
- magazineReloadTime=10;
- macro_no_muzzle_impulse
- };
- class macro_new_mag(laat_cannon_double,100): macro_new_mag(laat_cannon,100)
- {
- ammo = macro_new_ammo(laat_cannon_double);
- };
- class 500Rnd_Cannon_ARCback;
- class macro_new_mag(voltic,200):500Rnd_Cannon_ARCback
- {
- displayNameShort = "";
- ammo = macro_new_ammo(voltic)
- count = 200;
- tracersEvery = 1;
- initSpeed = 1036;
- maxLeadSpeed = 300;
- macro_no_muzzle_impulse
- };
- class Laser_Battery_F;
- class macro_new_mag(laat_ball_beam,300): Laser_Battery_F
- {
- displayName = "Laat Ball Turret Mag";
- displayNameShort = "Ball Turret Mag";
- count = 300;
- ammo = macro_new_ammo(ball_beam)
- };
- class 1000Rnd_Laser_Cannon_EWEBSWBF_REP;
- class macro_new_mag(laat_ball_turret,200): 1000Rnd_Laser_Cannon_EWEBSWBF_REP
- {
- displayName = "Laat Ball Turret Mag";
- displayNameShort = "Ball Turret Mag";
- ammo =macro_new_ammo(ball_turret)
- count = 300;
- tracersEvery = 1;
- initSpeed = 1036;
- maxLeadSpeed = 300;
- muzzleImpulseFactor = 0;
- scope = 1;
- };
- class 2Rnd_Bomb_03_F;
- class macro_new_mag(carpet_I_bomb_mag,20): 2Rnd_Bomb_03_F
- {
- dlc = "RD501";
- scope = 2;
- displayName = "20 Rnd Carpet I Bomb";
- displayNameShort = "20 Rnd Bomb";
- count = 20;
- ammo = macro_new_ammo(carpet_I_bomb);
- initSpeed = 0;
- maxLeadSpeed = 1000;
- };
-
- };
- #include "_common/sensor_templates.hpp"
- class CfgAmmo
- {
- class B_35mm_AA_Tracer_Red;
- class LaserAmmo_Minigun;
- class SWOP_DTL19_BlasterRifle_Ammo;
- class TurboLaser_Laserx2;
- class ATTE_Laser;
- class M_Air_AA;
- class Rocket_04_AP_F;
- class ammo_Missile_rim162;
- class M_PG_AT;
- class M_Jian_AT;
- class ammo_Missile_rim116;
- class TurboLaser_Laserx2;
- //laser gun + kannon
- #include "_ammo/aircraft_laser_gun.hpp"
- //laser cannon
- #include "_ammo/aircraft_laser_cannon.hpp"
-
- #include "_ammo/super_mg.hpp"
- #include "_ammo/tank_cannons.hpp"
- class macro_new_ammo(homing_spider): TurboLaser_Laserx2//og9_Laser
- {
- hit = 185;
- indirectHit = 75;
- indirectHitRange = 1;
- visibleFire = 32;
- audibleFire = 32;
- visibleFireTime = 6;
- explosionSoundEffect = "DefaultExplosion";
- effectFly = "og9_Laser_Effect";
- explosive = 0.5;
- airLock = 1;
- CraterEffects = "ExploAmmoLaserCrater";
- explosionEffects = "ExploAmmoLaserCannon";
- model = "\SpiderDroid\Laserog9";
- caliber = 20;
- };
- #include "_ammo/missiles.hpp"
- class BombCluster_02_Ammo_F;
- class ammo_Bomb_SDB;
- class Bo_GBU12_LGB;
- class macro_new_ammo(cluster_bomb) : BombCluster_02_Ammo_F
- {
- DisplayName = "Thunderstorm CB";
- displayNameShort = "Thunderstorm CB";
- //effectFly = "RD501_Effect_Violet";
- //effectsFire = "RD501_Effect_Violet";
- //effectsMissileInit = "RD501_laat_PylonBackEffectsFFAR";
- //effectsMissile = "RD501_FX_Missile_AA";
- muzzleEffect = "";
- //effectsSmoke = "RD501_Effect_Violet";
- tracerColor[] = {"blue"};
- brightness = 20000;
- lightColor[] = {0, 0, 1, 1};
- triggerTime = 0.1;
- ExplosionEffects = "ProtonbombAmmoExplosion";
- hit = 650;
- indirectHit =325;
- indirectHitRange = 6;
- };
- class Mo_cluster_Bomb_02_F;
- class macro_new_ammo(cluster_emp_sub): Mo_cluster_Bomb_02_F
- {
- hit = 0.1;
- indirectHit = 0.01;
- indirectHitRange=40;
- JLTS_isEMPAmmo=1;
- explosionEffects="JLTS_fx_exp_EMP";
- SoundSetExplosion[]=
- {
- "JLTS_GrenadeEMP_Exp_SoundSet",
- "JLTS_GrenadeEMP_Tail_SoundSet",
- "Explosion_Debris_SoundSet"
- };
- class CamShakeExplode
- {
- distance=10;
- duration=1;
- frequency=20;
- power=0;
- };
- };
- class macro_new_ammo(cluster_emp) : BombCluster_02_Ammo_F
- {
- DisplayName = "Lightning EMP CB";
- displayNameShort = "Lightning EMP CB";
- muzzleEffect = "";
- tracerColor[] = {"blue"};
- brightness = 20000;
- lightColor[] = {0, 0, 1, 1};
- triggerTime = 0.1;
- hit = 50;
- indirectHitRange = 0;
- submunitionAmmo[]=
- {
- macro_new_ammo(cluster_emp_sub),
- 1.0
- };
- submunitionConeType[]=
- {
- "randomcenter",
- 45
- };
- };
- class macro_new_ammo(sdb_bomb) : ammo_Bomb_SDB
- {
- DisplayName = "Wrath PGB";
- displayNameShort = "Wrath PGB";
- // effectFly = "RD501_Effect_Violet";
- // effectsFire = "RD501_Effect_Violet";
- // effectsMissileInit = "RD501_laat_PylonBackEffectsFFAR";
- // effectsMissile = "RD501_FX_Missile_AA";
- muzzleEffect = "";
- //effectsSmoke = "RD501_Effect_Violet";
- tracerColor[] = {"blue"};
- brightness = 20000;
- lightColor[] = {0, 0, 1, 1};
- triggerTime = 0.1;
- ExplosionEffects = "ProtonbombAmmoExplosion";
- hit = 2000;
- indirectHit = 1000;
- indirectHitRange = 3;
- };
- class macro_new_ammo(lgb_bomb) : Bo_GBU12_LGB
- {
- DisplayName = "Ruin GBU";
- displayNameShort = "Ruin GBU";
- // effectFly = "RD501_Effect_Violet";
- // effectsFire = "RD501_Effect_Violet";
- // effectsMissileInit = "RD501_laat_PylonBackEffectsFFAR";
- // effectsMissile = "RD501_FX_Missile_AA";
- muzzleEffect = "";
- // effectsSmoke = "RD501_Effect_Violet";
- tracerColor[] = {"blue"};
- brightness = 20000;
- lightColor[] = {0, 0, 1, 1};
- triggerTime = 0.1;
- ExplosionEffects = "ProtonbombAmmoExplosion";
- hit = 650;
- indirectHit =650;
- indirectHitRange = 25;
- };
- class macro_new_ammo(laat_cannon): TurboLaser_Laserx2//TurboLaser_Laserx2//SW_SpeederBikeCanon_Ammo//swop_bywingCannonammo//LAAT_Laser
- {
- explosive = 0.5;
- hit = 1000;
- indirectHit =800;
- indirectHitRange = 6;
- caliber = 1;
- timeToLive=9;
- ACE_caliber=1;
- craterEffects = "ImpactEffectsMedium";
- explosionSoundEffect = "DefaultExplosion";
-
- ExplosionEffects = "ExploAmmoExplosion";
- model="a3\weapons_f\data\bullettracer\tracer_green";
- tracerScale = 10;
- effectFly = "SWOP_greenLaserEffect";
- aiAmmoUsageFlags = "64 + 128 + 256 + 512";
- allowAgainstInfantry = 1;
- cost = 1;
- soundSetBulletFly[] = {"SWOP_HEAVYBullet_FlyBy_SoundSet"};
- SoundSetExplosion[] = {"Mortar_Exp_SoundSet","Mortar_Tail_SoundSet","Explosion_Debris_SoundSet"};
- soundSetSonicCrack[] = {"bulletSonicCrack_SoundSet","bulletSonicCrackTail_SoundSet"};
- supersonicCrackFar[] = {"\ca\Weapons\Data\Sound\supersonic_crack_50meters.wss", 1, 50};
- supersonicCrackNear[] = {"\ca\Weapons\Data\Sound\supersonic_crack_close.wss", 1, 50};
- };
- class macro_new_ammo(laat_cannon_double): macro_new_ammo(laat_cannon)
- {
- model = "\TIE\tracer_green.p3d";
- tracerScale = 1;
- }
- class swop_bywingCannonammo;
- class macro_new_ammo(voltic):swop_bywingCannonammo
- {
- hit = 400;
- indirectHit = 150;
- indirectHitRange = 6;
- explosive = 0.2;
- caliber = 9;
- aiAmmoUsageFlags = "64 + 128 + 256 + 512";
- allowAgainstInfantry = 1;
-
- };
- class laserAmmo_F;
- class macro_new_ammo(ball_beam): laserAmmo_F
- {
- hit = 600;
- indirectHit = 400;
- indirectHitRange = 1;
- explosive = 1;
- caliber = 6;
- ACE_caliber = 0;
- aiAmmoUsageFlags = "64 + 128 + 256 + 512";
- allowAgainstInfantry = 1;
- };
- class macro_new_ammo(ball_turret):TurboLaser_Laserx2//SW_SpeederBikeCanon_Ammo//Vwing_ammo
- {
- hit = 600;
- timeToLive = 5;
- indirectHit = 400;
- indirectHitRange = 1;
- explosive = 1;
- caliber = 6;
- ACE_caliber = 0;
- tracerScale = 1;
- aiAmmoUsageFlags = "64 + 128 + 256 + 512";
- allowAgainstInfantry = 1;
-
- model = "\SWOP_Main\Effects\Tracer\Lasergreen";
-
- cost = 1;
-
- CraterEffects = "-";
- CraterWaterEffects = "ImpactEffectsWaterHE";
- ExplosionEffects ="SWOP_LaserExploSmallblue2";
- soundHit1[] = {"SWOP_Main\FlyBy\impactosheavy\impactosheavy1.ogg", 1.2, 1, 50};
- soundHit2[] = {"SWOP_Main\FlyBy\impactosheavy\impactosheavy2.ogg", 1.2, 1, 50};
- soundHit3[] = {"SWOP_Main\FlyBy\impactosheavy\impactosheavy3.ogg", 1.2, 1, 50};
- soundHit4[] = {"SWOP_Main\FlyBy\impactosheavy\impactosheavy4.ogg", 1.2, 1, 50};
- multiSoundHit[] = {"soundHit1", 0.25, "soundHit2", 0.25, "soundHit3", 0.25, "soundHit4", 0.25};
- };
- class Bo_Mk82;
- class macro_new_ammo(carpet_I_bomb): Bo_Mk82
- {
- model = "OPTRE_weapons\Aircraft\500lb_bomb_fly.p3d";
- hit = 10000;
- indirectHit = 10000;
- indirectHitRange = 30;
- caliber = 3;
- explosive = 1;
- timeToLive = 240;
- triggerTime=5;
- triggerOnImpact=true;
- //ExplosionEffects = "ProtonbombAmmoExplosionOrangeRD501";//"ProtonbombAmmoExplosionPurpleRD501";//"ProtonbombAmmoExplosionYellowRD501";//"ProtonbombAmmoExplosion";
-
- //explosionTime = 20;
- };
-
- };
|