|
Tiberian Technologies Scripts Reference Revision: 9000
|
Weather Randomizer. More...
#include <dp88_misc.h>
This script can be used to create randomised weather conditions on a map which change periodically during the game. The range of weather conditions that are applied can be controlled via the script parameters to ensure inappropriate types of weather are not used (such as snow in the desert).
You should only have one instance of this script active at any given time, generally it should be attached to a map controller object such as a Daves Arrow preset.
| update_interval_min | The minimum time, in seconds, between weather update checks. Note that unless probability_change is set to 100 an update check does not necessarily cause new weather conditions to occur |
| update_interval_max | The maximum time, in seconds, between weather update checks. Note that unless probability_change is set to 100 an update check does not necessarily cause new weather conditions to occur |
| probability_change | The percentage probability that new weather conditions will be generated when an update check occurs |
| fog_start_distance_min | The minimum starting fog distance that can be applied |
| fog_start_distance_max | The maximum starting fog distance that can be applied |
| fog_end_distance_min | The minimum end of fog distance that can be applied |
| fog_end_distance_max | The maximum end of fog distance that can be applied |
| precipitation_probability_snow | The percentage probability of snow occuring |
| precipitation_probability_rain | The percentage probability of rain occuring |
| precipitation_probability_volcanic_ash | The percentage probability of volcanic ash occuring |
| precipitation_density_min | The minimum precipitation density that can be applied |
| precipitation_density_max | The maximum precipitation density that can be applied |
| lighting_probability_normal | The percentage probability of normal lightning occuring |
| lighting_probability_war_blitz | The percentage probability of a war blitz occuring |
| lighting_intensity_min | The minimum intensity of lightning that can be applied |
| lighting_intensity_max | The maximum intensity of lightning that can be applied |
| lighting_start_distance_min | The minimum starting distance for lightning that can be applied |
| lighting_start_distance_max | The maximum starting distance for lightning that can be applied |
| lighting_end_distance_min | The minimum end distance for lightning that can be applied |
| lighting_end_distance_max | The maximum end distance for lightning that can be applied |
| lighting_heading_min | The minimum lightning heading that can be applied |
| lighting_heading_max | The maximum lightning heading that can be applied |
| lighting_distribution_min | The minimum lightning distribution that can be applied |
| lighting_distribution_max | The maximum lightning distribution that can be applied |
| wind_heading_min | The minimum wind heading that can be applied |
| wind_heading_max | The maximum wind heading that can be applied |
| wind_speed_min | The minimum wind speed that can be applied |
| wind_speed_max | The maximum wind speed that can be applied |
| wind_variability_min | The minimum wind speed variability that can be applied |
| wind_variability_max | The maximum wind speed variability that can be applied |