Jump to content

MultiplayerOnly

From ModEnc²
Revision as of 17:38, 2 July 2025 by Rain-Islet (talk | contribs) ([bot] Batch update {{Bugs}} templates.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 multiplayer (1) or singleplayer (0) type. The game reads this value, but it 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. There are further requirements for a map to have more than one player, as well as other requirements to function for missions.

FinalAlert2/FinalSun map editors set MultiplayerOnly=1 for multiplayer/skirmish maps and MultiplayerOnly=0 for singleplayer maps, when a new map is created. There should never be a need to set this value manually, except if converting a singleplayer map to multiplayer, or vice versa, but then a whole lot of other changes will be required too.

Note

FA2/FS uses this information for features depending on map type, for example to show Player location values of 0-7 for Multiplayer maps and hide it for Singleplayer maps. It is not affected by the actual number of players.

Bugs/Side-Effects/Unexpected Limitations

Values can be 0 through 255. 0 is 'no', all others equate to 'yes'.

See Also

FA2sp