mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-18 01:30:26 +03:00
CFG WEAPONS DONE
This commit is contained in:
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/ACOG.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/ACOG.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_ACOG : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\acog\acog.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\acog\data\m_acog_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_ACOG_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_ACOG_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,24 @@
|
||||
#include "SCOPED.hpp"
|
||||
#include "BELT.hpp"
|
||||
|
||||
#include "FL.hpp"
|
||||
#include "FL_Pist.hpp"
|
||||
|
||||
#include "CCO.hpp"
|
||||
#include "Holo.hpp"
|
||||
#include "ACOG.hpp"
|
||||
#include "Kobra.hpp"
|
||||
#include "PSO1.hpp"
|
||||
|
||||
#include "M203.hpp"
|
||||
#include "GP25.hpp"
|
||||
|
||||
#include "Sup9.hpp"
|
||||
#include "Sup556.hpp"
|
||||
#include "Sup545.hpp"
|
||||
#include "SupMakarov.hpp"
|
||||
#include "SupBizon.hpp"
|
||||
|
||||
#include "Ghillie.hpp"
|
||||
|
||||
#include "SA58RIS.hpp"
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/BELT.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/BELT.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_BELT : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\models\attachments\BELT";
|
||||
picture = "\z\addons\dayz_communityweapons\models\attachments\BELT.paa";
|
||||
|
||||
displayName = $STR_ATTACHMENT_NAME_BELT;
|
||||
descriptionShort = $STR_ATTACHMENT_DESC_BELT;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/CCO.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/CCO.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_CCO : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\cco\cco.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\cco\data\m_cco_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_CCO_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_CCO_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/FL.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/FL.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_FL : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\flashlight_rifle\flashlight_rifle.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\flashlight_rifle\data\m_flashlight_rifle_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_FL_RFL_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_FL_RFL_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/FL_Pist.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/FL_Pist.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_FL_Pist : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\flashlight_pistol\flashlight_pistol.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\flashlight_pistol\data\m_flashlight_pistol_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_FL_PST_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_FL_PST_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToSecondary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_SECONDARY;
|
||||
script = "; [_id,0] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/GP25.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/GP25.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_GP25 : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\gp25\gp25.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\gp25\data\m_gp25_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_GP25_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_GP25_NAME;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
27
SQF/dayz_code/Configs/CfgMagazines/Attachments/Ghillie.hpp
Normal file
27
SQF/dayz_code/Configs/CfgMagazines/Attachments/Ghillie.hpp
Normal file
@@ -0,0 +1,27 @@
|
||||
class Attachment_Ghillie : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "ca\weapons\mag_univ.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\ghillie\data\m_ghillie_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_GHIL_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_GHIL_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
|
||||
/*class AttachToSecondary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_SECONDARY;
|
||||
script = "; [_id,0] call player_attachAttachment";
|
||||
};*/
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/Holo.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/Holo.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_Holo : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\holo\holo.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\holo\data\m_holo_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_HOLO_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_HOLO_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/Kobra.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/Kobra.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_Kobra : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\kobra\kobra.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\kobra\data\m_kobra_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_KOBRA_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_KOBRA_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/M203.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/M203.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_M203 : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\m203\m203.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\m203\data\m_m203_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_M203_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_M203_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/PSO1.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/PSO1.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_PSO1 : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\pso\pso.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\pso\data\m_pso_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_PSO1_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_PSO1_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/SA58RIS.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/SA58RIS.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_SA58RIS : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "ca\weapons\mag_univ.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\SA58RIS\data\m_sa58ris_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_SA58RIS_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_SA58RIS_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
19
SQF/dayz_code/Configs/CfgMagazines/Attachments/SCOPED.hpp
Normal file
19
SQF/dayz_code/Configs/CfgMagazines/Attachments/SCOPED.hpp
Normal file
@@ -0,0 +1,19 @@
|
||||
class Attachment_SCOPED : CA_Magazine
|
||||
{
|
||||
scope = 2;
|
||||
displayName = $STR_ATTACHMENT_NAME_SCOPE;
|
||||
descriptionShort = $STR_ATTACHMENT_DESC_SCOPE;
|
||||
count = 1;
|
||||
model = "z\addons\dayz_communityweapons\models\attachments\SCOPE";
|
||||
picture = "\z\addons\dayz_communityweapons\models\attachments\SCOPE.paa";
|
||||
type = 256;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class Use
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup545.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup545.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_Sup545 : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\suppressor545\suppressor545.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\suppressor545\data\m_suppressor545_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_SUP545_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_SUP545_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup556.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup556.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_Sup556 : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\suppressor556\suppressor556.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\suppressor556\data\m_suppressor556_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_SUP556_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_SUP556_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
27
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup9.hpp
Normal file
27
SQF/dayz_code/Configs/CfgMagazines/Attachments/Sup9.hpp
Normal file
@@ -0,0 +1,27 @@
|
||||
class Attachment_Sup9 : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "\z\addons\dayz_communityweapons\attachments\suppressor9\suppressor9.p3d";
|
||||
picture = "\z\addons\dayz_communityweapons\attachments\suppressor9\data\m_suppressor9_ca.paa";
|
||||
|
||||
displayName = $STR_DZ_ATT_SUP9_NAME;
|
||||
descriptionShort = $STR_DZ_ATT_SUP9_DESC;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToSecondary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_SECONDARY;
|
||||
script = "; [_id,0] call player_attachAttachment";
|
||||
};
|
||||
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/SupBizon.hpp
Normal file
21
SQF/dayz_code/Configs/CfgMagazines/Attachments/SupBizon.hpp
Normal file
@@ -0,0 +1,21 @@
|
||||
class Attachment_SupBizon : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\surpressor.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\attachment_silencer.paa";
|
||||
|
||||
displayName = $STR_ATTACHMENT_NAME_SILENCER_BIZON;
|
||||
descriptionShort = $STR_ATTACHMENT_DESC_SILENCER_BIZON;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToPrimary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_PRIMARY;
|
||||
script = "; [_id,1] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -0,0 +1,21 @@
|
||||
class Attachment_SupMakarov : CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
count = 1;
|
||||
type = WeaponSlotItem;
|
||||
|
||||
model = "z\addons\dayz_communityassets\models\surpressor.p3d";
|
||||
picture = "\z\addons\dayz_communityassets\pictures\attachment_silencer.paa";
|
||||
|
||||
displayName = $STR_ATTACHMENT_NAME_SILENCER_MAKAROV;
|
||||
descriptionShort = $STR_ATTACHMENT_DESC_SILENCER_MAKAROV;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class AttachToSecondary
|
||||
{
|
||||
text = $STR_DZ_ATT_ACT_TO_SECONDARY;
|
||||
script = "; [_id,0] call player_attachAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user