mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-25 01:49:19 +03:00
Move weapons to rifles folder
This commit is contained in:
157
SQF/dayz_code/Configs/CfgWeapons/Rifles/AK107.hpp
Normal file
157
SQF/dayz_code/Configs/CfgWeapons/Rifles/AK107.hpp
Normal file
@@ -0,0 +1,157 @@
|
||||
class AK_107_kobra;
|
||||
class AK107_Kobra_DZ : AK_107_kobra
|
||||
{
|
||||
displayName = $STR_DZ_WPN_AK107_KOBRA_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_545x39_AK,
|
||||
30Rnd_545x39_AKSD, //Allow both SD and non-SD
|
||||
75Rnd_545x39_RPK
|
||||
};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_GP25 = "AK107_GL_Kobra_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveKobra
|
||||
{
|
||||
text = $STR_DZ_ATT_KOBRA_RMVE;
|
||||
script = "; ['Attachment_Kobra',_id,'AK107_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class AK_107_CP;
|
||||
class AK107_DZ : AK_107_CP
|
||||
{
|
||||
displayName = $STR_DZ_WPN_AK107_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_545x39_AK,
|
||||
30Rnd_545x39_AKSD, //Allow both SD and non-SD
|
||||
75Rnd_545x39_RPK
|
||||
};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Kobra = "AK107_Kobra_DZ";
|
||||
Attachment_PSO1 = "AK107_PSO_DZ";
|
||||
Attachment_GP25 = "AK107_GL_DZ";
|
||||
};
|
||||
|
||||
class ItemActions {};
|
||||
};
|
||||
|
||||
class AK_107_GL_CP;
|
||||
class AK107_GL_DZ : AK_107_GL_CP
|
||||
{
|
||||
displayName = $STR_DZ_WPN_AK107_GL_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_545x39_AK,
|
||||
30Rnd_545x39_AKSD, //Allow both SD and non-SD
|
||||
75Rnd_545x39_RPK
|
||||
};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Kobra = "AK107_GL_Kobra_DZ";
|
||||
Attachment_PSO1 = "AK107_GL_PSO_DZ";
|
||||
};
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_GP25_RMVE;
|
||||
script = "; ['Attachment_GP25',_id,'AK107_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class AK_107_pso;
|
||||
class AK107_PSO_DZ : AK_107_pso
|
||||
{
|
||||
displayName = $STR_DZ_WPN_AK107_PSO1_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_545x39_AK,
|
||||
30Rnd_545x39_AKSD, //Allow both SD and non-SD
|
||||
75Rnd_545x39_RPK
|
||||
};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_GP25 = "AK107_GL_PSO_DZ";
|
||||
};
|
||||
class ItemActions
|
||||
{
|
||||
class RemovePSO1
|
||||
{
|
||||
text = $STR_DZ_ATT_PSO1_RMVE;
|
||||
script = "; ['Attachment_PSO1',_id,'AK107_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class AK_107_GL_pso;
|
||||
class AK107_GL_PSO_DZ : AK_107_GL_pso
|
||||
{
|
||||
displayName = $STR_DZ_WPN_AK107_GL_PSO1_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_545x39_AK,
|
||||
30Rnd_545x39_AKSD, //Allow both SD and non-SD
|
||||
75Rnd_545x39_RPK
|
||||
};
|
||||
|
||||
class Attachments {};
|
||||
class ItemActions
|
||||
{
|
||||
class RemovePSO1
|
||||
{
|
||||
text = $STR_DZ_ATT_PSO1_RMVE;
|
||||
script = "; ['Attachment_PSO1',_id,'AK107_GL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_GP25_RMVE;
|
||||
script = "; ['Attachment_GP25',_id,'AK107_PSO_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class AK_107_GL_kobra;
|
||||
class AK107_GL_Kobra_DZ : AK_107_GL_kobra
|
||||
{
|
||||
displayName = $STR_DZ_WPN_AK107_GL_KOBRA_NAME;
|
||||
|
||||
magazines[] =
|
||||
{
|
||||
30Rnd_545x39_AK,
|
||||
30Rnd_545x39_AKSD, //Allow both SD and non-SD
|
||||
75Rnd_545x39_RPK
|
||||
};
|
||||
|
||||
class Attachments {};
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveKobra
|
||||
{
|
||||
text = $STR_DZ_ATT_KOBRA_RMVE;
|
||||
script = "; ['Attachment_Kobra',_id,'AK107_GL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
class RemoveGL
|
||||
{
|
||||
text = $STR_DZ_ATT_GP25_RMVE;
|
||||
script = "; ['Attachment_GP25',_id,'AK107_Kobra_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
8
SQF/dayz_code/Configs/CfgWeapons/Rifles/AS50.hpp
Normal file
8
SQF/dayz_code/Configs/CfgWeapons/Rifles/AS50.hpp
Normal file
@@ -0,0 +1,8 @@
|
||||
class BAF_AS50_scoped;
|
||||
class BAF_AS50_scoped_DZ : BAF_AS50_scoped {
|
||||
displayname = "AS50";
|
||||
type = WeaponSlotPrimary;
|
||||
canlock = 0;
|
||||
//cursor = "RifleCursor";
|
||||
//cursoraim = "Foresight";
|
||||
};
|
||||
4
SQF/dayz_code/Configs/CfgWeapons/Rifles/Anzio_20.hpp
Normal file
4
SQF/dayz_code/Configs/CfgWeapons/Rifles/Anzio_20.hpp
Normal file
@@ -0,0 +1,4 @@
|
||||
class Anzio_20;
|
||||
class Anzio_20_DZ : Anzio_20 {
|
||||
type = WeaponSlotPrimary;
|
||||
};
|
||||
4
SQF/dayz_code/Configs/CfgWeapons/Rifles/KSVK.hpp
Normal file
4
SQF/dayz_code/Configs/CfgWeapons/Rifles/KSVK.hpp
Normal file
@@ -0,0 +1,4 @@
|
||||
class ksvk;
|
||||
class KSVK_DZE:ksvk {
|
||||
type = WeaponSlotPrimary;
|
||||
};
|
||||
72
SQF/dayz_code/Configs/CfgWeapons/Rifles/M107.hpp
Normal file
72
SQF/dayz_code/Configs/CfgWeapons/Rifles/M107.hpp
Normal file
@@ -0,0 +1,72 @@
|
||||
class m107: Rifle
|
||||
{
|
||||
scope = public;
|
||||
type = WeaponSlotPrimary;
|
||||
canlock = 0;
|
||||
picture = "\CA\weapons\data\Equip\W_m107_CA.paa";
|
||||
UiPicture = "\CA\weapons\data\Ico\i_sniper_CA.paa";
|
||||
magazines[] = {"10Rnd_127x99_m107"};
|
||||
dexterity = 0.45;
|
||||
modelOptics = "\ca\Weapons\2Dscope_MilDot_14";
|
||||
opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur1"};
|
||||
opticsFlare = 1;
|
||||
opticsDisablePeripherialVision = 1;
|
||||
opticsZoomInit = 0.0553;
|
||||
opticsZoomMin = 0.0178;
|
||||
distanceZoomMin = 500;
|
||||
opticsZoomMax = 0.0553;
|
||||
distanceZoomMax = 200;
|
||||
displayname = $STR_DZ_WPN_M107_NAME;
|
||||
autoFire = 0;
|
||||
begin1[] = {"ca\sounds\weapons\rifles\m107",2.51189,1,1300};
|
||||
soundBegin[] = {"begin1",1};
|
||||
reloadMagazineSound[] = {"ca\sounds\weapons\rifles\reload-m16-2",0.0316228,1,20};
|
||||
reloadTime = 0.5;
|
||||
dispersion = 0.0005;
|
||||
minRange = 0;
|
||||
minRangeProbab = 0.1;
|
||||
midRange = 1200;
|
||||
midRangeProbab = 0.7;
|
||||
maxRange = 1800;
|
||||
maxRangeProbab = 0.05;
|
||||
recoil = "recoil_single_primary_9outof10";
|
||||
recoilProne = "recoil_single_primary_prone_7outof10";
|
||||
class Library
|
||||
{
|
||||
libTextDesc = "The M107 is a long-range, shoulder fired, semi-automatic sniper rifle, manufactured by Beneli Armi S.P.A. It is highly prized for its manageable recoil.<br/>The M107uses 12.7x99 mm cartridges and its effective range is around 1.800 m.";
|
||||
};
|
||||
descriptionShort = $STR_DZ_WPN_M107_DESC;
|
||||
model = "\ca\weapons_E\m107\m107";
|
||||
htMin = 1;
|
||||
htMax = 420;
|
||||
afMax = 0;
|
||||
mfMax = 0;
|
||||
mFact = 1;
|
||||
tBody = 100;
|
||||
weaponInfoType = "RscWeaponZeroing";
|
||||
handAnim[] = {"OFP2_ManSkeleton","\Ca\weapons_E\Data\Anim\M107b.rtm"};
|
||||
class OpticsModes
|
||||
{
|
||||
class StepScope
|
||||
{
|
||||
opticsID = 1;
|
||||
useModelOptics = 1;
|
||||
opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur1"};
|
||||
opticsZoomInit = 0.0553;
|
||||
opticsZoomMin = 0.0178;
|
||||
distanceZoomMin = 500;
|
||||
opticsZoomMax = 0.0553;
|
||||
distanceZoomMax = 200;
|
||||
memoryPointCamera = "Konec hlavne";
|
||||
opticsFlare = 1;
|
||||
opticsDisablePeripherialVision = 1;
|
||||
cameraDir = "";
|
||||
visionMode[] = {"Normal"};
|
||||
discreteDistance[] = {100,200,300,400,500,600,700,800,900,1000,1100,1200};
|
||||
discreteDistanceInitIndex = 4;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class m107_DZ: m107 {};
|
||||
class m107_SKN : m107_DZ {};
|
||||
9
SQF/dayz_code/Configs/CfgWeapons/Rifles/M4SPR.hpp
Normal file
9
SQF/dayz_code/Configs/CfgWeapons/Rifles/M4SPR.hpp
Normal file
@@ -0,0 +1,9 @@
|
||||
class M4SPR;
|
||||
class M4SPR_DZE: M4SPR
|
||||
{
|
||||
//Moved 30Rnd Stanag to first in array
|
||||
magazines[] = {"30Rnd_556x45_Stanag", "20Rnd_556x45_Stanag", "30Rnd_556x45_StanagSD", "30Rnd_556x45_G36", "100Rnd_556x45_BetaCMag", "30Rnd_556x45_G36SD"};
|
||||
|
||||
//A2OA M4SPR does not allow NVG after 2018-04-05 CorePatch
|
||||
visionMode[] = {"Normal", "NVG"};
|
||||
};
|
||||
4
SQF/dayz_code/Configs/CfgWeapons/Rifles/M60A4.hpp
Normal file
4
SQF/dayz_code/Configs/CfgWeapons/Rifles/M60A4.hpp
Normal file
@@ -0,0 +1,4 @@
|
||||
class M60A4_EP1;
|
||||
class M60A4_EP1_DZE : M60A4_EP1 {
|
||||
type = WeaponSlotPrimary;
|
||||
};
|
||||
5
SQF/dayz_code/Configs/CfgWeapons/Rifles/VSSVintorez.hpp
Normal file
5
SQF/dayz_code/Configs/CfgWeapons/Rifles/VSSVintorez.hpp
Normal file
@@ -0,0 +1,5 @@
|
||||
class VSS_vintorez;
|
||||
class VSS_vintorez_DZE: VSS_vintorez
|
||||
{
|
||||
magazines[] = {"20Rnd_9x39_SP5_VSS", "10Rnd_9x39_SP5_VSS"};
|
||||
};
|
||||
Reference in New Issue
Block a user