Removed aiDispersionCoef for vanilla weapons (#4484)

When merged this pull request will restore default aiDispersionCoef for vanilla weapons.
This commit is contained in:
Pawel W 2016-10-01 10:27:34 +02:00 committed by Glowbal
parent 95da004370
commit ddd036f5bd

View File

@ -2,8 +2,6 @@
// weapon config changes, by commy2 // weapon config changes, by commy2
/* documentation: /* documentation:
aiDispersionCoefX = 1.0 Dispersion multiplier for AI units (axis X - left to right).
aiDispersionCoefY = 1.0 Dispersion multiplier for AI units (axis Y - top-down).
aiRateOfFire = 5.0 Delay between shots at given aiRateOfFireDistance. aiRateOfFire = 5.0 Delay between shots at given aiRateOfFireDistance.
aiRateOfFireDistance = 500 At shorter distance delay (aiRateOfFire) goes linearly to zero. aiRateOfFireDistance = 500 At shorter distance delay (aiRateOfFire) goes linearly to zero.
*/ */
@ -15,20 +13,12 @@ class Mode_FullAuto;
class CfgWeapons { class CfgWeapons {
// rifles // rifles
class RifleCore; class Rifle_Base_F;
class Rifle: RifleCore { class Rifle_Short_Base_F;
aiDispersionCoefX = 6; class Rifle_Long_Base_F;
aiDispersionCoefY = 6;
};
class Rifle_Base_F: Rifle {};
class Rifle_Short_Base_F: Rifle_Base_F {};
class Rifle_Long_Base_F: Rifle_Base_F {};
// MX // MX
class arifle_MX_Base_F: Rifle_Base_F { class arifle_MX_Base_F: Rifle_Base_F {
aiDispersionCoefY = 18.0;
aiDispersionCoefX = 12.0;
modes[] += {"ACE_Burst_far"}; modes[] += {"ACE_Burst_far"};
class Single: Mode_SemiAuto { class Single: Mode_SemiAuto {
@ -71,8 +61,6 @@ class CfgWeapons {
// MX carbine // MX carbine
class arifle_MXC_F: arifle_MX_Base_F { class arifle_MXC_F: arifle_MX_Base_F {
aiDispersionCoefY = 18.0;
aiDispersionCoefX = 12.0;
class Single: Single { class Single: Single {
minRange = 120; // 2; minRange = 120; // 2;
@ -144,8 +132,6 @@ class CfgWeapons {
// MX machine gun // MX machine gun
class arifle_MX_SW_F: arifle_MX_Base_F { class arifle_MX_SW_F: arifle_MX_Base_F {
aiDispersionCoefY = 24.0;
aiDispersionCoefX = 21.0;
// Shit is still broken // Shit is still broken
//modes[] += {"ACE_Burst_far"}; //modes[] += {"ACE_Burst_far"};
modes[] = {"Single","manual","close","short","medium","far_optic1","far_optic2","ACE_Burst_far"}; modes[] = {"Single","manual","close","short","medium","far_optic1","far_optic2","ACE_Burst_far"};
@ -181,8 +167,6 @@ class CfgWeapons {
// Katiba // Katiba
class arifle_Katiba_Base_F: Rifle_Base_F { class arifle_Katiba_Base_F: Rifle_Base_F {
aiDispersionCoefY = 18.0;
aiDispersionCoefX = 12.0;
modes[] += {"ACE_Burst_far"}; modes[] += {"ACE_Burst_far"};
class Single: Mode_SemiAuto { class Single: Mode_SemiAuto {
@ -225,8 +209,6 @@ class CfgWeapons {
// Katiba carbine // Katiba carbine
class arifle_Katiba_C_F: arifle_Katiba_Base_F { class arifle_Katiba_C_F: arifle_Katiba_Base_F {
aiDispersionCoefY = 18.0;
aiDispersionCoefX = 12.0;
class Single: Single { class Single: Single {
minRange = 120; // 2; minRange = 120; // 2;
@ -269,8 +251,6 @@ class CfgWeapons {
// F2002 // F2002
class mk20_base_F: Rifle_Base_F { class mk20_base_F: Rifle_Base_F {
aiDispersionCoefY = 18.0;
aiDispersionCoefX = 12.0;
modes[] += {"ACE_Burst_far"}; modes[] += {"ACE_Burst_far"};
class Single: Mode_SemiAuto { class Single: Mode_SemiAuto {
@ -317,8 +297,6 @@ class CfgWeapons {
// F2002 carbine // F2002 carbine
class arifle_Mk20C_F: mk20_base_F { class arifle_Mk20C_F: mk20_base_F {
aiDispersionCoefY = 18.0;
aiDispersionCoefX = 12.0;
class Single: Single { class Single: Single {
minRange = 120; // 2; minRange = 120; // 2;
@ -359,8 +337,6 @@ class CfgWeapons {
// TAR-20 // TAR-20
class Tavor_base_F: Rifle_Base_F { class Tavor_base_F: Rifle_Base_F {
aiDispersionCoefY = 18.0;
aiDispersionCoefX = 12.0;
modes[] += {"ACE_Burst_far"}; modes[] += {"ACE_Burst_far"};
class Single: Mode_SemiAuto { class Single: Mode_SemiAuto {
@ -408,8 +384,6 @@ class CfgWeapons {
// TAR-21 // TAR-21
class arifle_TRG21_F: Tavor_base_F { class arifle_TRG21_F: Tavor_base_F {
aiDispersionCoefY = 18.0;
aiDispersionCoefX = 12.0;
class Single: Single { class Single: Single {
minRange = 120; // 2; minRange = 120; // 2;
@ -458,8 +432,6 @@ class CfgWeapons {
// SDAR // SDAR
class SDAR_base_F: Rifle_Base_F { class SDAR_base_F: Rifle_Base_F {
aiDispersionCoefY = 28.0;
aiDispersionCoefX = 20.0;
class Single: Mode_SemiAuto { class Single: Mode_SemiAuto {
minRange = 10; //2; minRange = 10; //2;
@ -472,8 +444,6 @@ class CfgWeapons {
// PD2000 // PD2000
class pdw2000_base_F: Rifle_Short_Base_F { class pdw2000_base_F: Rifle_Short_Base_F {
aiDispersionCoefY = 18.0;
aiDispersionCoefX = 12.0;
class Single: Mode_SemiAuto { class Single: Mode_SemiAuto {
minRange = 100; //2; minRange = 100; //2;
@ -486,8 +456,6 @@ class CfgWeapons {
// Vector // Vector
class SMG_01_Base: Rifle_Short_Base_F { class SMG_01_Base: Rifle_Short_Base_F {
aiDispersionCoefY = 18.0;
aiDispersionCoefX = 12.0;
class Single: Mode_SemiAuto { class Single: Mode_SemiAuto {
minRange = 50; //2; minRange = 50; //2;
@ -500,8 +468,6 @@ class CfgWeapons {
// Scorpion EVO // Scorpion EVO
class SMG_02_base_F: Rifle_Base_F { class SMG_02_base_F: Rifle_Base_F {
aiDispersionCoefY = 18.0;
aiDispersionCoefX = 12.0;
class Single: Mode_SemiAuto { class Single: Mode_SemiAuto {
minRange = 50; //2; minRange = 50; //2;
@ -516,8 +482,6 @@ class CfgWeapons {
// Stoner // Stoner
class LMG_Mk200_F: Rifle_Long_Base_F { class LMG_Mk200_F: Rifle_Long_Base_F {
aiDispersionCoefY = 24.0;
aiDispersionCoefX = 21.0;
modes[] += {"ACE_Burst_far"}; modes[] += {"ACE_Burst_far"};
class medium; class medium;
@ -545,8 +509,6 @@ class CfgWeapons {
// Negev // Negev
class LMG_Zafir_F: Rifle_Long_Base_F { class LMG_Zafir_F: Rifle_Long_Base_F {
aiDispersionCoefY = 23.0;
aiDispersionCoefX = 19.0;
modes[] += {"ACE_Burst_far"}; modes[] += {"ACE_Burst_far"};
class Single: Mode_SemiAuto { class Single: Mode_SemiAuto {
@ -720,8 +682,6 @@ class CfgWeapons {
// marksmen medium mg // marksmen medium mg
class MMG_01_base_F: Rifle_Long_Base_F { class MMG_01_base_F: Rifle_Long_Base_F {
aiDispersionCoefY = 25.0;
aiDispersionCoefX = 20.0;
modes[] += {"ACE_Burst_far"}; modes[] += {"ACE_Burst_far"};
class manual; class manual;
@ -746,8 +706,6 @@ class CfgWeapons {
}; };
class MMG_02_base_F: Rifle_Long_Base_F { class MMG_02_base_F: Rifle_Long_Base_F {
aiDispersionCoefY = 20.0;
aiDispersionCoefX = 15.0;
modes[] += {"ACE_Burst_far"}; modes[] += {"ACE_Burst_far"};
class manual; class manual;