diff --git a/CHANGE LOG 1.0.6.2.txt b/CHANGE LOG 1.0.6.2.txt index 051cebdf0..77e7f16ee 100644 --- a/CHANGE LOG 1.0.6.2.txt +++ b/CHANGE LOG 1.0.6.2.txt @@ -2,6 +2,7 @@ [NEW] Added DZE_limitPlots so admins can limit plot poles to 1 per UID, disabled by default. @oiad [NEW] Pumpkin, sunflower, and hemp plants spawned with createVehicle can be harvested with a knife now. #1928 @F507DMT [NEW] The journal and dayz_survived variable now contain actual play time [array] instead of days since the character was created [number]. +[NEW] Added secondary iron sight to CZ550 and bolt animations to CZ550 and LeeEnfield by @Streatman [UPDATED] Zombie pathing. Zeds should now run more direct to players. [UPDATED] The RIS attachment can be removed from the SA58_RIS_DZ now. @LunaCB diff --git a/SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp b/SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp index 54f010e4b..c0875177d 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/CfgWeapons.hpp @@ -78,7 +78,13 @@ class CfgWeapons class M14_EP1; #include "Rifles\M14.hpp" - class M24; + class M24 : Rifle + { + class OpticsModes + { + class StepScope; + }; + }; #include "Rifles\M24.hpp" class M40A3; @@ -141,7 +147,7 @@ class CfgWeapons class bizon_silenced; #include "Rifles\Bizon.hpp" - class huntingrifle; + class huntingrifle : M24 {}; #include "Rifles\CZ550.hpp" class LeeEnfield; diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/CZ550.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/CZ550.hpp index 4d1e94b01..faf1d4160 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Rifles/CZ550.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/CZ550.hpp @@ -1,4 +1,31 @@ class CZ550_DZ : Huntingrifle { + model = "z\addons\dayz_communityweapons\CZ550\CZ550.p3d"; magazines[] = {5Rnd_17HMR}; + + //CZ550_SCOPE + optics = true; + modelOptics = "\ca\weapons\2Dscope_Hunter_12"; + + class OpticsModes : OpticsModes + { + class StepScope : StepScope {}; + class Ironsights + { + opticsID = 2; + useModelOptics = false; + opticsFlare = false; + opticsDisablePeripherialVision = false; + opticsZoomMin = 0.25; + opticsZoomMax = 1.1; + opticsZoomInit = 0.5; + distanceZoomMin = 100; + distanceZoomMax = 100; + memoryPointCamera = "eye"; + visionMode[] = {}; + opticsPPEffects[] = {}; + cameraDir = ""; + }; + }; + //CZ550_SCOPE end }; \ No newline at end of file diff --git a/SQF/dayz_code/Configs/CfgWeapons/Rifles/LeeEnfield.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/LeeEnfield.hpp index 464a6a9db..2476cdb0b 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Rifles/LeeEnfield.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/LeeEnfield.hpp @@ -1,4 +1,5 @@ class LeeEnfield_DZ : LeeEnfield { + model = "z\addons\dayz_communityweapons\LeeEnfield\LeeEnfield.p3d"; magazines[] = {10Rnd_303British}; }; \ No newline at end of file