Game rules (1p and MP)
All the game plugins have a number of cvars that affect how gameplay behaves (either in 1p or MP). Instead/additionally, there should be a better mechanism for defining the gameplay rules. In this setup, one of the possible rule sets would for example be "Deathmatch". "Single player" would be another rule set.
- It should be easily possible to alter the active set of game rules, or create one's own rule set.
- The map cycle should be incorporated into the game rules.
- Setting profiles (cf. Renderer Appearance) should/could be incorporated into the game rules somehow?
See: Game rules proposal
#4 Updated by danij over 6 years ago
Should a map cycle be incorporated into the game rules?
It occurs to me that a map cycle is outside the scope of a game rule set. A map cycle can and should work independently from a set of game rules.
Mixing the map cycle into the game rules would contradict the map progression that is normally attributed to a singleplayer game session.
#5 Updated by skyjake over 6 years ago
Hmm, in the context of MP it makes more sense than in 1p to have the map cycle as part of rules...
Maybe this could be solved by making the rules hierarchical, so that the map cycle would essentially be a variant applied on a parent rule set? The rule set hierarchy could also tie into the Game mode hierarchy.
Personally I find it difficult to justify leaving map cycle out of the game rules entirely.
#6 Updated by danij over 6 years ago
Interpreting the rule set as a hierarchy would seem to be the correct solution here. In fact I wonder whether game rules and game modes are actually the same conceptually and if so then a generalised mechanism which folds both feature sets might be desirable.
However this could potentially mean a rule set is not "complete" with some rules having no defined value.