Rain m (Water Overlay): Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 11: Line 11:
When only one value is provided, it will be internally converted to a rain array.  
When only one value is provided, it will be internally converted to a rain array.  


For example: when an area has a rain attribute defined with a value of 0.040 (m), and the total simulation time defined by the [[weather]] is 10 hours, it is converted to the array: 36000 0.040. This means that a total of 0.04 m (40 mm) of rain will fall, evenly spread over 36000 seconds (10 hours).
For example: when an area has a rain attribute defined with a value of 0.040 (m), and the total simulation time defined by the [[weather]] is 10 hours, it is internally converted to the array: 36000 0.040. This means that a total of 0.04 m (40 mm) of rain will fall, evenly spread over 36000 seconds (10 hours).


When you want the rain to fall in a shorter time period, for example the first hour, you would have to write: 3600 0.04  
When you want the rain to fall in a shorter time period, for example the first hour, you would have to write: 3600 0.04  

Revision as of 16:24, 30 November 2023

Single rain value to Rain Array

When only one value is provided, it will be internally converted to a rain array.

For example: when an area has a rain attribute defined with a value of 0.040 (m), and the total simulation time defined by the weather is 10 hours, it is internally converted to the array: 36000 0.040. This means that a total of 0.04 m (40 mm) of rain will fall, evenly spread over 36000 seconds (10 hours).

When you want the rain to fall in a shorter time period, for example the first hour, you would have to write: 3600 0.04 Also note that you can delay the rain , with for example 1200 0 3600 0.04, where the first 20 minutes no rain will fall and in the 40 minutes after it, 40 mm will fall.

Notes

See also