Add new L85 and SVD variants

Vanilla commits:

8951508770

aad4569581

58e594553b

eaf9648253
This commit is contained in:
ebayShopper
2017-11-26 17:39:02 -05:00
parent 2e01a8d8eb
commit d6f88fbf8a
14 changed files with 1071 additions and 70 deletions

View File

@@ -50,7 +50,8 @@ AmmoBoxEU2[] =
{
{Loot_MAGAZINE, 9, 20Rnd_762x51_FNFAL},
{Loot_MAGAZINE, 5, 20Rnd_762x51_B_SCAR},
{Loot_MAGAZINE, 1, 100Rnd_762x51_M240}
{Loot_MAGAZINE, 1, 100Rnd_762x51_M240},
{Loot_MAGAZINE, 4, 5Rnd_86x70_L115A1}
};
//7.62x39mm
@@ -102,4 +103,4 @@ AmmoBoxUS4[] =
{Loot_MAGAZINE, 1, SmokeShellRed},
{Loot_MAGAZINE, 1, SmokeShellGreen},
{Loot_MAGAZINE, 0.3, PipeBomb}
};
};

View File

@@ -33,7 +33,7 @@ Supermarket[] =
{Loot_MAGAZINE, 3, ItemBandage},
{Loot_MAGAZINE, 2, ItemPainkiller},
{Loot_MAGAZINE, 2, ItemAntibacterialWipe},
{Loot_MAGAZINE, 2, equip_nails},
{Loot_MAGAZINE, 1, equip_nails},
//Groups
{Loot_GROUP, 40, Consumable},

View File

@@ -43,9 +43,8 @@ sniperrifles[] = {
{Loot_WEAPON, 1, AK_107_PSO},
{Loot_WEAPON, 0.9, M4SPR},
{Loot_WEAPON, 0.9, M40A3_DZ}, //M40A3
{Loot_WEAPON, 0.7, SVD_Gh_DZ}, //SVD_CAMO
{Loot_WEAPON, 0.7, SVD_des_EP1},
{Loot_WEAPON, 0.7, SVD_DZ}, //SVD
{Loot_WEAPON, 0.7, SVD_PSO1_Gh_DZ},
{Loot_WEAPON, 0.7, SVD_PSO1_DZ},
{Loot_WEAPON, 1, CZ550_DZ}, //huntingrifle
{Loot_WEAPON, 0.8, M24_des_EP1},
{Loot_WEAPON, 0.8, M24_DZ}, //M24
@@ -96,14 +95,12 @@ assaultrifles[] = {
{Loot_WEAPON, 0.3, SA58_ACOG_DZ}, //No camo, no grip handle
{Loot_WEAPON, 0.2, Sa58V_RCO_EP1}, // Camo with grip handle
{Loot_WEAPON, 0.3, SA58_RIS_DZ}, //SA58_DZ with different rail
{Loot_WEAPON, 0.4, m8_compact},
{Loot_WEAPON, 0.3, m8_sharpshooter},
{Loot_WEAPON, 0.3, m8_holo_sd},
{Loot_WEAPON, 0.5, m8_carbine},
{Loot_WEAPON, 0.2, BAF_L85A2_RIS_SUSAT},
{Loot_WEAPON, 0.3, L85_Holo_DZ}, //BAF_L85A2_RIS_Holo
{Loot_WEAPON, 0.3, m8_compact},
{Loot_WEAPON, 0.2, m8_sharpshooter},
{Loot_WEAPON, 0.2, m8_holo_sd},
{Loot_WEAPON, 0.3, m8_carbine},
{Loot_WEAPON, 0.5, L85A2_DZ},
{Loot_WEAPON, 0.1, M4A1_HWS_GL_SD_Camo},
{Loot_WEAPON, 0.2, BAF_L85A2_RIS_ACOG}, //L85A2 ACOG
//Mk16
{Loot_WEAPON, 0.2, SCAR_L_CQC_CCO_SD}, //Mk16 Aimpoint SD
{Loot_WEAPON, 0.3, SCAR_L_CQC}, //Mk16 CQC

View File

@@ -36,7 +36,18 @@ class CfgMagazines
//Consumables: food, drinks etc.
#include "Consumables\Consumables.hpp"
/*class 5Rnd_86x70_L115A1: CA_Magazine //.338 Lapua Magnum
{
scope = 2;
displayName = $STR_BAF_CFGMAGAZINES_5RND_86X70_L115A10;
descriptionShort = $STR_BAF_CFGMAGAZINES_5RND_86X70_L115A10_0;
ammo=B_86x70_Ball_noTracer;
count=5;
initSpeed = 936; //TODO
picture="\CA\weapons_BAF\data\UI\M_lrr_CA.paa";
// descriptionShort = $STR_DSS_10RND_M107; TODO
};*/
//EPOCH ADDITIONS

View File

@@ -17,7 +17,7 @@ class ItemTent : CA_Magazine
require[] = {};
consume[] = {"ItemTent"};
create = "TentStorage";
ghost = "TentStorage_Ghost";
//ghost = "TentStorage_Ghost";
//Bypass collision test
bypassCollision = "true";
};
@@ -62,7 +62,7 @@ class ItemDomeTent : CA_Magazine
require[] = {};
consume[] = {"ItemDomeTent"};
create = "DomeTentStorage";
ghost = "DomeTentStorage_Ghost";
//ghost = "DomeTentStorage_Ghost";
//Bypass collision test
bypassCollision = "true";
};

