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"

Filesystem, user can upload image to the game?

Hello,

I am a new user of UE, I am wondering if there is a way to enable the end-user to upload special image inside the game, something like file system.

Scenario: In the game, user would like to upload special image for his profile, choosing one is not already in the game inventory?

Thanks in advanced

Product Version: UE 4.8
Tags:
more ▼

asked Sep 01 '15 at 06:13 AM in Blueprint Scripting

avatar image

Mr J
1 1 1 4

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

1 answer: sort voted first

Hello Mr J,

You could use the Download image node. I have provided an example below. I hope this information helps.

Example:

In this example I have used the down load image node to search for a file path on my computer (To find a file you will need to use file:/// following by the file path that you are looking for). I then took the image and created a variable to hold the information.

alt text

I then created a binding that used that stored texture to create a brush for an image in my widget.

alt text

Make it a great day

more ▼

answered Sep 01 '15 at 03:09 PM

avatar image

Rudy Q ♦♦ STAFF
47.3k 545 132 525

avatar image Anadin Sep 03 '15 at 02:10 AM

This is very cool, it would be great if there was an Upload Image node too.

avatar image Cleec Mar 23 '16 at 10:42 AM

Please am net to ue4, how did you get image 82 and its target with all the inputs. Thanks

avatar image Rudy Q ♦♦ STAFF Mar 23 '16 at 01:33 PM

Hello Cleec,

If you are new to UE4 and would like to learn more about UMG, I would suggest following the link below. I have provided a link to the UMG documentation. As for the image 82, this was an image that I added to the designer tab of my widget interface. I then dragged off the pin from the reference in the event graph and got the slate brush for the image. I hope that this information helps.

Link: https://docs.unrealengine.com/latest/INT/Engine/UMG/

Make it a great day

avatar image Cleec Mar 23 '16 at 03:06 PM

Thanks for the early response, Sorry, I still don't understand how the variable that connected to the make slate brush was created. I used victory plugin, it worked on the editor but failed to package, same was the web browser plugin. The project packaged when they were not included. I use unreal 4.10.2

Thanks

01.jpg (78.1 kB)
03.jpg (103.4 kB)
aaaaaa.jpg (157.9 kB)
avatar image Rudy Q ♦♦ STAFF Mar 23 '16 at 03:14 PM

Please read over the documentation that was provided. The documentation covers the basics for how to use UMG. As for any issues that you have concerning a third party plugin, they will need to be addressed by that plugin's creator. We do not provide support for unofficial plugins. I believe the creator of the victor plugin is Rama, please contact him for further assistance regarding the victor plugin.

avatar image gnuchev Mar 17 '17 at 10:33 PM

Thank you so much for this solution! I have one more question - is there a way to Upload file to a URL?

avatar image tonyrvd Sep 02 '17 at 03:55 AM

Hi Rudy,

Thanks for the above but can what Mr. J was originally asking for be accomplished today? I.e. Let's say this game is for PC, can you open a file browse to select the image and pass that url to the download image node? Or, say this was an iOS game, does the ue4 iOS integration allow for browsing a user's media?

(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