Add M200 CheyTac SD

Model made by @Helion4
This commit is contained in:
AirwavesMan
2020-12-19 09:24:02 +01:00
parent 81dfc6975f
commit 3a33e00b4f
8 changed files with 72 additions and 4 deletions

View File

@@ -11,4 +11,11 @@ class 5Rnd_408_CheyTac : CA_Magazine {
{
COMBINE_MAG
};
};
class 5Rnd_408_CheyTac_SD : 5Rnd_408_CheyTac {
displayName = $STR_DZ_MAG_5RND_408_CHEYTAC_SD_NAME;
descriptionShort = $STR_DZ_MAG_5RND_CHEYTAC_SD_DESC;
picture ="\dayz_epoch_c\icons\magazines\m_m200.paa";
ammo = "B_408_CheyTac_SD";
};

View File

@@ -181,6 +181,7 @@ class Category_8 {
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 M200_CheyTac_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {1,"ItemBriefcase100oz"};};
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"};};
};
@@ -207,6 +208,7 @@ class Category_9 {
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 5Rnd_408_CheyTac_SD {type = "trade_items";buy[] = {-4,"ItemGoldBar"};sell[] = {1,"ItemGoldBar10oz"};};
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"};};

View File

@@ -181,6 +181,7 @@ class Category_3 {
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 M200_CheyTac_SD_DZ {type = "trade_weapons";buy[] = {-1,"ItemGoldBar"};sell[] = {1,"ItemBriefcase100oz"};};
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"};};
};
@@ -207,6 +208,7 @@ class Category_4 {
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 5Rnd_408_CheyTac_SD {type = "trade_items";buy[] = {-4,"ItemGoldBar"};sell[] = {1,"ItemGoldBar10oz"};};
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"};};

View File

@@ -181,6 +181,7 @@ class Category_8 {
class Anzio_20_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {8000,"worth"};};
class BAF_AS50_scoped_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {8000,"worth"};};
class M200_CheyTac_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {8000,"worth"};};
class M200_CheyTac_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {10000,"worth"};};
class KSVK_DZE {type = "trade_weapons";buy[] = {10000,"worth"};sell[] = {6000,"worth"};};
class BAF_L85A2_RIS_TWS_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {8000,"worth"};};
};
@@ -207,6 +208,7 @@ class Category_9 {
class 5Rnd_127x99_as50_CP {type = "trade_items";buy[] = {-1,"worth"};sell[] = {800,"worth"};};
class 5Rnd_127x108_KSVK {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};};
class 5Rnd_408_CheyTac {type = "trade_items";buy[] = {-1,"worth"};sell[] = {800,"worth"};};
class 5Rnd_408_CheyTac_SD {type = "trade_items";buy[] = {-1,"worth"};sell[] = {1000,"worth"};};
class 200Rnd_556x45_M249 {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};};
class 100Rnd_762x51_M240 {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};};
class 100Rnd_762x54_PK {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};};

View File

@@ -181,6 +181,7 @@ class Category_3 {
class Anzio_20_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {8000,"worth"};};
class BAF_AS50_scoped_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {8000,"worth"};};
class M200_CheyTac_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {8000,"worth"};};
class M200_CheyTac_SD_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {10000,"worth"};};
class KSVK_DZE {type = "trade_weapons";buy[] = {10000,"worth"};sell[] = {6000,"worth"};};
class BAF_L85A2_RIS_TWS_DZ {type = "trade_weapons";buy[] = {-1,"worth"};sell[] = {8000,"worth"};};
};
@@ -207,6 +208,7 @@ class Category_4 {
class 5Rnd_127x99_as50_CP {type = "trade_items";buy[] = {-1,"worth"};sell[] = {800,"worth"};};
class 5Rnd_127x108_KSVK {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};};
class 5Rnd_408_CheyTac {type = "trade_items";buy[] = {-1,"worth"};sell[] = {800,"worth"};};
class 5Rnd_408_CheyTac_SD {type = "trade_items";buy[] = {-1,"worth"};sell[] = {1000,"worth"};};
class 200Rnd_556x45_M249 {type = "trade_items";buy[] = {400,"worth"};sell[] = {200,"worth"};};
class 100Rnd_762x51_M240 {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};};
class 100Rnd_762x54_PK {type = "trade_items";buy[] = {200,"worth"};sell[] = {100,"worth"};};

View File

@@ -35,7 +35,7 @@ class M200_CheyTac_DZ: m107
recoilProne = "recoil_single_primary_prone_7outof10";
dexterity = 0.45;
hiddenSelections[] = {"camo"};
hiddenSelectionsTextures[] = {"\addons\dayz_epoch_w\m200\data\dze_m200_co.paa"};
hiddenSelectionsTextures[] = {"\z\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.";
@@ -64,8 +64,18 @@ class M200_CheyTac_DZ: m107
opticsDisablePeripherialVision = 1;
cameraDir = "";
visionMode[] = {"Normal"};
discreteDistance[] = {100,200,300,400,500,600,700,800,900,1000,1100,1200,1300,1400,1600,1800};
discreteDistanceInitIndex = 3;
discreteDistance[] = {300,400,500,600,700,800,900,1000,1100,1200,1300,1400,1600,1800};
discreteDistanceInitIndex = 1;
};
};
};
class M200_CheyTac_SD_DZ: M200_CheyTac_DZ
{
displayname = $STR_DZ_WPN_M200_CHEYTAC_SD_NAME;
descriptionShort = $STR_DZ_WPN_M200_CHEYTAC_SD_DESC;
model = "\z\addons\dayz_epoch_w\m200\h4_cheytac_sd.p3d";
picture = "\z\addons\dayz_epoch_w\m200\data\w_cheytac_Ca.paa";
magazines[] = {5Rnd_408_CheyTac_SD};
begin1[] = {"\dayz_epoch_c\sounds\weapons\m200sd_shot",2.51189,1,80};
};

View File

@@ -701,7 +701,7 @@ class CfgAmmo
audibleFire = 22;
visibleFireTime = 3;
cost = 20;
airLock = 0;
airLock = 1;
model = "\ca\Weapons\Data\bullettracer\tracer_red";
caliber = 2.07;
tracerColor[] = {0,0,0,0};
@@ -712,6 +712,26 @@ class CfgAmmo
typicalspeed = 950;
};
// M200 Chey Tac SD
class B_408_CheyTac_SD: BulletBase
{
hit = 22;
indirectHit = 1;
indirectHitRange = 0.01;
cartridge = "FxCartridge_127";
visibleFire = 0.1;
audibleFire = 0.1;
visibleFireTime = 3;
cost = 20;
airLock = 1;
model = "\ca\Weapons\Data\bullettracer\tracer_red";
caliber = 2.07;
tracerStartTime = -1;
airFriction = -0.0005;
muzzleEffect = "BIS_Effects_HeavySniper";
typicalspeed = 820;
};
//mosin nagant
/*class Mosin_762 : BulletBase
{