Add MP7 to the game

Thx @SyNcRoNiCzZ
This commit is contained in:
A Man
2020-01-28 23:30:04 +01:00
parent 43f0614640
commit 4fc6128443
13 changed files with 1085 additions and 14 deletions

View File

@@ -0,0 +1,32 @@
class 40Rnd_46x30_mp7: CA_Magazine
{
scope = 2;
displayName = $STR_DZ_MAG_40RND_MP7_NAME;
picture = "\C1987_Mp7\equip\gui_mp7_40_mag.paa";
model = "\C1987_Mp7\mp7_40_mag.p3d";
ammo = "B_46x30_Ball";
count = 40;
initSpeed = 735;
descriptionShort = $STR_DZ_MAG_40RND_MP7_DESC;
class ItemActions
{
COMBINE_MAG
};
};
class 40Rnd_46x30_sd_mp7: CA_Magazine
{
scope = 2;
displayName = $STR_DZ_MAG_40RND_MP7SD_NAME;
picture = "\C1987_Mp7\equip\gui_mp7_40_mag.paa";
model = "\C1987_Mp7\mp7_40_mag.p3d";
ammo = "B_46x30_SD_Ball";
count = 40;
initSpeed = 700;
descriptionShort = $STR_DZ_MAG_40RND_MP7SD_DESC;
class ItemActions
{
COMBINE_MAG
};
};

View File

@@ -14,7 +14,8 @@
#include "762x39.hpp" //AK47, SA58
#include "762x51.hpp" //M240, FN FAL, DMR, M24
#include "762x54r.hpp" //PK, SVD, Mosin
#include "Misc.hpp" //CZ550, Lee-Enfield, Winchester 1866
#include "46x30.hpp" //MP7
#include "Misc.hpp" //CZ550, Lee-Enfield
#include "Shotgun.hpp"
#include "Arrows.hpp"
#include "LauncherAmmo.hpp"