123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- #include "../../../RD501_main/config_macros.hpp"
- #include "../../_common/common.hpp"
- class CfgPatches
- {
- class RD501_patch_ball_turret
- {
- author=DANKAUTHORS;
- addonRootClass= MACRO_QUOTE(RD501_patch_vehicle_weapons);
- requiredAddons[]=
- {
- RD501_patch_vehicle_weapons,
- "3AS_LAAT"
- };
- requiredVersion=0.1;
- units[]={};
- weapons[]={
- macro_new_weapon(turret,laat_ball_beam_l),
- macro_new_weapon(turret,laat_ball_beam_r)
- };
- };
- };
- class CfgWeapons
- {
- class 3as_LAAT_autocannon_30mm;
- class ParticleBeamCannon_F: 3as_LAAT_autocannon_30mm
- {
- class HE;
- };
- class ParticleBeamCannon: ParticleBeamCannon_F{};
- class macro_new_weapon(turret,laat_ball_beam_l): ParticleBeamCannon
- {
- displayName = "BeamRider Mk-I";
- author = DANKAUTHORS;
- magazines[] = {macro_new_mag(laat_ball_beam,300), "Laser_Battery_F"};
- class HE: HE
- {
- displayName = "BeamRider Mk-I";
- magazines[] = {macro_new_mag(laat_ball_beam,300), "Laser_Battery_F"};
- ballisticsComputer = "4+8";
- };
- stabilizedInAxes = 3;
- ballisticsComputer = "4+8";
- canLock = 2;
- magazineReloadTime=10;
- };
- class macro_new_weapon(turret,laat_ball_beam_r): macro_new_weapon(turret,laat_ball_beam_l){};
- class LMG_RCWS;
- class Cannon_Portableun:LMG_RCWS
- {
- class manual;
- };
- class macro_new_weapon(turret,laat_ball_turret):Cannon_Portableun
- {
- displayName = "BeamRider Mk-III";
- magazines[] = {macro_new_mag(laat_ball_turret,200)};
- stabilizedInAxes = 3;
- ballisticsComputer = 1;
- canLock = 2;
- magazineReloadTime=10;
- dlc = "RD501";
- author= "RD501";
- modes[] = {"manual", "close"};
- class manual: manual
- {
- sounds[] = {"StandardSound"};
- class BaseSoundModeType
- {
- closure1[] = {};
- soundClosure[] = {};
- };
- displayName = "Laat Ball Turret";
- reloadTime = 0.0009;
- class StandardSound
- {
- weaponSoundEffect = "DefaultRifle";
- begin1[] = {};
- soundBegin[] = {"begin1", 1};
- };
- autoFire = 1;
- recoil = "Empty";
- dispersion = 0;
- showToPlayer = 1;
- burst = 1;
- ballisticscomputer = 1;
- minRange = 1;
- minRangeProbab = 0.1;
- midRange = 400;
- midRangeProbab = 0.7;
- maxRange = 1200;
- maxRangeProbab = 0.04;
- aiDispersionCoefY = 7;
- aiDispersionCoefX = 7;
- aiRateOfFire = 0.3;
- aiRateOfFireDistance = 1500;
- maxLeadSpeed = 600;
- };
- class close: manual
- {
- showToPlayer = 0;
- soundBurst = 0;
- burst = 12;
- aiRateOfFire = 0.05;
- aiRateOfFireDistance = 2000;
- minRange = 0;
- minRangeProbab = 0.05;
- midRange = 1000;
- midRangeProbab = 0.58;
- maxRange = 8000;
- maxRangeProbab = 0.04;
- };
- };
- };
|