mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Add M200 Chey Tac
Made by @helion4
This commit is contained in:
@@ -54,6 +54,7 @@ CrashSiteUS[] =
|
||||
//Weapons
|
||||
{Loot_GROUP, 30, weaponsUS},
|
||||
{Loot_WEAPON, 1, M107_DZ}, // High value weapon
|
||||
{Loot_WEAPON, 1, M200_CheyTac_DZ}, // High value weapon
|
||||
{Loot_WEAPON, 5, ACR_WDL_NV_DZ}, // ACR WDL NV
|
||||
{Loot_WEAPON, 5, ACR_BL_NV_DZ}, // ACR BL NV
|
||||
|
||||
@@ -88,6 +89,7 @@ CrashSiteUSPile[] =
|
||||
{Loot_MAGAZINE, 10, FoodMRE},
|
||||
{Loot_GROUP, 15, AmmoUS},
|
||||
{Loot_MAGAZINE, 3, 10Rnd_127x99_m107},
|
||||
{Loot_MAGAZINE, 3, 5Rnd_408_CheyTac},
|
||||
{Loot_GROUP, 10, MedicalLow}
|
||||
};
|
||||
|
||||
|
||||
14
SQF/dayz_code/Configs/CfgMagazines/Magazines/408CheyTac.hpp
Normal file
14
SQF/dayz_code/Configs/CfgMagazines/Magazines/408CheyTac.hpp
Normal file
@@ -0,0 +1,14 @@
|
||||
class 5Rnd_408_CheyTac : CA_Magazine {
|
||||
scope = public;
|
||||
displayName = $STR_DZ_MAG_5RND_408_CHEYTAC_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_5RND_CHEYTAC_DESC;
|
||||
picture ="\z\addons\dayz_epoch_w\m200\data\m_cheytac_CA.paa";
|
||||
model ="\z\addons\dayz_epoch_w\m200\h4_cheytac_mag.p3d";
|
||||
ammo = "B_408_CheyTac_Ball";
|
||||
count = 5;
|
||||
|
||||
class ItemActions
|
||||
{
|
||||
COMBINE_MAG
|
||||
};
|
||||
};
|
||||
@@ -2,8 +2,6 @@ class 7Rnd_45ACP_1911: CA_Magazine
|
||||
{
|
||||
model = "\RH_de\mags\mag_kim.p3d";
|
||||
picture = "\RH_de\inv\m_colt.paa";
|
||||
//model = "\dayz_equip\models\ammo_1911.p3d";
|
||||
//picture = "\dayz_equip\textures\equip_1911_ca.paa";
|
||||
displayName = $STR_DZ_MAG_7RND_45ACP_1911_NAME;
|
||||
descriptionShort = $STR_DZ_MAG_7RND_M1911_45ACP_DESC;
|
||||
|
||||
@@ -26,7 +24,6 @@ class 7Rnd_45ACP_1911: CA_Magazine
|
||||
class 6Rnd_45ACP: CA_Magazine
|
||||
{
|
||||
model = "\dayz_equip\models\ammo_acp45.p3d";
|
||||
//picture = "\dayz_equip\textures\equip_45acp_ca.paa";
|
||||
displayName = $STR_DZ_MAG_6RND_45ACP_NAME;
|
||||
|
||||
cartridgeName = "45ACP";
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "20x102.hpp" //Anzio
|
||||
#include "9x39.hpp" //Groza, VSS
|
||||
#include "127x99.hpp" //M107, AS-50
|
||||
#include "408CheyTac.hpp" //M200 Cheytac
|
||||
#include "Misc.hpp" //CZ550, Lee-Enfield, KSVK, SA-61
|
||||
#include "Shotgun.hpp"
|
||||
#include "Arrows.hpp"
|
||||
|
||||
@@ -176,6 +176,7 @@ class Category_8 {
|
||||
class m107_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar10oz"};};
|
||||
class Anzio_20_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar10oz"};};
|
||||
class BAF_AS50_scoped_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar10oz"};};
|
||||
class M200_CheyTac_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar10oz"};};
|
||||
class KSVK_DZE {type = "trade_weapons";buy[] = {1,"ItemBriefcase100oz"};sell[] = {6,"ItemGoldBar10oz"};};
|
||||
class BAF_L85A2_RIS_TWS_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar10oz"};};
|
||||
};
|
||||
@@ -199,6 +200,7 @@ class Category_9 {
|
||||
class 5Rnd_127x99_AS50 {type = "trade_items";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};};
|
||||
class 5Rnd_127x99_as50_CP {type = "trade_items";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};};
|
||||
class 5Rnd_127x108_KSVK {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||
class 5Rnd_408_CheyTac {type = "trade_items";buy[] = {-4,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};};
|
||||
class 200Rnd_556x45_M249 {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||
class 100Rnd_762x51_M240 {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
|
||||
class 100Rnd_762x54_PK {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
|
||||
|
||||
@@ -176,6 +176,7 @@ class Category_3 {
|
||||
class m107_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {6,"ItemGoldBar10oz"};};
|
||||
class Anzio_20_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar10oz"};};
|
||||
class BAF_AS50_scoped_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar10oz"};};
|
||||
class M200_CheyTac_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar10oz"};};
|
||||
class KSVK_DZE {type = "trade_weapons";buy[] = {1,"ItemBriefcase100oz"};sell[] = {6,"ItemGoldBar10oz"};};
|
||||
class BAF_L85A2_RIS_TWS_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar10oz"};};
|
||||
};
|
||||
@@ -199,6 +200,7 @@ class Category_4 {
|
||||
class 5Rnd_127x99_AS50 {type = "trade_items";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};};
|
||||
class 5Rnd_127x99_as50_CP {type = "trade_items";buy[] = {-1,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};};
|
||||
class 5Rnd_127x108_KSVK {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||
class 5Rnd_408_CheyTac {type = "trade_items";buy[] = {-4,"ItemGoldBar"};sell[] = {8,"ItemGoldBar"};};
|
||||
class 200Rnd_556x45_M249 {type = "trade_items";buy[] = {4,"ItemGoldBar"};sell[] = {2,"ItemGoldBar"};};
|
||||
class 100Rnd_762x51_M240 {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
|
||||
class 100Rnd_762x54_PK {type = "trade_items";buy[] = {2,"ItemGoldBar"};sell[] = {1,"ItemGoldBar"};};
|
||||
|
||||
@@ -202,6 +202,7 @@ class CfgWeapons
|
||||
#include "Rifles\AS50.hpp"
|
||||
#include "Rifles\M107.hpp"
|
||||
#include "Rifles\M4SPR.hpp"
|
||||
#include "Rifles\M200CheyTac.hpp"
|
||||
|
||||
/* PISTOLS */
|
||||
|
||||
|
||||
71
SQF/dayz_code/Configs/CfgWeapons/Rifles/M200CheyTac.hpp
Normal file
71
SQF/dayz_code/Configs/CfgWeapons/Rifles/M200CheyTac.hpp
Normal file
@@ -0,0 +1,71 @@
|
||||
class M200_CheyTac_DZ: m107
|
||||
{
|
||||
scope = public;
|
||||
type = WeaponSlotPrimary;
|
||||
canlock = 0;
|
||||
displayname = $STR_DZ_WPN_M200_CHEYTAC_NAME;
|
||||
descriptionShort = $STR_DZ_WPN_M200_CHEYTAC_DESC;
|
||||
model = "z\addons\dayz_epoch_w\m200\h4_cheytac.p3d";
|
||||
picture = "\z\addons\dayz_epoch_w\m200\data\w_cheytac_Ca.paa";
|
||||
UiPicture = "\CA\weapons\data\Ico\i_sniper_CA.paa";
|
||||
magazines[] = {5Rnd_408_CheyTac};
|
||||
handAnim[] = {"OFP2_ManSkeleton","\Ca\weapons_E\Data\Anim\M107b.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[] = {"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";
|
||||
dexterity = 0.45;
|
||||
hiddenSelections[] = {"camo"};
|
||||
hiddenSelectionsTextures[] = {"\addons\dayz_epoch_w\m200\data\dze_m200_co.paa"};
|
||||
class Library
|
||||
{
|
||||
libTextDesc = "The CheyTac Intervention is an American bolt-action sniper rifle manufactured by CheyTac LLC, which can also be classified as an anti-materiel rifle.<br/> It is fed by a 7-round detachable single-stack magazine containing .408 cartridges and its effective range is around 2500m.";
|
||||
};
|
||||
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,1300,1400,1600,1800};
|
||||
discreteDistanceInitIndex = 3;
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -654,6 +654,28 @@ class CfgAmmo
|
||||
typicalspeed = 300;
|
||||
};
|
||||
|
||||
// M200 Chey Tac
|
||||
class B_408_CheyTac_Ball: BulletBase
|
||||
{
|
||||
hit = 26;
|
||||
indirectHit = 1;
|
||||
indirectHitRange = 0.01;
|
||||
cartridge = "FxCartridge_127";
|
||||
visibleFire = 22;
|
||||
audibleFire = 22;
|
||||
visibleFireTime = 3;
|
||||
cost = 20;
|
||||
airLock = 0;
|
||||
model = "\ca\Weapons\Data\bullettracer\tracer_red";
|
||||
caliber = 2.07;
|
||||
tracerColor[] = {0,0,0,0};
|
||||
tracerColorR[] = {0,0,0,0};
|
||||
tracerStartTime = -1;
|
||||
airFriction = -0.0005;
|
||||
muzzleEffect = "BIS_Effects_HeavySniper";
|
||||
typicalspeed = 950;
|
||||
};
|
||||
|
||||
//mosin nagant
|
||||
/*class Mosin_762 : BulletBase
|
||||
{
|
||||
|
||||
@@ -13364,6 +13364,13 @@
|
||||
<Key ID="STR_DZ_WPN_AUGA3_DESC">
|
||||
<English>Assault Rifle <br/>Caliber: 5.56x45mm</English>
|
||||
<German>Sturmgewehr <br/>Kaliber: 5.56x45mm</German>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_WPN_M200_CHEYTAC_NAME">
|
||||
<English>M200 Chey Tac</English>
|
||||
</Key>
|
||||
<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>
|
||||
|
||||
<!-- **** MAGAZINES **** -->
|
||||
@@ -14748,7 +14755,21 @@
|
||||
<Russian>Патрон: 5.56x45мм <br/>Количество: 30 <br/>Используется в: Steyr Aug A3</Russian>
|
||||
<Polish>Kaliber: 5.56x45mm <br/>Naboje: 30 <br/>Używane w: Steyr Aug A3</Polish>
|
||||
<Hungarian>Kaliber: 5.56x45mm <br/> Töltények: 30 <br/> Hozzá tartozó fegyver: Steyr Aug A3</Hungarian>
|
||||
</Key>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_MAG_5RND_408_CHEYTAC_NAME">
|
||||
<English>5Rnd. Chey Tac mag</English>
|
||||
</Key>
|
||||
<Key ID="STR_DZ_MAG_5RND_CHEYTAC_DESC">
|
||||
<German>Kaliber: .408 Chey Tac <br/>Patronen: 5 <br/>Eingesetzt in: M200 Chey Tac</German>
|
||||
<English>Caliber: .408 Chey Tac <br/>Rounds: 5 <br/>Used in: M200 Chey Tac</English>
|
||||
<Italian>Calibro: .408 Chey Tac <br/>Munizioni: 5 <br/>Si usa in: M200 Chey Tac</Italian>
|
||||
<Spanish>Calibre: .408 Chey Tac <br/>Cargas: 5 <br/>Uso: M200 Chey Tac</Spanish>
|
||||
<French>Calibre: .408 Chey Tac <br/>Munitions: 5 <br/>Utilisé avec: M200 Chey Tac</French>
|
||||
<Czech>Kalibr: .408 Chey Tac <br/>Nábojů: 5 <br/>Pro: M200 Chey Tac</Czech>
|
||||
<Russian>Патрон: 5.56x45мм <br/>Количество: 5 <br/>Используется в: M200 Chey Tac</Russian>
|
||||
<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>
|
||||
<!-- **** ATTACHMENTS **** -->
|
||||
|
||||
<Key ID="STR_DZ_ATT_ACT_TO_PRIMARY">
|
||||
|
||||
Reference in New Issue
Block a user