Ue4 replay system

Ue4 replay system DEFAULT

# Replay System Tutorial

Replay System Tutorial - Epic Wiki

From Epic Wiki

Jump to: navigation, search

Template:Rating

# Contents

# Overview

This tutorial is intended to show you how to easily create a basic replay system, enabling you to record game data to a hard drive and play it back at a later time. I spent quite some time reading through the engine code to be able to implement this in my own projects and was surprised that no one covered it in a tutorial yet, so here goes... My method might not be the optimal one, but it works and I'd like to share it with those who want to work with replays as well. While the tutorial does include some c++ code, I will show you how to expose the necessary methods, so that they can be called from blueprints.

(NOTE: Replays can't be recorded or played back in PIE mode. Use Standalone instead!)

  1. In the Initial Setup I'll show you how a new project is initially configured to be able to deal with Replays.
  2. The section "Replication" sets up the First Person Example to replicate its Projectiles, Cube Meshes and to let Clients call Server_Fire
  3. In "Adding our C++ code" I introduce some functions to a new GameInstance class that will start/stop recording and Find, Rename, Watch and Delete Replays from Hard Disk
  4. In "Blueprint (UI) Implementation you will find a minimalistic Set-Up to start/stop Recording from Blueprints
  5. In "MainMenuUI" I show you how to make a simple Replay Browser to manipulate previous records
  6. The section "Testing it" is a good spot to make a break from this tutorial and an invitation to play around.
  7. The last section "Adding the ReplaySpectator Controller" introduces a PlayerController to handle a Replay Playback and a Widget to interface between User and PlayBack.
  8. Finally, there is still bug that needs to be fixed, this is described in "Conclusion, Bugs"

# Initial Setup

To begin with, create a project of your liking. I chose the "First Person Example" as a base, however any Example should do. You can also include this tutorial in your own project, but for the sake of simplicity I will display it for a clean one. After the project is created, open the project folder on your hard drive and navigate to ReplayTutorial/Config/DefaultEngine.ini, open it, and add the following statement at the end of this file:

[/Script/Engine.GameEngine]

+NetDriverDefinitions=(DefName="DemoNetDriver",DriverClassName="/Script/Engine.DemoNetDriver",DriverClassNameFallback="/Script/Engine.DemoNetDriver")

This step will enable and load the DemoNetDriver for you, which is the actual recorder.

# Replication

In order to let the engine record gameplay, you need to make sure that our actors are properly replicated. The engine treats the replay recorder like a networked client, even in a single player game, so that replicated data is automatically recorded. You can safely skip to the next section if your project is already set up for multiplayer games.

In the level's "World Outliner", select all of the EditorCubeXX-actors and set their property "Static Mesh Replicate Movement" to true. The movement of these cubes will be recorded this way.

Setting the Cubes in the Level to Replicate

After that, open the Blueprint "FirstPersonProjectile" and set the properties of "Replicates" and "Replicate Movement" to true. This will make sure that the projectile balls will be seen on clients and in the records. Now, when the server shoots, others will see it. Additionally, clients might shoot, but they can't replicate data to the other clients OR the recorder. To ammend that, open the Blueprint "FirstPersonCharacter" and verify that "Replicate Movement" and "Replicates" is set. Then, locate the event called "InputAction Fire" and add a custom event called "Server_Fire" near it. Set this event to "Run on Server" and "Reliable", since this is important gameplay input. We need to restructure (see Images) the "InputAction Fire" event in order to make it network-enabled. Put the nodes "Montage Play" and "Play Sound At Location" directly after the "InputAction Fire" event. Then drag a node called "Switch Has Authority" out of the sound node. From the "Remote" Execute-Pin, call the previously created method "Server_Fire" and from the "Authority" Pin, spawn the projectile. This concludes our preparations.

Server_Fire Function Part 1

Server_Fire Function Part 2

# Adding our C++ code

All of the recording and playback methods can be found within the engine. What we have to do in order to use them is to correctly expose these methods to blueprint. To achieve this, right click in the "Content Browser" and add a new c++ class. Click on "Show All Classes" in the upper right corner and search for GameInstance. Since this will be our parent class, select it. You can choose a name when you select Next, then create the new class.

This will open Visual Studio (if you installed it – I will skip this step here 😉), where you will see the newly created

# ReplayTutorial.Build.cs

Before creating any code, make sure that you include "Json" in the PublicDependencyModules, a definition that can be found in the Solution Explorer under Solution/Games/ReplayTutorial/Source/ReplayTutorial.Build.cs. Open it and add "Json", like so:

PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "Json" });

