Dear Friends at Epic,
Here’s my UE3 tutorial on an instantaneous save/load game state system I based entirely on BasicSaveObject and BasicLoadObject
Video / Epic forum link
Basically I would store all core game data as ints,floats,bools,vectors,rotators,and strings, simple variable types, all in one big object class.
This one object and its variables represented the entire game state!
Then with press of button I could save or load this game state to entirely reproduce a point in time within the 3d world.
I really want to implement an instant save/load feature in UE4!
Currently I only would know how to do it by reading and writing strings and converting strings data to various actual data types like FVector and float.
I’ve seen all the serialize() implementation and FArchive stuff
But I am not sure how to do exactly and simply the following:
- create 1 object that is just a bunch of variables of simple data types
- save just this object to hard disk
- load this object back into the game engine, and retrieve all the variable data
Theoretically it sounds simple enough, but if I could get some code syntax / appropriate .h files to look at that would be much appreciated.
It might even sound obvious what I am asking, but I just need a basic starting point to re-implement Basic Save Object for my own custom object that just stores basic variable type data.
Thanks!
Rama