ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

MultiplayerOnly

From ModEnc
Jump to navigation Jump to search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
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.