Page 1 of 1

Patching Game, New Variables, Save Compatibility.

Posted: Mon Oct 24, 2022 5:24 am
by Dark79
Hello there,

I have a question regarding the save compatibly when the new patch contains new added variables.

My main concern is about "default" like default NewVariable = 0 type variables. For example the new game version is 1.02 contains the new variables. Will they work fine after loading a save file which was originally generated from game version 1.01 or does the user need to start a new game for the new variables to work?

Thank you.

Re: Patching Game, including new Variables

Posted: Mon Oct 24, 2022 5:26 am
by Ocelot
Yes. they would. default will create variable if it does not exist when starting a new game or loading a saved game. This is exactly why they are suggested over simply initializing variables or creating them just after start.

Re: Patching Game, including new Variables

Posted: Mon Oct 24, 2022 5:30 am
by Dark79
Ocelot wrote:
Mon Oct 24, 2022 5:26 am
Yes. they would. default will create variable if it does not exist when starting a new game or loading a saved game. This is exactly why they are suggested over simply initializing variables or creating them just after start.
Thank you for the quick response! :D