I am now off work until next year, lot's of holiday to use. So I have decided to create one whole module of the game.
This is the high level weather system.
I want you guys to get involved with the design, yell at me if you hate it, let me know if you like it.
The high level design is this.
1. Add local maxima : minima Either randomly, or manually at the mission design stage, add some high pressure zones and low pressure zones.
2. Join local minima Join the low pressure zones with lines, these will represent the warm/cold weather fronts.
3. Iterate along the lines Walk along the lines using the local high pressure zones as control points. Take the influence of all high pressure zones as a force to move the point.
4. Add occluded front Draw a line at 90 degrees from the start segment of the above generated line
5. Apply Coriolis effect Adjust the line based on the distance from the start. Modify slightly based on high pressure systems
We now have a fairly good approximation of a real world weather system which we can use to generate local weather conditions.
6. Move local maxima : minima Weather doesn't stay constant and in a normal mission the weather has plenty of time to change. So let's enable that. Apply velocities to local maxima and minima and regenerate.
So that's my design.
Feedback please