screenshot: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma3 | | arma3 | ||
|1.60 | |1.60 | ||
|gr1= System | |gr1= System | ||
| Captures a screenshot and stores it to given filename. <u>PNG is the only available format</u> and the file must have .png extension. | | Captures a screenshot and stores it to given filename. <u>PNG is the only available format</u> and the file must have .png extension. | ||
Line 15: | Line 15: | ||
| [[screenshot]] filename | | [[screenshot]] filename | ||
|p1= filename: [[String]] - desired path and name relative <tt><USERDIR>\Screenshot\</tt>. If empty string "" used, the filename will be autogenerated in format: <tt>YYYY_MM_DD_hh_mm_ss.png</tt> | |p1= filename: [[String]] - desired path and name relative <tt><USERDIR>\Screenshot\</tt>. If empty string "" used, the filename will be autogenerated in format: <tt>YYYY_MM_DD_hh_mm_ss.png</tt> | ||
| [[Boolean]] - [[true]] if success | | [[Boolean]] - [[true]] if success | ||
|x1= <code>[[screenshot]] "";</code> | |x1= <code>[[screenshot]] "";</code> | ||
|x2= <code>[[screenshot]] "testFile.png";</code> | |x2= <code>[[screenshot]] "testFile.png";</code> | ||
|x3= The following code will result in the screenshot being placed in \Documents\Arma 3\Screenshots\any\where\you\want.png | |x3= The following code will result in the screenshot being placed in \Documents\Arma 3\Screenshots\any\where\you\want.png | ||
<code>[[screenshot]] "any\where\you\want.png";</code> | <code>[[screenshot]] "any\where\you\want.png";</code> | ||
| [[BIS_fnc_exportEditorPreview]], [[Eden_Editor:_Configuring_Asset_Previews|Configuring Asset Previews]] | | [[BIS_fnc_exportEditorPreview]], [[Eden_Editor:_Configuring_Asset_Previews|Configuring Asset Previews]] | ||
| | | | ||
}} | }} | ||
Revision as of 11:01, 18 January 2021
Description
- Description:
- Captures a screenshot and stores it to given filename. PNG is the only available format and the file must have .png extension.
The file is saved into 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;
2000 can be replaced by any value in MB. - Groups:
- System
Syntax
- Syntax:
- screenshot filename
- Parameters:
- filename: String - desired path and name relative <USERDIR>\Screenshot\. If empty string "" used, the filename will be autogenerated in format: YYYY_MM_DD_hh_mm_ss.png
- Return Value:
- Boolean - true if success
Examples
- Example 1:
screenshot "";
- Example 2:
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
screenshot "any\where\you\want.png";
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
Bottom Section
Notes
- Posted on July 18, 2016 - 18:31 (UTC)
- IT07
- This command only captures the rendered picture (including ppEffects). GUI nor the mouse are visible on the screenshot. (Arma 3 1.62.137494)
- Posted on December 3, 2017 - 08:42 (UTC)
- POLPOX
-
Change Sampling on Video Options to make bigger picture than your screen.
For example, 200% sampling on 1920x1080 screen and take screenshot via this command, it will generate a 3840x2160 picture.
- Posted on March 20, 2018 - 15:29 (UTC)
- Komachi
- 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