Save & Load Add-On
  • Welcome to Save & Load Add-On for FPS Engine!
  • BEFORE WE START
    • Early Considerations
    • Add-On Compatibility
    • List of Tutorials
  • GETTING STARTED
    • 01. Basic Set-Up
    • 02. Roadmap
  • CONTENT
    • 03. Content
      • 03.1 DataPersistence
        • DataPersistence_SO
        • DataPersistenceManager
        • FileDataHandler
        • GameData
        • GameDataManager
      • 03.2 Editor
      • 03.3 Item Registry
        • ItemRegistry
        • ItemRegistryEditor
        • ItemRegistryAssetProcessor
      • 03.4 Main Menu
        • SaveSlot
        • SaveSlotsMenu
      • 03.5 Objects Save Data
        • CustomSaveData
      • 03.6 Serialization
        • SerializableVector3
        • SafeSerializationBinder
      • 03.7 Triggers
        • SaveTrigger
        • LoadTrigger
        • ToggleAutoSave
      • 03.8 Type Registry
        • TypeRegistry
        • TypeToPrefabMappingDrawer
      • 03.9 UI
        • SaveLoadButton
    • 04. Shared Content for Add-Ons
      • ToastManager
      • WorkLight
  • HOW TO USE & GUIDES
    • Save & Load Games Programmatically
    • Saving Custom Data: Simple Method
    • Saving Custom Data: Advanced Method
    • Loading Custom Data
    • Saving Instantiated Objects
    • Save & Load System during Development
    • Working with Save & Load in Cowsins Manager
    • Uninstalling the Add-On: Fixing Errors
    • Type to Prefab Mappings in Game Data Manager
    • How to add Buttons to Save & Load a game
    • Non-Saveable Scenes
    • Loading Scenes & Load Player Data
  • FAQ
    • FAQ
  • SUPPORT
    • Support
Powered by GitBook
On this page
  • -> How to modify Data Persistence Configuration?
  • VARIABLES
  • FILE STORAGE CONFIG
  • AUTO SAVING CONFIGURATION
  • TOAST SETTINGS
  • NON-SAVEABLE SCENES
  1. CONTENT
  2. 03. Content
  3. 03.1 DataPersistence

DataPersistence_SO

Previous03.1 DataPersistenceNextDataPersistenceManager

Last updated 1 month ago

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 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.

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

  • 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.

  • 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.

Save & Load section