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"

Exporting Replays in text-format

I currently have a replay system in my game and alongside saving local replays into demo files, I also want to provide an option for users to export the demo into a text-formatted (human readable) file so that the community can work with the files in any shape or form. The file would export all the events that occur during gameplay replay.

How would I go about doing this? Is it possible to also provide an API for users to do this externally?

Product Version: UE 4.18
more ▼

asked Dec 18 '17 at 01:23 PM in Using UE4

avatar image

1 1 2

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

1 answer: sort voted first

I've noticed it's a really old post only after writing my solution, but it's still unanswered so here goes :)

I have created a simple logging logging function to record time, type of log and additional data (basically a string) using this JSON plugin (Only using its "Write String To File" function though, so if you have an alternative to saving files it wont matter)

In my case it's set to get and stamp the time since begin play but you can set it to stamp the local time too. once you have this function, just use it whenever you wish to log an action.

The attached example prompts this log:

 <0:0:13:374><PMT> {"amnt1":0,"amnt2":200}

alt text alt text

log.png (491.4 kB)
log.png (30.0 kB)
more ▼

answered Mar 04 '19 at 02:37 PM

avatar image

21 1 2

(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