Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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"};
- /*
- 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;
- };
- 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;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment