Talos docs

SceneWeather

Since next

How hard it is raining and how wet that has left the ground, for a vehicle's tyres: the wetness follows the rain over wetTime and dryTime (docs/VEHICLES.md, Surfaces and weather).

Plain text

Fields

FieldTypeRequiredDefaultAllowed valuesDescription
rainnumberno0Rain intensity now, 0 (none) to 1 (a downpour). Default 0.
wetnessnumbernoHow wet the ground is at load, 0 (dry) to 1 (soaked). Default: equal to rain, the ground already as wet as the rain makes it. From then on it follows the rain.
wetTimenumberno60Seconds, above 0, for the ground to wet toward the rain's level (a first-order lag). Default 60.
dryTimenumberno600Seconds, above 0, for the ground to dry once the rain eases. Default 600.