# MyGameInstance.h

The .h (definition file) will contain our definitions of the necessary methods and properties. You will need to add an include at the beginning of this file, so that these three are available:

#include "Engine/GameInstance.h" #include "NetworkReplayStreaming.h" #include "MyGameInstance.generated.h"

Afterwards, in the class body, add the following function definitions. Their names will already tell you what the functions are intended for:

public: /** Start recording a replay from blueprint. ReplayName = Name of file on disk, FriendlyName = Name of replay in UI */ UFUNCTION(BlueprintCallable, Category = "Replays") void StartRecordingReplayFromBP(FString ReplayName, FString FriendlyName);

We also need additional functions for our FindReplays() and DeleteReplay(..) methods, since they rely on async callbacks. To support these, add the following:

private:

Further, it will be necessary to display Information about replays to the user interface. Since this is in blueprint, let us create a struct to hold these data. Add the following definition at the beginning of the file (or before our UMyGameInstance class definition):

USTRUCT(BlueprintType) struct FS_ReplayInfo { GENERATED_USTRUCT_BODY()

};

And lastly, add another function to our UMyGameInstance class, that we call when finding replays has completed:

protected: UFUNCTION(BlueprintImplementableEvent, Category = "Replays") void BP_OnFindReplaysComplete(const TArray<FS_ReplayInfo> &AllReplays);

# MyGameInstance.cpp

This file will contain our actual code which carries out the previously defined methods. To begin with, lets include the following two definitions:

#include "ReplayTutorial.h" #include "Runtime/NetworkReplayStreaming/NullNetworkReplayStreaming/Public/NullNetworkReplayStreaming.h" #include "NetworkVersion.h" #include "MyGameInstance.h"

Then, lets create our Init() function first, since this is the place were we can safely link the OnDelete...- and OnEnumerate...-Delegates before a user will call any of our functions:

void UMyGameInstance::Init() { Super::Init();

}

Some of our functions are actually only calling functions that are already present in the GameInstance, like the following:

void UMyGameInstance::StartRecordingReplayFromBP(FString ReplayName, FString FriendlyName) { StartRecordingReplay(ReplayName, FriendlyName); }

void UMyGameInstance::StopRecordingReplayFromBP() { StopRecordingReplay(); }

void UMyGameInstance::PlayReplayFromBP(FString ReplayName) { PlayReplay(ReplayName); }

FindReplays() on the other hand needs an additional (our previously created) ReplayStreamer, called "EnumerateStreamsPtr". It starts looking for replays on your hard disc and asynchronously calls " OnEnumerateStreamsComplete" when ready:

void UMyGameInstance::FindReplays() { if (EnumerateStreamsPtr.Get()) { EnumerateStreamsPtr.Get()->EnumerateStreams(FNetworkReplayVersion(), FString(), FString(), OnEnumerateStreamsCompleteDelegate); } }

void UMyGameInstance::OnEnumerateStreamsComplete(const TArray

}

In order to rename replays I have stumbled upon the Engine-functions that create, write and read data to the actual files on our hard disk. I've put together a solution to setting a "Friendly-Name" (for UI) in a previously recorded replay, so that users can put their own nametags on their replays. However, I think this is a bit of a hack because the filestrings are merely put together like in the engine. If the methods in the engine ever change then this will obviously not work anymore:

void UMyGameInstance::RenameReplay(const FString &ReplayName, const FString &NewFriendlyReplayName) { // Get File Info FNullReplayInfo Info;

}

