mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add Suomi M-31
Thx @helion4
This commit is contained in:
@@ -50,6 +50,7 @@ AmmoCZ[] = {
|
||||
{Loot_MAGAZINE, 3, 30Rnd_9x19_MP5},
|
||||
{Loot_MAGAZINE, 3, 30Rnd_9x19_MP5SD},
|
||||
{Loot_MAGAZINE, 3, 20Rnd_B_765x17_Ball},
|
||||
{Loot_MAGAZINE, 3, 70Rnd_9x19_M31},
|
||||
|
||||
// Pistols
|
||||
{Loot_MAGAZINE, 5, 13Rnd_9x19_BHP},
|
||||
|
||||
@@ -224,6 +224,7 @@ weaponsCZ[] =
|
||||
{Loot_WEAPON, 7, Scorpion_Evo3_DZ},
|
||||
{Loot_WEAPON, 7, Scorpion_Evo3_CCO_DZ},
|
||||
{Loot_WEAPON, 5, Scorpion_Evo3_CCO_SD_DZ},
|
||||
{Loot_WEAPON, 7, M31_DZ},
|
||||
|
||||
// Assault Rifles
|
||||
{Loot_WEAPON, 6, SA58_DZ},
|
||||
|
||||
@@ -412,4 +412,16 @@ class 32Rnd_9x19_MAT49: 30Rnd_9x19_MP5
|
||||
model = "\z\addons\dayz_epoch_w\sten\h4_sten_mag.p3d";
|
||||
initSpeed = 600;
|
||||
count = 32;
|
||||
};
|
||||
|
||||
/* Suomi M-31 */
|
||||
|
||||
class 70Rnd_9x19_M31: 30Rnd_9x19_MP5
|
||||
{
|
||||
displayName = $STR_DZ_MAG_70RND_9x19mm_M31_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_70RND_9x19mm_M31_DESC;
|
||||
picture = "\z\addons\dayz_epoch_w\suomi\data\W_suomi_mag_CA.paa";
|
||||
model = "z\addons\dayz_epoch_w\suomi\suomikp31_mag.p3d";
|
||||
initSpeed = 700;
|
||||
count = 70;
|
||||
};
|
||||
@@ -42,6 +42,7 @@ class Category_20 {
|
||||
class 30Rnd_9x19_TMPSD {type = "trade_items";buy[] = {4,"ItemSilverBar10oz"};sell[] = {2,"ItemSilverBar10oz"};};
|
||||
class 32Rnd_9x19_STEN {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
|
||||
class 32Rnd_9x19_MAT49 {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
|
||||
class 70Rnd_9x19_M31 {type = "trade_items";buy[] = {4,"ItemSilverBar10oz"};sell[] = {2,"ItemSilverBar10oz"};};
|
||||
class 64Rnd_9x19_Bizon {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
|
||||
class 64Rnd_9x19_SD_Bizon {type = "trade_items";buy[] = {4,"ItemSilverBar10oz"};sell[] = {2,"ItemSilverBar10oz"};};
|
||||
class 40Rnd_46x30_mp7 {type = "trade_items";buy[] = {2,"ItemSilverBar10oz"};sell[] = {1,"ItemSilverBar10oz"};};
|
||||
|
||||
@@ -98,6 +98,7 @@ class Category_14 {
|
||||
class Bizon_Kobra_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};};
|
||||
class Sten_MK_DZ {type = "trade_weapons";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||
class MAT49_DZ {type = "trade_weapons";buy[] = {3,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
|
||||
class M31_DZ {type = "trade_weapons";buy[] = {7,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
|
||||
class MP7_DZ {type = "trade_weapons";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||
class MP7_FL_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {5,"ItemGoldBar"};};
|
||||
class MP7_MFL_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};};
|
||||
|
||||
@@ -171,6 +171,7 @@ class CfgWeapons
|
||||
#include "Rifles\P90.hpp"
|
||||
#include "Rifles\Sten.hpp"
|
||||
#include "Rifles\MAT49.hpp"
|
||||
#include "Rifles\M31.hpp"
|
||||
|
||||
class M16A2;
|
||||
class M16A2GL;
|
||||
|
||||
54
SQF/dayz_code/Configs/CfgWeapons/Rifles/M31.hpp
Normal file
54
SQF/dayz_code/Configs/CfgWeapons/Rifles/M31.hpp
Normal file
@@ -0,0 +1,54 @@
|
||||
class M31_DZ: MP5A5
|
||||
{
|
||||
scope = public;
|
||||
model = "z\addons\dayz_epoch_w\suomi\suomikp31.p3d";
|
||||
displayName = $STR_DZ_WPN_M31_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_M31_DESC;
|
||||
picture = "\z\addons\dayz_epoch_w\suomi\data\W_suomi_CA.paa";
|
||||
magazines[] ={70Rnd_9x19_M31};
|
||||
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"};
|
||||
hiddenSelections[] = {"camo"};
|
||||
hiddenSelectionsTextures[] = {"\addons\dayz_epoch_w\sten\data\dze_sten_01_co.paa"};
|
||||
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;
|
||||
minRange = 0;
|
||||
minRangeProbab = 0.20;
|
||||
midRange = 7;
|
||||
midRangeProbab = 0.7;
|
||||
maxRange = 15;
|
||||
maxRangeProbab = 0.05;
|
||||
};
|
||||
};
|
||||
@@ -13433,6 +13433,22 @@
|
||||
<Russian>Пистолет-пулемет <br/>Патрон: 9x19мм Parabellum</Russian>
|
||||
<Polish>Pistolet maszynowy <br/>Kaliber: 9x19mm Parabellum</Polish>
|
||||
<Hungarian>Géppisztoly <br/> Kaliber: 9x19mm Parabellum</Hungarian>
|
||||
</Key>
|
||||
|
||||
<!-- Suomi M-31 -->
|
||||
<Key ID="STR_DZ_WPN_M31_NAME">
|
||||
<English>Suomi M-31</English>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_WPN_M31_DESC">
|
||||
<German>Maschinenpistole <br/>Kaliber: 9x19mm Parabellum</German>
|
||||
<English>Submachine gun <br/>Caliber: 9x19mm Parabellum</English>
|
||||
<Italian>Fucile mitragliatore <br/>Calibro: 9x19mm Parabellum</Italian>
|
||||
<Spanish>Metralleta <br/>Calibre: 9x19mm Parabellum</Spanish>
|
||||
<French>Pistolet-mitrailleur <br/>Calibre: 9x19mm Parabellum</French>
|
||||
<Czech>Samopal <br/>Kalibr: 9x19mm Parabellum</Czech>
|
||||
<Russian>Пистолет-пулемет <br/>Патрон: 9x19мм Parabellum</Russian>
|
||||
<Polish>Pistolet maszynowy <br/>Kaliber: 9x19mm Parabellum</Polish>
|
||||
<Hungarian>Géppisztoly <br/> Kaliber: 9x19mm Parabellum</Hungarian>
|
||||
</Key>
|
||||
|
||||
<!-- **** MAGAZINES **** -->
|
||||
@@ -14906,6 +14922,21 @@
|
||||
<German>Kaliber: 9x19mm Parabellum<br/>Patronen: 32<br/>Eingesetzt in: MAT-49</German>
|
||||
<Czech>Kalibr: 9x19mm Parabellum<br/>Nábojů: 32<br/>Pro: MAT-49</Czech>
|
||||
<Hungarian>Kaliber: 9x19mm Parabellum<br/> Töltények: 32<br/> Hozzá tartozó fegyver: MAT-49</Hungarian>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_MAG_70RND_9x19mm_M31_NAME">
|
||||
<English>70Rnd. Suomi M-31 mag.</English>
|
||||
<Russian>70п. Suomi M-31 маг.</Russian>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_MAG_70RND_9x19mm_M31_DESC">
|
||||
<English>Caliber: 9x19mm Parabellum<br/>Rounds: 70<br/>Used in: Suomi M-31</English>
|
||||
<French>Calibre: 9x19mm Parabellum<br/>Munitions : 70<br/>Utilisé avec: Suomi M-31</French>
|
||||
<Spanish>Calibre: 9x19mm Parabellum<br/>Cartuchos: 70<br/>Usado en: Suomi M-31</Spanish>
|
||||
<Italian>Calibro: 9x19mm Parabellum<br/>Munizioni: 70<br/>Usato in: Suomi M-31</Italian>
|
||||
<Polish>Kaliber: 9x19mm Parabellum<br/>Naboje: 70<br/>Uzywany w: Suomi M-31</Polish>
|
||||
<Russian>Патрон: 9x19mm Parabellum <br/>Количество: 70<br/>Исп. в: Suomi M-31</Russian>
|
||||
<German>Kaliber: 9x19mm Parabellum<br/>Patronen: 70<br/>Eingesetzt in: Suomi M-31</German>
|
||||
<Czech>Kalibr: 9x19mm Parabellum<br/>Nábojů: 70<br/>Pro: Suomi M-31</Czech>
|
||||
<Hungarian>Kaliber: 9x19mm Parabellum<br/> Töltények: 70<br/> Hozzá tartozó fegyver: Suomi M-31</Hungarian>
|
||||
</Key>
|
||||
|
||||
<!-- **** ATTACHMENTS **** -->
|
||||
|
||||
Reference in New Issue
Block a user