Sign in to follow this  
Smithyy

Weather Mod

5 posts in this topic

make an override for 'ExileServer_system_weather_thread_weatherSimulation.sqf' like so

Spoiler

/**
 * ExileServer_system_weather_thread_weatherSimulation
 *
 * Exile Mod
 * exile.majormittens.co.uk
 * © 2015 Exile Mod Team
 *
 * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. 
 * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
 */
 
/*private["_interval","_keyframes","_keyframeName","_keyframeConfig"];
_interval = round(getNumber (configFile >> "CfgSettings" >> "Weather" >> "interval") * 60);
_keyframes = getArray (configFile >> "CfgSettings" >> "Weather" >> "keyframes");
_keyframeName = selectRandom _keyframes;
_keyframeConfig = configFile >> "CfgSettings" >> "Weather" >> _keyframeName;
_interval setFog getNumber (_keyframeConfig >> "fogValue"); 
_interval setFog 
[
    getNumber (_keyframeConfig >> "fogValue"),
    getNumber (_keyframeConfig >> "fogDecay"),
    getNumber (_keyframeConfig >> "fogBase")
];
_interval setOvercast (getNumber (_keyframeConfig >> "overcast"));
_interval setWaves (getNumber (_keyframeConfig >> "waves"));
_interval setWindStr (getNumber (_keyframeConfig >> "wind"));
_interval setGusts (getNumber (_keyframeConfig >> "gusts"));
_interval setRain (getNumber (_keyframeConfig >> "rain"));
_interval setLightnings (getNumber (_keyframeConfig >> "lightnings"));
_interval setRainbow (getNumber (_keyframeConfig >> "rainbows"));*/
true

 

Share this post


Link to post
Share on other sites
Advertisement

So I have the exact opposite problem.  I have a set of tailored weather keyframes I use on all my servers.  I recently put up a Chernarus Redux server using these files:  

 My keyframes work perfectly on all my other servers.   Redux forces the weather to permanently be very heavily overcast, almost to the point of being dark.  I have not been able to figure out where in the mission files they're overriding my keyframes.  I've gone through all the files I can think of without de-PBOing the mod itself.   I'v even zeroed out all the weather parameters in mission.sqm.  I even looked for the file you suggest but it's not in the overrides.  I tried to unbin the .bin files in the PBOs but for some reason it fails.   I get "not a valid raP file".   I've also tried copying the vanilla weather file and adding it to my overrides hoping that it would override the overrides.  No luck.     Any thoughts?

Share this post


Link to post
Share on other sites
On 2/5/2018 at 11:13 AM, dekela said:

make an override for 'ExileServer_system_weather_thread_weatherSimulation.sqf' like so

  Reveal hidden contents

/**
 * ExileServer_system_weather_thread_weatherSimulation
 *
 * Exile Mod
 * exile.majormittens.co.uk
 * © 2015 Exile Mod Team
 *
 * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. 
 * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
 */
 
/*private["_interval","_keyframes","_keyframeName","_keyframeConfig"];
_interval = round(getNumber (configFile >> "CfgSettings" >> "Weather" >> "interval") * 60);
_keyframes = getArray (configFile >> "CfgSettings" >> "Weather" >> "keyframes");
_keyframeName = selectRandom _keyframes;
_keyframeConfig = configFile >> "CfgSettings" >> "Weather" >> _keyframeName;
_interval setFog getNumber (_keyframeConfig >> "fogValue"); 
_interval setFog 
[
    getNumber (_keyframeConfig >> "fogValue"),
    getNumber (_keyframeConfig >> "fogDecay"),
    getNumber (_keyframeConfig >> "fogBase")
];
_interval setOvercast (getNumber (_keyframeConfig >> "overcast"));
_interval setWaves (getNumber (_keyframeConfig >> "waves"));
_interval setWindStr (getNumber (_keyframeConfig >> "wind"));
_interval setGusts (getNumber (_keyframeConfig >> "gusts"));
_interval setRain (getNumber (_keyframeConfig >> "rain"));
_interval setLightnings (getNumber (_keyframeConfig >> "lightnings"));
_interval setRainbow (getNumber (_keyframeConfig >> "rainbows"));*/
true

Yeah this didn't work unfortunately , in spectator the weather mod shows but in game itself as a player it doesn't so no hope :(

 

Share this post


Link to post
Share on other sites

that overwrite will indeed remove all exile induced weather, its what i use so i can run a 3rd party weather script. are you sure you have installed the mod correctly?

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.