Aleph-Bet-Marathon / alephbet

Open source continuation of the Marathon 2 game engine.
GNU General Public License v3.0
0 stars 3 forks source link

Customizable preferences for scenarios #3

Open aaronfreed opened 1 month ago

aaronfreed commented 1 month ago

Potentially tying into #1 and definitely tying into #2. Currently, scenario developers have no way to add new preference settings, which means that if they want something to be customizable, they have to make it a plugin. However, since it is not possible to run multiple external Lua scripts at once (#2), this also means that if a scenario is to have multiple configurable Lua options, its developers must either create 2ⁿ⁻¹ plugins, where n is the number of configurable options, or use a cumbersome in-game menu that players must customize every time they start a new game. Neither of these are particularly ideal, especially because the plugins may also affect film playback. Scenario-configurable preferences could fix both of these problems, especially if the film profile were updated to record the scenario preferences at time of gameplay. #1 could also tie in if we allow scenario developers the option to make certain settings (e.g., Eternal and Tempus Irae Redux’s map layer scripts) configurable in-game.

SolraBizna commented 1 month ago

We don't yet have a clear concept of what this would look like. Ideas are welcome.