123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104 |
- #include "../../../RD501_main/config_macros.hpp"
- #include "../../_common/common.hpp"
- class CfgPatches
- {
- class macro_patch_name(laat_cannons)
- {
- author=DANKAUTHORS;
- addonRootClass= macro_patch_name(vehicle_weapons)
- requiredAddons[]=
- {
- macro_patch_name(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),
- macro_new_mag(laat_cannon_double,100)
- };
- scope=2;
- initSpeed = 2000;
- ballisticsComputer = 4;
- canLock = 2;
- FCSMaxLeadSpeed = 1500;
- magazineReloadTime=6;
- autoFire=0;
- burst=1;
- class LowROF: LowROF
- {
- displayName="LAAT Laser Cannon";
- sounds[]=
- {
- "StandardSound_1"
- };
- class StandardSound_1
- {
- begin1[]=
- {
- "3as\3as_saber\sounds\wpn_saberTank_autocannon_fire",
- 1.99526,
- 1,
- 1500
- };
- soundBegin[]=
- {
- "begin1",
- 0.33000001
- };
- soundsetshot[]=
- {
- "Autocannon30mmTurret_Shot_SoundSet",
- "Autocannon30mmBody_tail_SoundSet"
- };
- };
- 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;
- };
- };
- };
|