Jump to content
  • 0

Weather System


tinboye

Question

I remember reading somewhere that if you changed the dynamic weather in the epochconfig.hpp that it breaks things. is this still true?

or can i change 

WeatherChangeTime = 1200; // This controls how fast the weather changes as well as how fast shipping containers and earthquakes happen.
WeatherStaticForecast[] = {}; // Default: {75.5,0,{0,0,0},0,{1,1}}; // Clear day; {19,1,{1,1,40},1,{5,5}}; // Cold Foggy Rainy Overcast Windy; Format: {temp <scalar>,rain <scalar>,fog <array>,overcast <scalar>,wind <array>}

I want to remove rain completely. but want some fog once in awhile.

 

WeatherStaticForecast[] = {{19,0,{1,1,40},0,{5,5}};

this should make it temp of 19, no rain, fog, no overcast, wind

if i understand correct?

i would like weather to be dynamic, but no rain at all.

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0

I remember reading somewhere that if you changed the dynamic weather in the epochconfig.hpp that it breaks things. is this still true?

or can i change 

WeatherChangeTime = 1200; // This controls how fast the weather changes as well as how fast shipping containers and earthquakes happen.
WeatherStaticForecast[] = {}; // Default: {75.5,0,{0,0,0},0,{1,1}}; // Clear day; {19,1,{1,1,40},1,{5,5}}; // Cold Foggy Rainy Overcast Windy; Format: {temp <scalar>,rain <scalar>,fog <array>,overcast <scalar>,wind <array>}

I want to remove rain completely. but want some fog once in awhile.

 

WeatherStaticForecast[] = {{19,0,{1,1,40},0,{5,5}};

this should make it temp of 19, no rain, fog, no overcast, wind

if i understand correct?

i would like weather to be dynamic, but no rain at all.

it seems to me like you have an extra { in the beginning of the array.

other than that you seems to be right, however the temperature is in Fahrenheit not Celsius, so you might want a higher temp if you expect the sun to be shining.

WeatherStaticForecast[] = {75.5,0.4,{0,0,0},0,{1,1}};

Still rains like crazy on weather change. 

switch off the wheater change event in epochconfig.hpp:

events[] = {
    { 3600, "CarnivalSpawner" }, // SECOND <scalar>, EVENT <string>
    { 2400, "EarthQuake" },
    { 1800, "ChangeWeather" },
    { 1200, "ContainerSpawner" },
    { 300, "PlantSpawner" } //No comma on last Entry
};

3 possible ways to fix constant wheater:

  1. add two forward slashes like this // infront of the event
  2. delete the line
  3. change the 1800 to an amount higher than what your restart timer is.

 

Link to comment
Share on other sites

  • 0

Thanks :) I'll give this a shot.  Quick question though, if I'm trying to set it up so there is no rain, but there are still clouds (cloudless sky just looks kind of unrealistic to me) which is the correct format? This...

{75.5,0,{0,0,0},0.5,{1,1}};

Or this...

{75.5,0.5,{0,0,0},0,{1,1}};

I've seen it posted both ways on various forums, just want to confirm where that "0.5" is meant to go.  Thanks again!

UPDATE: I tried commenting out the weather change, tried deleting it, tried changing the timer - Still raining. (sad face.) Starts about 5 mins after the server restarts, which even if I hadn't changed anything, would still be way less than the timer is set for. Seems to just completely ignore whatever is in that config file lol.

2015-09-10_00001.thumb.jpg.7b714b519f297

Is super fun to try and fly through this xD

Edited by blue00
Link to comment
Share on other sites

  • 0

from my understanding

the 0,{5,5}};

zero part of this array is the clouds or overcast function.

 {temp <scalar>,rain <scalar>,fog <array>,overcast <scalar>,wind <array>}

so you would want to change that from a 0 to something else and play with that, to add clouds.

Edited by tinboye
Link to comment
Share on other sites

  • 0

i turned off the rain on my server

WeatherStaticForecast[] = {75.5,0,{0,1,0},0,{1,1}};
events[] = {
    { 3600, "CarnivalSpawner" }, // SECOND <scalar>, EVENT <string>
    { 2400, "EarthQuake" },
//    { 1800, "ChangeWeather" },
    { 1200, "ContainerSpawner" },
    { 300, "PlantSpawner" } //No comma on last Entry
};

which makes it a clear day

Format: {temp <scalar>,rain <scalar>,fog <array>,overcast <scalar>,wind <array>}

{19,1,{1,1,40},1,{5,5}}; // Cold Foggy Rainy Overcast Windy;

so if you make it something like:

{37,0,{1,1,5},1,{1,0}};

you would have to play around with these fields.

 

Link to comment
Share on other sites

  • 0

 

i turned off the rain on my server

WeatherStaticForecast[] = {75.5,0,{0,1,0},0,{1,1}};
events[] = {
    { 3600, "CarnivalSpawner" }, // SECOND <scalar>, EVENT <string>
    { 2400, "EarthQuake" },
//    { 1800, "ChangeWeather" },
    { 1200, "ContainerSpawner" },
    { 300, "PlantSpawner" } //No comma on last Entry
};

Tried commenting out the "Change Weather"...

// Events
// WeatherChangeTime = 1200;							
WeatherStaticForecast[] = {75.5,0,{0,0,0},0.5,{1,1}};

events[] = {
	{ 3600, "CarnivalSpawner" },
	{ 2400, "EarthQuake" },
//	{ 1800, "ChangeWeather" },
	{ 1200, "ContainerSpawner" },
	{ 300, "PlantSpawner" }
};

Still not working :( shortly after restart it starts pouring again. IT'S MAKING ME CRAZY. HOW DO I STOP THIS RAIN. lol.

Link to comment
Share on other sites

  • 0

don't comment out 

// WeatherChangeTime = 1200;

this time is also tied into the other events like earthquake, carnivalespawner etc.

the settings i used above and did not have any rain, but i did not try restarting the server to see if it started raining.

Un-commented the WeatherChangeTime and still no luck :( still starts raining about 20mins in after restart. 

Link to comment
Share on other sites

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
  • Discord

×
×
  • Create New...