Saving game state for future load

0

How can I go about serializing the current game world into a save file for loading in the future? I browsed through the source and it appears there is stuff for saving with the old IEntity system, but I did not find anything that supports saving the game using Dynamic Slices and AZ::Entity.

Thanks.

posta 6 anni fa184 visualizzazioni
5 Risposte
0
Risposta accettata

Its the only way I found how to save so far. And it works for saving positions stats ect. You can save and then load all data.

con risposta 6 anni fa
0

Ok this is definitely the right direction I think. So it is better to save each property in my game individually rather than attempt to serialize the entire game state?

con risposta 6 anni fa
0

Do you mean like saving game data

con risposta 6 anni fa
0

You may be talking about something else, but just in case this is how you save data in lua.

REMOVEDUPLOAD

con risposta 6 anni fa
0

I have been tinkering with this a bit... but no success so far. How do I simply store the character's worldTM on game exit then use that as the starting point when I restart the game?

con risposta 6 anni fa

Questo post è chiuso: l'aggiunta di nuove risposte, commenti e voti è disabilitata.