Adding new info to save files

Everything about development and the OpenMW source code.
Post Reply
mattwla
Posts: 41
Joined: 17 Jul 2017, 14:45

Adding new info to save files

Post by mattwla » 06 Nov 2017, 00:19

Hi,

I've been adding some new AI packages to my personal openmw fork. I want to start allowing the state of these packages to be saved in a save game but I am not sure about the best way to proceed. This is for my own personal project not for the master openmw branch.

The obvious solution is to look how other packages are saved and base my work on that, but I can also see that resulting in problems down the line if the master OpenMW refactors save code.

I am starting to wonder if I want to split save info into 2 types of saves, I will not touch the default saving behavior, but I will record some info into a .csv for my own AI packages. That way I can save new data I am working with without messing with the old.

Does anyone have thoughts on the best way to handle this?

Thanks

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests