[SCRIPTING] Save games and Lua, Homeworld RPG

Ok, thanks for the answers :slight_smile:
I’ll wait for the patch for the next questions, I don’t want to bother you too much ^^

I would be interested in seeing what you come up with.

IIRC another potential problem is that there’s no way to inventory who has what subsystems using gametype scripts.

Ignore that. I am using the built in persist files, so this is not an issue.

Also, regular save slots work fine for storing the game state except for nondetermchunk stuff in the level files. Things like level backgrounds and music don’t get saved, so the level file looks to the custom code for that info, but fails. So you have to make sure the save slots and custom state information are in sync. (Which I haven’t figured out how to do yet.)