Skip to content

Support more than 8 multiplayer starting waypoints - #348

Closed
hrusten wants to merge 1 commit into
CnCNet:masterfrom
hrusten:configurable-multiplayer-max-players
Closed

hrusten wants to merge 1 commit into
CnCNet:masterfrom
hrusten:configurable-multiplayer-max-players

Conversation

@hrusten

@hrusten hrusten commented Nov 14, 2026 •

Copy link
Copy Markdown

Some engines play maps for more than 8 players, with waypoints 0 to N-1 as the starting waypoints and [Basic] MaxPlayers=N saying how many there are. This lets WAE edit such maps, while every existing game config keeps working exactly as before.

What changed

  • MultiplayerMaxPlayers in Constants.ini: the most players the target game supports. Default 8, so nothing changes unless a config raises it.
  • When it is above 8, Basic Options shows a Max Players box that writes [Basic] MaxPlayers=. The count is always set by the map author: WAE never turns a map's own waypoints into starting waypoints by itself.
  • Waypoints 0 to MaxPlayers - 1 are then treated as starting waypoints everywhere the editor used 8: player spot markers in the megamap, waypoint number suggestions, the written MaxPlayer count, and the MCP starting-waypoint flag.
  • Two new map issue checks: missing starting waypoints, and waypoints used by triggers, scripts or TeamTypes that a higher player count turns into starting waypoints (the usual case when an older 8-player map is converted).
  • New strings go through Translate and are in Translation_en.ini.

Testing
Built with the repository's Build Map Editor workflow on my fork (passes). I haven't run the editor UI myself; a look at the Basic Options layout with MultiplayerMaxPlayers=30 would be welcome.

MultiplayerMaxPlayers in Constants.ini sets how many players the target game supports, 8 by default. When it is above 8, the Basic options show a Max Players box that writes [Basic] MaxPlayers=, and waypoints 0 to MaxPlayers - 1 are treated as starting waypoints: player spot markers, waypoint number suggestions, the written MaxPlayer count and the MCP starting-waypoint flag follow it. The issue checker reports missing starting waypoints and waypoints used by triggers, scripts or TeamTypes that more players turn into starting waypoints.
@hrusten hrusten closed this Nov 14, 2026
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.

1 participant