diff --git a/SQF/dayz_code/Configs/CfgMagazines/Magazines/408CheyTac.hpp b/SQF/dayz_code/Configs/CfgMagazines/Magazines/408CheyTac.hpp index fd06cf476..2e9bd6f2e 100644 --- a/SQF/dayz_code/Configs/CfgMagazines/Magazines/408CheyTac.hpp +++ b/SQF/dayz_code/Configs/CfgMagazines/Magazines/408CheyTac.hpp @@ -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"; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/Bandit.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/Bandit.hpp index d7e11e53a..5acb57458 100644 --- a/SQF/dayz_code/Configs/CfgServerTrader/Category/Bandit.hpp +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/Bandit.hpp @@ -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"};}; diff --git a/SQF/dayz_code/Configs/CfgServerTrader/Category/Hero.hpp b/SQF/dayz_code/Configs/CfgServerTrader/Category/Hero.hpp index b6bb52880..33312d451 100644 --- a/SQF/dayz_code/Configs/CfgServerTrader/Category/Hero.hpp +++ b/SQF/dayz_code/Configs/CfgServerTrader/Category/Hero.hpp @@ -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"};}; diff --git a/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Bandit.hpp b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Bandit.hpp index 544a529e4..9afc9ec5a 100644 --- a/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Bandit.hpp +++ b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Bandit.hpp @@ -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"};}; diff --git a/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Hero.hpp b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Hero.hpp index 404783fe5..af2e3a712 100644 --- a/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Hero.hpp +++ b/SQF/dayz_code/Configs/CfgServerTraderZSC/Category/Hero.hpp @@ -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"};}; diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/M200CheyTac.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/M200CheyTac.hpp index 9639e674c..367514672 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Rifles/M200CheyTac.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/M200CheyTac.hpp @@ -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.
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}; }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/cfgAmmo.hpp b/SQF/dayz_code/Configs/cfgAmmo.hpp index 57df40962..eac40c5e4 100644 --- a/SQF/dayz_code/Configs/cfgAmmo.hpp +++ b/SQF/dayz_code/Configs/cfgAmmo.hpp @@ -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 { diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml index 70f1e5369..a00400215 100644 --- a/SQF/dayz_code/stringtable.xml +++ b/SQF/dayz_code/stringtable.xml @@ -17621,6 +17621,14 @@ Scharfschützengewehr <br/>Kaliber: .408 Chey Tac Снайперская винтовка <br/>Патрон: .408 Chey Tac + + M200 Chey Tac SD + + + Sniper Rifle <br/>Caliber: .408 Chey Tac SD + Scharfschützengewehr <br/>Kaliber: .408 Chey Tac SD + Снайперская винтовка <br/>Патрон: .408 Chey Tac SD + WA2000 @@ -19136,6 +19144,21 @@ Kaliber: .408 Chey Tac <br/>Naboje: 5 <br/>Używane w: M200 Chey Tac Kaliber: .408 Chey Tac <br/> Töltények: 5 <br/> Hozzá tartozó fegyver: M200 Chey Tac + + 5Rnd. Chey Tac SD mag. + 5п. Chey Tac SD маг. + + + Kaliber: .408 Chey Tac SD <br/>Patronen: 5 <br/>Verwendet in: M200 Chey Tac SD + Caliber: .408 Chey Tac SD <br/>Rounds: 5 <br/>Used in: M200 Chey Tac SD + Calibro: .408 Chey Tac SD <br/>Munizioni: 5 <br/>Si usa in: M200 Chey Tac SD + Calibre: .408 Chey Tac SD <br/>Cargas: 5 <br/>Uso: M200 Chey Tac SD + Calibre: .408 Chey Tac SD <br/>Munitions: 5 <br/>Utilisé avec: M200 Chey Tac SD + Kalibr: .408 Chey Tac SD <br/>Nábojů: 5 <br/>Pro: M200 Chey Tac SD + Патрон: .408 Chey Tac SD <br/>Количество: 5 <br/>Используется в: M200 Chey Tac SD + Kaliber: .408 Chey Tac SD <br/>Naboje: 5 <br/>Używane w: M200 Chey Tac SD + Kaliber: .408 Chey Tac SD <br/> Töltények: 5 <br/> Hozzá tartozó fegyver: M200 Chey Tac SD + 6Rnd. WA2000 mag. 6п. WA2000 маг.