Open tuomount opened 9 months ago
Due to the constraints of the code how SpaceRace
s are treated currently (see my comment in #729 ), such editor would be likely more a "modding" tool than something like "setup your race" screen, which player would want/expect.
Additionally, the resource shadowing is currently useful only for loading SpaceRace
s at program startup, as the factory reads the data files only once. So the editor would either had to refresh the cache of SpaceRaceFactory
or game would have to be restarted.
I recommend to postpone this. There is a lot of new and/or changed things for v0.26 anyway :smile:
Yes, Idea is to have separate selection(Custom Space Race or similar) for main menu and it would rewrite custom.json after exit. SpaceRaces would be reloaded when starting new game or loading game. Moving this to 0.27.
Space Race could have now editor. This should be done by adding new space race json in customs.json which could then loaded by using shadow thingy. Not sure if this should be done for 0.26.0 or 0.27.0