Skip to content

feat(mge): adds mge_league_v2 and mge_worldchampionship_v5#262

Merged
sonikro merged 2 commits into
mainfrom
mge-maps
Apr 14, 2026
Merged

feat(mge): adds mge_league_v2 and mge_worldchampionship_v5#262
sonikro merged 2 commits into
mainfrom
mge-maps

Conversation

@sonikro
Copy link
Copy Markdown
Owner

@sonikro sonikro commented Apr 14, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 14, 2026 21:28
@sonikro sonikro enabled auto-merge (rebase) April 14, 2026 21:28
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds two new MGE maps (mge_worldchampionship_v5, mge_league_v2) to the repo and attempts to register their arena spawn configurations in the MGEMod spawn config.

Changes:

  • Added spawn configuration blocks for mge_worldchampionship_v5 and mge_league_v2 in mgemod_spawns.cfg.
  • Added the two .bsp map files tracked via Git LFS.
  • Updated .gitattributes to ensure the new .bsp files use Git LFS.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
variants/base/tf/addons/sourcemod/configs/mgemod_spawns.cfg Adds new spawn/arena definitions for the two MGE maps.
maps/mge_worldchampionship_v5.bsp Adds the map BSP via Git LFS pointer.
maps/mge_league_v2.bsp Adds the map BSP via Git LFS pointer.
.gitattributes Configures Git LFS tracking for the new BSP files.

Comment on lines +14161 to +14166
"gamemode" "mge"
"team_size" "1v1 2v2"
"frag_limit" "20"
"allowed_classes" "scout soldier demoman sniper"
"hp_multiplier" "1.25"
"early_leave_threshold" "3"
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The added arenas for this map use a different KeyValues schema (e.g., "gamemode", "team_size", "frag_limit", "allowed_classes", etc.). This file’s documented/established format uses keys like "fraglimit", "classes", "hpratio", "earlyleave", "infammo", "showhp", "mindist", and expects spawn points ("1", "2", …) directly under the arena block. With the current schema, MGEMod is unlikely to find any valid spawns/options for these arenas. Please rewrite this section to match the existing mgemod_spawns.cfg format (see the nearby mge_league_v1 entries as an example).

Copilot uses AI. Check for mistakes.
Comment on lines +14683 to +14707
"gamemode" "mge"
"team_size" "1v1 2v2"
"frag_limit" "20"
"allowed_classes" "scout soldier demoman sniper"
"hp_multiplier" "1.25"
"early_leave_threshold" "3"
"infinite_ammo" "0"
"show_hp" "0"
"min_spawn_distance" "700"

"spawns"
{
"red"
{
"1" "-10710.000000 12100.000000 -3415.000000 0.000000 135.000000 0.000000"
"2" "-10905.000000 12105.000000 -3400.000000 0.000000 90.000000 0.000000"
"3" "-11210.000000 12105.000000 -3400.000000 0.000000 90.000000 0.000000"
}
"blu"
{
"1" "-11415.000000 13185.000000 -3415.000000 0.000000 -45.000000 0.000000"
"2" "-11200.000000 13185.000000 -3400.000000 0.000000 -90.000000 0.000000"
"3" "-10905.000000 13175.000000 -3400.000000 0.000000 -90.000000 0.000000"
}
}
Copy link

Copilot AI Apr 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same issue as above for the mge_league_v2 arenas: this section uses non-standard keys ("frag_limit", "allowed_classes", "hp_multiplier", etc.) and a nested "spawns"/"red"/"blu" structure that doesn’t match the mgemod_spawns.cfg format described at the top of the file (and used everywhere else). Please convert these arenas to the existing flat format (numeric spawn keys + "fraglimit"/"classes"/"hpratio"/etc.).

Suggested change
"gamemode" "mge"
"team_size" "1v1 2v2"
"frag_limit" "20"
"allowed_classes" "scout soldier demoman sniper"
"hp_multiplier" "1.25"
"early_leave_threshold" "3"
"infinite_ammo" "0"
"show_hp" "0"
"min_spawn_distance" "700"
"spawns"
{
"red"
{
"1" "-10710.000000 12100.000000 -3415.000000 0.000000 135.000000 0.000000"
"2" "-10905.000000 12105.000000 -3400.000000 0.000000 90.000000 0.000000"
"3" "-11210.000000 12105.000000 -3400.000000 0.000000 90.000000 0.000000"
}
"blu"
{
"1" "-11415.000000 13185.000000 -3415.000000 0.000000 -45.000000 0.000000"
"2" "-11200.000000 13185.000000 -3400.000000 0.000000 -90.000000 0.000000"
"3" "-10905.000000 13175.000000 -3400.000000 0.000000 -90.000000 0.000000"
}
}
"fraglimit" "20"
"classes" "scout soldier demoman sniper"
"hpratio" "1.25"
"earlyleave" "3"
"infammo" "0"
"showhp" "0"
"distance" "700"
"1" "-10710.000000 12100.000000 -3415.000000 0.000000 135.000000 0.000000"
"2" "-10905.000000 12105.000000 -3400.000000 0.000000 90.000000 0.000000"
"3" "-11210.000000 12105.000000 -3400.000000 0.000000 90.000000 0.000000"
"4" "-11415.000000 13185.000000 -3415.000000 0.000000 -45.000000 0.000000"
"5" "-11200.000000 13185.000000 -3400.000000 0.000000 -90.000000 0.000000"
"6" "-10905.000000 13175.000000 -3400.000000 0.000000 -90.000000 0.000000"

Copilot uses AI. Check for mistakes.
@sonikro sonikro merged commit e341b0b into main Apr 14, 2026
13 checks passed
@sonikro sonikro deleted the mge-maps branch April 14, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants