123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169 |
- #include "../../../RD501_main/config_macros.hpp"
- #include "../../_common/common.hpp"
- class CfgPatches
- {
- class RD501_patch_laat_cannons
- {
- author=DANKAUTHORS;
- addonRootClass= MACRO_QUOTE(RD501_patch_vehicle_weapons);
- requiredAddons[]=
- {
- RD501_patch_vehicle_weapons
- };
- requiredVersion=0.1;
- units[]={};
- weapons[]={
- macro_new_weapon(cannon,laat)
-
- };
- };
- };
- class CfgWeapons
- {
- class CannonCore;
- class Gatling_30mm_Plane_CAS_01_F:CannonCore
- {
- class LowROF;
- };
- class macro_new_weapon(cannon,laat): Gatling_30mm_Plane_CAS_01_F//Cannon_TurboLaserx2_RD501//Cannon_LAAT
- {
- author= "RD501";
- displayName="LAAT Laser Cannon";
- magazines[]=
- {
- macro_new_mag(laat_cannon,100)
- };
- scope=2;
- initSpeed = 2000;
- ballisticsComputer = 4;
- canLock = 2;
- FCSMaxLeadSpeed = 1500;
- magazineReloadTime=6;
- autoFire=0;
- burst=1;
- class LowROF: LowROF
- {
- sounds[]=
- {
- "StandardSound"
- };
- class StandardSound
- {
- begin1[]=
- {
- "3AS\3AS_AAT\data\sounds\AAT_Cannon.wss",
- 1,
- 0.89999998,
- 6000
- };
- begin2[]=
- {
- "3AS\3AS_AAT\data\sounds\AAT_Cannon.wss",
- 1,
- 0.89999998,
- 6000
- };
- soundBegin[]=
- {
- "begin1",
- 0.1,
- "begin2",
- 0.5
- };
- class SoundTails
- {
- class TailForest
- {
- sound[]=
- {
- "A3\Sounds_F\arsenal\weapons\LongRangeRifles\GM6_Lynx\GM6_tail_forest",
- 1,
- 1,
- 2200
- };
- frequency=1;
- volume="(1-interior/1.4)*forest";
- };
- class TailHouses
- {
- sound[]=
- {
- "A3\Sounds_F\arsenal\weapons\LongRangeRifles\GM6_Lynx\GM6_tail_houses",
- 1,
- 1,
- 2200
- };
- frequency=1;
- volume="(1-interior/1.4)*houses";
- };
- class TailInterior
- {
- sound[]=
- {
- "A3\Sounds_F\arsenal\weapons\LongRangeRifles\GM6_Lynx\GM6_tail_interior",
- 1.99526,
- 1,
- 2200
- };
- frequency=1;
- volume="interior";
- };
- class TailMeadows
- {
- sound[]=
- {
- "A3\Sounds_F\arsenal\weapons\LongRangeRifles\GM6_Lynx\GM6_tail_meadows",
- 1,
- 1,
- 2200
- };
- frequency=1;
- volume="(1-interior/1.4)*(meadows/2 max sea/2)";
- };
- class TailTrees
- {
- sound[]=
- {
- "A3\Sounds_F\arsenal\weapons\LongRangeRifles\GM6_Lynx\GM6_tail_trees",
- 1,
- 1,
- 2200
- };
- frequency=1;
- volume="(1-interior/1.4)*trees";
- };
- };
- };
- multiplier=1;
- ballisticscomputer = 4;
- soundContinuous=1;
- autoFire=1;
- flash="gunfire";
- flashSize=0.1;
- recoil="Empty";
- ffMagnitude=0.5;
- ffFrequency=11;
- ffCount=6;
- burst=1;
- showToPlayer=1;
- reloadTime = 0.4;
- dispersion = 0.00001;
- aiRateOfFire=1;
- aiRateOfFireDistance=10;
- minRange=0;
- minRangeProbab=0.0099999998;
- midRange=1;
- midRangeProbab=0.0099999998;
- maxRange=2;
- maxRangeProbab=0.0099999998;
- };
- };
- };
|