mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
8edb2d2c49
*Merged the magazines- into the ballistics module *Adjusted all magazine class initSpeeds *Adjusted all weapon class initSpeeds
754 lines
22 KiB
C++
754 lines
22 KiB
C++
|
|
class Mode_SemiAuto;
|
|
class Mode_FullAuto;
|
|
|
|
class CfgWeapons {
|
|
class DMR_02_base_F;
|
|
class DMR_03_base_F;
|
|
class DMR_04_base_F;
|
|
class DMR_05_base_F;
|
|
class DMR_06_base_F;
|
|
class GM6_base_F;
|
|
class LMG_RCWS;
|
|
class LRR_base_F;
|
|
class MGun;
|
|
class MGunCore;
|
|
class MMG_01_base_F;
|
|
class MMG_02_base_F;
|
|
class Rifle_Base_F;
|
|
class Rifle_Long_Base_F;
|
|
class WeaponSlotsInfo;
|
|
class MuzzleSlot;
|
|
|
|
/* Long Rifles */
|
|
|
|
class EBR_base_F: Rifle_Long_Base_F {
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
class MuzzleSlot: MuzzleSlot {
|
|
compatibleItems[] += {"ACE_muzzle_mzls_B"};
|
|
};
|
|
};
|
|
};
|
|
|
|
class DMR_01_base_F: Rifle_Long_Base_F {
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
class MuzzleSlot: MuzzleSlot {
|
|
compatibleItems[] += {"ACE_muzzle_mzls_B"};
|
|
};
|
|
};
|
|
};
|
|
|
|
/* MX */
|
|
|
|
class arifle_MX_Base_F: Rifle_Base_F {
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
class MuzzleSlot: MuzzleSlot {
|
|
compatibleItems[] += {"ACE_muzzle_mzls_H"};
|
|
};
|
|
};
|
|
class Single: Mode_SemiAuto {
|
|
dispersion = 0.000800; // radians. Equal to 2.75 MOA.
|
|
// Based on widely cited 2 MOA figure for new 5.56 ACR.
|
|
};
|
|
|
|
class FullAuto: Mode_FullAuto {
|
|
dispersion = 0.00147; // radians. Equal to 5.1 MOA.
|
|
};
|
|
};
|
|
class arifle_MX_SW_F: arifle_MX_Base_F {
|
|
initSpeed = -1.0;
|
|
ACE_barrelTwist=9;
|
|
ACE_barrelLength=16.0;
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
class MuzzleSlot: MuzzleSlot {
|
|
// Shit is broken again
|
|
//compatibleItems[] += {"ACE_muzzle_mzls_H"};
|
|
compatibleItems[] = {"muzzle_snds_H","muzzle_snds_H_SW","ACE_muzzle_mzls_H"};
|
|
};
|
|
};
|
|
class Single: Mode_SemiAuto {
|
|
dispersion = 0.000800; // radians. Equal to 2.75 MOA.
|
|
// Based on widely cited 2 MOA figure for new 5.56 ACR.
|
|
};
|
|
|
|
class manual: FullAuto {
|
|
dispersion = 0.00147; // radians. Equal to 5.1 MOA.
|
|
};
|
|
};
|
|
class arifle_MXM_F: arifle_MX_Base_F {
|
|
initSpeed = -1.018;
|
|
ACE_barrelTwist=9;
|
|
ACE_barrelLength=18;
|
|
class Single: Single {
|
|
dispersion = 0.00029; // radians. Equal to 1 MOA.
|
|
// 6.5mm is easily capable of this in a half-tuned rifle.
|
|
};
|
|
|
|
class FullAuto: FullAuto {
|
|
dispersion = 0.000800; // radians. Equal to 2.75 MOA.
|
|
};
|
|
};
|
|
|
|
|
|
/* Katiba */
|
|
class arifle_katiba_Base_F: Rifle_Base_F {
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
class MuzzleSlot: MuzzleSlot {
|
|
compatibleItems[] += {"ACE_muzzle_mzls_H"};
|
|
};
|
|
};
|
|
class Single: Mode_SemiAuto {
|
|
dispersion = 0.000800; // radians. Equal to 2.75 MOA.
|
|
// Based on widely cited 2 MOA figure for new 5.56 ACR?
|
|
// Use your imagination for fictional weapons!
|
|
};
|
|
|
|
class FullAuto: Mode_FullAuto {
|
|
dispersion = 0.00147; // radians. Equal to 5.1 MOA.
|
|
};
|
|
};
|
|
|
|
|
|
/* Other */
|
|
class LMG_Mk200_F: Rifle_Long_Base_F {
|
|
initSpeed = -0.9763;
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
class MuzzleSlot: MuzzleSlot {
|
|
compatibleItems[] += {"ACE_muzzle_mzls_H"};
|
|
};
|
|
};
|
|
ACE_barrelTwist=7;
|
|
ACE_barrelLength=12.5;
|
|
class manual: Mode_FullAuto {
|
|
dispersion = 0.00175; // radians. Equal to 6 MOA.
|
|
};
|
|
|
|
class Single: manual {
|
|
dispersion = 0.00175; // radians. Equal to 6 MOA.
|
|
};
|
|
};
|
|
class LMG_Zafir_F: Rifle_Long_Base_F {
|
|
initSpeed = -1.0;
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
class MuzzleSlot: MuzzleSlot {
|
|
compatibleItems[] += {"ACE_muzzle_mzls_B"};
|
|
};
|
|
};
|
|
ACE_barrelTwist=12;
|
|
ACE_barrelLength=18.1;
|
|
class FullAuto: Mode_FullAuto {
|
|
dispersion = 0.00175; // radians. Equal to 6 MOA.
|
|
};
|
|
|
|
class Single: Mode_SemiAuto {
|
|
dispersion = 0.00175; // radians. Equal to 6 MOA.
|
|
};
|
|
};
|
|
|
|
|
|
/* Assault Rifles */
|
|
class Tavor_base_F: Rifle_Base_F {
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
class MuzzleSlot: MuzzleSlot {
|
|
compatibleItems[] += {"ACE_muzzle_mzls_L"};
|
|
};
|
|
};
|
|
class Single: Mode_SemiAuto {
|
|
dispersion = 0.000727; // radians. Equal to 2.5 MOA, about the limit of mass-produced M855.
|
|
};
|
|
|
|
class FullAuto: Mode_FullAuto {
|
|
dispersion = 0.00147; // radians. Equal to 5.1 MOA.
|
|
};
|
|
};
|
|
class mk20_base_F: Rifle_Base_F {
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
class MuzzleSlot: MuzzleSlot {
|
|
compatibleItems[] += {"ACE_muzzle_mzls_L"};
|
|
};
|
|
};
|
|
class Single: Mode_SemiAuto {
|
|
dispersion = 0.0008727; // radians. Equal to 3 MOA, about the limit of mass-produced M855 plus
|
|
// some extra for these worn out Greek Army service rifles.
|
|
};
|
|
|
|
class FullAuto: Mode_FullAuto {
|
|
dispersion = 0.00147; // radians. Equal to 5.1 MOA.
|
|
};
|
|
};
|
|
|
|
|
|
/* SMGs */
|
|
class SDAR_base_F: Rifle_Base_F {
|
|
initSpeed = -0.9723;
|
|
class Single: Mode_SemiAuto {
|
|
dispersion = 0.0008727; // radians. Equal to 3 MOA, about the limit of mass-produced M855 plus
|
|
// some extra because Kel-Tec.
|
|
};
|
|
|
|
class FullAuto: Mode_FullAuto {
|
|
dispersion = 0.00147; // radians. Equal to 5.1 MOA.
|
|
};
|
|
};
|
|
class pdw2000_base_F: Rifle_Base_F {
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
class MuzzleSlot: MuzzleSlot {
|
|
compatibleItems[] += {"ACE_muzzle_mzls_smg_02"};
|
|
};
|
|
};
|
|
};
|
|
class SMG_01_Base: Rifle_Base_F {
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
class MuzzleSlot: MuzzleSlot {
|
|
compatibleItems[] += {"ACE_muzzle_mzls_smg_01"};
|
|
};
|
|
};
|
|
};
|
|
class SMG_02_base_F: Rifle_Base_F {
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
class MuzzleSlot: MuzzleSlot {
|
|
compatibleItems[] += {"ACE_muzzle_mzls_smg_02"};
|
|
};
|
|
};
|
|
};
|
|
|
|
/* Pistols */
|
|
|
|
class Pistol;
|
|
class Pistol_Base_F: Pistol {
|
|
class WeaponSlotsInfo;
|
|
};
|
|
|
|
class hgun_P07_F: Pistol_Base_F {
|
|
initSpeed = -0.9778;
|
|
ACE_barrelTwist=10;
|
|
ACE_barrelLength=4;
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
class MuzzleSlot: MuzzleSlot {
|
|
linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
|
|
compatibleItems[] += {"ACE_muzzle_mzls_smg_02"};
|
|
};
|
|
};
|
|
};
|
|
|
|
class hgun_Rook40_F: Pistol_Base_F {
|
|
initSpeed = -1.0;
|
|
ACE_barrelTwist=10;
|
|
ACE_barrelLength=4.4;
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
class MuzzleSlot: MuzzleSlot {
|
|
linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
|
|
compatibleItems[] += {"ACE_muzzle_mzls_smg_02"};
|
|
};
|
|
};
|
|
};
|
|
|
|
class hgun_ACPC2_F: Pistol_Base_F {
|
|
initSpeed = -1.0;
|
|
ACE_barrelTwist=16;
|
|
ACE_barrelLength=5;
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
class MuzzleSlot: MuzzleSlot {
|
|
compatibleItems[] += {"ACE_muzzle_mzls_smg_01"};
|
|
};
|
|
};
|
|
};
|
|
|
|
class hgun_Pistol_heavy_01_F: Pistol_Base_F {
|
|
initSpeed = -0.96;
|
|
ACE_barrelTwist=16;
|
|
ACE_barrelLength=4.5;
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
class MuzzleSlot: MuzzleSlot {
|
|
compatibleItems[] += {"ACE_muzzle_mzls_smg_01"};
|
|
};
|
|
};
|
|
};
|
|
|
|
class hgun_Pistol_heavy_02_F: Pistol_Base_F {
|
|
initSpeed = -0.92;
|
|
ACE_barrelTwist=16;
|
|
ACE_barrelLength=3;
|
|
/*
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
|
class MuzzleSlot {
|
|
linkProxy = "\A3\data_f\proxies\weapon_slots\MUZZLE";
|
|
compatibleItems[] += {"ACE_muzzle_mzls_smg_01"};
|
|
};
|
|
};
|
|
*/
|
|
};
|
|
class hgun_PDW2000_F: pdw2000_base_F {
|
|
initSpeed = -1.157;
|
|
ACE_barrelTwist=9;
|
|
ACE_barrelLength=7;
|
|
};
|
|
class arifle_Katiba_F: arifle_katiba_Base_F {
|
|
initSpeed = -1.09;
|
|
ACE_barrelTwist=8;
|
|
ACE_barrelLength=28.7;
|
|
};
|
|
class arifle_Katiba_C_F: arifle_katiba_Base_F {
|
|
initSpeed = -1.07;
|
|
ACE_barrelTwist=8;
|
|
ACE_barrelLength=26.8;
|
|
};
|
|
class arifle_Katiba_GL_F: arifle_katiba_Base_F {
|
|
initSpeed = -1.09;
|
|
ACE_barrelTwist=8;
|
|
ACE_barrelLength=28.7;
|
|
};
|
|
class arifle_MX_F: arifle_MX_Base_F {
|
|
initSpeed = -0.99;
|
|
ACE_barrelTwist=9;
|
|
ACE_barrelLength=14.5;
|
|
};
|
|
class arifle_MX_GL_F: arifle_MX_Base_F {
|
|
initSpeed = -0.99;
|
|
ACE_barrelTwist=9;
|
|
ACE_barrelLength=14.5;
|
|
};
|
|
/*
|
|
class arifle_MX_SW_F: arifle_MX_Base_F {
|
|
ACE_barrelTwist=9;
|
|
ACE_barrelLength=16.0;
|
|
};
|
|
*/
|
|
class arifle_MXC_F: arifle_MX_Base_F {
|
|
initSpeed = -0.965;
|
|
ACE_barrelTwist=8;
|
|
ACE_barrelLength=10.5;
|
|
};
|
|
/*
|
|
class arifle_MXM_F: arifle_MX_Base_F {
|
|
ACE_barrelTwist=9;
|
|
ACE_barrelLength=18;
|
|
};
|
|
*/
|
|
class arifle_SDAR_F: SDAR_base_F {
|
|
initSpeed = -0.9723;
|
|
ACE_barrelTwist=11.25;
|
|
ACE_barrelLength=18;
|
|
};
|
|
class SMG_02_F: SMG_02_base_F {
|
|
initSpeed = -1.054;
|
|
ACE_barrelTwist=10;
|
|
ACE_barrelLength=7.7;
|
|
};
|
|
class arifle_TRG20_F: Tavor_base_F {
|
|
initSpeed = -0.95;
|
|
ACE_barrelTwist=7;
|
|
ACE_barrelLength=15;
|
|
};
|
|
class arifle_TRG21_F: Tavor_base_F {
|
|
initSpeed = -0.989;
|
|
ACE_barrelTwist=7;
|
|
ACE_barrelLength=18.1;
|
|
};
|
|
class arifle_TRG21_GL_F: Tavor_base_F {
|
|
initSpeed = -0.989;
|
|
ACE_barrelTwist=7;
|
|
ACE_barrelLength=18.1;
|
|
};
|
|
/*
|
|
class LMG_Zafir_F: Rifle_Long_Base_F {
|
|
ACE_barrelTwist=12;
|
|
ACE_barrelLength=18.1;
|
|
};
|
|
*/
|
|
class arifle_Mk20_F: mk20_base_F {
|
|
initSpeed = -0.98;
|
|
ACE_barrelTwist=7;
|
|
ACE_barrelLength=17.4;
|
|
};
|
|
class arifle_Mk20C_F: mk20_base_F {
|
|
initSpeed = -0.956;
|
|
ACE_barrelTwist=7;
|
|
ACE_barrelLength=16;
|
|
};
|
|
class arifle_Mk20_GL_F: mk20_base_F {
|
|
initSpeed = -0.956;
|
|
ACE_barrelTwist=7;
|
|
ACE_barrelLength=16;
|
|
};
|
|
class SMG_01_F: SMG_01_Base {
|
|
initSpeed = -1.016;
|
|
ACE_barrelTwist=16;
|
|
ACE_barrelLength=5.5;
|
|
};
|
|
class srifle_DMR_01_F: DMR_01_base_F {
|
|
initSpeed = -1.025;
|
|
ACE_barrelTwist=9.5;
|
|
ACE_barrelLength=24;
|
|
};
|
|
class srifle_EBR_F: EBR_base_F {
|
|
initSpeed = -0.9724;
|
|
ACE_barrelTwist=12;
|
|
ACE_barrelLength=18;
|
|
};
|
|
/*
|
|
class LMG_Mk200_F: Rifle_Long_Base_F {
|
|
initSpeed = -1.0;
|
|
ACE_barrelTwist=7;
|
|
ACE_barrelLength=12.5;
|
|
};
|
|
*/
|
|
class srifle_LRR_F: LRR_base_F {
|
|
initSpeed = -1.0;
|
|
ACE_barrelTwist=13;
|
|
ACE_barrelLength=29;
|
|
};
|
|
class srifle_GM6_F: GM6_base_F {
|
|
initSpeed = -1.0;
|
|
ACE_barrelTwist=15;
|
|
ACE_barrelLength=43.3;
|
|
};
|
|
class srifle_DMR_02_F: DMR_02_base_F {
|
|
initSpeed = -1.0;
|
|
ACE_barrelTwist=10;
|
|
ACE_barrelLength=26;
|
|
};
|
|
class srifle_DMR_03_F: DMR_03_base_F {
|
|
initSpeed = -0.9843;
|
|
ACE_barrelTwist=10;
|
|
ACE_barrelLength=20;
|
|
};
|
|
class srifle_DMR_04_F: DMR_04_base_F {
|
|
initSpeed = -1.0;
|
|
ACE_barrelTwist=8;
|
|
ACE_barrelLength=17.72;
|
|
};
|
|
class srifle_DMR_05_blk_F: DMR_05_base_F {
|
|
initSpeed = -1.0;
|
|
ACE_barrelTwist=14.17;
|
|
ACE_barrelLength=24.41;
|
|
};
|
|
class srifle_DMR_06_camo_F: DMR_06_base_F {
|
|
initSpeed = -0.9916;
|
|
ACE_barrelTwist=12;
|
|
ACE_barrelLength=22;
|
|
};
|
|
class MMG_01_hex_F: MMG_01_base_F {
|
|
initSpeed = -1.0;
|
|
ACE_barrelTwist=14.17;
|
|
ACE_barrelLength=21.65;
|
|
};
|
|
class MMG_02_camo_F: MMG_02_base_F {
|
|
initSpeed = -1.0;
|
|
ACE_barrelTwist=9.25;
|
|
ACE_barrelLength=24;
|
|
};
|
|
|
|
class HMG_127 : LMG_RCWS {
|
|
};
|
|
class HMG_01: HMG_127 {
|
|
};
|
|
class HMG_M2: HMG_01 {
|
|
initSpeed = -1.0;
|
|
ACE_barrelTwist=12;
|
|
ACE_barrelLength=45;
|
|
};
|
|
|
|
/* Silencers */
|
|
|
|
class ItemCore;
|
|
class InventoryMuzzleItem_Base_F;
|
|
|
|
class muzzle_snds_H: ItemCore {
|
|
class ItemInfo: InventoryMuzzleItem_Base_F {
|
|
class MagazineCoef {
|
|
initSpeed = 1.0;
|
|
};
|
|
|
|
class AmmoCoef {
|
|
hit = 1.0;
|
|
visibleFire = 0.5;
|
|
audibleFire = 0.1;
|
|
visibleFireTime = 0.5;
|
|
audibleFireTime = 0.5;
|
|
cost = 1.0;
|
|
typicalSpeed = 1.0;
|
|
airFriction = 1.0;
|
|
};
|
|
|
|
class MuzzleCoef {
|
|
dispersionCoef = "0.8f";
|
|
artilleryDispersionCoef = "1.0f";
|
|
fireLightCoef = "0.5f";
|
|
recoilCoef = "1.0f";
|
|
recoilProneCoef = "1.0f";
|
|
minRangeCoef = "1.0f";
|
|
minRangeProbabCoef = "1.0f";
|
|
midRangeCoef = "1.0f";
|
|
midRangeProbabCoef = "1.0f";
|
|
maxRangeCoef = "1.0f";
|
|
maxRangeProbabCoef = "1.0f";
|
|
};
|
|
};
|
|
};
|
|
|
|
class muzzle_snds_L: muzzle_snds_H {
|
|
class ItemInfo: ItemInfo {
|
|
class MagazineCoef {
|
|
initSpeed = 1.0;
|
|
};
|
|
|
|
class AmmoCoef {
|
|
hit = 1.0;
|
|
visibleFire = 0.5;
|
|
audibleFire = 0.1;
|
|
visibleFireTime = 0.5;
|
|
audibleFireTime = 0.5;
|
|
cost = 1.0;
|
|
typicalSpeed = 1.0;
|
|
airFriction = 1.0;
|
|
};
|
|
|
|
class MuzzleCoef {
|
|
dispersionCoef = "0.8f";
|
|
artilleryDispersionCoef = "1.0f";
|
|
fireLightCoef = "0.5f";
|
|
recoilCoef = "1.0f";
|
|
recoilProneCoef = "1.0f";
|
|
minRangeCoef = "1.0f";
|
|
minRangeProbabCoef = "1.0f";
|
|
midRangeCoef = "1.0f";
|
|
midRangeProbabCoef = "1.0f";
|
|
maxRangeCoef = "1.0f";
|
|
maxRangeProbabCoef = "1.0f";
|
|
};
|
|
};
|
|
};
|
|
|
|
class muzzle_snds_M: muzzle_snds_H {
|
|
class ItemInfo: ItemInfo {
|
|
class MagazineCoef {
|
|
initSpeed = 1.0;
|
|
};
|
|
|
|
class AmmoCoef {
|
|
hit = 1.0;
|
|
visibleFire = 0.5;
|
|
audibleFire = 0.1;
|
|
visibleFireTime = 0.5;
|
|
audibleFireTime = 0.5;
|
|
cost = 1.0;
|
|
typicalSpeed = 1.0;
|
|
airFriction = 1.0;
|
|
};
|
|
|
|
class MuzzleCoef {
|
|
dispersionCoef = "0.8f";
|
|
artilleryDispersionCoef = "1.0f";
|
|
fireLightCoef = "0.5f";
|
|
recoilCoef = "1.0f";
|
|
recoilProneCoef = "1.0f";
|
|
minRangeCoef = "1.0f";
|
|
minRangeProbabCoef = "1.0f";
|
|
midRangeCoef = "1.0f";
|
|
midRangeProbabCoef = "1.0f";
|
|
maxRangeCoef = "1.0f";
|
|
maxRangeProbabCoef = "1.0f";
|
|
};
|
|
};
|
|
};
|
|
|
|
class muzzle_snds_B: muzzle_snds_H {
|
|
class ItemInfo: ItemInfo {
|
|
class MagazineCoef {
|
|
initSpeed = 1.0;
|
|
};
|
|
|
|
class AmmoCoef {
|
|
hit = 1.0;
|
|
visibleFire = 0.5;
|
|
audibleFire = 0.1;
|
|
visibleFireTime = 0.5;
|
|
audibleFireTime = 0.5;
|
|
cost = 1.0;
|
|
typicalSpeed = 1.0;
|
|
airFriction = 1.0;
|
|
};
|
|
|
|
class MuzzleCoef {
|
|
dispersionCoef = "0.8f";
|
|
artilleryDispersionCoef = "1.0f";
|
|
fireLightCoef = "0.5f";
|
|
recoilCoef = "1.0f";
|
|
recoilProneCoef = "1.0f";
|
|
minRangeCoef = "1.0f";
|
|
minRangeProbabCoef = "1.0f";
|
|
midRangeCoef = "1.0f";
|
|
midRangeProbabCoef = "1.0f";
|
|
maxRangeCoef = "1.0f";
|
|
maxRangeProbabCoef = "1.0f";
|
|
};
|
|
};
|
|
};
|
|
|
|
class muzzle_snds_H_MG: muzzle_snds_H {
|
|
class ItemInfo: ItemInfo {
|
|
class MagazineCoef {
|
|
initSpeed = 1.0;
|
|
};
|
|
|
|
class AmmoCoef {
|
|
hit = 1.0;
|
|
visibleFire = 0.5;
|
|
audibleFire = 0.1;
|
|
visibleFireTime = 0.5;
|
|
audibleFireTime = 0.5;
|
|
cost = 1.0;
|
|
typicalSpeed = 1.0;
|
|
airFriction = 1.0;
|
|
};
|
|
|
|
class MuzzleCoef {
|
|
dispersionCoef = "0.8f";
|
|
artilleryDispersionCoef = "1.0f";
|
|
fireLightCoef = "0.5f";
|
|
recoilCoef = "1.0f";
|
|
recoilProneCoef = "1.0f";
|
|
minRangeCoef = "1.0f";
|
|
minRangeProbabCoef = "1.0f";
|
|
midRangeCoef = "1.0f";
|
|
midRangeProbabCoef = "1.0f";
|
|
maxRangeCoef = "1.0f";
|
|
maxRangeProbabCoef = "1.0f";
|
|
};
|
|
};
|
|
};
|
|
|
|
class muzzle_snds_H_SW: muzzle_snds_H_MG {
|
|
class ItemInfo: ItemInfo {
|
|
class MagazineCoef {
|
|
initSpeed = 1.0;
|
|
};
|
|
|
|
class AmmoCoef {
|
|
hit = 1.0;
|
|
visibleFire = 0.5;
|
|
audibleFire = 0.1;
|
|
visibleFireTime = 0.5;
|
|
audibleFireTime = 0.5;
|
|
cost = 1.0;
|
|
typicalSpeed = 1.0;
|
|
airFriction = 1.0;
|
|
};
|
|
|
|
class MuzzleCoef {
|
|
dispersionCoef = "0.8f";
|
|
artilleryDispersionCoef = "1.0f";
|
|
fireLightCoef = "0.5f";
|
|
recoilCoef = "1.0f";
|
|
recoilProneCoef = "1.0f";
|
|
minRangeCoef = "1.0f";
|
|
minRangeProbabCoef = "1.0f";
|
|
midRangeCoef = "1.0f";
|
|
midRangeProbabCoef = "1.0f";
|
|
maxRangeCoef = "1.0f";
|
|
maxRangeProbabCoef = "1.0f";
|
|
};
|
|
};
|
|
};
|
|
|
|
class muzzle_snds_acp: muzzle_snds_H {
|
|
class ItemInfo: ItemInfo {
|
|
class MagazineCoef {
|
|
initSpeed = 1.0;
|
|
};
|
|
|
|
class AmmoCoef {
|
|
hit = 1;
|
|
visibleFire = 0.5;
|
|
audibleFire = 0.1;
|
|
visibleFireTime = 0.5;
|
|
audibleFireTime = 0.5;
|
|
cost = 1.0;
|
|
typicalSpeed = 1.0;
|
|
airFriction = 1.0;
|
|
};
|
|
|
|
class MuzzleCoef {
|
|
dispersionCoef = "0.8f";
|
|
artilleryDispersionCoef = "1.0f";
|
|
fireLightCoef = "0.5f";
|
|
recoilCoef = "1.0f";
|
|
recoilProneCoef = "1.0f";
|
|
minRangeCoef = "1.0f";
|
|
minRangeProbabCoef = "1.0f";
|
|
midRangeCoef = "1.0f";
|
|
midRangeProbabCoef = "1.0f";
|
|
maxRangeCoef = "1.0f";
|
|
maxRangeProbabCoef = "1.0f";
|
|
};
|
|
};
|
|
};
|
|
|
|
class muzzle_snds_338_black: ItemCore {
|
|
class ItemInfo: InventoryMuzzleItem_Base_F {
|
|
class MagazineCoef {
|
|
initSpeed = 1.0;
|
|
};
|
|
|
|
class AmmoCoef {
|
|
hit = 1;
|
|
visibleFire = 0.5;
|
|
audibleFire = 0.1;
|
|
visibleFireTime = 0.5;
|
|
audibleFireTime = 0.5;
|
|
cost = 1.0;
|
|
typicalSpeed = 1.0;
|
|
airFriction = 1.0;
|
|
};
|
|
|
|
class MuzzleCoef {
|
|
dispersionCoef = "0.8f";
|
|
artilleryDispersionCoef = "1.0f";
|
|
fireLightCoef = "0.5f";
|
|
recoilCoef = "1.0f";
|
|
recoilProneCoef = "1.0f";
|
|
minRangeCoef = "1.0f";
|
|
minRangeProbabCoef = "1.0f";
|
|
midRangeCoef = "1.0f";
|
|
midRangeProbabCoef = "1.0f";
|
|
maxRangeCoef = "1.0f";
|
|
maxRangeProbabCoef = "1.0f";
|
|
};
|
|
};
|
|
};
|
|
|
|
class muzzle_snds_93mmg: ItemCore {
|
|
class ItemInfo: InventoryMuzzleItem_Base_F {
|
|
class MagazineCoef {
|
|
initSpeed = 1.0;
|
|
};
|
|
|
|
class AmmoCoef {
|
|
hit = 1.0;
|
|
visibleFire = 0.5;
|
|
audibleFire = 0.1;
|
|
visibleFireTime = 0.5;
|
|
audibleFireTime = 0.5;
|
|
cost = 1.0;
|
|
typicalSpeed = 1.0;
|
|
airFriction = 1.0;
|
|
};
|
|
|
|
class MuzzleCoef {
|
|
dispersionCoef = "0.8f";
|
|
artilleryDispersionCoef = "1.0f";
|
|
fireLightCoef = "0.5f";
|
|
recoilCoef = "1.0f";
|
|
recoilProneCoef = "1.0f";
|
|
minRangeCoef = "1.0f";
|
|
minRangeProbabCoef = "1.0f";
|
|
midRangeCoef = "1.0f";
|
|
midRangeProbabCoef = "1.0f";
|
|
maxRangeCoef = "1.0f";
|
|
maxRangeProbabCoef = "1.0f";
|
|
};
|
|
};
|
|
};
|
|
};
|