screenshot: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "Nelis.75733126" to "Nelis75733126") |
||
(2 intermediate revisions by the same user not shown) | |||
Line 18: | Line 18: | ||
|r1= [[Boolean]] - [[true]] if success | |r1= [[Boolean]] - [[true]] if success | ||
|x1= < | |x1= <sqf>screenshot "";</sqf> | ||
|x2= < | |x2= <sqf>screenshot "testFile.png";</sqf> | ||
|x3= The following code will result in the screenshot being placed in {{hl|\Documents\Arma 3\Screenshots\'''any\where\you\want.png'''}} | |x3= The following code will result in the screenshot being placed in {{hl|\Documents\Arma 3\Screenshots\'''any\where\you\want.png'''}} | ||
< | <sqf>screenshot "any\where\you\want.png";</sqf> | ||
|seealso= [[ | |seealso= [[BIS_fnc_exportEditorPreviews]] [[Eden_Editor:_Configuring_Asset_Previews|Configuring Asset Previews]] | ||
}} | }} | ||
{{Note | {{Note | ||
|user= | |user= Nelis75733126 | ||
|timestamp= 20160718183100 | |timestamp= 20160718183100 | ||
|text= This command only captures the rendered picture (including ppEffects). GUI nor the mouse are visible on the screenshot. '''(Arma 3 1.62.137494)''' | |text= This command only captures the rendered picture (including ppEffects). GUI nor the mouse are visible on the screenshot. '''(Arma 3 1.62.137494)''' |
Latest revision as of 15:38, 29 June 2024
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; // 2 GB
- Groups:
- System
Syntax
- Syntax:
- screenshot filename
- Parameters:
- filename: String - desired path and name relative to <PROFILEDIR>
\Screenshots \ (see Profile).
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
- Posted on Jul 18, 2016 - 18:31 (UTC)
- 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 Dec 03, 2017 - 08:42 (UTC)
-
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 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