Last but not least, add the code for our DeleteReplay(..) call, pray to the Compiler Gods (at your own discretion, do not anger real gods and blame me for it!) and hit compile afterwards:

void UMyGameInstance::DeleteReplay(const FString &ReplayName) { if (EnumerateStreamsPtr.Get()) { EnumerateStreamsPtr.Get()->DeleteFinishedStream(ReplayName, OnDeleteFinishedStreamCompleteDelegate); } }

void UMyGameInstance::OnDeleteFinishedStreamComplete(const bool bDeleteSucceeded) { FindReplays(); }

# Blueprint (UI) Implementation

Now that all of that code is compiled and out of the way, let's finally turn to the Unreal Editor again. I will try to show you a very minimalistic implementation of these Replay System calls, you can get creative and do it in a different way, but a few things must be done first.

# Additional Setup

  1. n our content browser, right click and add a new blueprint class. Click on "Display All Classes" and select the c++ GameInstance we created, then call it something senseful to distinguish it from its parent, like "BP_MyGameInstance". Open the new blueprint and override the BP_OnFindReplaysComplete(..) function. We will use this function to display a list of Replays in our UI later.
  2. Create a new map and call it something like "MainMenuMap"
  3. Open the Project Settings and under "Project – Maps & Modes" set DefaultGameMode to "GameModeBase". Then, set the Editor StartUp Map, Game Default Map and Server Default Map to "MainMenuMap". Afterwards set GameInstance to BP_MyGameInstance
  4. Open the FirstPersonExampleMap and verify that it overrides the GameMode with the "FirstPersonGameMode".

Where to find Override Function

After these steps, open the "FirstPersonCharacter" blueprint.

# FirstPersonCharacter Input

For the sake of the simplicity of this tutorial, I will call the Replay functions here. You might want to do that from the GameMode or GameState instead, for example when the game begins or ends. If you want to follow the tutorial, just add two Input Events "Page Up" and "Page Down". Drag a "Switch Has Authority" node out from each of them and add Game Instance Casts like in the image to the two events. From Page Up, call Start Recording Replay and from Page Down call Stop Recording. For the ReplayName I tend to use strings like "Replay_2017-04-29_01-54-03" and the Friendly-Name usually stays empty for automatic recording. For the purpose of this tutorial I have put test in. Now we already should be able to record Replays (found in ProjectFolder/Saved/Demos), by pressing our PageUp or PageDown Keys.

NOTE: Replays can't be recorded or played back in PIE mode. Use Standalone!

Set up Input to Start and Stop Recording

# MainMenuUI

For the sake of completeness I also want to show you how to browse, rename and delete Replays that were previously recorded. To do that, we need two Widget Blueprints. In the content Browser, create two Widgets called "WID_MainMenu" and "WID_ReplaySlot".

# WID_ReplaySlot

Set up the ReplaySlot Widget to look like this:

Widget Designer

Then, switch over to the Event Graph and add two String variables "ReplayName" and "ReplayFriendlyName" to the Widget, both set to be "Editable" and "Exposed On Spawn". From the "Event Construct", initialize the TextBox text like in the Image. Then, create Events for the two Buttons (OnClicked) and the TextBox (OnTextCommited) and call the GameInstance Functions we created all the way in the beginning of this tutorial. By comparing to NotEqual (OnCleared) - again, see image - we allow users to hit ESC and keep the old name.

Widget Event Construct

Widget Additional Behavior (Buttons)

# WID_MainMenu

In the WID_MainMenu, create a UI similar to that in the images. Make sure that the AllReplaysScrollBox is set to be a variable for the EventGraph:

Main Menu Widget Part 1

Main Menu Widget Part 2 - WidgetSwitcher Alternate View

Now switch to the event graph and create a custom event "OnFindReplays" with an input of type "Array of S_ReplayInfo". Clear the children of the AllReplaysScrollBox, then create a new ReplaySlot for each of the Replays, feed the two strings in it and add the new widget as a child of the Scrollbox, like so:

Main Menu Widget OnFindReplays Event

Also add functionality to the other buttons:

