ZeroK-RTS / Chobby

Spring RTS Ingame lobby project
17 stars 38 forks source link

[Pie in the sky] Conditional modoptions #105

Open sprunk opened 7 years ago

sprunk commented 7 years ago

Some modoptions depend upon others. For example:

These modoptions could only be shown when relevant to reduce confusion and clutter.

Licho1 commented 7 years ago

Engine does not support any extra grouping for that. We could make it "rule based".

Like if there is option prefix_onoff trhen if this is off, do not enable any options with prefix_stuff in chobby.

GoogleFrog commented 7 years ago

I'm not sure how much the engine uses modoptions.lua. I have been able to set modoptions on Springie that are commented out of modoptions.lua and they still take effect ingame.

sprunk commented 6 years ago

Engine does not care about modoptions.lua at all. This would be purely UI side.

sprunk commented 3 months ago

https://github.com/beyond-all-reason/BYAR-Chobby/pull/750 maybe stealable https://github.com/beyond-all-reason/Beyond-All-Reason/pull/3733 gameside half of the above