mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 04:02:37 +03:00
@@ -9,6 +9,17 @@
|
||||
brightness = 0.1;\
|
||||
}
|
||||
|
||||
#define M16A4_MFLASHLIGHT class FlashLight\
|
||||
{\
|
||||
color[] = {0.9, 0.0, 0.0, 0.9};\
|
||||
ambient[] = {0.1, 0.0, 0.0, 1.0};\
|
||||
position = "flash dir";\
|
||||
direction = "flash";\
|
||||
angle = 30;\
|
||||
scale[] = {1, 1, 0.5};\
|
||||
brightness = 0.08;\
|
||||
}
|
||||
|
||||
#define M16A4_ACOG modelOptics = "\Ca\weapons_E\SCAR\ACOG_TA31_optic_4x.p3d";\
|
||||
class OpticsModes\
|
||||
{\
|
||||
@@ -53,13 +64,13 @@ class M16A4_DZ : M16A2
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4;
|
||||
/*
|
||||
magazines[] =
|
||||
|
||||
/*magazines[] =
|
||||
{
|
||||
30Rnd_556x45_Stanag,
|
||||
30Rnd_556x45_StanagSD
|
||||
};
|
||||
*/
|
||||
};*/ //Allow use of G36 mags
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "M16A4_CCO_DZ";
|
||||
@@ -67,6 +78,7 @@ class M16A4_DZ : M16A2
|
||||
Attachment_ACOG = "M16A4_ACOG_DZ";
|
||||
Attachment_M203 = "M16A4_GL_DZ";
|
||||
Attachment_FL = "M16A4_FL_DZ";
|
||||
Attachment_MFL = "M16A4_MFL_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -96,6 +108,32 @@ class M16A4_FL_DZ : M16A4_DZ
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_MFL_DZ : M16A4_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_MFL;
|
||||
|
||||
M16A4_MFLASHLIGHT;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "M16A4_CCO_MFL_DZ";
|
||||
Attachment_Holo = "M16A4_Holo_MFL_DZ";
|
||||
Attachment_ACOG = "M16A4_ACOG_MFL_DZ";
|
||||
Attachment_M203 = "M16A4_GL_MFL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_MFL',_id,'M16A4_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_GL_DZ : M16A4_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl.p3d";
|
||||
@@ -111,6 +149,7 @@ class M16A4_GL_DZ : M16A4_DZ
|
||||
Attachment_Holo = "M16A4_GL_Holo_DZ";
|
||||
Attachment_ACOG = "M16A4_GL_ACOG_DZ";
|
||||
Attachment_FL = "M16A4_GL_FL_DZ";
|
||||
Attachment_MFL = "M16A4_GL_MFL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
@@ -153,6 +192,36 @@ class M16A4_GL_FL_DZ : M16A4_GL_DZ
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_GL_MFL_DZ : M16A4_GL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_gl_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_GL_MFL;
|
||||
|
||||
M16A4_MFLASHLIGHT;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "M16A4_GL_CCO_MFL_DZ";
|
||||
Attachment_Holo = "M16A4_GL_Holo_MFL_DZ";
|
||||
Attachment_ACOG = "M16A4_GL_ACOG_MFL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_M203_RMVE;
|
||||
script = "; ['Attachment_M203',_id,'M16A4_MFL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_MFL',_id,'M16A4_GL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
//CCO
|
||||
@@ -166,6 +235,7 @@ class M16A4_CCO_DZ : M16A4_DZ
|
||||
{
|
||||
Attachment_M203 = "M16A4_GL_CCO_DZ";
|
||||
Attachment_FL = "M16A4_CCO_FL_DZ";
|
||||
Attachment_MFL = "M16A4_CCO_MFL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
@@ -204,6 +274,32 @@ class M16A4_CCO_FL_DZ : M16A4_FL_DZ
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_CCO_MFL_DZ : M16A4_MFL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_cco_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_cco_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_CCO_MFL;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_M203 = "M16A4_GL_CCO_MFL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'M16A4_MFL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_MFL',_id,'M16A4_CCO_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_GL_CCO_DZ : M16A4_GL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl_cco.p3d";
|
||||
@@ -213,6 +309,7 @@ class M16A4_GL_CCO_DZ : M16A4_GL_DZ
|
||||
class Attachments
|
||||
{
|
||||
Attachment_FL = "M16A4_GL_CCO_FL_DZ";
|
||||
Attachment_MFL = "M16A4_GL_CCO_MFL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
@@ -258,6 +355,34 @@ class M16A4_GL_CCO_FL_DZ : M16A4_GL_FL_DZ
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_GL_CCO_MFL_DZ : M16A4_GL_MFL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl_cco_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_gl_cco_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_GL_CCO_MFL;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'M16A4_GL_MFL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_M203_RMVE;
|
||||
script = "; ['Attachment_M203',_id,'M16A4_CCO_MFL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_MFL',_id,'M16A4_GL_CCO_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
//Holo
|
||||
@@ -271,6 +396,7 @@ class M16A4_Holo_DZ : M16A4_DZ
|
||||
{
|
||||
Attachment_M203 = "M16A4_GL_Holo_DZ";
|
||||
Attachment_FL = "M16A4_Holo_FL_DZ";
|
||||
Attachment_MFL = "M16A4_Holo_MFL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
@@ -309,6 +435,32 @@ class M16A4_Holo_FL_DZ : M16A4_FL_DZ
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_Holo_MFL_DZ : M16A4_MFL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_holo_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_holo_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_HOLO_MFL;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_M203 = "M16A4_GL_Holo_MFL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'M16A4_MFL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_MFL',_id,'M16A4_Holo_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_GL_Holo_DZ : M16A4_GL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl_holo.p3d";
|
||||
@@ -318,6 +470,7 @@ class M16A4_GL_Holo_DZ : M16A4_GL_DZ
|
||||
class Attachments
|
||||
{
|
||||
Attachment_FL = "M16A4_GL_Holo_FL_DZ";
|
||||
Attachment_MFL = "M16A4_GL_Holo_MFL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
@@ -363,6 +516,34 @@ class M16A4_GL_Holo_FL_DZ : M16A4_GL_FL_DZ
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_GL_Holo_MFL_DZ : M16A4_GL_MFL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl_holo_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_gl_holo_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_GL_HOLO_MFL;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'M16A4_GL_MFL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_M203_RMVE;
|
||||
script = "; ['Attachment_M203',_id,'M16A4_Holo_MFL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_MFL',_id,'M16A4_GL_Holo_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
|
||||
//ACOG
|
||||
@@ -377,8 +558,9 @@ class M16A4_ACOG_DZ : M16A4_DZ
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_M203 = M16A4_GL_ACOG_DZ;
|
||||
Attachment_FL = M16A4_ACOG_FL_DZ;
|
||||
Attachment_M203 = "M16A4_GL_ACOG_DZ";
|
||||
Attachment_FL = "M16A4_ACOG_FL_DZ";
|
||||
Attachment_MFL = "M16A4_ACOG_MFL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
@@ -401,7 +583,7 @@ class M16A4_ACOG_FL_DZ : M16A4_FL_DZ
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_M203 = M16A4_GL_ACOG_FL_DZ;
|
||||
Attachment_M203 = "M16A4_GL_ACOG_FL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
@@ -419,6 +601,34 @@ class M16A4_ACOG_FL_DZ : M16A4_FL_DZ
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_ACOG_MFL_DZ : M16A4_MFL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_acog_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_acog_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_ACOG_MFL_NAME;
|
||||
|
||||
M16A4_ACOG;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_M203 = "M16A4_GL_ACOG_MFL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveACOG
|
||||
{
|
||||
text = $STR_DZ_ATT_ACOG_RMVE;
|
||||
script = "; ['Attachment_ACOG',_id,'M16A4_MFL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_MFL',_id,'M16A4_ACOG_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_GL_ACOG_DZ : M16A4_GL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl_acog.p3d";
|
||||
@@ -429,7 +639,8 @@ class M16A4_GL_ACOG_DZ : M16A4_GL_DZ
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_FL = M16A4_GL_ACOG_FL_DZ;
|
||||
Attachment_FL = "M16A4_GL_ACOG_FL_DZ";
|
||||
Attachment_MFL = "M16A4_GL_ACOG_MFL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
@@ -475,4 +686,34 @@ class M16A4_GL_ACOG_FL_DZ : M16A4_GL_FL_DZ
|
||||
script = "; ['Attachment_FL',_id,'M16A4_GL_ACOG_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class M16A4_GL_ACOG_MFL_DZ : M16A4_GL_MFL_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\m16a4\m16a4_gl_acog_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\m16a4\data\w_m16a4_gl_acog_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_M16A4_GL_ACOG_MFL_NAME;
|
||||
|
||||
M16A4_ACOG;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveACOG
|
||||
{
|
||||
text = $STR_DZ_ATT_ACOG_RMVE;
|
||||
script = "; ['Attachment_ACOG',_id,'M16A4_GL_MFL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_M203_RMVE;
|
||||
script = "; ['Attachment_M203',_id,'M16A4_ACOG_MFL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_MFL',_id,'M16A4_GL_ACOG_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user