Arma 3 Scripting

setSimulWeatherLayers

  • Arma 3 v1.00

Command · Markdown · JSON · original wiki page

Description

Sets number of simul weather layers, affects quality of simul weather clouds.

Syntax

setSimulWeatherLayers layers

Parameters:

Returns: Nothing

Examples

Example 1

setSimulWeatherLayers 0; // Very flat clouds

Problems

Prior to Arma 3 v2.20 the effect of this command seems to be persistent across the game instance, e.g. restarting a mission will not reset it.

See also

simulCloudDensity · simulCloudOcclusion · simulInClouds

Community notes

Sa-Matra

You can revert clouds back to volumetric ones by executing this script:

private _display_menu = findDisplay 46 createDisplay "RscDisplayInterrupt"; // ESC menu
ctrlActivate (_display_menu displayCtrl 301); // Pressing "Video" button
ctrlActivate (findDisplay 5 displayCtrl 2); // Pressing "Cancel" in Video menu
_display_menu closeDisplay 2; // Closing ESC menu

Pressing "Cancel" button in Video menu makes engine re-init the clouds, reverting results of this command. Make sure its in unscheduled environment, otherwise players might see flashing menu and you'll have a serialization error message.