C7-Game / Prototype

An early-stage, open-source 4X strategy game
https://c7-game.github.io/
MIT License
34 stars 9 forks source link

Prototype Mod #133

Open QuintillusCFC opened 2 years ago

QuintillusCFC commented 2 years ago

A prototype mod, or perhaps a scenario, that demonstrates C7's moddability.

There likely needs to be some more forum discussion about what form this should take before this is started. Does the static-json-file-equivalent contain all the info needed for a scenario/mod? Do we have separate files for map/rules/parts-of-rules, and if so, is a "mod" or "scenario" a collection of those?

This prototype mod will most likely be a rules-based mod, but eventually graphics mods will exist too, so the structure will need to be extensible to those.

benskywalker commented 1 year ago

Do you mean like a scenario editor? Or do you mean a particular scenario? I think we'll ultimately want a scenario editor for sure. I've got some Tkinter / PyQT experience if we wanted to go the Python route for that. It's pretty suitable for editing a tiled map or spreadsheet-like updates, which both apply here. It should be very possible to extend that kind of system to hold all the modifications and rules, as long as the files are in an easy-to-read format

WildWeazel commented 1 year ago

For now this will just be an alternate json file that can be loaded instead of the default c7-static-map-save.json, and a means to do so. But for now that file is ad hoc so we need to start planning how it and other mod data will be structured.