Yo. We need weather!
Now, in order to control this it'd be cool to have an automated climate system. Using a yet-to-be-developed aglorithm we'll decide what kind of weather needs to take place at which position. Thunderstorms over Las Venturas and good weather in San Fierro at the same time, that's kindof cool. In order to achieve this, I think it's a good idea to devide the map of San Andreas in ~36 area's, each about 1000x1000 units in size.
I've requested an additional time parameter for MTA's setWeatherBlended, combined with this aglorithm it would create really cool results. On top of that, we could have weather reports on the website, possible even forecasts (cache 5 weather-states and update once every 3, 4 minutes, that would allow us to give 20 minute forecasts). The problem is, we need an aglorithm. I'll be playing with it myself, if anyone has any idea's or suggestions on how to create a system like this, please post.
Requirements:
- Weather ID 1: Normal good weather
![[Image: 1_thumb.png]](http://bin.sa-mp.nl/3/1_thumb.png)
- Weather ID 2: Kindof dull, normal non-clouded weather
![[Image: 2_thumb.png]](http://bin.sa-mp.nl/3/2_thumb.png)
- Weather ID 3: Bright on the horizon, good weather
![[Image: 3_thumb.png]](http://bin.sa-mp.nl/3/3_thumb.png)
- Weather ID 4: Dull, on the edge of becoming misty
![[Image: 4_thumb.png]](http://bin.sa-mp.nl/3/4_thumb.png)
- Weather ID 5: Blue dull colour, probably for usage at sea. Some clouds on the horizon
![[Image: 5_thumb.png]](http://bin.sa-mp.nl/3/5_thumb.png)
- Weather ID 6: Blue doll colours, also for usage at sea.
![[Image: 6_thumb.png]](http://bin.sa-mp.nl/3/6_thumb.png)
- Weather ID 7: Dutch kind of weather, clouded but not raining
![[Image: 7_thumb.png]](http://bin.sa-mp.nl/3/7_thumb.png)
- Weather ID 8: Rain, quite bad (messes up sound)
![[Image: 8_thumb.png]](http://bin.sa-mp.nl/3/8_thumb.png)
- Weather ID 9: Quite intense fog (fucks up on ATI cards)
![[Image: 9_thumb.png]](http://bin.sa-mp.nl/3/9_thumb.png)
- Weather ID 10: Good weather, default in SA-MP
![[Image: 10_thumb.png]](http://bin.sa-mp.nl/3/10_thumb.png)
- Weather ID 11: Good weather, on the edge of becoming dull
![[Image: 11_thumb.png]](http://bin.sa-mp.nl/3/11_thumb.png)
- Weather ID 12: Clouded but bright, just before clearing up?
![[Image: 12_thumb.png]](http://bin.sa-mp.nl/3/12_thumb.png)
- Weather ID 13: Clear weather
![[Image: 13_thumb.png]](http://bin.sa-mp.nl/3/13_thumb.png)
- Weather ID 14: Clear weather
![[Image: 14_thumb.png]](http://bin.sa-mp.nl/3/14_thumb.png)
- Weather ID 15: Bit.. "down" weather
![[Image: 15_thumb.png]](http://bin.sa-mp.nl/3/15_thumb.png)
- Weather ID 16: Storming, worse than ID 8
![[Image: 16_thumb.png]](http://bin.sa-mp.nl/3/16_thumb.png)
- Weather ID 17: Very hot
![[Image: 17_thumb.png]](http://bin.sa-mp.nl/3/17_thumb.png)
- Weather ID 18: Very hot (preferred over 17, minor differences)
![[Image: 18_thumb.png]](http://bin.sa-mp.nl/3/18_thumb.png)
- Weather ID 19: Sandstorm for in the deserts
![[Image: 19_thumb.png]](http://bin.sa-mp.nl/3/19_thumb.png)
Now, in order to control this it'd be cool to have an automated climate system. Using a yet-to-be-developed aglorithm we'll decide what kind of weather needs to take place at which position. Thunderstorms over Las Venturas and good weather in San Fierro at the same time, that's kindof cool. In order to achieve this, I think it's a good idea to devide the map of San Andreas in ~36 area's, each about 1000x1000 units in size.
I've requested an additional time parameter for MTA's setWeatherBlended, combined with this aglorithm it would create really cool results. On top of that, we could have weather reports on the website, possible even forecasts (cache 5 weather-states and update once every 3, 4 minutes, that would allow us to give 20 minute forecasts). The problem is, we need an aglorithm. I'll be playing with it myself, if anyone has any idea's or suggestions on how to create a system like this, please post.
Requirements:
- Relational weather times: If zone A is totally sunny, there cannot be thunderstorms in zone B.
- Climate definition: Hot weathers need to occur (way) more often than rain.
- Preferably using a matrix (WeatherTypes [zoneX][zoneY] ?)