Main Menu Widget Other Buttons

Now we need to display the main menu when our main menu map loads. To do that, open the level blueprint of the mainmenumap and insert the following event:

Main Menu Level Blueprint

Now, if you launch the game and press Browse Replays you will not see any entries. This is because we still have not connected our GameInstance to our UI. To do this, go to BP_MyGameInstance and fill in the code of our prepared event like so:

GameInstance to UI forward Replay Info

# Testing it

This is the easy part. In order to test the system, all you need to do is open a standalone game and press page up, upon which the game will start recording. If you press page down it will put a Replay under Saved/Demos. Because I did not build a function to go back to the main menu just close and open the game (in standalone again!). From the MainMenu you should be able to see an entry in your Replay Browser. If you press Playback on an entry, the game will immediately start playing the replay back for you. Delete will delete it. If you start to rename it and switch to another widget or press Enter, the name will be saved.

# Adding the ReplaySpectator Controller

In order to manipulate our Replay during Playback, we will need to add a new PlayerController specifically for this task. Right click in the Content Browser and select "New C++ class", scroll down to "Player Controller" and select it. Click on Next and give the new Player Controller a descriptive name like "PC_ReplaySpectator". This will open up Visual Studio again.

# PC_ReplaySpectator.h

In our definitions file we need to set some default values in the constructor. We also need to provide two integers to store console variables, because the game will be a blurry mess when pausing it, due to how Motion Blur and Temporal Anti-Aliasing work. To prevent artifacts, we will switch off Motion Blur and change Anti-Aliasing during a Pause, only to switch it back afterwards. Additionally we will need some methods to interface between User-Input and the Replay Payback. To this end, add the following code to your definition file:

public: /** we must set some Pause-Behavior values in the ctor */ APC_ReplaySpectator(const FObjectInitializer& ObjectInitializer);

protected:

public:

# PC_ReplaySpectator.cpp

Now, lets focus on the code file, beginning with the following include statement. The only thing that was added is the include to the DemoNetDriver (which is the "Interface" to our Playback)

#include "TP_StrategyWithSteam.h" #include "Engine/DemoNetDriver.h" #include "PC_ReplaySpectator.h"

In the constructor, we must make sure that the Player Controller keeps Tick-ing during a Game Pause. To do that, add the following Ctor:

APC_ReplaySpectator::APC_ReplaySpectator(const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer) { bShowMouseCursor = true; PrimaryActorTick.bTickEvenWhenPaused = true; bShouldPerformFullTickWhenPaused = true; }

Now we will implement switching into and out of the Pause State. All you have to do to enable Pause is set the WorldSettings->Pauser PlayerState to our current one. In order to quit the Pause State we will then Nullify this Setting. Additionally you can see that we will store our AntiAliasing and MotionBlur Console Variables

bool APC_ReplaySpectator::SetCurrentReplayPausedState(bool bDoPause) { AWorldSettings* WorldSettings = GetWorldSettings();

}

Lastly, we will implement the "Interface" between User and DemoNetDriver. These functions simply forward requests that will be called from our UI to the DemoNetDriver. The actual work was already done In-Engine. After copying the following, hit compile and switch to the Unreal Editor:

int32 APC_ReplaySpectator::GetCurrentReplayTotalTimeInSeconds() const { if (GetWorld()) { if (GetWorld()->DemoNetDriver) { return GetWorld()->DemoNetDriver->DemoTotalTime; } }

}

int32 APC_ReplaySpectator::GetCurrentReplayCurrentTimeInSeconds() const { if (GetWorld()) { if (GetWorld()->DemoNetDriver) { return GetWorld()->DemoNetDriver->DemoCurrentTime; } }

}

void APC_ReplaySpectator::SetCurrentReplayTimeToSeconds(int32 Seconds) { if (GetWorld()) { if (GetWorld()->DemoNetDriver) { GetWorld()->DemoNetDriver->GotoTimeInSeconds(Seconds); } } }