View File

@@ -123,7 +123,14 @@ class CfgWeapons
class RPK_74;
#include "Rifles\RPK74.hpp"
class SVD;
class SVD : Rifle
{
class OpticsModes
{
class Scope;
class Ironsights;
};
};
#include "Rifles\SVD.hpp"
#include "Rifles\Mosin.hpp"
@@ -141,7 +148,7 @@ class CfgWeapons
#include "Rifles\SA58.hpp"
class BAF_L85A2_RIS_Holo;
#include "Rifles\L85.hpp"
#include "Rifles\L85A2.hpp"
class bizon;
class bizon_silenced;
@@ -157,6 +164,7 @@ class CfgWeapons
#include "Rifles\Winchester1866.hpp"
#include "Rifles\Remington870.hpp"
#include "Rifles\Crossbow.hpp"
#include "Rifles\L115A3.hpp"
@@ -275,7 +283,6 @@ class CfgWeapons
/* OTHER */
/*class ItemFlashlightEmpty : ItemCore
@@ -322,4 +329,4 @@ class CfgWeapons
};
};
};*/
};
};

View File

@@ -0,0 +1,60 @@
class L115A3_Base : Rifle
{
scope = 2;
descriptionShort = $STR_DZ_WPN_L115A3_DESC;
magazines[] = {5Rnd_86x70_L115A1};
handAnim[] = {"OFP2_ManSkeleton","\Ca\weapons\data\Anim\M24.rtm"};
dexterity = 1.7;
initSpeed = 936;
optics = true;
modelOptics = "\ca\Weapons_baf\LRR_optic";
visionMode[] = {"Normal"};
weaponInfoType = "RscWeaponZeroing";
discreteDistance[] = {100,200,300,400,500,600,700,800,1000,1200,1400};
discreteDistanceInitIndex = 2;
opticsPPEffects[] = {"OpticsCHAbera1","OpticsBlur1"};
opticsFlare = true;
opticsDisablePeripherialVision = true;
opticsZoomMin = 0.0498; distanceZoomMin = 400;
opticsZoomMax = 0.15; distanceZoomMax = 120;
discretefov[] = {0.0755,0.0249};
discreteInitIndex = 0;
modes[] = {"Single"};
class Single : Mode_SemiAuto
{
dispersion = 0.00018;
soundContinuous = 0;
reloadTime = 2;
backgroundReload = true;
recoil = "recoil_single_primary_2outof10";
recoilProne = "recoil_single_primary_prone_2outof10";
begin1[] = {"ca\sounds_baf\weapons\AS50_rel", db9, 1,1300};
soundBegin[] = {begin1,1};
minRange = 2;
minRangeProbab = 0.10;
midRange = 250;
midRangeProbab = 0.7;
maxRange = 1500;
maxRangeProbab = 0.05;
};
/// type = WeaponSlotPrimary + WeaponSlotSecondary;
};
class L115A3_DZ : L115A3_Base
{
model = "\ca\weapons_BAF\LRR_scoped_BAF";
picture = "\CA\weapons_baf\data\UI\LRR_scoped_ca.paa";
displayname = $STR_DZ_WPN_L115A3_NAME;
};
class L115A3_2_DZ : L115A3_DZ
{
model = "\ca\weapons_BAF\LRR_scoped_w_BAF";
displayname = $STR_BAF_CFGWEAPONS_BAF_LRR_SCOPED_W0;
};

