Update weather - DOS script

If you are a mission maker, maybe you will be interested in this...
Here you have a script to append weather settings to missions.
I hate mission editor removes my weather settings (see WindConfig mod).
To avoid this, write mission weather in extra files in each mission...

Burma.mis
Burma.properties
Burma.weather   <--
Saipan.mis
Saipan.properties
...             <-- (no weather for Saipan)

Burma.weather:

[Weather]
  WindVelocity 12
  WindDirection 180
  WindTop 1800
  WindTurbulence  4
  WindGust 5

Backup your mission files.
Copy "UpdateWeatherV1.bat" into your mission folder.
Double click at UpdateWeatherV1.bat and you will get all mission files updated.
All .weather files will be appended to .mis files...



One tip ...

Create a new file in your mission folder: Default.weather
Write in some like that...

[Weather]
  WindVelocity 10
  WindDirection 45
  WindTop 1800
  WindTurbulence  4
  WindGust 5

...and double click at "UpdateWeatherV1.bat". 
Saipan mission will be updated using default weather.



One tip more

Create a new mission Singapore.mis as usual.
Create an empty Singapore.weather.
Execute "UpdateWeatherV1.bat". 
No default weather will be applied to Singapore.mis.
No specific weather will be applied to Singapore.mis.

( Win XP SP3 )