void APC_ReplaySpectator::SetCurrentReplayPlayRate(float PlayRate) { if (GetWorld()) { if (GetWorld()->DemoNetDriver) { GetWorld()->GetWorldSettings()->DemoPlayTimeDilation = PlayRate; } } }

# WID_ReplaySpectator

Now we need to call the previously created functions from somewhere in the UI. To do that, simply create another widget called WID_ReplaySpectator or similar. To correctly use the functions you'll need two Text Fields to display Current and Max Game Time, a Slider to Change it (and display the Current Progress as a Fraction), a Pause-Button and a ComboBox to select the PlayRate. I've certainly set this up to be minimalistic but you will likely design it your own way anyways:

Replay Spectator Widget Designer

Now switch to the Event Graph and build the following Events/Functions. Starting from the Event Construct, you'll save a Reference to the Replay PC and obtain the total Game Time In Seconds as a new Integer Variable. Then, from Event Tick, obtain the Current Game Time In Seconds. To display them, switch to the Designer and click on the CurrentTime Text. In its properties press the DropDown labelled as "Bind" and create a new Binding. Rename it so that the functions called "CurrentGameTimeToText" and fill in the functionality like in the picture. Then, do the same for the TotalGameTime-Text field.

Replay Spectator Widget, Game Time Related Functions

You might also want to display the current Progress as a fraction. To this end open the designer, select the Slider and under Value, create a new Binding. This will need two more variables that are created now, a Released At value as a float (we will change this later) and a Boolean to decide whether the user has picked up the Slider. Make sure that this bool is set to False as a Standard Value:

Replay Spectator Widget, Slider Value Binding

To enable and disable Pause, implement the Button Clicked Function and Bind the Text on this Button according to the following:

Replay Spectator Widget, Pause Manipulation Functions

To manipulate the current Playback Rate, simply do the following:

Replay Spectator Widget, PlayRate Manipulation Event

The last thing to do for this widget is to let the users directly manipulate the Slider we provided. We need three events that are linked to the Slider to do this, CaptureBegin, ValueChanged and CaptureEnd. When the Capture Begins, we'll set the PickedUp Boolean to true. On Value Changed, we will store the ReleaseAt Value and on CaptureEnd we will tell the PlayerController->DemoNetDriver and reset the Boolean.

Replay Spectator Widget, Slider Manipulation

# BP_PC_ReplaySpectator

We are slowly coming to an end of this tutorial. What is still left missing has to do with our ReplaySpectator-Player Controller. You will need to create a child Blueprint of the C++ class that we created. Right click in the Content Browser and create a Blueprint Class. From here, search for PC_ReplaySpectator and select it as a parent. Call the new Blueprint "BP_PC_ReplaySpectator" or similar, then open it.

From Event BeginPlay, drag out the Execution Pin and create a "Create Widget" node, with Class set to WID_ReplaySpectator and Owner to Self. Then drag out the Return Value and create a "Add to Viewport" node. Close the Blueprint.

Navigate to the "FirstPersonGameMode" Blueprint from the First Person Example and open it. In here, set the Replay Spectator Player Controller class to the new BP_PC_ReplaySpectator.

# Conclusion, Bugs

I hope that this tutorial can be of any help to someone, especially since nothing comparable was in the wiki at this point. Of course the UI is very minimalistic, but this was a design choice for the tutorial, since the actual UI you'd use would depend on your own projects.

You will notice that when you switch to a different time, the Cube Meshes and the Player are not initially in the correct position. This is especially apparent if you have your replay set to paused. I'm not quite sure why this happens, yet, but I will update the tutorial when I find it out.

MrBurgerAt

Retrieved from "https://wiki.unrealengine.com/index.php?title=Replay_System_Tutorial&oldid=143"

Category:

Sours: https://michaeljcole.github.io/wiki.unrealengine.com/Replay_System_Tutorial/

Replay System

Unreal Engine 4 (UE4) features a Replay system which can record gameplay for later viewing. This feature is available in all games, from live, multiplayer games played on dedicated servers, to single-player games, and even including Play-In-Editor sessions. At a high level, the Replay system works by using a to read data drawn from the built-in replication system, similar to how a operates in a live, networked gameplay environment. Even if a project doesn't have a multiplayer mode, any project set up to replicate data is compatible with the Replay System without the need for further modification.

