mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 17:20:26 +03:00
Add MAT-49
Thx @helion4
This commit is contained in:
52
SQF/dayz_code/Configs/CfgWeapons/Rifles/MAT49.hpp
Normal file
52
SQF/dayz_code/Configs/CfgWeapons/Rifles/MAT49.hpp
Normal file
@@ -0,0 +1,52 @@
|
||||
class MAT49_DZ: MP5A5
|
||||
{
|
||||
scope = public;
|
||||
model = "\z\addons\dayz_epoch_w\mat49\h4_mat49";
|
||||
displayName = $STR_DZ_WPN_MAT49_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_MAT49_DESC;
|
||||
picture = "\z\addons\dayz_epoch_w\mat49\data\W_mat49_CA.paa";
|
||||
magazines[] = {32Rnd_9x19_MAT49};
|
||||
fireLightDuration = 0.000;
|
||||
fireLightIntensity = 0.000;
|
||||
drySound[] = {"Ca\sounds\Weapons\rifles\dry",db-50,1,10};
|
||||
reloadMagazineSound[] = {"ca\sounds\weapons\rifles\reload-m16-3",db-25,1,25};
|
||||
distanceZoomMin = 50;
|
||||
distanceZoomMax = 50;
|
||||
handAnim[] = {"OFP2_ManSkeleton","\Ca\weapons\data\Anim\HKMP5.rtm"};
|
||||
modes[] = {Single, FullAuto};
|
||||
class Single: Mode_SemiAuto
|
||||
{
|
||||
begin1[] = {"ca\sounds\weapons\rifles\Bizon_single1", db5, 1,1000};
|
||||
begin2[] = {"ca\sounds\weapons\rifles\Bizon_single2", db5, 1,1000};
|
||||
soundBegin[] = {begin1,0.5, begin2,0.5};
|
||||
reloadTime = 0.07;
|
||||
recoil = "recoil_single_primary_1outof10";
|
||||
recoilProne = "recoil_single_primary_prone_1outof10";
|
||||
dispersion = 0.003;
|
||||
minRange = 2;
|
||||
minRangeProbab = 0.25;
|
||||
midRange = 20;
|
||||
midRangeProbab = 0.7;
|
||||
maxRange = 50;
|
||||
maxRangeProbab = 0.05;
|
||||
};
|
||||
class FullAuto: Mode_FullAuto
|
||||
{
|
||||
begin1[]={"ca\sounds\weapons\rifles\Bizon_single1", db5, 1,1000};
|
||||
begin2[]={"ca\sounds\weapons\rifles\Bizon_single2", db5, 1,1000};
|
||||
soundBegin[]={begin1,0.5, begin2,0.5};
|
||||
soundContinuous = 0;
|
||||
reloadTime = 0.1;
|
||||
ffCount =1;
|
||||
recoil = "recoil_auto_primary_1outof10";
|
||||
recoilProne = "recoil_auto_primary_prone_1outof10";
|
||||
aiRateOfFire = 0.001;
|
||||
dispersion = 0.003; //0.007;
|
||||
minRange = 0;
|
||||
minRangeProbab = 0.20;
|
||||
midRange = 7;
|
||||
midRangeProbab = 0.7;
|
||||
maxRange = 15;
|
||||
maxRangeProbab = 0.05;
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user