View File

@@ -1,21 +0,0 @@
class L85_Holo_DZ : BAF_L85A2_RIS_Holo
{
/*
magazines[] =
{
30Rnd_556x45_Stanag,
30Rnd_556x45_StanagSD
};
*/
};
class BAF_L85A2_RIS_CWS;
class BAF_L85A2_RIS_TWS_DZ : BAF_L85A2_RIS_CWS
{
visionMode[] = {"Normal","NVG","Ti"};
thermalMode[] = {6};
discretefov[] = {0.0755,0.0249};
discreteInitIndex = 0;
discreteDistance[] = {100,200,300,400,500,600,700,800};
discreteDistanceInitIndex = 2;
displayName = "L85A2 TWS";
};

View File

@@ -0,0 +1,754 @@
#define L85A2_FLASHLIGHT 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;\
}
#define L85A2_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 L85A2_ACOG modelOptics = "\Ca\weapons_E\SCAR\ACOG_TA31_optic_4x.p3d";\
class OpticsModes\
{\
class ACOG\
{\
opticsID = 1;\
useModelOptics = true;\
opticsFlare = true;\
opticsDisablePeripherialVision = true;\
opticsZoomMin = 0.0623;\
opticsZoomMax = 0.0623;\
opticsZoomInit = 0.0623;\
distanceZoomMin = 300;\
distanceZoomMax = 300;\
memoryPointCamera = "opticView";\
visionMode[] = {"Normal"};\
opticsPPEffects[] = {"OpticsCHAbera3","OpticsBlur3"};\
cameraDir = "";\
};\
\
class Iron\
{\
opticsID = 2;\
useModelOptics = false;\
opticsFlare = false;\
opticsDisablePeripherialVision = false;\
opticsZoomMin = 0.25;\
opticsZoomMax = 1.1;\
opticsZoomInit = 0.5;\
distanceZoomMin = 100;\
distanceZoomMax = 100;\
memoryPointCamera = "eye";\
visionMode[] = {};\
opticsPPEffects[] = {};\
cameraDir = "";\
};\
}
//Iron sights
class L85A2_DZ : BAF_L85A2_RIS_Holo
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_ca.paa";
displayName = $STR_DZ_WPN_L85A2_NAME;
magazines[] =
{
30Rnd_556x45_Stanag,
30Rnd_556x45_StanagSD
};
class Single;
class FullAuto;
class Attachments
{
Attachment_CCO = "L85A2_CCO_DZ";
Attachment_Holo = "L85A2_Holo_DZ";
Attachment_ACOG = "L85A2_ACOG_DZ";
Attachment_Sup556 = "L85A2_SD_DZ";
Attachment_FL = "L85A2_FL_DZ";
Attachment_MFL = "L85A2_MFL_DZ";
};
};
class L85A2_FL_DZ : L85A2_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_FL.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_fl_ca.paa";
displayName = $STR_DZ_WPN_L85A2_FL_NAME;
L85A2_FLASHLIGHT;
class Attachments
{
Attachment_CCO = "L85A2_CCO_FL_DZ";
Attachment_Holo = "L85A2_Holo_FL_DZ";
Attachment_ACOG = "L85A2_ACOG_FL_DZ";
Attachment_Sup556 = "L85A2_SD_FL_DZ";
};
class ItemActions
{
class RemoveFlashlight
{
text = $STR_DZ_ATT_FL_RFL_RMVE;
script = "; ['Attachment_FL',_id,'L85A2_DZ'] call player_removeAttachment";
};
};
};
class L85A2_MFL_DZ : L85A2_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_FL.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_fl_ca.paa";
displayName = $STR_DZ_WPN_L85A2_MFL_NAME;
L85A2_MFLASHLIGHT;
class Attachments
{
Attachment_CCO = "L85A2_CCO_MFL_DZ";
Attachment_Holo = "L85A2_Holo_MFL_DZ";
Attachment_ACOG = "L85A2_ACOG_MFL_DZ";
Attachment_Sup556 = "L85A2_SD_MFL_DZ";
};
class ItemActions
{
class RemoveFlashlight
{
text = $STR_DZ_ATT_FL_RFL_RMVE;
script = "; ['Attachment_MFL',_id,'L85A2_DZ'] call player_removeAttachment";
};
};
};
class L85A2_SD_Base : L85A2_DZ
{
magazines[] =
{
// 30Rnd_556x45_Stanag,
30Rnd_556x45_StanagSD
};
fireLightDuration = 0;
fireLightIntensity = 0;
modes[] = {"Single","FullAuto"};
class Single : Single
{
begin1[] = {"ca\sounds\weapons\rifles\rifle-silence-single2",1,1,300};
soundBegin[] = {"begin1",1};
recoil = "recoil_single_primary_2outof10";
recoilProne = "recoil_single_primary_prone_2outof10";
minRange = 2;
minRangeProbab = 0.3;
midRange = 40;
midRangeProbab = 0.7;
maxRange = 150;
maxRangeProbab = 0.05;
};
class FullAuto : FullAuto
{
begin1[] = {"ca\sounds\weapons\rifles\rifle-silence-single2",1,1,300};
soundBegin[] = {"begin1",1};
recoil = "recoil_auto_primary_2outof10";
recoilProne = "recoil_auto_primary_prone_2outof10";
minRange = 0;
minRangeProbab = 0.3;
midRange = 20;
midRangeProbab = 0.7;
maxRange = 40;
maxRangeProbab = 0.05;
};
};
class L85A2_SD_DZ : L85A2_SD_Base
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_SD.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_SD_ca.paa";
displayName = $STR_DZ_WPN_L85A2_SD_NAME;
class Attachments
{
Attachment_CCO = "L85A2_CCO_SD_DZ";
Attachment_Holo = "L85A2_Holo_SD_DZ";
Attachment_ACOG = "L85A2_ACOG_SD_DZ";
Attachment_FL = "L85A2_SD_FL_DZ";
Attachment_MFL = "L85A2_SD_MFL_DZ";
};
class ItemActions
{
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup556',_id,'L85A2_DZ'] call player_removeAttachment";
};
};
};
class L85A2_SD_FL_DZ : L85A2_SD_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_SD_FL.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_sd_fl_ca.paa";
displayName = $STR_DZ_WPN_L85A2_sd_FL_NAME;
L85A2_FLASHLIGHT;
class Attachments
{
Attachment_CCO = "L85A2_CCO_SD_FL_DZ";
Attachment_Holo = "L85A2_Holo_SD_FL_DZ";
Attachment_ACOG = "L85A2_ACOG_SD_FL_DZ";
};
class ItemActions
{
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup556',_id,'L85A2_FL_DZ'] call player_removeAttachment";
};
class RemoveFlashlight
{
text = $STR_DZ_ATT_FL_RFL_RMVE;
script = "; ['Attachment_FL',_id,'L85A2_SD_DZ'] call player_removeAttachment";
};
};
};
class L85A2_SD_MFL_DZ : L85A2_SD_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_SD_FL.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_sd_fl_ca.paa";
displayName = $STR_DZ_WPN_L85A2_sd_MFL_NAME;
L85A2_MFLASHLIGHT;
class Attachments
{
Attachment_CCO = "L85A2_CCO_SD_MFL_DZ";
Attachment_Holo = "L85A2_Holo_SD_MFL_DZ";
Attachment_ACOG = "L85A2_ACOG_SD_MFL_DZ";
};
class ItemActions
{
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup556',_id,'L85A2_MFL_DZ'] call player_removeAttachment";
};
class RemoveFlashlight
{
text = $STR_DZ_ATT_FL_RFL_RMVE;
script = "; ['Attachment_MFL',_id,'L85A2_SD_DZ'] call player_removeAttachment";
};
};
};
//CCO
class L85A2_CCO_DZ : L85A2_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_CCO.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_cco_ca.paa";
displayName = $STR_DZ_WPN_L85A2_CCO_NAME;
class Attachments
{
Attachment_Sup556 = "L85A2_CCO_SD_DZ";
Attachment_FL = "L85A2_CCO_FL_DZ";
Attachment_MFL = "L85A2_CCO_MFL_DZ";
};
class ItemActions
{
class RemoveCCO
{
text = $STR_DZ_ATT_CCO_RMVE;
script = "; ['Attachment_CCO',_id,'L85A2_DZ'] call player_removeAttachment";
};
};
};
class L85A2_CCO_FL_DZ : L85A2_FL_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_cco_fl.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_cco_fl_ca.paa";
displayName = $STR_DZ_WPN_L85A2_CCO_FL_NAME;
class Attachments
{
Attachment_Sup556 = "L85A2_CCO_SD_FL_DZ";
};
class ItemActions
{
class RemoveCCO
{
text = $STR_DZ_ATT_CCO_RMVE;
script = "; ['Attachment_CCO',_id,'L85A2_FL_DZ'] call player_removeAttachment";
};
class RemoveFlashlight
{
text = $STR_DZ_ATT_FL_RFL_RMVE;
script = "; ['Attachment_FL',_id,'L85A2_CCO_DZ'] call player_removeAttachment";
};
};
};
class L85A2_CCO_MFL_DZ : L85A2_MFL_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_cco_fl.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_cco_fl_ca.paa";
displayName = $STR_DZ_WPN_L85A2_CCO_MFL_NAME;
class Attachments
{
Attachment_Sup556 = "L85A2_CCO_SD_MFL_DZ";
};
class ItemActions
{
class RemoveCCO
{
text = $STR_DZ_ATT_CCO_RMVE;
script = "; ['Attachment_CCO',_id,'L85A2_MFL_DZ'] call player_removeAttachment";
};
class RemoveFlashlight
{
text = $STR_DZ_ATT_FL_RFL_RMVE;
script = "; ['Attachment_MFL',_id,'L85A2_CCO_DZ'] call player_removeAttachment";
};
};
};
class L85A2_CCO_SD_DZ : L85A2_SD_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_cco_sd.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_cco_sd_ca.paa";
displayName = $STR_DZ_WPN_L85A2_CCO_SD_NAME;
class Attachments
{
Attachment_FL = "L85A2_CCO_SD_FL_DZ";
Attachment_MFL = "L85A2_CCO_SD_MFL_DZ";
};
class ItemActions
{
class RemoveCCO
{
text = $STR_DZ_ATT_CCO_RMVE;
script = "; ['Attachment_CCO',_id,'L85A2_SD_DZ'] call player_removeAttachment";
};
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup556',_id,'L85A2_CCO_DZ'] call player_removeAttachment";
};
};
};
class L85A2_CCO_SD_FL_DZ : L85A2_SD_FL_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_cco_sd_fl.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_cco_sd_fl_ca.paa";
displayName = $STR_DZ_WPN_L85A2_CCO_SD_FL_NAME;
class ItemActions
{
class RemoveCCO
{
text = $STR_DZ_ATT_CCO_RMVE;
script = "; ['Attachment_CCO',_id,'L85A2_SD_FL_DZ'] call player_removeAttachment";
};
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup556',_id,'L85A2_CCO_FL_DZ'] call player_removeAttachment";
};
class RemoveFlashlight
{
text = $STR_DZ_ATT_FL_RFL_RMVE;
script = "; ['Attachment_FL',_id,'L85A2_CCO_SD_DZ'] call player_removeAttachment";
};
};
};
class L85A2_CCO_SD_MFL_DZ : L85A2_SD_MFL_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_cco_sd_fl.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_cco_sd_fl_ca.paa";
displayName = $STR_DZ_WPN_L85A2_CCO_SD_MFL_NAME;
class ItemActions
{
class RemoveCCO
{
text = $STR_DZ_ATT_CCO_RMVE;
script = "; ['Attachment_CCO',_id,'L85A2_SD_MFL_DZ'] call player_removeAttachment";
};
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup556',_id,'L85A2_CCO_MFL_DZ'] call player_removeAttachment";
};
class RemoveFlashlight
{
text = $STR_DZ_ATT_FL_RFL_RMVE;
script = "; ['Attachment_MFL',_id,'L85A2_CCO_SD_DZ'] call player_removeAttachment";
};
};
};
//Holo
class L85A2_Holo_DZ : L85A2_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_holo.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_holo_ca.paa";
displayName = $STR_DZ_WPN_L85A2_HOLO_NAME;
class Attachments
{
Attachment_Sup556 = "L85A2_Holo_SD_DZ";
Attachment_FL = "L85A2_Holo_FL_DZ";
Attachment_MFL = "L85A2_Holo_MFL_DZ";
};
class ItemActions
{
class RemoveHolo
{
text = $STR_DZ_ATT_HOLO_RMVE;
script = "; ['Attachment_Holo',_id,'L85A2_DZ'] call player_removeAttachment";
};
};
};
class L85A2_Holo_FL_DZ : L85A2_FL_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_holo_fl.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_holo_fl_ca.paa";
displayName = $STR_DZ_WPN_L85A2_HOLO_FL_NAME;
class Attachments
{
Attachment_Sup556 = "L85A2_Holo_SD_FL_DZ";
};
class ItemActions
{
class RemoveHolo
{
text = $STR_DZ_ATT_HOLO_RMVE;
script = "; ['Attachment_Holo',_id,'L85A2_FL_DZ'] call player_removeAttachment";
};
class RemoveFlashlight
{
text = $STR_DZ_ATT_FL_RFL_RMVE;
script = "; ['Attachment_FL',_id,'L85A2_Holo_DZ'] call player_removeAttachment";
};
};
};
class L85A2_Holo_MFL_DZ : L85A2_MFL_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_holo_fl.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_holo_fl_ca.paa";
displayName = $STR_DZ_WPN_L85A2_HOLO_MFL_NAME;
class Attachments
{
Attachment_Sup556 = "L85A2_Holo_SD_MFL_DZ";
};
class ItemActions
{
class RemoveHolo
{
text = $STR_DZ_ATT_HOLO_RMVE;
script = "; ['Attachment_Holo',_id,'L85A2_MFL_DZ'] call player_removeAttachment";
};
class RemoveFlashlight
{
text = $STR_DZ_ATT_FL_RFL_RMVE;
script = "; ['Attachment_MFL',_id,'L85A2_Holo_DZ'] call player_removeAttachment";
};
};
};
class L85A2_Holo_SD_DZ : L85A2_SD_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_holo_sd.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_holo_sd_ca.paa";
displayName = $STR_DZ_WPN_L85A2_HOLO_SD_NAME;
class Attachments
{
Attachment_FL = "L85A2_Holo_SD_FL_DZ";
Attachment_MFL = "L85A2_Holo_SD_MFL_DZ";
};
class ItemActions
{
class RemoveHolo
{
text = $STR_DZ_ATT_HOLO_RMVE;
script = "; ['Attachment_Holo',_id,'L85A2_SD_DZ'] call player_removeAttachment";
};
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup556',_id,'L85A2_Holo_DZ'] call player_removeAttachment";
};
};
};
class L85A2_Holo_SD_FL_DZ : L85A2_SD_FL_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_holo_sd_fl.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_holo_sd_fl_ca.paa";
displayName = $STR_DZ_WPN_L85A2_HOLO_SD_FL_NAME;
class ItemActions
{
class RemoveHolo
{
text = $STR_DZ_ATT_HOLO_RMVE;
script = "; ['Attachment_Holo',_id,'L85A2_SD_FL_DZ'] call player_removeAttachment";
};
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup556',_id,'L85A2_Holo_FL_DZ'] call player_removeAttachment";
};
class RemoveFlashlight
{
text = $STR_DZ_ATT_FL_RFL_RMVE;
script = "; ['Attachment_FL',_id,'L85A2_Holo_SD_DZ'] call player_removeAttachment";
};
};
};
class L85A2_Holo_SD_MFL_DZ : L85A2_SD_MFL_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_holo_sd_fl.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_holo_sd_fl_ca.paa";
displayName = $STR_DZ_WPN_L85A2_HOLO_SD_MFL_NAME;
class ItemActions
{
class RemoveHolo
{
text = $STR_DZ_ATT_HOLO_RMVE;
script = "; ['Attachment_Holo',_id,'L85A2_SD_MFL_DZ'] call player_removeAttachment";
};
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup556',_id,'L85A2_Holo_MFL_DZ'] call player_removeAttachment";
};
class RemoveFlashlight
{
text = $STR_DZ_ATT_FL_RFL_RMVE;
script = "; ['Attachment_MFL',_id,'L85A2_Holo_SD_DZ'] call player_removeAttachment";
};
};
};
//ACOG
class L85A2_ACOG_DZ : L85A2_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_acog.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_acog_ca.paa";
displayName = $STR_DZ_WPN_L85A2_ACOG_NAME;
L85A2_ACOG;
class Attachments
{
Attachment_Sup556 = "L85A2_ACOG_SD_DZ";
Attachment_FL = "L85A2_ACOG_FL_DZ";
Attachment_MFL = "L85A2_ACOG_MFL_DZ";
};
class ItemActions
{
class RemoveACOG
{
text = $STR_DZ_ATT_ACOG_RMVE;
script = "; ['Attachment_ACOG',_id,'L85A2_DZ'] call player_removeAttachment";
};
};
};
class L85A2_ACOG_FL_DZ : L85A2_FL_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_acog_fl.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_acog_fl_ca.paa";
displayName = $STR_DZ_WPN_L85A2_ACOG_FL_NAME;
L85A2_ACOG;
class Attachments
{
Attachment_Sup556 = "L85A2_ACOG_SD_FL_DZ";
};
class ItemActions
{
class RemoveACOG
{
text = $STR_DZ_ATT_ACOG_RMVE;
script = "; ['Attachment_ACOG',_id,'L85A2_FL_DZ'] call player_removeAttachment";
};
class RemoveFlashlight
{
text = $STR_DZ_ATT_FL_RFL_RMVE;
script = "; ['Attachment_FL',_id,'L85A2_ACOG_DZ'] call player_removeAttachment";
};
};
};
class L85A2_ACOG_MFL_DZ : L85A2_MFL_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_acog_fl.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_acog_fl_ca.paa";
displayName = $STR_DZ_WPN_L85A2_ACOG_MFL_NAME;
L85A2_ACOG;
class Attachments
{
Attachment_Sup556 = "L85A2_ACOG_SD_MFL_DZ";
};
class ItemActions
{
class RemoveACOG
{
text = $STR_DZ_ATT_ACOG_RMVE;
script = "; ['Attachment_ACOG',_id,'L85A2_MFL_DZ'] call player_removeAttachment";
};
class RemoveFlashlight
{
text = $STR_DZ_ATT_FL_RFL_RMVE;
script = "; ['Attachment_MFL',_id,'L85A2_ACOG_DZ'] call player_removeAttachment";
};
};
};
class L85A2_ACOG_SD_DZ : L85A2_SD_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_acog_sd.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_acog_sd_ca.paa";
displayName = $STR_DZ_WPN_L85A2_ACOG_SD_NAME;
L85A2_ACOG;
class Attachments
{
Attachment_FL = "L85A2_ACOG_SD_FL_DZ";
Attachment_MFL = "L85A2_ACOG_SD_MFL_DZ";
};
class ItemActions
{
class RemoveACOG
{
text = $STR_DZ_ATT_ACOG_RMVE;
script = "; ['Attachment_ACOG',_id,'L85A2_SD_DZ'] call player_removeAttachment";
};
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup556',_id,'L85A2_ACOG_DZ'] call player_removeAttachment";
};
};
};
class L85A2_ACOG_SD_FL_DZ : L85A2_SD_FL_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_acog_sd_fl.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_acog_sd_fl_ca.paa";
displayName = $STR_DZ_WPN_L85A2_ACOG_SD_FL_NAME;
L85A2_ACOG;
class ItemActions
{
class RemoveACOG
{
text = $STR_DZ_ATT_ACOG_RMVE;
script = "; ['Attachment_ACOG',_id,'L85A2_SD_FL_DZ'] call player_removeAttachment";
};
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup556',_id,'L85A2_ACOG_FL_DZ'] call player_removeAttachment";
};
class RemoveFlashlight
{
text = $STR_DZ_ATT_FL_RFL_RMVE;
script = "; ['Attachment_FL',_id,'L85A2_ACOG_SD_DZ'] call player_removeAttachment";
};
};
};
class L85A2_ACOG_SD_MFL_DZ : L85A2_SD_MFL_DZ
{
model = "z\addons\dayz_communityweapons\L85A2\L85A2_acog_sd_fl.p3d";
picture = "\z\addons\dayz_communityweapons\L85A2\data\w_L85A2_acog_sd_fl_ca.paa";
displayName = $STR_DZ_WPN_L85A2_ACOG_SD_MFL_NAME;
L85A2_ACOG;
class ItemActions
{
class RemoveACOG
{
text = $STR_DZ_ATT_ACOG_RMVE;
script = "; ['Attachment_ACOG',_id,'L85A2_SD_MFL_DZ'] call player_removeAttachment";
};
class RemoveSuppressor
{
text = $STR_ATTACHMENT_RMVE_Silencer;
script = "; ['Attachment_Sup556',_id,'L85A2_ACOG_MFL_DZ'] call player_removeAttachment";
};
class RemoveFlashlight
{
text = $STR_DZ_ATT_FL_RFL_RMVE;
script = "; ['Attachment_MFL',_id,'L85A2_ACOG_SD_DZ'] call player_removeAttachment";
};
};
};
class BAF_L85A2_RIS_CWS;
class BAF_L85A2_RIS_TWS_DZ : BAF_L85A2_RIS_CWS
{
visionMode[] = {"Normal","NVG","Ti"};
thermalMode[] = {6};
discretefov[] = {0.0755,0.0249};
discreteInitIndex = 0;
discreteDistance[] = {100,200,300,400,500,600,700,800};
discreteDistanceInitIndex = 2;
displayName = "L85A2 TWS";
};

