x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Screenshots at runtime

So searching for "take screenshot unreal blueprint" and the like is starting to make me crazy, because it's only returning results for taking screenshots of your Blueprints.

What I'm looking for is a way to take screenshots in the game, and I can't seem to find anything on this. I've discovered SceneCapture2D and RenderTarget, but I'm not seeing any way to pipe that out to an image. Am I out of my mind, or is this really not possible?

Product Version: Not Selected
Tags:
more ▼

asked Dec 30 '14 at 04:36 AM in Blueprint Scripting

avatar image

soctty
21 3 4 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hi there,

To take a screenshot in game you can open the command console (the tilde key ~ `) and type either "HighResShot" or "Shot" (without the quotes) as described in the documentation here.

I would recommend using HighResShot instead to make sure you get a nice high-res image. Also take a look at the options listed in the doc page above to get custom sized images as well.

Another method is to use a key press event in a blueprint to call the ExecuteConsoleCommand function with the above mentioned console commands, this way you only need to press a single key during runtime to take a screenshot.

Hope that helps!

more ▼

answered Dec 30 '14 at 06:35 PM

avatar image

DotCam
3.1k 74 34 148

avatar image soctty Dec 30 '14 at 06:40 PM

That last method sounds like exactly what I'm looking for. Thanks!

avatar image soctty Dec 31 '14 at 01:38 AM

That was a bullseye. Just one more question: Is there a way to also include the UMG UI layer? My test shots are only including the player's camera.

avatar image BeeHive Dec 26 '15 at 10:23 AM

Hi Soctty, did you find a solution for this? The HighResShot Command works great for everything except the UMG UI :/ I didn´t find another way to create a screenshot this easy (except the missing umg layer it works great, especially if you add the desired resolution HighResShot 3840x2160)...

avatar image Jingz Aug 29 '16 at 03:55 AM

Could someone tell the path that screenshot saved?

avatar image Jingz Aug 29 '16 at 04:04 AM

YourGameProj/Saved/.png

avatar image BigaCubensis Feb 05 '18 at 09:15 AM

Hmm AFAIK console commands dont work in shipping build/packaged games. I assume you dont want release your game as development build.

avatar image R1ICO Apr 07 '18 at 02:51 AM

Have you find a way to take pictures in Shipping?

avatar image Ixiguis Jan 14 '19 at 12:17 AM

In C++: FScreenshotRequest::RequestScreenshot()

Since this question is marked as answered, better to continue the discussion here: https://answers.unrealengine.com/questions/865527/how-to-take-high-res-screenshots-shipping-builds.html

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question