mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add AS VAL
This commit is contained in:
@@ -43,6 +43,7 @@ weaponsRU[] =
|
||||
{Loot_WEAPON, 6, RK95_DZ},
|
||||
{Loot_WEAPON, 6, Groza9_DZ},
|
||||
{Loot_WEAPON, 6, Groza1_DZ},
|
||||
{Loot_WEAPON, 6, VAL_DZ},
|
||||
|
||||
// Machine Guns
|
||||
{Loot_WEAPON, 3, RPK74_DZ},
|
||||
|
||||
@@ -3,6 +3,7 @@ class 10Rnd_9x39_SP5_VSS: CA_Magazine
|
||||
{
|
||||
model = "dayz_epoch_c\models\magazines\VSS_vintorez_mag.p3d";
|
||||
displayName = $STR_DZ_MAG_10Rnd_9x39_SP5_VSS_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_10RND_939_VSSVAL_DESC;
|
||||
|
||||
cartridgeName = "9x39";
|
||||
|
||||
@@ -16,6 +17,7 @@ class 20Rnd_9x39_SP5_VSS: CA_Magazine
|
||||
{
|
||||
model = "dayz_epoch_c\models\magazines\VSS_vintorez_mag.p3d";
|
||||
displayName = $STR_DZ_MAG_20Rnd_9x39_SP5_VSS_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_20RND_939_VSSVAL_DESC;
|
||||
|
||||
cartridgeName = "9x39";
|
||||
|
||||
|
||||
@@ -83,6 +83,7 @@ class Category_22 {
|
||||
class 30Rnd_762x39_Groza1SD {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
|
||||
class 20Rnd_9x39_Groza9 {type = "trade_items";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
|
||||
class 20Rnd_9x39_Groza9SD {type = "trade_items";buy[] = {3,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
|
||||
class 20Rnd_9x39_SP5_VSS {type = "trade_items";buy[] = {3,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
|
||||
class 20Rnd_762x51_FNFAL {type = "trade_items";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
|
||||
class ACR_30Rnd_680x43 {type = "trade_items";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
|
||||
class ACR_30Rnd_680x43_SD {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
|
||||
|
||||
@@ -397,6 +397,9 @@ class Category_16 {
|
||||
class Groza9_Sniper_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {15,"ItemGoldBar"};};
|
||||
class Groza9_GL_Sniper_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {2,"ItemGoldBar10oz"};};
|
||||
class Groza9_Sniper_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {2,"ItemGoldBar10oz"};};
|
||||
class VAL_DZ {type = "trade_weapons";buy[] = {3,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
|
||||
class VAL_Kobra_DZ {type = "trade_weapons";buy[] = {-2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
|
||||
class VAL_POS1_DZ {type = "trade_weapons";buy[] = {-2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
|
||||
class AKS74U_DZ {type = "trade_weapons";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
|
||||
class AKS74U_Kobra_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
|
||||
class AKS74U_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||
@@ -421,9 +424,9 @@ class Category_16 {
|
||||
class AK107_GL_PSO1_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {7,"ItemGoldBar"};};
|
||||
class AN94_DZ {type = "trade_weapons";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
|
||||
class AN94_GL_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
|
||||
class FNFAL_DZ {type = "trade_weapons";buy[] = {8,"ItemGoldBar"};sell[] = {4,"ItemGoldBar"};};
|
||||
class FNFAL_CCO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};};
|
||||
class FNFAL_Holo_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar"};};
|
||||
class FNFAL_DZ {type = "trade_weapons";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
|
||||
class FNFAL_CCO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {12,"ItemGoldBar"};};
|
||||
class FNFAL_Holo_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {12,"ItemGoldBar"};};
|
||||
class M14_DZ {type = "trade_weapons";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
|
||||
class M14_Gh_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar10oz"};sell[] = {11,"ItemGoldBar"};};
|
||||
class M14_CCO_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar10oz"};sell[] = {12,"ItemGoldBar"};};
|
||||
|
||||
@@ -26,8 +26,7 @@ class CfgWeapons
|
||||
#include "Rifles\AS50.hpp"
|
||||
#include "Rifles\M107.hpp"
|
||||
#include "Rifles\KSVK.hpp"
|
||||
#include "Rifles\M4SPR.hpp"
|
||||
#include "Rifles\VSSVintorez.hpp"
|
||||
#include "Rifles\M4SPR.hpp"
|
||||
#include "Rifles\CZ750.hpp"
|
||||
|
||||
//Ak107
|
||||
@@ -53,6 +52,10 @@ class CfgWeapons
|
||||
|
||||
#include "Rifles\RPK.hpp"
|
||||
|
||||
//VSS
|
||||
#include "Rifles\VSSVintorez.hpp"
|
||||
#include "Rifles\VAL.hpp"
|
||||
|
||||
class DMR : Rifle
|
||||
{
|
||||
class Single;
|
||||
|
||||
100
SQF/dayz_code/Configs/CfgWeapons/Rifles/VAL.hpp
Normal file
100
SQF/dayz_code/Configs/CfgWeapons/Rifles/VAL.hpp
Normal file
@@ -0,0 +1,100 @@
|
||||
class VAL_DZ: Groza9_DZ
|
||||
{
|
||||
model = "\RH_aks\RH_asval.p3d";
|
||||
picture = "\RH_aks\inv\asval.paa";
|
||||
magazines[] = {"20Rnd_9x39_SP5_VSS","10Rnd_9x39_SP5_VSS"};
|
||||
handAnim[] = {"OFP2_ManSkeleton","\Ca\weapons\Data\Anim\AK.rtm"};
|
||||
fireLightDuration = 0.0;
|
||||
fireLightIntensity = 0.0;
|
||||
displayname = $STR_DZ_WPN_ASVAL_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_ASVAL_DESC;
|
||||
|
||||
modes[] = {"Single","Full"};
|
||||
|
||||
class Single: Mode_SemiAuto
|
||||
{
|
||||
dispersion = 0.0018;
|
||||
soundContinuous = 0;
|
||||
reloadTime = 0.1;
|
||||
recoil = "recoil_single_primary_4outof10";
|
||||
recoilProne = "recoil_single_primary_prone_4outof10";
|
||||
begin1[] = {"\dayz_epoch_c\sounds\weapons\vss.ogg",1.0,1,50};
|
||||
begin2[] = {"\dayz_epoch_c\sounds\weapons\vss.ogg",1.0,1,50};
|
||||
soundBegin[] = {"begin1",0.5,"begin2",0.5};
|
||||
minRange = 2;
|
||||
minRangeProbab = 0.1;
|
||||
midRange = 250;
|
||||
midRangeProbab = 0.7;
|
||||
maxRange = 500;
|
||||
maxRangeProbab = 0.05;
|
||||
};
|
||||
class Full: Mode_FullAuto
|
||||
{
|
||||
dispersion = 0.0018;
|
||||
soundContinuous = 0;
|
||||
reloadTime = 0.08;
|
||||
recoil = "recoil_auto_primary_3outof10";
|
||||
recoilProne = "recoil_auto_primary_prone_3outof10";
|
||||
begin1[] = {"\dayz_epoch_c\sounds\weapons\vss.ogg",1.0,1,50};
|
||||
begin2[] = {"\dayz_epoch_c\sounds\weapons\vss.ogg",1.0,1,50};
|
||||
soundBegin[] = {"begin1",0.5,"begin2",0.5};
|
||||
minRange = 0;
|
||||
minRangeProbab = 0.1;
|
||||
midRange = 60;
|
||||
midRangeProbab = 0.7;
|
||||
maxRange = 100;
|
||||
maxRangeProbab = 0.05;
|
||||
};
|
||||
|
||||
reloadMagazineSound[] = {"\RH_aks\sound\val_reload.wss",0.056234,1,20};
|
||||
|
||||
class Attachments
|
||||
{
|
||||
Attachment_Kobra = "VAL_Kobra_DZ";
|
||||
Attachment_PSO1 = "VAL_PSO1_DZ";
|
||||
};
|
||||
};
|
||||
|
||||
class VAL_Kobra_DZ: VAL_DZ
|
||||
{
|
||||
model = "\RH_aks\RH_asvalk.p3d";
|
||||
picture = "\RH_aks\inv\asvalk.paa";
|
||||
displayName = $STR_DZ_WPN_ASVAL_Kobra_NAME;
|
||||
distanceZoomMin = 200;
|
||||
distanceZoomMax = 200;
|
||||
|
||||
class Attachments {};
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemoveKobra
|
||||
{
|
||||
text = $STR_DZ_ATT_KOBRA_RMVE;
|
||||
script = "; ['Attachment_Kobra',_id,'VAL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
class VAL_PSO1_DZ: VAL_DZ
|
||||
{
|
||||
model = "\RH_aks\RH_asvalsp.p3d";
|
||||
picture = "\RH_aks\inv\asvalsp.paa";
|
||||
displayName = $STR_DZ_WPN_ASVAL_PSO1_NAME;
|
||||
opticsFlare = "true";
|
||||
optics = true;
|
||||
opticsDisablePeripherialVision = true;
|
||||
modelOptics = "\ca\weapons\optika_snpiere";
|
||||
opticsZoomMin = 0.071945;
|
||||
opticsZoomMax = 0.071945;
|
||||
distanceZoomMin = 110;
|
||||
distanceZoomMax = 110;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
class RemovePSO1
|
||||
{
|
||||
text = $STR_DZ_ATT_PSO1_RMVE;
|
||||
script = "; ['Attachment_PSO1',_id,'VAL_DZ'] call player_removeAttachment";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -12792,6 +12792,21 @@
|
||||
<German>Schallgedämpftes Sturmgewehr <br/>Kaliber: 7.62x39mm SD</German>
|
||||
</Key>
|
||||
|
||||
<!-- AS VAL -->
|
||||
<Key ID="STR_DZ_WPN_ASVAL_NAME">
|
||||
<English>AS VAL</English>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_WPN_ASVAL_Kobra_NAME">
|
||||
<English>AS VAL Kobra</English>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_WPN_ASVAL_PSO1_NAME">
|
||||
<English>AS VAL PSO-1</English>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_WPN_ASVAL_DESC">
|
||||
<English>Silenced Assault Rifle <br/>Caliber: 9x39mm</English>
|
||||
<German>Schallgedämpftes Sturmgewehr <br/>Kaliber: 9x39mm</German>
|
||||
</Key>
|
||||
|
||||
<!-- **** MAGAZINES **** -->
|
||||
|
||||
<Key ID="STR_DZ_MAG_17RND_9X19_GLOCK17SD_NAME">
|
||||
@@ -13668,13 +13683,35 @@
|
||||
<Russian>5п. L115 маг.</Russian>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_MAG_20Rnd_9x39_SP5_VSS_NAME">
|
||||
<English>20Rnd. VSS mag.</English>
|
||||
<Russian>20п. VSS маг.</Russian>
|
||||
<English>20Rnd. VSS/VAL mag.</English>
|
||||
<Russian>20п. VSS/VAL маг.</Russian>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_MAG_10Rnd_9x39_SP5_VSS_NAME">
|
||||
<English>10Rnd. VSS mag.</English>
|
||||
<Russian>10п. VSS маг.</Russian>
|
||||
<English>10Rnd. VSS/VAL mag.</English>
|
||||
<Russian>10п. VSS/VAL маг.</Russian>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_MAG_20RND_939_VSSVAL_DESC">
|
||||
<English>Caliber: 9x39mm<br/>Rounds: 20<br/>Used in: VSS Vintorez, AS VAL</English>
|
||||
<French>Calibre: 9x39mm<br/>Munitions : 20<br/>Utilisé avec: VSS Vintorez, AS VAL</French>
|
||||
<Spanish>Calibre: 9x39mm<br/>Cartuchos: 20<br/>Usado en: VSS Vintorez, AS VAL</Spanish>
|
||||
<Italian>Calibro: 9x39mm<br/>Munizioni: 20<br/>Usato in: VSS Vintorez, AS VAL</Italian>
|
||||
<Polish>Kaliber: 9x39mm<br/>Naboje: 20<br/>Uzywany w: VSS Vintorez, AS VAL</Polish>
|
||||
<Russian>Патрон: 9x39mm <br/>Количество: 20<br/>Исп. в: VSS Vintorez, AS VAL</Russian>
|
||||
<German>Kaliber: 9x39mm<br/>Patronen: 20<br/>Eingesetzt in: VSS Vintorez, AS VAL</German>
|
||||
<Czech>Kalibr: 9x39mm<br/>Nábojů: 20<br/>Pro: VSS Vintorez, AS VAL</Czech>
|
||||
<Hungarian>Kaliber: 9x39mm <br/> Töltények: 20<br/> Hozzá tartozó fegyver: VSS Vintorez, AS VAL</Hungarian>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_MAG_10RND_939_VSSVAL_DESC">
|
||||
<English>Caliber: 9x39mm<br/>Rounds: 10<br/>Used in: VSS Vintorez, AS VAL</English>
|
||||
<French>Calibre: 9x39mm<br/>Munitions : 10<br/>Utilisé avec: VSS Vintorez, AS VAL</French>
|
||||
<Spanish>Calibre: 9x39mm<br/>Cartuchos: 10<br/>Usado en: VSS Vintorez, AS VAL</Spanish>
|
||||
<Italian>Calibro: 9x39mm<br/>Munizioni: 10<br/>Usato in: VSS Vintorez, AS VAL</Italian>
|
||||
<Polish>Kaliber: 9x39mm<br/>Naboje: 10<br/>Uzywany w: VSS Vintorez, AS VAL</Polish>
|
||||
<Russian>Патрон: 9x39mm <br/>Количество: 10<br/>Исп. в: VSS Vintorez, AS VAL</Russian>
|
||||
<German>Kaliber: 9x39mm<br/>Patronen: 10<br/>Eingesetzt in: VSS Vintorez, AS VAL</German>
|
||||
<Czech>Kalibr: 9x39mm<br/>Nábojů: 10<br/>Pro: VSS Vintorez, AS VAL</Czech>
|
||||
<Hungarian>Kaliber: 9x39mm <br/> Töltények: 10<br/> Hozzá tartozó fegyver: VSS Vintorez, AS VAL</Hungarian>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_MAG_20Rnd_B_AA12_74Slug_NAME">
|
||||
<English>20Rnd. 12 Cal. Slug.</English>
|
||||
<German>20 Schuss Kal. 12 Flintenlaufgeschoss</German>
|
||||
|
||||
Reference in New Issue
Block a user