screenshot

From Bohemia Interactive Community
Revision as of 11:26, 11 April 2025 by Lou Montana (talk | contribs) (Add ppEffects info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Hover & click on the images for description

Description

Description:
Post-Process Effect Active in
screenshot
ColorInversion Unchecked
FilmGrain Unchecked
ColorCorrections Unchecked
DynamicBlur Checked
WetDistortion Checked
ChromaticAberration Checked
RadialBlur Checked
SSAO Unknown
Resolution Checked

Takes a screenshot of the 3D scene and saves it to the provided filename.

  • Only the 3D scene is captured, no GUI/cursor
  • Sampling is taken in consideration: a 200% sampling value on a 1920x1080 resolution takes a 3840x2160 screenshot
  • PNG is the only available format


The file is saved in the Screenshots folder in the Profile directory. The folder is by default limited to 250 MB to prevent abuse.
To increase the limit, add the following line at the end of the profile file:

maxScreenShotFolderSizeMB = 2000; // 2 GB
Groups:
System

Syntax

Syntax:
screenshot filename
Parameters:
filename: String - must have .png extension; desired path and name relative to <PROFILEDIR>\Screenshots\ (see Profile).
If empty string c"" used, the filename will be autogenerated in format: YYYY_MM_DD_hh_mm_ss.png
Return Value:
Boolean - true if success

Examples

Example 1:
Copy
screenshot "";
Example 2:
Copy
screenshot "testFile.png";
Example 3:
The following code will result in the screenshot being placed in \Documents\Arma 3\Screenshots\any\where\you\want.png:
Copy
screenshot "any\where\you\want.png";

Additional Information

See also:
BIS_fnc_exportEditorPreviews Configuring Asset Previews

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
Komachi - c
Posted on Mar 20, 2018 - 15:29 (UTC)
The command will silently fail if your profiles folder is configured to be somewhere else (-profiles parameter), or if your HDR setting is below 16 (configurable in arma3.cfg or medium and above in in-game settings) For full reference on recommended settings consult Eden Editor: Configuring Asset Previews.