The way this works involves the passing network data to a Replay Streamer, which handles the process of filtering and storing the data. When viewing a replay, a will have access to all of the replicated information that was available during live play (as well as special data fields designated as relevant only to replays) so that it can reconstruct the events of the game from this data.

Replay System Functionality

The basic functions of the replay system are to start or stop recording a demo, or play back a previously-recorded demo. While in playback mode, the Replay system supports commands to pause, change the playback speed, or jump to a specific point in time. More advanced usage of the system can include adding text tags (usually meta tags or the names of players involved in the game) to a replay, or querying existing replays based on text tags or version information present. The Replay system can be used from C++ code, mainly via the and classes, or with console commands or command-line arguments.

Function Or Variable Name

Equivalent Console Command

Effect

"demorec (ReplayName)"

Begins recording a replay. If the (ReplayName) parameter is not supplied, the replay system can generate a name on its own.

"demostop"

Stops a replay currently being recorded.

"demoplay (ReplayName)"

Plays the named replay.

"demoscrub (ReplayTime)"

Jumps to the provided time (in seconds) in the replay.

(variable)

"demopause"

The World's has an variable. Setting to that value will pause the replay. Setting it back to will resume the replay. The "demopause" console command will automatically set or clear that variable.

(variable)

"demospeed (ReplaySpeed)"

Speeds up or slows down playback by setting the time-scaling factor. A value of 1.0 is normal speed.

(variable)

N/A

Setting this variable to causes dedicated servers to record games automatically.

DemoNetDriver and Streamers

The is a specialized network driver that passes replicated data to Streamers, which record the information for later playback. For details on the features of the and the Streamers included with the Engine, please see the DemoNetDriver and Streamers page.

Backward Compatibility

Backward compatibility is supported by the Replay system, starting in version 4.13. This means you can make modifications to a build, such as adding or removing replicated properties, and still load and view replays that were recorded with the original build. In most cases, this is handled automatically, as the Replay system will skip over old replicated fields that have been removed, or use defaults for new replicated fields that have been added. Note that structures with overridden will require these differences in data format to be handled manually.

To this end, now provides the and functions, which identify the engine and game version, respectively, enabling you to adjust replay data as it comes in so that it fits with your current build. The delegate in can be bound to a function that returns a version number of your choosing. In case exact matches are not required for compatibility, has a delegate called that can be overridden to perform the comparison between two version numbers and decide if they are compatible.

Sours: + basePath + '/TestingAndOptimization/ReplaySystem/
  1. Ipod classic remote
  2. Harnett county nc funeral homes
  3. Optimus phone case

Useful Posts#

https://udn.unrealengine.com/questions/403084/some-guidance-on-the-replay-system.htmlhttps://udn.unrealengine.com/questions/395835/replay-playback-stuck-at-origin.htmlhttps://udn.unrealengine.com/questions/320000/im-looking-at-the-fhttpnetworkreplaystreamer-class.htmlhttps://udn.unrealengine.com/questions/400129/in-memory-replay.htmlhttps://udn.unrealengine.com/questions/332388/getting-an-instant-replay-in-a-network-game.htmlhttps://udn.unrealengine.com/questions/379831/cant-get-replay-to-work-in-415.html

https://udn.unrealengine.com/questions/417480/finmemorynetworkreplaystreamer-killcam.html

Yes, this is likely a known issue. https://issues.unrealengine.com/issue/UE-48320

The ticket doesn’t elaborate heavily, but it comes down to how we manage level collections. Basically, if you try to start / stop / playback recording at certain times the underlying NetDriver may get switched out from underneath you.

How can I stay connected with the same controller?#

We did this for Paragon, and also UT.

Generally speaking, the process looks like this.

  1. Determine you need to do a replay.
  2. Create a duplicate LevelCollection with appropriate levels (see UWorld::DuplicateRequestedLevels)
  3. Set the LevelPrefixOverride (passed in as a URL / Additional option to PlayReplay).
  4. Detect once the replay has actually begin (via a PostLoadMap).
  5. Grab the demo time, and track it.

