Update weapon recoils

This commit is contained in:
A Man
2020-03-12 17:39:37 +01:00
parent 2b76405641
commit cecaaefd63
12 changed files with 284 additions and 23 deletions

View File

@@ -161,6 +161,14 @@ class ACR_DZ_BASE: M4A1 {
begin1[] = {"fhq_remington\ACR\sfx\acr_auto.ogg",1.77828,1,1000};
begin2[] = {"fhq_remington\ACR\sfx\acr_auto.ogg",1.77828,1,1000};
soundBegin[] = {"begin1",0.5,"begin2",0.5};
recoil = "recoil_auto_primary_2outof10";
recoilProne = "recoil_auto_primary_prone_2outof10";
minRange = 0;
minRangeProbab = 0.3;
midRange = 40;
midRangeProbab = 0.7;
maxRange = 80;
maxRangeProbab = 0.05;
};
displayName = "ACR (Woodland)";
picture = "\fhq_remington\acr\ui\i_acr_wdl_iron.paa";

View File

@@ -8,15 +8,29 @@ class Famas_DZ: M4A1
modes[] = {"Single","Fullauto"};
class Single: Mode_SemiAuto
{
sound[] = {"\C1987_famas\sound\Famas.wss",1.778279,1,1000};
begin1[] = {"\C1987_famas\sound\Famas.wss",1.778279,1,1000};
soundBegin[] = {"begin1",1};
recoil = "recoil_single_primary_3outof10";
recoilProne = "recoil_single_primary_prone_3outof10";
minRange = 2;
minRangeProbab = 0.3;
midRange = 40;
midRangeProbab = 0.7;
maxRange = 150;
maxRangeProbab = 0.05;
};
class FullAuto: Mode_FullAuto
{
sound[] = {"\C1987_famas\sound\Famas.wss",1.778279,1,1000};
begin1[] = {"\C1987_famas\sound\Famas.wss",1.778279,1,1000};
soundBegin[] = {"begin1",1};
recoil = "recoil_single_primary_3outof10";
recoilProne = "recoil_single_primary_prone_3outof10";
minRange = 0;
minRangeProbab = 0.3;
midRange = 20;
midRangeProbab = 0.7;
maxRange = 40;
maxRangeProbab = 0.05;
};
descriptionShort = $STR_DZ_WPN_CZ_805A_DESC;
@@ -91,15 +105,29 @@ class Famas_SD_DZ: M4A1_AIM_SD_camo
modes[] = {"Single","Fullauto"};
class Single: Mode_SemiAuto
{
sound[] = {"\C1987_famas\sound\Famas_sd.wss",1.0,1,300};
begin1[] = {"\C1987_famas\sound\Famas_sd.wss",1.0,1,300};
soundBegin[] = {"begin1",1};
recoil = "recoil_single_primary_3outof10";
recoilProne = "recoil_single_primary_prone_3outof10";
minRange = 2;
minRangeProbab = 0.3;
midRange = 40;
midRangeProbab = 0.7;
maxRange = 150;
maxRangeProbab = 0.05;
};
class FullAuto: Mode_FullAuto
{
sound[] = {"\C1987_famas\sound\Famas_sd.wss",1.0,1,300};
begin1[] = {"\C1987_famas\sound\Famas_sd.wss",1.0,1,300};
soundBegin[] = {"begin1",1};
recoil = "recoil_single_primary_3outof10";
recoilProne = "recoil_single_primary_prone_3outof10";
minRange = 0;
minRangeProbab = 0.3;
midRange = 20;
midRangeProbab = 0.7;
maxRange = 40;
maxRangeProbab = 0.05;
};
descriptionShort = $STR_DZ_WPN_CZ_805A_SD_DESC;

View File

