getVideoOptions: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Add comment)
 
(4 intermediate revisions by 2 users not shown)
Line 18: Line 18:
[
[
["aspectRatioName", "Auto (Stretch)"],
["aspectRatioName", "Auto (Stretch)"],
["brightness", 1],
["brightness", 1.1],
["cloudQualityName", "VeryLow"],
["cloudQualityName", "VeryHigh"],
["displayModeName", "Window"],
["displayModeName", "FullScreenWindow"],
["dynLightsCount", 4],
["dynLightsCount", 32],
["dynLightsQualityName", "VeryLow"],
["dynLightsQualityName", "VeryHigh"],
["gamma", 1],
["gamma", 1],
["guiScale", 0.55],
["guiScale", 0.7],
["guiScaleName", "Small"],
["guiScaleName", "Normal"],
["hdrQuality", 16],
["hdrQuality", 16],
["hdrQualityName", "Normal"],
["hdrQualityName", "Normal"],
["monitorResolution", [0, 0, 2304, 1440]], // presence not guaranteed
["monitorResolution", [0, 0, 2304, 1440]], // presence not guaranteed
["objQualityName", "VeryLow"],
["objectVisibility", 6000],
["ppHazeQualityName","Low"],
["objQualityName", "VeryHigh"],
["overrideHazeQuality","-1"]
["overallPresetName", "Custom"],
["objectVisibility", 800],
["overallVisibility", 8000],
["overallPresetName", "VeryLow"],
["overrideHazeQuality", -1],
["overallVisibility", 1000],
["particleQualityName", "High"],
["particleQualityName", "Low"],
["pipQuality", 2048],
["pipQuality", 512],
["pipQualityName", "VeryHigh"],
["pipQualityName", "VeryLow"],
["pipVisibility", 3000],
["pipVisibility", 835],
["ppBloom", 1],
["ppBloom", 0],
["ppBrightness", 1],
["ppBrightness", 1],
["ppCausticsQualityName", "Disabled"],
["ppCausticsQualityName","Enabled"], // fixed in 2.18
["ppColorPresetName", "Default"],
["anisotropicFiltering","VeryHigh"], // fixed in 2.18
["atocQuality","All"], // fixed in 2.18
["ppColorPresetName", "Custom"],
["ppContrast", 1],
["ppContrast", 1],
["ppDOF", 0],
["ppDOF", 1],
["ppFSAA", 1]
["ppFSAA", 1],
["ppPPAAQualityName", "Disabled"],
["ppHazeQualityName", "Standard"],
["ppRadialBlur", 0],
["ppPPAAQualityName", "CMAANormal"],
["ppRotationBlur", 0],
["ppRadialBlur", 1],
["ppSSAOQualityName", "Disabled"],
["ppRotationBlur", 1],
["ppSaturation", 1],
["ppSaturation", 1.25],
["ppSharpenFilter", 0],
["ppSharpenFilter", 0.75],
["ppSSAOQualityName", ""],
["refreshRate", 60],
["refreshRate", 60],
["samplingPercentage", 100],
["samplingPercentage", 100],
["shadowQualityName", "Low"],
["shadowQualityName", "VeryHigh"],
["shadowVisibility", 100],
["shadowVisibility", 200],
["terrainQuality", 25],
["terrainQuality", 3.125],
["terrainQualityName", "Low"],
["terrainQualityName", "VeryHigh"],
["texQualityName", "VeryLow"],
["texQualityName", "VeryHigh"],
["vramInfo", ["5.8 GiB", "7.9 GiB", "0 B", "231 MiB", "5.5 GiB"]], // presence not guaranteed
["vramInfo", ["5.9 GiB", "16 GiB", "0 B", "978 MiB", "5.6 GiB"]], // presence not guaranteed
["vsync", false],
["vsync", true],
["waterReflectionQualityName", "Disabled"]
["waterReflectionQualityName", "High"]
];
]
*/
*/
</sqf>
</sqf>


|seealso= [[getResolution]] [[getAudioOptionVolumes]] [[getSubtitleOptions]]
|seealso= [[getResolution]] [[getAudioOptionVolumes]] [[getSubtitleOptions]] [[getMissionOptions]]
}}
}}

Latest revision as of 00:37, 20 October 2024

Hover & click on the images for description

Description

Description:
Obtain the current system's video settings.
Groups:
System

Syntax

Syntax:
getVideoOptions
Return Value:
HashMap - all video settings, the key is always a String, the value can be a String, Number, Boolean or Array (see Example 1).
vramInfo and monitorResolution keys presence is not guaranteed.

Examples

Example 1:
private _videoOptions = getVideoOptions; /* [ ["aspectRatioName", "Auto (Stretch)"], ["brightness", 1.1], ["cloudQualityName", "VeryHigh"], ["displayModeName", "FullScreenWindow"], ["dynLightsCount", 32], ["dynLightsQualityName", "VeryHigh"], ["gamma", 1], ["guiScale", 0.7], ["guiScaleName", "Normal"], ["hdrQuality", 16], ["hdrQualityName", "Normal"], ["monitorResolution", [0, 0, 2304, 1440]], // presence not guaranteed ["objectVisibility", 6000], ["objQualityName", "VeryHigh"], ["overallPresetName", "Custom"], ["overallVisibility", 8000], ["overrideHazeQuality", -1], ["particleQualityName", "High"], ["pipQuality", 2048], ["pipQualityName", "VeryHigh"], ["pipVisibility", 3000], ["ppBloom", 1], ["ppBrightness", 1], ["ppCausticsQualityName","Enabled"], // fixed in 2.18 ["anisotropicFiltering","VeryHigh"], // fixed in 2.18 ["atocQuality","All"], // fixed in 2.18 ["ppColorPresetName", "Custom"], ["ppContrast", 1], ["ppDOF", 1], ["ppFSAA", 1], ["ppHazeQualityName", "Standard"], ["ppPPAAQualityName", "CMAANormal"], ["ppRadialBlur", 1], ["ppRotationBlur", 1], ["ppSaturation", 1.25], ["ppSharpenFilter", 0.75], ["ppSSAOQualityName", ""], ["refreshRate", 60], ["samplingPercentage", 100], ["shadowQualityName", "VeryHigh"], ["shadowVisibility", 200], ["terrainQuality", 3.125], ["terrainQualityName", "VeryHigh"], ["texQualityName", "VeryHigh"], ["vramInfo", ["5.9 GiB", "16 GiB", "0 B", "978 MiB", "5.6 GiB"]], // presence not guaranteed ["vsync", true], ["waterReflectionQualityName", "High"] ] */

Additional Information

See also:
getResolution getAudioOptionVolumes getSubtitleOptions getMissionOptions

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