The comments imply TimeBufferHintSeconds determines how long the replay will be

Actually, that has nothing to do with how long the replay is. It’s to help limit memory usage. In other ReplayStreamers, we just read the data directly from disk and don’t keep anything in persistent memory (except for some buffered up packets).

However, the memory streamer will try to keep things loaded up. The problem is that currently checkpoints store basically the entire state of the game, and so they get quite large. The TimeBufferHintSeconds helps us by allowing us to throw away checkpoints that may be unnecessary and instead rely on streaming data directly for the replay.

Is this a bug? Is there a better way to teleport instantly without interpolating position in the first place?#

How are you Teleporting? There are explicit Teleport functions on AActor (TeleportTo) that should play nice with movement components. When it detects a teleport (via TeleportSucceeded) the Character Movement Component code should detect this and set the mode appropriately. I would expect that to work in replays.

Reference From https://udn.unrealengine.com/questions/417480/finmemorynetworkreplaystreamer-killcam.html


Last update: November 14, 2019

Sours: https://ikrima.dev/ue4guide/networking/replay-system/
Fortnite Replay System - Project Spotlight - Unreal Engine
  • Supported Platforms

  • Supported Engine Versions

    4.24 - 4.27

  • Download Type

    Engine Plugin

    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

  • Description

  • Reviews

  • Questions

Showcase Video : Link

This plugin allows you to easily integrate an easy-to-use replay system into your project.

It has an events system that allows you to store 11 different data types as meta-data.

It simplifies the recording, playing, and listing of replays.

It has minimal impact on performance especially if it's being used on an SSD where there is virtually no impact on performance.

It can also be used to test network replication.

Technical Details

Features:

  • Documented for easy setup.
  • Extensively commented blueprint nodes.
  • Fully capable of Recording, Playing, and listing saved replays. 
  • Events system with meta-data support
  • Works in the editor

Code Modules:

Number of Blueprints: 26

Number of C++ Classes:12

Network Replicated: Yes

Supported Development Platforms: Mac, Windows, Linux

Supported Target Build Platforms: Mac, Windows, Linux

Documentation: Link

Example Project: Project

Playable Demo: Demo

Discord Server: Link

Important/Additional Notes: Requires the project to be replicated to work.

Sours: https://www.unrealengine.com/marketplace/en-US/product/replay-system

System ue4 replay

Demo Player + VR Spectate Plugin

A complete Replay System with tools that take Amazing Screenshots of your game.  Empower users to watch and create content of your game with this easy to use plugin.  Easily config to auto record games, manage your demo streams with our viewer widget, and then playback the demo using our preset HUD.  Oh did we mention, we provide support for playing the demos in Virtual Reality.  Tested and setup with both Vive & Oculus options!

A C++ and Blueprint friendly plugin, that extends the default UE4 demo system.  Save time and extend your game seamlessly with our easy 3 Step integration.  It's also great for debugging gameplay as you can replay every recorded game easily.

Here is what you get!

  • UMG Demo Hud Widget, materials and textures
  • UMG Demo Replay Viewer Widget, materials and textures
  • UMG Demo VR Hud Widget, materials and textures
  • Integrated VR pawns for Gamepad + Headset setup, with 3 locomotion options
  • Integrated VR pawn for Motion Controller + Headset setup
  • Extendable GameInstance, GameState, & Player Controller that will drop into any game
  • Content Creation with Screenshot tool

Demo HUD Widget:

Play, Pause, Skip Forward, Skip Backward, Take Screenshot, ScreenShot Multiplier to take Ultra Resolution renders, Increase Play Rate for Fast Forward, Decrease Play Rate for Slow Motion, Goto Time, Timeline Bar that can be Scrubbed or clicked. 

Sours: http://www.w3studios.net/demoplayer
Unreal Engine 4 - Blueprint Replay System

.

You will also like:

.



1857 1858 1859 1860 1861