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

@@ -1,13 +1,16 @@
//no attachments on either of the M16A2s.
class M16A2_DZ : M16A2
{
/*
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
{
Attachment_M203 = "M16A2_GL_DZ";
@@ -15,14 +18,17 @@ class M16A2_DZ : M16A2
};
class M16A2_GL_DZ : M16A2GL
{
/*
{
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 ItemActions
{
class RemoveGL
@@ -31,4 +37,35 @@ class M16A2_GL_DZ : M16A2GL
script = "; ['Attachment_M203',_id,'M16A2_DZ'] call player_removeAttachment";
};
};
};
//ice apo resistance mod m16
class ice_apo_weapons_M16_DZE : M16A2 {
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;
picture = "\ice_apo_weapons\Data\m16_ca.paa";
model = "\ice_apo_weapons\M16_proxy";
displayName = $STR_DZE_WPN_M16RUSTY_NAME;
descriptionShort = $STR_DZE_WPN_M16RUSTY_DESC;
selectionFireAnim = "zasleh";
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
};
class Library {
libTextDesc = "This M16 rifle is in a very bad shape.";
};
};