edited February 2015 in ORK Scripting
so i decided to take your advice and use my own save system well easy save 2 but i had a question about this is it possible to just disable your save system all together or do i need to pull the info from the file that gets saved? or can i just use easy save to do it all with out needing orks save system. since easy save can save everything. as long as i make it visible for it to save it. but i would need to be able to save all the progress. so if i where to tell easy save to save the data object that is created on a save and load it would that work or am i not thinking right on this?
new website can be found here http://www.fore-loregames.com

Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

or check out the face book page here https://www.facebook.com/ForeLoreGames
  • If you don't save in the game (i.e. save points, auto saves, save/load menus, etc.), the save game system will not be used.

    I don't think easy save will be able to save ORK's data, as most of it isn't really accessible without calling ORK's code (i.e. it's not bound to any object in the scene, so how would easy save know it's there :D). So you'll probably have to write your own scripts to make both work together.

    As mentioned in other topics, you can easily get ORK's save game data through the ISaveData interface's functions. Depending on what you want to save, you just need to get the instance of the class and call the SaveGame function to get the DataObject containing all the data. It's probably best if you take a look at the SaveGameHandler class and see how it get's the data and saves it into a file. Since the file is only saving the XML text (optionally encrypted), it should be easy to change that part to save it to easy save (or a database, etc.).
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • yeah i was planning on writing a wrapper to pull the info and store it into variables and then save those var's with easy save. but to load i would have to send that info back to ork?
    new website can be found here http://www.fore-loregames.com

    Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

    or check out the face book page here https://www.facebook.com/ForeLoreGames
  • Yes, loading stuff is done with the LoadGame functions (equivalent to SaveGame) - it takes a DataObject and pulls it's data from there. The SaveGameHandler class also displays how to get the XML string back into a DataObject :)
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • cool thank you
    new website can be found here http://www.fore-loregames.com

    Follow the game Development on Twitter https://twitter.com/Fore_Lore_Games

    or check out the face book page here https://www.facebook.com/ForeLoreGames
Sign In or Register to comment.