From 9876819da55ed6e83cb25298deff38f9231d9827 Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Sat, 20 Feb 2016 19:15:22 -0500 Subject: [PATCH] Add waves during stormy weather See #974 --- CHANGE LOG 1.0.6.txt | 1 + SQF/dayz_code/config.cpp | 55 ++++++++++++++++++++++++++++++++++++++-- 2 files changed, 54 insertions(+), 2 deletions(-) diff --git a/CHANGE LOG 1.0.6.txt b/CHANGE LOG 1.0.6.txt index 67ba7b18e..d4d9f8555 100644 --- a/CHANGE LOG 1.0.6.txt +++ b/CHANGE LOG 1.0.6.txt @@ -10,6 +10,7 @@ [NEW] Upgraded (_DZE1,2,3,4) ArmoredSUV and Kamaz classes are now available. #1518 #1538 @McKeighan [NEW] Optional news/rules feed on player login from DayZ Mod, set dayz_enableRules in init.sqf #1673 @ebaydayz [NEW] Weapon switch hotkeys (1 = primary, 2 = pistol, 3 = melee) from DayZ Mod #1673 @ebaydayz +[NEW] Added waves effect during stormy weather #974 @FramedYannick @ebaydayz [CHANGED] An infection chance of -1 disables self-transfusion infection. 0 is always infected. (DZE_selfTransfuse_Values) @icomrade [CHANGED] Removed weapons from Traders hands and made them stand with arms by their side. @SilvDev diff --git a/SQF/dayz_code/config.cpp b/SQF/dayz_code/config.cpp index 44c87ac1d..c84ddf3fe 100644 --- a/SQF/dayz_code/config.cpp +++ b/SQF/dayz_code/config.cpp @@ -60,8 +60,59 @@ class CfgMissions class CfgWorlds { - initWorld = "Chernarus"; - demoWorld = "Chernarus"; + initWorld = "Chernarus"; + demoWorld = "Chernarus"; + class DefaultWorld + { + class Weather + { + class Overcast + { + class Weather1; + class Weather2; + class Weather3; + class Weather4; + class Weather5; + }; + }; + }; + class CAWorld: DefaultWorld + { + class Weather: Weather + { + class Overcast: Overcast + { + class Weather1: Weather1 + { + waves = 0.2; + }; + class Weather7: Weather1 + { + waves = 0.2; + }; + class Weather2: Weather2 + { + waves = 0.22; + }; + class Weather3: Weather3 + { + waves = 0.32; + }; + class Weather4: Weather4 + { + waves = 0.52; + }; + class Weather5: Weather5 + { + waves = 0.72; + }; + class Weather6: Weather5 + { + waves = 2.00; + }; + }; + }; + }; }; class CfgAddons