mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-15 04:23:13 +03:00
@@ -9,6 +9,17 @@
|
||||
brightness = 0.1;\
|
||||
}
|
||||
|
||||
#define 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;\
|
||||
}
|
||||
|
||||
class SA58_DZ : Sa58V_EP1
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\sa58\sa58.p3d";
|
||||
@@ -24,7 +35,7 @@ class SA58_DZ : Sa58V_EP1
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_SA58RIS = SA58_RIS_DZ;
|
||||
Attachment_SA58RIS = "SA58_RIS_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -36,10 +47,11 @@ class SA58_RIS_DZ : SA58_DZ
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = SA58_CCO_DZ;
|
||||
Attachment_Holo = SA58_Holo_DZ;
|
||||
Attachment_ACOG = SA58_ACOG_DZ;
|
||||
Attachment_FL = SA58_RIS_FL_DZ;
|
||||
Attachment_CCO = "SA58_CCO_DZ";
|
||||
Attachment_Holo = "SA58_Holo_DZ";
|
||||
Attachment_ACOG = "SA58_ACOG_DZ";
|
||||
Attachment_FL = "SA58_RIS_FL_DZ";
|
||||
Attachment_MFL = "SA58_RIS_MFL_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -53,9 +65,9 @@ class SA58_RIS_FL_DZ : SA58_RIS_DZ
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = SA58_CCO_FL_DZ;
|
||||
Attachment_Holo = SA58_Holo_FL_DZ;
|
||||
Attachment_ACOG = SA58_ACOG_FL_DZ;
|
||||
Attachment_CCO = "SA58_CCO_FL_DZ";
|
||||
Attachment_Holo = "SA58_Holo_FL_DZ";
|
||||
Attachment_ACOG = "SA58_ACOG_FL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
@@ -68,6 +80,31 @@ class SA58_RIS_FL_DZ : SA58_RIS_DZ
|
||||
};
|
||||
};
|
||||
|
||||
class SA58_RIS_MFL_DZ : SA58_RIS_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\sa58\sa58_ris_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\sa58\data\w_sa58_ris_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_SA58_RIS_MFL_NAME;
|
||||
|
||||
MFLASHLIGHT;
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_CCO = "SA58_CCO_MFL_DZ";
|
||||
Attachment_Holo = "SA58_Holo_MFL_DZ";
|
||||
Attachment_ACOG = "SA58_ACOG_MFL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_MFL',_id,'SA58_RIS_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class SA58_CCO_DZ : SA58_RIS_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\sa58\sa58_cco.p3d";
|
||||
@@ -82,7 +119,8 @@ class SA58_CCO_DZ : SA58_RIS_DZ
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_FL = SA58_CCO_FL_DZ;
|
||||
Attachment_FL = "SA58_CCO_FL_DZ";
|
||||
Attachment_MFL = "SA58_CCO_MFL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
@@ -120,6 +158,31 @@ class SA58_CCO_FL_DZ : SA58_CCO_DZ
|
||||
};
|
||||
};
|
||||
|
||||
class SA58_CCO_MFL_DZ : SA58_CCO_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\sa58\sa58_cco_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\sa58\data\w_sa58_cco_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_SA58_CCO_MFL_NAME;
|
||||
|
||||
MFLASHLIGHT;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveCCO
|
||||
{
|
||||
text = $STR_DZ_ATT_CCO_RMVE;
|
||||
script = "; ['Attachment_CCO',_id,'SA58_RIS_MFL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_MFL',_id,'SA58_CCO_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class SA58_Holo_DZ : SA58_CCO_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\sa58\sa58_holo.p3d";
|
||||
@@ -128,7 +191,8 @@ class SA58_Holo_DZ : SA58_CCO_DZ
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_FL = SA58_Holo_FL_DZ;
|
||||
Attachment_FL = "SA58_Holo_FL_DZ";
|
||||
Attachment_MFL = "SA58_Holo_MFL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
@@ -166,6 +230,31 @@ class SA58_Holo_FL_DZ : SA58_Holo_DZ
|
||||
};
|
||||
};
|
||||
|
||||
class SA58_Holo_MFL_DZ : SA58_Holo_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\sa58\sa58_holo_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\sa58\data\w_sa58_holo_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_SA58_HOLO_MFL_NAME;
|
||||
|
||||
MFLASHLIGHT;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveHolo
|
||||
{
|
||||
text = $STR_DZ_ATT_HOLO_RMVE;
|
||||
script = "; ['Attachment_Holo',_id,'SA58_RIS_MFL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_MFL',_id,'SA58_Holo_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class SA58_ACOG_DZ : SA58_CCO_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\sa58\sa58_acog.p3d";
|
||||
@@ -213,7 +302,8 @@ class SA58_ACOG_DZ : SA58_CCO_DZ
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_FL = SA58_ACOG_FL_DZ;
|
||||
Attachment_FL = "SA58_ACOG_FL_DZ";
|
||||
Attachment_MFL = "SA58_ACOG_MFL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
@@ -249,4 +339,29 @@ class SA58_ACOG_FL_DZ : SA58_ACOG_DZ
|
||||
script = "; ['Attachment_FL',_id,'SA58_ACOG_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class SA58_ACOG_MFL_DZ : SA58_ACOG_DZ
|
||||
{
|
||||
model = "z\addons\dayz_communityweapons\sa58\sa58_acog_fl.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\sa58\data\w_sa58_acog_fl_ca.paa";
|
||||
displayName = $STR_DZ_WPN_SA58_ACOG_MFL_NAME;
|
||||
|
||||
MFLASHLIGHT;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveACOG
|
||||
{
|
||||
text = $STR_DZ_ATT_ACOG_RMVE;
|
||||
script = "; ['Attachment_ACOG',_id,'SA58_RIS_MFL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveFlashlight
|
||||
{
|
||||
text = $STR_DZ_ATT_FL_RFL_RMVE;
|
||||
script = "; ['Attachment_MFL',_id,'SA58_ACOG_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user