Jump to content

MultiplayerOnly

From ModEnc²
Revision as of 21:59, 31 March 2025 by MarkJFox (talk | contribs) (15 revisions imported)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: MultiplayerOnly
File(s): Maps
Values: 0 to 255
Default: 0
Applicable to: Basic


MultiplayerOnly field is used to specify if a map is of type Multiplayer (1) or Singleplayer (0) map. Game reads this value but does not use this field to enforce the map type, so a correct value is not needed for a map to function as SP/MP map.

FinalAlert2/FinalSun map editors set MultiplayerOnly=1 for Multiplayer maps and MultiplayerOnly=0 for Singleplayer maps when a map is created.

Note

In the game it is used as a boolean operator which is stored as 1 byte unsigned integer.

So value 0 is no. Values 1 to 255 is yes. It is not affected by number of players.

FA2/FS uses this information for features depending on map type like for example, to show Player location values of 0-7 for Multiplayer maps and hide it for Singleplayer maps.

There should never be a need to set this value manually.