Jump to content

Recommended Posts

Posted

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.

Posted

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.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...