Add rusty M16, M4, add taped stanag mag

made by @seelenapparat
Thx @Icewindo
This commit is contained in:
A Man
2020-01-16 17:34:36 +01:00
parent 18eaaa6aed
commit c6a301f370
12 changed files with 180 additions and 39 deletions

View File

@@ -71,11 +71,16 @@ class M4A1_DZ : M4A1
handAnim[]={"OFP2_ManSkeleton","\Ca\weapons_E\SCAR\Data\Anim\SCAR.rtm"};
/*magazines[] = //Allow default A2 mags
magazines[] =
{
30Rnd_556x45_Stanag,
30Rnd_556x45_StanagSD
};*/
30Rnd_556x45_StanagSD,//Allow both SD and non-SD
30Rnd_556x45_G36SD,
30Rnd_556x45_G36,
100Rnd_556x45_BetaCMag,
20Rnd_556x45_Stanag,
60Rnd_556x45_Stanag_tape_ice_DZE
};
class Attachments
{
@@ -165,12 +170,13 @@ class M4A1_SD_DZ : M4A1_AIM_SD_camo
magazines[] =
{
30Rnd_556x45_StanagSD,
30Rnd_556x45_Stanag, //Allow both SD and non-SD
20Rnd_556x45_Stanag,
30Rnd_556x45_G36SD,
30Rnd_556x45_G36,
100Rnd_556x45_BetaCMag
30Rnd_556x45_G36, //Allow both SD and non-SD
100Rnd_556x45_BetaCMag,
30Rnd_556x45_Stanag,
30Rnd_556x45_StanagSD,
20Rnd_556x45_Stanag,
60Rnd_556x45_Stanag_tape_ice_DZE
};
class Attachments
@@ -1560,6 +1566,37 @@ class M4A1_GL_ACOG_SD_MFL_DZ : M4A1_GL_SD_MFL_DZ
};
};
//ice apo resistance mod m4
class ice_apo_weapons_M4_DZE : M4A1 {
class FlashLight {
color[] = {0.9, 0.9, 0.7, 0.9};
ambient[] = {0.1, 0.1, 0.1, 1.0};
position = "flash dir";
direction = "flash";
angle = 30;
scale[] = {1, 1, 0.5};
brightness = 0.1;
};
scope = public;
model = "\ice_apo_weapons\M4_ironsight";
picture = "\ice_apo_weapons\Data\m4a1_ca.paa";
displayName = $STR_DZE_WPN_M4RUSTY_NAME;
descriptionShort = $STR_DZE_WPN_M4RUSTY_DESC;
magazines[] =
{
30Rnd_556x45_Stanag,
30Rnd_556x45_StanagSD,//Allow both SD and non-SD
30Rnd_556x45_G36SD,
30Rnd_556x45_G36,
100Rnd_556x45_BetaCMag,
20Rnd_556x45_Stanag,
60Rnd_556x45_Stanag_tape_ice_DZE
};
selectionFireAnim = "zasleh";
class Library {
libTextDesc = "This M4 rifle is in a very bad shape.";
};
};
#undef M4A1_FLASHLIGHT
#undef M4A1_MFLASHLIGHT
#undef M4A1_M203