Sign in to follow this  
Followers 0
MudBone

Override random weather at specific times for full moon / clear nights

2 posts in this topic

I'd like to override the Exile random weather script and force clear skies between 10pm and 4 am on Namalsk. Any idea how? 

Something like: If time = or greater than 22 and  then weather =__________.

I have no idea where this would  need to be added or exactly how to script it. I just want clear full moon nights that dont require nvgs on Namalsk.

Share this post


Link to post
Share on other sites

check http://www.exilemod.com/topic/1266-day-timenight-time/?page=1

for the time and in ExileServer\addons\exile_server_config the config.cpp is some stuff about the weather

Spoiler

    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"};

        /*
            This is a keyframe. Look up the BIKI to get more details about the parameters

            Be sure to design the fog settings at a view distance of 1,600m as this is the
            limit in multiplayer by default

           https://community.bistudio.com/wiki/fogParams
           https://community.bistudio.com/wiki/overcast
           https://community.bistudio.com/wiki/setWaves
           https://community.bistudio.com/wiki/setWindStr
           https://community.bistudio.com/wiki/setGusts
           https://community.bistudio.com/wiki/setRain
           https://community.bistudio.com/wiki/setLightnings
           https://community.bistudio.com/wiki/setRainbow
        */
        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;
        };

 

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  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.