DataPersistence_SO

Defines General Settings for the Save & Load. These settings can be configured in the Save & Load Tab of the Cowsins Manager.

-> How to modify Data Persistence Configuration?

DataPersistence_SO can be configured in the Save & Load section of the CowsinsManager. To access the CowsinsManager, go to Cowsins/CowsinsManager or use the shortcut Ctrl+Q. Then, click on "Save & Load". Data Persistence Settings can be found in the "Settings" tab.


VARIABLES

  • firstLevelScene: When starting a new game, this is the first level to play.

FILE STORAGE CONFIG

  • fileName: Assign a name to the file that contains Save Slot Data.

GLOBAL DATA

  • savePlayerStats: If enabled, Player Health & Shield will be saved

  • saveExperience: If enabled, Player Level & Experience will be saved

  • saveCoins: If enabled, Player currency will be saved

  • saveHotbar: If enabled, Weapons in the Hotbar will be saved.

  • saveInventory: If enabled & The Inventory Pro Add-On is installed, the entire inventory will be saved.

SCENE-SPECIFIC DATA

  • savePlayerTransforms: If enabled, Player position and orientation will be saved.

  • saveObjects:If enabled, Custom Save Data will be saved.

AUTO SAVING CONFIGURATION

  • autoSave: Enables or disables automatic game saving at regular intervals.

    • autoSaveTimeSeconds: Time interval between automatic game saves.

TOAST SETTINGS

  • showToastOnGameSaved: Enables or disables Toast Messages when the game is saved.

    • toastMessage: Toast Message to display on the game being saved.

NON-SAVEABLE SCENES

  • nonSaveableScenes: Stores a collection of scenes in which Save & Load won´t be applied.

SCENES EXCLUDED FROM SCENE-SPECIFIC SAVE DATA

  • excludedScenesfromSpecificSaveData: Stores a collection of scenes in which only Global Data will be saved.

Last updated