mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add WA2000
Thx @helion4
This commit is contained in:
@@ -98,6 +98,7 @@ CrashSiteEU[] =
|
||||
//Weapons
|
||||
{Loot_GROUP, 30, weaponsEU},
|
||||
{Loot_WEAPON, 1, BAF_AS50_scoped_DZ}, // High value weapon
|
||||
{Loot_WEAPON, 1, WA2000_DZ},
|
||||
|
||||
//Tools
|
||||
{Loot_GROUP, 3, ToolsMilitary},
|
||||
@@ -130,6 +131,7 @@ CrashSiteEUPile[] =
|
||||
{Loot_MAGAZINE, 10, FoodMRE},
|
||||
{Loot_GROUP, 15, AmmoEU},
|
||||
{Loot_MAGAZINE, 3, 5Rnd_127x99_as50_CP},
|
||||
{Loot_MAGAZINE, 3, 6Rnd_762x51_WA2000},
|
||||
{Loot_GROUP, 10, MedicalLow}
|
||||
};
|
||||
|
||||
|
||||
@@ -185,4 +185,20 @@ class 20Rnd_762x51_HK417SD: 20Rnd_762x51_HK417
|
||||
ammo = "Rem_762x51_SD";
|
||||
};
|
||||
|
||||
|
||||
class 6Rnd_762x51_WA2000: CA_Magazine
|
||||
{
|
||||
scope = public;
|
||||
initSpeed = 900;
|
||||
picture = "\z\addons\dayz_epoch_w\wa2000\data\m_wa2000_CA.paa";
|
||||
model = "\z\addons\dayz_epoch_w\wa2000\h4_wa2000_mag.p3d";
|
||||
displayName = $STR_DZ_MAG_6RND_WA2000_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_6RND_WA2000_DESC;
|
||||
count = 6;
|
||||
cartridgeName = "762x51";
|
||||
ammo = "Rem_762x51_Ball";
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
COMBINE_MAG
|
||||
};
|
||||
};
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "6x35.hpp" //KAC PDW
|
||||
#include "762x25.hpp" //Tokarew TT-33
|
||||
#include "762x39.hpp" //AK47, SA58
|
||||
#include "762x51.hpp" //M240, FN FAL, DMR, M24
|
||||
#include "762x51.hpp" //M240, FN FAL, DMR, M24, RSASS WA2000
|
||||
#include "762x54r.hpp" //PK, SVD, Mosin
|
||||
#include "46x30.hpp" //MP7
|
||||
#include "57x28.hpp" //P90
|
||||
|
||||
@@ -151,6 +151,7 @@ class Category_8 {
|
||||
class MK43_M145_DZ {type = "trade_weapons";buy[] = {5,"ItemGoldBar10oz"};sell[] = {2,"ItemGoldBar10oz"};};
|
||||
class m240_scoped_EP1_DZE {type = "trade_weapons";buy[] = {5,"ItemGoldBar10oz"};sell[] = {2,"ItemGoldBar10oz"};};
|
||||
class Pecheneg_DZ {type = "trade_weapons";buy[] = {5,"ItemGoldBar10oz"};sell[] = {2,"ItemGoldBar10oz"};};
|
||||
class WA2000_DZ {type = "trade_weapons";buy[] = {4,"ItemGoldBar10oz"};sell[] = {2,"ItemGoldBar10oz"};};
|
||||
class MK17_Sniper_DZ {type = "trade_weapons";buy[] = {6,"ItemGoldBar10oz"};sell[] = {3,"ItemGoldBar10oz"};};
|
||||
class MK17_Sniper_SD_DZ {type = "trade_weapons";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
|
||||
class M110_NV_DZ {type = "trade_weapons";buy[] = {7,"ItemGoldBar10oz"};sell[] = {4,"ItemGoldBar10oz"};};
|
||||
@@ -184,6 +185,7 @@ class Category_8 {
|
||||
//Ammunition
|
||||
class Category_9 {
|
||||
class 30Rnd_556x45_StanagSD {type = "trade_items";buy[] = {4,"ItemSilverBar10oz"};sell[] = {2,"ItemSilverBar10oz"};};
|
||||
class 6Rnd_762x51_WA2000 {type = "trade_items";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
|
||||
class 20Rnd_762x51_B_SCAR {type = "trade_items";buy[] = {6,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
|
||||
class 20Rnd_762x51_SB_SCAR {type = "trade_items";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
|
||||
class 20Rnd_762x51_FNFAL {type = "trade_items";buy[] = {4,"ItemSilverBar10oz"};sell[] = {2,"ItemSilverBar10oz"};};
|
||||
|
||||
@@ -150,7 +150,8 @@ class Category_3 {
|
||||
class M249_m145_EP1_DZE {type = "trade_weapons";buy[] = {5,"ItemGoldBar10oz"};sell[] = {2,"ItemGoldBar10oz"};};
|
||||
class MK43_M145_DZ {type = "trade_weapons";buy[] = {5,"ItemGoldBar10oz"};sell[] = {2,"ItemGoldBar10oz"};};
|
||||
class m240_scoped_EP1_DZE {type = "trade_weapons";buy[] = {5,"ItemGoldBar10oz"};sell[] = {2,"ItemGoldBar10oz"};};
|
||||
class Pecheneg_DZ {type = "trade_weapons";buy[] = {5,"ItemGoldBar10oz"};sell[] = {2,"ItemGoldBar10oz"};};
|
||||
class Pecheneg_DZ {type = "trade_weapons";buy[] = {5,"ItemGoldBar10oz"};sell[] = {2,"ItemGoldBar10oz"};};
|
||||
class WA2000_DZ {type = "trade_weapons";buy[] = {4,"ItemGoldBar10oz"};sell[] = {2,"ItemGoldBar10oz"};};
|
||||
class MK17_Sniper_DZ {type = "trade_weapons";buy[] = {6,"ItemGoldBar10oz"};sell[] = {3,"ItemGoldBar10oz"};};
|
||||
class MK17_Sniper_SD_DZ {type = "trade_weapons";buy[] = {2,"ItemGoldBar10oz"};sell[] = {1,"ItemGoldBar10oz"};};
|
||||
class M110_NV_DZ {type = "trade_weapons";buy[] = {7,"ItemGoldBar10oz"};sell[] = {4,"ItemGoldBar10oz"};};
|
||||
@@ -184,6 +185,7 @@ class Category_3 {
|
||||
//Ammunition
|
||||
class Category_4 {
|
||||
class 30Rnd_556x45_StanagSD {type = "trade_items";buy[] = {4,"ItemSilverBar10oz"};sell[] = {2,"ItemSilverBar10oz"};};
|
||||
class 6Rnd_762x51_WA2000 {type = "trade_items";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
|
||||
class 20Rnd_762x51_B_SCAR {type = "trade_items";buy[] = {6,"ItemGoldBar"};sell[] = {3,"ItemGoldBar"};};
|
||||
class 20Rnd_762x51_SB_SCAR {type = "trade_items";buy[] = {1,"ItemGoldBar"};sell[] = {5,"ItemSilverBar10oz"};};
|
||||
class 20Rnd_762x51_FNFAL {type = "trade_items";buy[] = {4,"ItemSilverBar10oz"};sell[] = {2,"ItemSilverBar10oz"};};
|
||||
|
||||
@@ -203,6 +203,7 @@ class CfgWeapons
|
||||
#include "Rifles\M107.hpp"
|
||||
#include "Rifles\M4SPR.hpp"
|
||||
#include "Rifles\M200CheyTac.hpp"
|
||||
#include "Rifles\WA2000.hpp"
|
||||
|
||||
/* PISTOLS */
|
||||
|
||||
|
||||
69
SQF/dayz_code/Configs/CfgWeapons/Rifles/WA2000.hpp
Normal file
69
SQF/dayz_code/Configs/CfgWeapons/Rifles/WA2000.hpp
Normal file
@@ -0,0 +1,69 @@
|
||||
class WA2000_DZ: m107
|
||||
{
|
||||
scope = public;
|
||||
type = WeaponSlotPrimary;
|
||||
canlock = 0;
|
||||
displayname = $STR_DZ_WPN_WA2000_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_WA2000_DESC;
|
||||
model = "z\addons\dayz_epoch_w\wa2000\h4_wa2000.p3d";
|
||||
picture = "\z\addons\dayz_epoch_w\wa2000\data\w_wa2000_ca.paa";
|
||||
UiPicture = "\CA\weapons\data\Ico\i_sniper_CA.paa";
|
||||
magazines[] = {6Rnd_762x51_WA2000};
|
||||
handAnim[] = {"OFP2_ManSkeleton","\Ca\weapons\data\Anim\M24.rtm"};
|
||||
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;
|
||||
autoFire = 0;
|
||||
begin1[] = {"\RH_m14\Sound\m14.wss",1.778279,1,1000};
|
||||
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_8outof10";
|
||||
recoilProne = "recoil_single_primary_prone_7outof10";
|
||||
dexterity = 0.45;
|
||||
class Library
|
||||
{
|
||||
libTextDesc = "The Walther WA 2000 is a semi-automatic bullpup sniper rifle produced by the Carl Walther GmbH Sportwaffen company from 1982 until 1988.<br/> Only 176 were built due to its high cost.";
|
||||
};
|
||||
htMin = 1;
|
||||
htMax = 420;
|
||||
afMax = 0;
|
||||
mfMax = 0;
|
||||
mFact = 1;
|
||||
tBody = 100;
|
||||
weaponInfoType = "RscWeaponZeroing";
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -13371,7 +13371,14 @@
|
||||
<Key ID="STR_DZ_WPN_M200_CHEYTAC_DESC">
|
||||
<English>Sniper Rifle <br/>Caliber: .408 Chey Tac</English>
|
||||
<German>Scharfschützengewehr <br/>Kaliber: .408 Chey Tac</German>
|
||||
</Key>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_WPN_WA2000_NAME">
|
||||
<English>WA2000</English>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_WPN_WA2000_DESC">
|
||||
<English>Sniper Rifle <br/>Caliber: 7.62x51mm</English>
|
||||
<German>Scharfschützengewehr <br/>Kaliber: 7.62x51mm</German>
|
||||
</Key>
|
||||
|
||||
<!-- **** MAGAZINES **** -->
|
||||
|
||||
@@ -13881,12 +13888,12 @@
|
||||
<Hungarian>Kaliber: 6.80x43mm SD <br/> Töltények: 30 <br/> Hozzá tartozó fegyver: ACR SD</Hungarian>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_MAG_20RND_RSASS_NAME">
|
||||
<English>30Rnd. RSASS mag.</English>
|
||||
<Russian>30п. RSASS маг.</Russian>
|
||||
<English>20Rnd. RSASS mag.</English>
|
||||
<Russian>20п. RSASS маг.</Russian>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_MAG_20RND_RSASSSD_NAME">
|
||||
<English>30Rnd. RSASS SD mag.</English>
|
||||
<Russian>30п. RSASS SD маг.</Russian>
|
||||
<English>20Rnd. RSASS SD mag.</English>
|
||||
<Russian>20п. RSASS SD маг.</Russian>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_MAG_20RND_RSASS_DESC">
|
||||
<English>Caliber: 7.62x51mm<br/>Rounds: 20<br/>Used in: RSASS</English>
|
||||
@@ -14770,6 +14777,22 @@
|
||||
<Polish>Kaliber: .408 Chey Tac <br/>Naboje: 5 <br/>Używane w: M200 Chey Tac</Polish>
|
||||
<Hungarian>Kaliber: .408 Chey Tac <br/> Töltények: 5 <br/> Hozzá tartozó fegyver: M200 Chey Tac</Hungarian>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_MAG_6RND_WA2000_NAME">
|
||||
<English>6Rnd. WA2000 mag.</English>
|
||||
<Russian>6п. WA2000 маг.</Russian>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_MAG_6RND_WA2000_DESC">
|
||||
<English>Caliber: 7.62x51mm<br/>Rounds: 6<br/>Used in: WA2000</English>
|
||||
<French>Calibre: 7.62x51mm<br/>Munitions : 6<br/>Utilisé avec: WA2000</French>
|
||||
<Spanish>Calibre: 7.62x51mm<br/>Cartuchos: 6<br/>Usado en: WA2000</Spanish>
|
||||
<Italian>Calibro: 7.62x51mm<br/>Munizioni: 6<br/>Usato in: WA2000</Italian>
|
||||
<Polish>Kaliber: 7.62x51mm<br/>Naboje: 6<br/>Uzywany w: WA2000</Polish>
|
||||
<Russian>Патрон: 7.62x51 мм<br/>Количество: 6<br/>Исп. в: WA2000</Russian>
|
||||
<German>Kaliber: 7.62x51mm<br/>Patronen: 6<br/>Eingesetzt in: WA2000</German>
|
||||
<Czech>Kalibr: 7.62x51mm<br/>Nábojů: 6<br/>Pro: WA2000</Czech>
|
||||
<Hungarian>Kaliber: 7.62x51mm<br/> Töltények: 6 <br/> Hozzá tartozó fegyver: WA2000</Hungarian>
|
||||
</Key>
|
||||
|
||||
<!-- **** ATTACHMENTS **** -->
|
||||
|
||||
<Key ID="STR_DZ_ATT_ACT_TO_PRIMARY">
|
||||
|
||||
Reference in New Issue
Block a user