Any way to implement forza-like checkpoint rewinds?

I want my game to feel like you never die, but just choose a different approach. If you die, the game rewinds your actions and events that have occurred, and revives dead enemies and destroyed actors. How do I log all events that occur, clearing it from RAM on every checkpoint?

And no, not like Apex or Deathloop, I want every single event from physics to actors getting destroyed logged.

Would I need to make a plugin?

If no one answers, I’ll just Deathloop my way to the starting point, then reset the level

Hi there

That implies a lot of data been stored in the game instance and a save game slot.
Try these videos and see if work for you.

(2) Unreal Engine 4 Tutorial Rewind Time Prince of Persia Style (Request) - YouTube

(2) Reversing Time Tutorial (Intermediate) -Unreal Engine 4 - YouTube

1 Like

Thanks, was actually just watching the first one and might need the second one.

Do you know if arrays can be stored on the game drive and retrieved quickly? (game drive - local file folder/documents folder)

@L.F.A

1 Like

Hi there,
Glad it helped.

Save games can hold any type of variable and are stored in ProjectName/Saved/SaveGames.
If you need to store in *.ini files, such as custom settings, you may need to use C++, I am not familiar with this workflow. Also, given the amount of data, *.ini files may not be ideal.

For advanced save games, there is an official tutorial from Epic Games with a sample project.
Introduction - Blueprint Runtime Saving and Loading (epicgames.com)

Hope that clarifies.

1 Like