From 83eb130fd2b0a0377cfc011c915d3b81fe549991 Mon Sep 17 00:00:00 2001 From: icomrade Date: Tue, 19 Sep 2017 12:27:33 -0400 Subject: [PATCH] add BAF_L85A2_RIS_TWS_DZ #1983 --- CHANGE LOG 1.0.6.2.txt | 1 + SQF/dayz_code/Configs/CfgWeapons/Rifles/L85.hpp | 11 +++++++++++ .../R3F_Realism/R3F_Weight/Weapons/Rifles.hpp | 4 ++++ 3 files changed, 16 insertions(+) diff --git a/CHANGE LOG 1.0.6.2.txt b/CHANGE LOG 1.0.6.2.txt index d0df20a34..682076475 100644 --- a/CHANGE LOG 1.0.6.2.txt +++ b/CHANGE LOG 1.0.6.2.txt @@ -6,6 +6,7 @@ [NEW] Added some basic compatibility for falconsan's Ruegen map (beta version released February 2016) [NEW] Admins can now define what parts are returned from modular building parts, see configVariables.sqf/DZE_modularConfig @oiad @BigEgg [NEW] Basic server-side authentication for server_deleteObj, server owners and script makers should review the changes if using PVDZ_obj_Destroy/server_deleteObj and verify custom/redefined code is compliant with these changes https://github.com/EpochModTeam/DayZ-Epoch/commit/8035df0ba0cd928b84085e288c5cb88260870a3e +[NEW] BAF_L85A2_RIS_TWS_DZ to emulate the old behavior of the now NV only BAF_L85A2_RIS_CWS. Server owners must add the weapon on their own #1983 [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/Rifles/L85.hpp b/SQF/dayz_code/Configs/CfgWeapons/Rifles/L85.hpp index 0c6cf8fed..d74626d90 100644 --- a/SQF/dayz_code/Configs/CfgWeapons/Rifles/L85.hpp +++ b/SQF/dayz_code/Configs/CfgWeapons/Rifles/L85.hpp @@ -7,4 +7,15 @@ class L85_Holo_DZ : BAF_L85A2_RIS_Holo 30Rnd_556x45_StanagSD }; */ +}; +class BAF_L85A2_RIS_CWS; +class BAF_L85A2_RIS_TWS_DZ : BAF_L85A2_RIS_CWS +{ + visionMode[] = {"Normal","NVG","Ti"}; + thermalMode[] = {6}; + discretefov[] = {0.0755,0.0249}; + discreteInitIndex = 0; + discreteDistance[] = {100,200,300,400,500,600,700,800}; + discreteDistanceInitIndex = 2; + displayName = "L85A2 TWS"; }; \ No newline at end of file diff --git a/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Weapons/Rifles.hpp b/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Weapons/Rifles.hpp index 7ab1ba806..0ee62545d 100644 --- a/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Weapons/Rifles.hpp +++ b/SQF/dayz_code/external/R3F_Realism/R3F_Weight/Weapons/Rifles.hpp @@ -183,6 +183,10 @@ class BAF_L85A2_RIS_CWS { weight = 5.2; }; +class BAF_L85A2_RIS_TWS_DZ +{ + weight = 5.2; +}; class FN_FAL { weight = 4.5;