Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a separate "King of the Flag" gamemode #876

Closed
calcastor opened this issue May 20, 2021 · 2 comments
Closed

Implement a separate "King of the Flag" gamemode #876

calcastor opened this issue May 20, 2021 · 2 comments
Labels
feature New feature or request

Comments

@calcastor
Copy link
Contributor

calcastor commented May 20, 2021

Currently, PGM deems all maps which implement flags as "Capture the Flag" maps. As a result, maps such as Desert Sanctuary by Strangey and Avaleer and Maple Syrup by Xerocoles and Zaquez, where the goal is for your team to control the flag for the longest, are grouped, by default, as "Capture the Flag" maps, despite having distinctly different gameplay. In the /map info for these maps, they will also default appear with the #flag tag; while not incorrect this too does not differentiate between the differences in gameplay.

The current workaround for this, at least cosmetically, is to specify the game title for these maps with the <game> module or as a specified attribute of the <map> module. At least colloquially (and in PGM's documentation), maps with this play style tend to be referred to as "King of the Flag" maps, and defining them as such with the aforementioned module or attribute will change the title of the scoreboard during the match. However, this has a few limitations:

  1. A custom gamemode title specified with <game> or within <map> is hard coded and thus overrides any translations for game mode titles.
  2. Maps defined in this manner will continue to be grouped together with typical "Capture the Flag" maps, under the tag #flag , despite their gameplay differences.
  3. Perhaps least of all, it's just inconvenient.

In my opinion, the best solutions for this are as follows (provided such solutions are feasible):

  1. Add a separate "King of the Flag" gamemode, that can be defined with the module <gamemode>kotf</gamemode> if needed. Ideally, this should happen automatically as tends to be the case with most gamemodes.. Maps where this gamemode should be automatically identified are those in which a team gains points at a specified rate only while a member of that team is holding the flag.
  2. Rename or the current #flag tag which appears in /map to #ctf, and add a separate #kotf tag.
@CoWinkKeyDinkInc
Copy link
Contributor

A custom and translatable gamemode title can be quickly addressed with PR #873

@Pablete1234 Pablete1234 added the feature New feature or request label May 22, 2021
@CoWinkKeyDinkInc
Copy link
Contributor

This feature is now implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Development

No branches or pull requests

3 participants