setSimulWeatherLayers: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
Lou Montana (talk | contribs) m (Text replacement - "user= samatra" to "user= Sa-Matra") |
||
(2 intermediate revisions by one other user not shown) | |||
Line 19: | Line 19: | ||
|seealso= [[simulCloudDensity]] [[simulCloudOcclusion]] [[simulInClouds]] | |seealso= [[simulCloudDensity]] [[simulCloudOcclusion]] [[simulInClouds]] | ||
}} | |||
{{Note | |||
|user= Sa-Matra | |||
|timestamp= 20220801120941 | |||
|text= You can revert clouds back to volumetric ones by executing this script: | |||
<sqf> | |||
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 | |||
</sqf> | |||
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. | |||
}} | }} |
Latest revision as of 19:10, 16 December 2024
Description
- Description:
- Sets number of simul weather layers, affects quality of simul weather clouds.
- Problems:
- The effect of this command seems to be persistent across the game instance, e.g. restarting a mission will not reset it.
- Groups:
- Environment
Syntax
- Syntax:
- setSimulWeatherLayers layers
- Parameters:
- layers: Number
- Return Value:
- Nothing
Examples
- Example 1:
- setSimulWeatherLayers 0; // Very flat clouds
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
- Posted on Aug 01, 2022 - 12:09 (UTC)
-
You can revert clouds back to volumetric ones by executing this script:
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.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