SqHd Posted May 8, 2016 Share Posted May 8, 2016 Hello. I'm wondering if anyone has an updated version of Steve's "Simplistic Save and Load Game System":http://www.garagegames.com/community/resources/view/21450I got stuck on which file to place these functions in: function StorePlayerObject(), function SimplisticSaveGame(%missionName), and function SimplisticLoadGame(%missionName)Or is there another T3D MIT compatible save / load resource?Thanks. Quote Link to comment Share on other sites More sharing options...
rlranft Posted May 9, 2016 Share Posted May 9, 2016 Doesn't really matter what file you put them in, as long as the file they're in gets exec()'d before you try to call them. Quote Link to comment Share on other sites More sharing options...
SqHd Posted May 9, 2016 Author Share Posted May 9, 2016 Thanks. I'll try putting in the defaultbind.cs Quote Link to comment Share on other sites More sharing options...
rlranft Posted May 9, 2016 Share Posted May 9, 2016 Okay, but that might not be executed until level load - it would be better to get it in earlier.... Quote Link to comment Share on other sites More sharing options...
SqHd Posted May 10, 2016 Author Share Posted May 10, 2016 Well, I have some progress. I put the functions in default.bind.cs (bc I'm not sure how to call them via a keybind if they are in another file). When I'm in a mission and I press the key to save, it creates 2 save files. Odd...When trying to load (via the console), I get this console error:getSubStr(...): error, starting position and desired length must be >= 0: (-3, 3)And the screen is just black with an ammo counter for the pistol and the chat HUD welcoming me.If I open the save file via the world editor it works great. Quote Link to comment Share on other sites More sharing options...
SqHd Posted May 12, 2016 Author Share Posted May 12, 2016 Finally had a chance to do some more investigation.When I load the game and end up in the black screen mission, I'm being loaded into the "RootGroup" of the scene.I opened the World Editor and that is what shows up scene tree view (instead of the MissionGroup from the save file).If I open the saved .mis file from the World Editor, it loads correctly. Quote Link to comment Share on other sites More sharing options...
SqHd Posted May 19, 2016 Author Share Posted May 19, 2016 Still no luck. Anybody have Steve's save / load system working w/ T3D 3.8? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.