PadWorld-Entertainment / worldofpadman

World of PADMAN game repository
https://worldofpadman.net
Other
39 stars 9 forks source link

UI: Selecting wrong game types for maps and vice versa in the ingame menu #44

Open kai-li-wop opened 3 years ago

kai-li-wop commented 3 years ago

Since the ingame vote menu was implemented in World of Padman, there is the problem that for the currently played game type not matching maps can be chosen and vice versa, so also for the currently played map not matching game types can be chosen. Unsuspecting players then end up on servers with impossible map-game type combinations and can no longer score points.

shot0000

Basically, however, compatibility is dictated by the arena file. You could try the following solution:

  1. if a new map is to be selected, only maps suitable for the current game type could be displayed in the menu and be selectable.

  2. if a new game type is to be selected, only game types suitable for the current map could be displayed in the menu and be selectable.

The problem with 2. is that it is not possible to select another game type from a CTL map, because the arena file only specifies CTL, at least for the standard WoP maps for CTL. The problem can then no longer be solved via a detour via 1., since only CTL maps can be selected here. So you are stuck with CTL.

This could be solved halfway if you simply allow all game types to be selected from the current map, as before, and automatically switch to the next best, suitable map that is found with the game type change. However, this might surprise the player.

  1. the vote menu could only allow a combined selection of game type and matching map right from the start, as the create menu does. The two menu options would have to be combined into one menu and first the game type and then the desired map would have to be selected from a filtered map list.

I think point 3 is the cleanest solution, but I don't know if something like this could be implemented with the current vote menu. Therefore I would be grateful for feedback on the technical implementation possibilities.