123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183 |
- #define COMPONENT DC_15a
- #include "../../../RD501_main/config_macros.hpp"
- #include "../../_common/common.hpp"
- class CfgPatches
- {
- class macro_patch_name(dc_15a)
- {
- author=DANKAUTHORS;
- addonRootClass= macro_patch_name(weapons);
- requiredAddons[]=
- {
- macro_patch_name(weapons)
- };
- requiredVersion=0.1;
- units[]={};
- weapons[]={
- macro_new_weapon(DC,15a_base),
- macro_new_weapon(DC,15a),
- macro_new_weapon(DC,15a_gl_rifle),
- macro_new_weapon(DC,15a_LE),
- macro_new_weapon(DC,15a_mod_0_rifle),
- macro_new_weapon(DC,r15a)
- };
- };
- };
- class cfgWeapons
- {
- /*class Rifle_Long_Base_F;
- class SWOP_BlasterRifle_Base:Rifle_Long_Base_F
- {
- class WeaponSlotsInfo;
- };
- class SWOP_DC15ABlasterRifle:SWOP_BlasterRifle_Base
- {
-
- class FlashLight;
- class Single;
- class Burst;
- class FullAuto;
- class Secondary;
- class WeaponSlotsInfo: WeaponSlotsInfo
- {
- class CowsSlot;
- };
- };
- class SWOP_DC15ABlasterRifle_mod0:SWOP_DC15ABlasterRifle
- {
-
- class FullAuto:FullAuto
- {
- };
- class WeaponSlotsInfo: WeaponSlotsInfo
- {
- class CowsSlot;
- };
- };
-
- class SWOP_DC15AGL:SWOP_DC15ABlasterRifle
- {
-
- class Single:Single
- {
- };
- class Burst:Burst
- {
- };
- class FullAuto:FullAuto
- {
- };
- class EGLM;
- class WeaponSlotsInfo: WeaponSlotsInfo
- {
- class CowsSlot;
- };
- };
- class SWOP_DC15ABlasterRifle_mod1: SWOP_DC15ABlasterRifle
- {
- class Single:Single
- {
- };
- class WeaponSlotsInfo: WeaponSlotsInfo
- {
- class CowsSlot;
- };
- }*/
- class 3AS_DC15A_Base_F;
- class RD501_stun_muzzle;
- class 3AS_DC15A_F:3AS_DC15A_Base_F
- {
- class Single;
- class Burst;
- class WeaponSlotsInfo
- {
- class CowsSlot;
- class MuzzleSlot;
- class PointerSlot;
- };
- };
- class macro_new_weapon(DC,r15a):3AS_DC15A_F
- {
- displayName="Republic DC-15A";
- reloadTime=0.1;
- ACE_overheating_mrbs = 3000000000;
- recoil="recoil_mx";
- magazines[]=
- {
- macro_new_mag(20mwup,20),
- macro_new_mag(20mwdp,20)
- };
- muzzles[]=
- {
- "this",
- "Stun"
- };
- class Stun: RD501_stun_muzzle
- {
- displayName="High Energy StunMode";
- };
- class Single:Single
- {
- reloadTime=0.1;
- dispersion=0.0006;
- };
- class Burst:Burst
- {
- reloadTime=0.1;
- dispersion=0.0006;
- };
- class WeaponSlotsInfo: WeaponSlotsInfo
- {
- mass = 30;
- class CowsSlot: CowsSlot
- {
- access = 1;
- compatibleItems[] =
- {
- macro_new_weapon(scope,dc_r15a_acog)
- };
- };
- class MuzzleSlot: MuzzleSlot
- {
- linkProxy="\A3\data_f\proxies\weapon_slots\MUZZLE";
- displayName="$str_a3_cfgweapons_abr_base_f_weaponslotsinfo_muzzleslot0";
- compatibleItems[]=
- {
- "RD501_muzzle_flash"
- };
- iconPicture="\A3\Weapons_F\Data\UI\attachment_muzzle.paa";
- iconPinpoint="Center";
- };
- class PointerSlot : PointerSlot
- {
- linkProxy = "\A3\data_f\proxies\weapon_slots\SIDE";
- displayName = "Pointer Slot";
- compatibleItems[] = {"acc_flashlight","acc_pointer_IR"};
- };
- };
- };
- //#include "DC_15a__LE_rifle.hpp"
- //#include "DC_15a__GL_rifle.hpp"
- //#include "DC_15a__mod0_rifle.hpp"
- //#include "DC_15a_rifle.hpp"
- };
|