View File

@@ -1,7 +1,8 @@
class SVD_DZ : SVD
class SVD_PSO1_DZ : SVD
{
model = "z\addons\dayz_communityweapons\SVD\SVD_PSO.p3d";
picture = "\ca\weapons\data\equip\w_svd_ca.paa";
displayName = $STR_DZ_WPN_SVD_NAME;
displayName = $STR_DZ_WPN_SVD_PSO1_NAME;
//weaponInfoType = "RscWeaponEmpty";
//discreteDistance[] = {};
@@ -9,8 +10,7 @@ class SVD_DZ : SVD
//distanceZoomMin = 200;
//distanceZoomMax = 200;
magazines[] = {10Rnd_762x54_SVD};
magazines[] = {10Rnd_762x54_SVD};
//reloadTime = 0.06;
//recoil = "recoil_single_primary_4outof10";
@@ -18,19 +18,84 @@ class SVD_DZ : SVD
//dispersion = 0.00045;
class OpticsModes : OpticsModes
{
class Scope : Scope {};
class Ironsights : Ironsights {};
};
class Attachments
{
Attachment_Ghillie = "SVD_PSO1_Gh_DZ";
};
class ItemActions
{
class RemovePSO1
{
text = $STR_DZ_ATT_PSO1_RMVE;
script = "; ['Attachment_PSO1',_id,'SVD_DZ'] call player_removeAttachment";
};
};
};
class SVD_PSO1_Gh_DZ : SVD_PSO1_DZ
{
model = "z\addons\dayz_communityweapons\SVD\SVD_PSO_Ghilli.p3d";
picture = "\z\addons\dayz_communityweapons\SVD\data\w_SVD_PSO1_Gh_ca.paa";
displayName = $STR_DZ_WPN_SVD_PSO1_GH_NAME;
class Attachments {};
class ItemActions
{
class RemoveGhillie
{
text = $STR_DZ_ATT_GHIL_RMVE;
script = "; ['Attachment_Ghillie',_id,'SVD_PSO1_DZ'] call player_removeAttachment";
};
class RemovePSO1
{
text = $STR_DZ_ATT_PSO1_RMVE;
script = "; ['Attachment_PSO1',_id,'SVD_Gh_DZ'] call player_removeAttachment";
};
};
};
class SVD_DZ : SVD_PSO1_DZ
{
model = "z\addons\dayz_communityweapons\SVD\SVD.p3d";
picture = "\z\addons\dayz_communityweapons\SVD\data\w_SVD_ca.paa";
displayName = $STR_DZ_WPN_SVD_NAME;
weaponInfoType = "RscWeaponZeroing";
class OpticsModes : OpticsModes
{
class Ironsights : Ironsights
{
opticsID = 1;
discreteDistanceInitIndex = 2;
};
};
class Attachments
{
Attachment_Ghillie = "SVD_Gh_DZ";
Attachment_PSO1 = "SVD_PSO1_DZ";
};
};
class SVD_Gh_DZ : SVD_DZ
{
model = "ca\weapons\svd_camo.p3d";
picture = "\ca\weapons\data\equip\w_svd_camo_ca.paa";
model = "z\addons\dayz_communityweapons\SVD\SVD_Ghilli.p3d";
picture = "\z\addons\dayz_communityweapons\SVD\data\w_SVD_Gh_ca.paa";
displayName = $STR_DZ_WPN_SVD_GH_NAME;
class Attachments {};
class Attachments
{
Attachment_PSO1 = "SVD_PSO1_Gh_DZ";
};
class ItemActions
{