Rainy (r1028)
#7
(06-05-2012, 04:43 PM)xoft Wrote: I think the weather should be reworked into a simple system:
1, The weather starts at sunny
2, A random interval is chosen for which the weather stays the same. Interval length is proportionate to weather type (sunny has the longest interval, rainy medium short and thunderstorm short)
3, After the interval has elapsed, choose a new weather and interval.
This would even be less stressful for the server, since it won't have to check a random value every tick Smile

What you are proposing sounds like a great idea.
I had a look at the craftbukkit source code, and it seems that they're basically doing that.

Maybe we should model the durations after them?
Reply
Thanks given by:


Messages In This Thread
Rainy (r1028) - by Taugeshtu - 06-05-2012, 06:07 AM
RE: Rainy - by NiLSPACE - 06-05-2012, 06:25 AM
RE: Rainy - by cedeel - 06-05-2012, 08:01 AM
RE: Rainy - by xoft - 06-05-2012, 04:43 PM
RE: Rainy - by cedeel - 06-08-2012, 09:04 AM
RE: Rainy - by NiLSPACE - 06-05-2012, 11:38 PM
RE: Rainy - by distroyed123 - 06-06-2012, 11:12 PM
RE: Rainy - by xoft - 06-08-2012, 04:48 PM
RE: Rainy (rev. 787 compatible) - by Taugeshtu - 08-25-2012, 03:19 AM
RE: Rainy (rev. 787 compatible) - by NiLSPACE - 02-09-2013, 11:23 PM
RE: Rainy (r1028) - by Taugeshtu - 02-12-2013, 12:33 AM



Users browsing this thread: 1 Guest(s)