xDaVIRUS

Weather Question

8 posts in this topic

Trying to figure out why weather will only be sunny. what would be causing this? I have cloudy. sunny. thunderstorm on exileserver but it doesnt want to cycle through it always wants to just be sunny all the time.. Anyone got anything for me?

 

    class Weather
    {
        /*
            You can define multiple "keyframes" for the weather to change. The server will pick
            a keyframe randomly to simulate the weather. It will change the weather-keyframes
            based on the following interval
        */
        interval = 30;

        /*
            Add the keyframes here. The server will pick one random, so if you want one 
            weather type of be more dominant compared to others, add it multiple times
        */
        //keyframes[] = {"Sunny", "Cloudy", "Thunderstorm"}; 
        keyframes[] = {"Sunny", "Cloudy", "Thunderstorm"}; 

 

16:01:07 "ExileServer - Job with handle 10000 added."
16:01:07 "ExileServer - Job with handle 10001 added."
16:01:07 "ExileServer - Job with handle 10002 added."
16:01:07 "ExileServer - Job with handle 10003 added."
16:01:07 Weather was forced to change
16:01:07 "ExileServer - Job with handle 10004 added."
16:01:07 "ExileServer - Job with handle 10005 added."

Edited by xDaVIRUS

Share this post


Link to post
Share on other sites

I can't see much wrong there, do your weather classes look like this:

        class Sunny
        {
            fogValue = 0.1;
            fogDecay = 0.2;
            fogBase = 5;
            overcast = 0.2;
            waves = 0.2;
            wind = 0.25;
            gusts = 0.1;
            rain = 0;
            lightnings = 0;
            rainbows = 0;
        };

        class Cloudy
        {
            fogValue = 0.2;
            fogDecay = 0.1;
            fogBase = 5;
            overcast = 0.4;
            waves = 0.4;
            wind = 0.25;
            gusts = 0.5;
            rain = 0.1;
            lightnings = 0.1;
            rainbows = 1;
        };

        class Thunderstorm
        {
            fogValue = 0.7;
            fogDecay = 0.2;
            fogBase = 5;
            overcast = 1;
            waves = 1;
            wind = 0.25;
            gusts = 0.5;
            rain = 1;
            lightnings = 1;
            rainbows = 0.5;
        };
    };

 

Share this post


Link to post
Share on other sites
Advertisement

I found that the weather, whilst random, rarely picks Sunny if other options are there. I ended up setting 8 different Sunny options (Sunny1, Sunny2, Sunny3..) and then the 1 cloudy and 1 stormy. Now it works much better, picking Sunny most of the time and occasionally getting cloudy or stormy.

Share this post


Link to post
Share on other sites

@Crazy Mike 

Thanks for all your input, however for some reason, I have rain completely turned off, because it was overtaking the entire server, all it did was rain, i have absolutely NO rain, however it still rains, Any ideas where that would be coming from?

Share this post


Link to post
Share on other sites

Mine was cloudy all the time, raining all the time, using the {"Sunny", "Sunny1", "Sunny1", "SunnyOvercast2", "Cloudy", "Thunderstorm"}

I will have to try something else, it is almost like it is being defaulted into a rain loop somewhere.

 

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

  • Recently Browsing   0 members

    No registered users viewing this page.