View Single Post
Old 11-25-10, 07:02 AM   #614
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


Default

@Stiebler:

My assuption after inspecting a little bit the weather code is as follows:

the weather change speed parameters in scene.dat determine only the speed a certain aspect of the weather (rain, clouds, windspeed) changes after a new weather has been calculated, that means, after a weather change period has ended.

AFAIK and as far as I have seen in the debugger, the weather change period is the same for all aspects (windspeed, rain, fog). after such a period (about 20-40hours) a new weather is calculated and the current weather then fits to that new weather - according to the change speed values in scene.dat. Rain fits immediately, wind slowly to the new calculated weather, according to their individual parameters and then keeps constant - until new weather is calculated.

but the starting time for these changes is the same and determined by the weather change period.

Until now I thought that all other weather parameters in scene.dat and campaign files have been optimized during a 5 years process of modding work and so will stay constant now. But when we start to change these parameters also, this could become a never ending story, and, to be honest, I fear I'll lose orientation what to do next.

By the way: It would be easy to force a windspeed=0 after 50 time steps, but I recommend to randomize that number, lets say 40-60 time steps ....

OR (easier) I could force windspeed=0 EVERY time step by a certain chance, say, 5%.

h.sie
__________________
My Mediafire page: http://www.mediafire.com/hsie

Last edited by h.sie; 11-25-10 at 07:22 AM.
h.sie is offline   Reply With Quote