redeclipse / base

Base environment for Red Eclipse and associated source files.
https://redeclipse.net/
433 stars 88 forks source link

Mod config menu #1581

Open MirceaKitsune opened 2 weeks ago

MirceaKitsune commented 2 weeks ago

It might be useful to have a simple mod management menu, where players can turn on or off the execution of a config that executes other configs which can temporarily change any setting. All cfg files placed in a mods subdirectory in the user dir are listed in a menu with a checkbox, if an entry is checked that config is then executed at startup. This would facilitate things such as custom weapon balances and other modifications which players can easily activate on demand: Currently placing a mod's zip in the user directory will automatically cause it to be executed, a mod can only be disabled by moving its zip to another directory or editing autoexec.cfg.

nochinator commented 1 week ago

an idea to add onto this is to have a priority list so if two "mods" change the same var then the one with highest priority will become active. Similar to resource packs in Minecraft.

MirceaKitsune commented 1 week ago

an idea to add onto this is to have a priority list so if two "mods" change the same var then the one with highest priority will become active. Similar to resource packs in Minecraft.

In our case that might be best doable using an ordered list where you can drag items above or below others: Ones at the top execute first and override vars set by the previous enabled mods. This should be stated in the menu so everyone is aware of how to position them.