123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135 |
- #define COMPONENT DC_15s
- #include "../../RD501_main/config_macros.hpp"
- #include "../_common/common.hpp"
- class CfgPatches
- {
- class macro_patch_name(valken38x)
- {
- author="RD501";
- addonRootClass= macro_patch_name(weapons)
- requiredAddons[]=
- {
- macro_patch_name(weapons)
- };
- requiredVersion=0.1;
- units[]={};
- weapons[]={
- macro_new_weapon_nofam(valken38x),
- macro_new_weapon_nofam(valken38y)
- };
- };
- };
- class CfgWeapons
- {
- class 3AS_Valken38X_Base_F;
- class 3AS_Valken38X_F:3AS_Valken38X_Base_F
- {
- class Single;
- class WeaponSlotsInfo
- {
- class CowsSlot;
- class MuzzleSlot;
- };
- };
- class macro_new_weapon_nofam(valken38x):3AS_Valken38X_F
- {
- displayName="Republic Valken 38X";
- dispersion=0.00045;
- ACE_Overheating_JamChance = 0;
- magazines[]=
- {
- macro_new_mag(20mwdp,20),
- macro_new_mag(30mw,10)
- };
- class Single : Single
- {
- reloadTime=0.35;
- dispersion=0.00045;
- };
- class WeaponSlotsInfo: WeaponSlotsInfo
- {
- mass = 30;
- class CowsSlot: CowsSlot
- {
- access = 1;
- compatibleItems[] =
- {
- macro_new_weapon(scope,valken_6_12x)
- };
- };
- 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 arifle_MX_Base_F;
- class JLTS_DW32S:arifle_MX_Base_F
- {
- class Single;
- class WeaponSlotsInfo
- {
- class CowsSlot;
- class MuzzleSlot;
- };
- };
- class macro_new_weapon_nofam(valken38y):JLTS_DW32S
- {
- displayName="Republic Valken 38Y";
- dispersion=0.00045;
- ACE_Overheating_JamChance = 0;
- magazines[]=
- {
- macro_new_mag(20mwdp,20),
- macro_new_mag(30mw,10)
- };
- muzzles[]={"this"};
- class Single : Single
- {
- reloadTime=0.35;
- dispersion=0.00045;
- };
- class WeaponSlotsInfo: WeaponSlotsInfo
- {
- mass = 30;
- class CowsSlot: CowsSlot
- {
- displayName = "Optics Slot";
- iconPicture = "\A3\Weapons_F\Data\UI\attachment_top.paa";
- iconPinpoint = "Bottom";
- iconPosition[] = {0.5,0.35};
- iconScale = 0.2;
- linkProxy = "\A3\data_f\proxies\weapon_slots\TOP";
- scope = 0;
- access=1;
- compatibleItems[] =
- {
- "RD501_DMS",
- "RD501_DMS_2",
- "RD501_DMS_3"
- };
- };
- 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";
- };
- };
- };
- };
|