@@ -16,6 +16,8 @@ class Groza9_DZ: AKM_DZ
{
begin1[] = {"\RH_aks\sound\oc14.wss",1.778279,1,1000};
soundBegin[] = {"begin1",1};
recoil = "recoil_single_primary_2outof10";
recoilProne = "recoil_single_primary_prone_2outof10";
reloadTime = 0.085;
dispersion = 0.0025;
minRange = 1;
@@ -29,6 +31,8 @@ class Groza9_DZ: AKM_DZ
{
begin1[] = {"\RH_aks\sound\oc14.wss",1.778279,1,1000};
soundBegin[] = {"begin1",1};
recoil = "recoil_single_primary_2outof10";
recoilProne = "recoil_single_primary_prone_2outof10";
reloadTime = 0.08;
ffCount = 30;
dispersion = 0.0025;
@@ -104,12 +108,12 @@ class Groza9_SD_DZ: Groza9_DZ
magazines[] = {"20Rnd_9x39_Groza9SD"};
handAnim[] = {"OFP2_ManSkeleton","\CA\weapons\Data\Anim\Bizon.rtm"};
modes[] = {"Single","FullAuto"};
class Single: Mode_SemiAuto
class Single: Single
{
begin1[] = {"\RH_aks\sound\oc14sd.wss",0.562341,1,150};
soundBegin[] = {"begin1",1};
soundBegin[] = {"begin1",1};
};
class FullAuto: Mode_FullAuto
class FullAuto: FullAuto
{
begin1[] = {"\RH_aks\sound\oc14sd.wss",0.562341,1,150};
soundBegin[] = {"begin1",1};
@@ -162,6 +166,8 @@ class Groza1_DZ: AKM_DZ
{
begin1[] = {"\RH_aks\Sound\gr1.wss",1.778279,1,1000};
soundBegin[] = {"begin1",1};
recoil = "recoil_single_primary_3outof10";
recoilProne = "recoil_single_primary_prone_3outof10";
reloadTime = 0.08;
dispersion = 0.0027;
minRange = 2;
@@ -175,6 +181,8 @@ class Groza1_DZ: AKM_DZ
{
begin1[] = {"\RH_aks\Sound\gr1.wss",1.778279,1,1000};
soundBegin[] = {"begin1",1};
recoil = "recoil_single_primary_3outof10";
recoilProne = "recoil_single_primary_prone_3outof10";
reloadTime = 0.08;
ffCount = 30;
dispersion = 0.0027;
@@ -223,7 +231,7 @@ class Groza1_SD_DZ: Groza1_DZ
modes[] = {"Single","FullAuto"};
magazines[] = {"30Rnd_762x39_Groza1SD"};
class Single: Mode_SemiAuto
class Single: Single
{
begin1[] = {"\RH_aks\sound\gr1sd.wss",0.562341,1,50};
soundBegin[] = {"begin1",1};
@@ -236,7 +244,7 @@ class Groza1_SD_DZ: Groza1_DZ
maxRange = 200;
maxRangeProbab = 0.1;
};
class FullAuto: Mode_FullAuto
class FullAuto: FullAuto
{
begin1[] = {"\RH_aks\sound\gr1sd.wss",0.562341,1,50};
soundBegin[] = {"begin1",1};

View File

@@ -13,6 +13,16 @@ class Kriss_DZ: MP5_DZ
{
begin1[] = {"\RH_smg\sound\kriss.wss",1.778279,1,900};
soundBegin[] = {"begin1",1};
reloadTime = 0.07;
recoil = "recoil_single_primary_1outof10";
recoilProne = "recoil_single_primary_prone_1outof10";
dispersion = 0.003;
minRange = 2;
minRangeProbab = 0.25;
midRange = 40;
midRangeProbab = 0.7;
maxRange = 150;
maxRangeProbab = 0.05;
};
delete Burst;
@@ -21,6 +31,18 @@ class Kriss_DZ: MP5_DZ
{
begin1[] = {"\RH_smg\sound\kriss.wss",1.778279,1,900};
soundBegin[] = {"begin1",1};
soundContinuous = 0;
reloadTime = 0.1;
ffCount = 1;
recoil = "recoil_auto_primary_1outof10";
recoilProne = "recoil_auto_primary_prone_1outof10";
dispersion = 0.003;
minRange = 0;
minRangeProbab = 0.2;
midRange = 20;
midRangeProbab = 0.7;
maxRange = 40;
maxRangeProbab = 0.05;
};
class FlashLight
@@ -107,6 +129,16 @@ class Kriss_SD_DZ: MP5_SD_DZ
{
begin1[] = {"\RH_smg\sound\umpsd.wss",1.778279,1,50};
soundBegin[] = {"begin1",1};
reloadTime = 0.07;
recoil = "recoil_single_primary_1outof10";
recoilProne = "recoil_single_primary_prone_1outof10";
dispersion = 0.003;
minRange = 2;
minRangeProbab = 0.25;
midRange = 40;
midRangeProbab = 0.7;
maxRange = 150;
maxRangeProbab = 0.05;
};
delete Burst;
@@ -115,6 +147,18 @@ class Kriss_SD_DZ: MP5_SD_DZ
{
begin1[] = {"\RH_smg\sound\umpsd.wss",1.778279,1,50};
soundBegin[] = {"begin1",1};
soundContinuous = 0;
reloadTime = 0.1;
ffCount = 1;
recoil = "recoil_auto_primary_1outof10";
recoilProne = "recoil_auto_primary_prone_1outof10";
dispersion = 0.003;
minRange = 0;
minRangeProbab = 0.2;
midRange = 20;
midRangeProbab = 0.7;
maxRange = 40;
maxRangeProbab = 0.05;
};
class FlashLight

View File

@@ -48,11 +48,31 @@ class Masada_DZ : M4A1
{
begin1[] = {"\RH_hk416\sound\acr.wss",1.778279,1,1000};
soundBegin[] = {"begin1",1};
reloadTime = 0.075;
recoil = "recoil_single_primary_3outof10";
recoilProne = "recoil_single_primary_prone_3outof10";
dispersion = 0.001;
minRange = 2;
minRangeProbab = 0.3;
midRange = 250;
midRangeProbab = 0.7;
maxRange = 400;
maxRangeProbab = 0.05;
};
class FullAuto: Mode_FullAuto
{
begin1[] = {"\RH_hk416\sound\acr.wss",1.778279,1,1000};
soundBegin[] = {"begin1",1};
reloadTime = 0.09;
recoil = "recoil_auto_primary_3outof10";
recoilProne = "recoil_auto_primary_prone_3outof10";
dispersion = 0.00175;
minRange = 0;
minRangeProbab = 0.1;
midRange = 25;
midRangeProbab = 0.7;
maxRange = 70;
maxRangeProbab = 0.05;
};
magazines[] =
@@ -87,11 +107,31 @@ class Masada_SD_DZ : M4A1_AIM_SD_camo
{
begin1[] = {"\RH_hk416\sound\massd.wss",1.0,1,50};
soundBegin[] = {"begin1",1};
reloadTime = 0.075;
recoil = "recoil_single_primary_3outof10";
recoilProne = "recoil_single_primary_prone_3outof10";
dispersion = 0.001;
minRange = 2;
minRangeProbab = 0.3;
midRange = 250;
midRangeProbab = 0.7;
maxRange = 400;
maxRangeProbab = 0.05;
};
class FullAuto: Mode_FullAuto
{
begin1[] = {"\RH_hk416\sound\massd.wss",1.0,1,50};
soundBegin[] = {"begin1",1};
reloadTime = 0.09;
recoil = "recoil_auto_primary_3outof10";
recoilProne = "recoil_auto_primary_prone_3outof10";
dispersion = 0.00175;
minRange = 0;
minRangeProbab = 0.1;
midRange = 25;
midRangeProbab = 0.7;
maxRange = 70;
maxRangeProbab = 0.05;
};
magazines[] =

View File

@@ -13,6 +13,16 @@ class P90_DZ: MP5_DZ
{
begin1[] = {"\RH_smg\sound\p90s.wss",1.778279,1,900};
soundBegin[] = {"begin1",1};
reloadTime = 0.07;
recoil = "recoil_single_primary_2outof10";
recoilProne = "recoil_single_primary_prone_2outof10";
dispersion = 0.003;
minRange = 2;
minRangeProbab = 0.25;
midRange = 40;
midRangeProbab = 0.7;
maxRange = 150;
maxRangeProbab = 0.05;
};
delete Burst;
@@ -21,6 +31,18 @@ class P90_DZ: MP5_DZ
{
begin1[] = {"\RH_smg\sound\p90s.wss",1.778279,1,900};
soundBegin[] = {"begin1",1};
soundContinuous = 0;
reloadTime = 0.1;
ffCount = 1;
recoil = "recoil_auto_primary_1outof10";
recoilProne = "recoil_auto_primary_prone_1outof10";
dispersion = 0.003;
minRange = 0;
minRangeProbab = 0.2;
midRange = 20;
midRangeProbab = 0.7;
maxRange = 40;
maxRangeProbab = 0.05;
};
class FlashLight
@@ -101,6 +123,16 @@ class P90_SD_DZ: MP5_SD_DZ
{
begin1[] = {"\RH_smg\sound\p90sds.wss",1.778279,1,50};
soundBegin[] = {"begin1",1};
reloadTime = 0.07;
recoil = "recoil_single_primary_2outof10";
recoilProne = "recoil_single_primary_prone_2outof10";
dispersion = 0.003;
minRange = 2;
minRangeProbab = 0.25;
midRange = 40;
midRangeProbab = 0.7;
maxRange = 150;
maxRangeProbab = 0.05;
};
delete Burst;
@@ -109,6 +141,18 @@ class P90_SD_DZ: MP5_SD_DZ
{
begin1[] = {"\RH_smg\sound\p90sds.wss",1.778279,1,50};
soundBegin[] = {"begin1",1};
soundContinuous = 0;
reloadTime = 0.1;
ffCount = 1;
recoil = "recoil_auto_primary_1outof10";
recoilProne = "recoil_auto_primary_prone_1outof10";
dispersion = 0.003;
minRange = 0;
minRangeProbab = 0.2;
midRange = 20;
midRangeProbab = 0.7;
maxRange = 40;
maxRangeProbab = 0.05;
};
class FlashLight

View File

@@ -11,6 +11,16 @@ class TMP_DZ: MP5A5
{
begin1[] = {"\RH_smg\sound\tmp.wss",1.778279,1,900};
soundBegin[] = {"begin1",1};
reloadTime = 0.07;
recoil = "recoil_single_primary_1outof10";
recoilProne = "recoil_single_primary_prone_1outof10";
dispersion = 0.003;
minRange = 2;
minRangeProbab = 0.25;
midRange = 40;
midRangeProbab = 0.7;
maxRange = 150;
maxRangeProbab = 0.05;
};
delete Burst;
@@ -19,6 +29,18 @@ class TMP_DZ: MP5A5
{
begin1[] = {"\RH_smg\sound\tmp.wss",1.778279,1,900};
soundBegin[] = {"begin1",1};
soundContinuous = 0;
reloadTime = 0.1;
ffCount = 1;
recoil = "recoil_auto_primary_1outof10";
recoilProne = "recoil_auto_primary_prone_1outof10";
dispersion = 0.003;
minRange = 0;
minRangeProbab = 0.2;
midRange = 20;
midRangeProbab = 0.7;
maxRange = 40;
maxRangeProbab = 0.05;
};
magazines[] = {"30Rnd_9x19_TMP"};
@@ -84,6 +106,16 @@ class TMP_SD_DZ: MP5SD
{
begin1[] = {"\RH_smg\sound\tmpsd.wss",1.778279,1,50};
soundBegin[] = {"begin1",1};
reloadTime = 0.07;
recoil = "recoil_single_primary_1outof10";
recoilProne = "recoil_single_primary_prone_1outof10";
dispersion = 0.003;
minRange = 2;
minRangeProbab = 0.25;
midRange = 40;
midRangeProbab = 0.7;
maxRange = 150;
maxRangeProbab = 0.05;
};
delete Burst;
@@ -92,6 +124,18 @@ class TMP_SD_DZ: MP5SD
{
begin1[] = {"\RH_smg\sound\tmpsd.wss",1.778279,1,50};
soundBegin[] = {"begin1",1};
soundContinuous = 0;
reloadTime = 0.1;
ffCount = 1;
recoil = "recoil_auto_primary_1outof10";
recoilProne = "recoil_auto_primary_prone_1outof10";
dispersion = 0.003;
minRange = 0;
minRangeProbab = 0.2;
midRange = 20;
midRangeProbab = 0.7;
maxRange = 40;
maxRangeProbab = 0.05;
};
magazines[] = {"30Rnd_9x19_TMPSD"};

View File

@@ -12,6 +12,16 @@ class UMP_DZ: MP5A5
{
begin1[] = {"\RH_smg\sound\ump.wss",1.778279,1,900};
soundBegin[] = {"begin1",1};
reloadTime = 0.07;
recoil = "recoil_single_primary_1outof10";
recoilProne = "recoil_single_primary_prone_1outof10";
dispersion = 0.003;
minRange = 2;
minRangeProbab = 0.25;
midRange = 40;
midRangeProbab = 0.7;
maxRange = 150;
maxRangeProbab = 0.05;
};
delete Burst;
@@ -20,6 +30,18 @@ class UMP_DZ: MP5A5
{
begin1[] = {"\RH_smg\sound\ump.wss",1.778279,1,900};
soundBegin[] = {"begin1",1};
soundContinuous = 0;
reloadTime = 0.1;
ffCount = 1;
recoil = "recoil_auto_primary_1outof10";
recoilProne = "recoil_auto_primary_prone_1outof10";
dispersion = 0.003;
minRange = 0;
minRangeProbab = 0.2;
midRange = 20;
midRangeProbab = 0.7;
maxRange = 40;
maxRangeProbab = 0.05;
};
magazines[] = {"25Rnd_45ACP_UMP"};
@@ -86,6 +108,16 @@ class UMP_SD_DZ: MP5SD
{
begin1[] = {"\RH_smg\sound\umpsd.wss",1.778279,1,50};
soundBegin[] = {"begin1",1};
reloadTime = 0.07;
recoil = "recoil_single_primary_1outof10";
recoilProne = "recoil_single_primary_prone_1outof10";
dispersion = 0.003;
minRange = 2;
minRangeProbab = 0.25;
midRange = 40;
midRangeProbab = 0.7;
maxRange = 150;
maxRangeProbab = 0.05;
};
delete Burst;
@@ -94,6 +126,18 @@ class UMP_SD_DZ: MP5SD
{
begin1[] = {"\RH_smg\sound\umpsd.wss",1.778279,1,50};
soundBegin[] = {"begin1",1};
soundContinuous = 0;
reloadTime = 0.1;
ffCount = 1;
recoil = "recoil_auto_primary_1outof10";
recoilProne = "recoil_auto_primary_prone_1outof10";
dispersion = 0.003;
minRange = 0;
minRangeProbab = 0.2;
midRange = 20;
midRangeProbab = 0.7;
maxRange = 40;
maxRangeProbab = 0.05;
};
magazines[] = {"25Rnd_45ACP_UMPSD"};