mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Update SVD
- add SVD with NSPU and Desert Camo with attachment support - the SVD has a new sound now
This commit is contained in:
@@ -13,6 +13,8 @@ AttachmentsRU[] =
|
||||
{
|
||||
{Loot_MAGAZINE, 1, Attachment_Kobra},
|
||||
{Loot_MAGAZINE, 1, Attachment_PSO1},
|
||||
{Loot_MAGAZINE, 1, Attachment_NSPU},
|
||||
{Loot_MAGAZINE, 1, Attachment_Ghillie_Desert},
|
||||
{Loot_MAGAZINE, 1, Attachment_Sup9},
|
||||
{Loot_MAGAZINE, 1, Attachment_Sup10},
|
||||
{Loot_MAGAZINE, 1, Attachment_Sup545},
|
||||
|
||||
@@ -15,7 +15,6 @@ weaponsRU[] =
|
||||
{Loot_WEAPON, 5, Mosin_PU_DZ},
|
||||
|
||||
// Sniper Rifles
|
||||
{Loot_WEAPON, 4, SVD_des_EP1},
|
||||
{Loot_WEAPON, 4, SVD_DZ},
|
||||
{Loot_WEAPON, 4, VSS_vintorez_DZE},
|
||||
{Loot_WEAPON, 1, KSVK_DZE}, // High value weapon, low spawn chance.
|
||||
|
||||
@@ -3,6 +3,7 @@ class Category_12 {
|
||||
class Attachment_BELT {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||
class Attachment_SA58RIS {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||
class Attachment_Ghillie {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
|
||||
class Attachment_Ghillie_Desert {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
|
||||
class Attachment_FL_Pist {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
|
||||
class Attachment_MFL_Pist {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||
class Attachment_FL {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
|
||||
@@ -14,6 +15,7 @@ class Category_12 {
|
||||
class Attachment_ACOG {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||
class Attachment_Tws {type = "trade_items";buy[] = {-8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||
class Attachment_PSO1 {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||
class Attachment_NSPU {type = "trade_items";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||
class Attachment_Sup9 {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||
class Attachment_Sup10 {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||
class Attachment_Sup45 {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||
@@ -475,7 +477,8 @@ class Category_17 {
|
||||
class SVD_PSO1_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
|
||||
class SVD_PSO1_Gh_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar10oz"};sell[] = {11,"ItemGoldBar"};};
|
||||
// desert camo
|
||||
class SVD_des_EP1 {type = "trade_weapons";buy[] = {1,"ItemGoldBar10oz"};sell[] = {6,"ItemGoldBar"};};
|
||||
class SVD_PSO1_Gh_DES_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar10oz"};sell[] = {11,"ItemGoldBar"};};
|
||||
class SVD_NSPU_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
|
||||
};
|
||||
|
||||
//Light Machine Guns
|
||||
|
||||
@@ -4,6 +4,9 @@ class SVD_PSO1_DZ : SVD
|
||||
picture = "\ca\weapons\data\equip\w_svd_ca.paa";
|
||||
displayName = $STR_DZ_WPN_SVD_PSO1_NAME;
|
||||
|
||||
begin1[] = {"\dayz_epoch_c\sounds\weapons\svd.ogg",20,1,2000};
|
||||
soundBegin[] = {"begin1",1};
|
||||
|
||||
//weaponInfoType = "RscWeaponEmpty";
|
||||
//discreteDistance[] = {};
|
||||
//discreteDistanceInitIndex = 0;
|
||||
@@ -27,6 +30,7 @@ class SVD_PSO1_DZ : SVD
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Ghillie = "SVD_PSO1_Gh_DZ";
|
||||
Attachment_Ghillie_Desert = "SVD_PSO1_Gh_DES_DZ";
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
@@ -83,6 +87,7 @@ class SVD_DZ : SVD_PSO1_DZ
|
||||
{
|
||||
Attachment_Ghillie = "SVD_Gh_DZ";
|
||||
Attachment_PSO1 = "SVD_PSO1_DZ";
|
||||
Attachment_NSPU = "SVD_NSPU_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
@@ -105,4 +110,67 @@ class SVD_Gh_DZ : SVD_DZ
|
||||
script = "; ['Attachment_Ghillie',_id,'SVD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class SVD_PSO1_Gh_DES_DZ : SVD_PSO1_Gh_DZ
|
||||
{
|
||||
model = "\CorePatch\CorePatch_CCP_63107\models\SVD_des_EP1";
|
||||
picture = "\CA\weapons_E\Data\icons\svd_desert_CA.paa";
|
||||
displayName = $STR_DZ_WPN_SVD_PSO1_DES_NAME;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveGhillie
|
||||
{
|
||||
text = $STR_DZ_ATT_GHIL_RMVE;
|
||||
script = "; ['Attachment_Ghillie_Desert',_id,'SVD_PSO1_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class SVD_NSPU_DZ : SVD_PSO1_DZ {
|
||||
model = "\ca\weapons_E\SVD\SVD_nspu.p3d";
|
||||
displayname = "$STR_EP1_DN_SVD_NSPU_EP1";
|
||||
picture = "\CA\weapons_E\Data\icons\w_svd_nspu_CA.paa";
|
||||
modelOptics = "\Ca\weapons_E\NV_nspu_optic.p3d";
|
||||
class OpticsModes
|
||||
{
|
||||
class NSPU
|
||||
{
|
||||
opticsID = 1;
|
||||
useModelOptics = 1;
|
||||
opticsZoomMin = 0.07082153;
|
||||
opticsZoomMax = 0.07082153;
|
||||
opticsZoomInit = 0.07082153;
|
||||
opticsPPEffects[] = {};
|
||||
opticsDisablePeripherialVision = 1;
|
||||
memoryPointCamera = "opticView";
|
||||
visionMode[] = {"NVG"};
|
||||
opticsFlare = 1;
|
||||
distanceZoomMin = 300;
|
||||
distanceZoomMax = 300;
|
||||
cameraDir = "";
|
||||
};
|
||||
class Ironsights: NSPU
|
||||
{
|
||||
opticsID = 2;
|
||||
useModelOptics = 0;
|
||||
opticsFlare = 0;
|
||||
opticsDisablePeripherialVision = 0;
|
||||
opticsZoomMin = 0.25;
|
||||
opticsZoomMax = 1.1;
|
||||
opticsZoomInit = 0.5;
|
||||
memoryPointCamera = "eye";
|
||||
visionMode[] = {};
|
||||
};
|
||||
};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveNSPU
|
||||
{
|
||||
text = $STR_DZ_ATT_NSPU_RMVE;
|
||||
script = "; ['Attachment_NSPU',_id,'SVD_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -11429,6 +11429,10 @@
|
||||
<English>SVD PSO-1 Camo</English>
|
||||
<Russian>СВД ПСО-1 (камуфляж)</Russian>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_WPN_SVD_PSO1_DES_NAME">
|
||||
<English>SVD PSO-1 Desert</English>
|
||||
<German>SVD PSO-1 Wüstentarn</German>
|
||||
</Key>
|
||||
|
||||
<!-- Mosin -->
|
||||
<Key ID="STR_DZ_WPN_MOSIN_NAME">
|
||||
@@ -13634,9 +13638,13 @@
|
||||
<German>[E] NSPU-Visier</German>
|
||||
</Key>
|
||||
<Key ID="STR_DZE_ATTACHMENT_NSPU_DESC">
|
||||
<English>An NSPU scope.</English>
|
||||
<English>NSPU scope</English>
|
||||
<German>Zielfernrohr vom Typ NSPU.</German>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_ATT_NSPU_RMVE">
|
||||
<English>Remove NSPU</English>
|
||||
<German>NSPU entfernen</German>
|
||||
</Key>
|
||||
<Key ID="STR_DZE_ATTACHMENT_NV_NAME">
|
||||
<English>[A] NV scope</English>
|
||||
<German>[E] NV-Visier</German>
|
||||
|
||||
Reference in New Issue
Block a user