Jump to content

MultiplayerOnly: Difference between revisions

From ModEnc²
en>E1 Elite
mNo edit summary
en>DeathFish
m Thanks to the knowledge from E1 Elite
Line 12: Line 12:
|yr=yes
|yr=yes
}}
}}
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.
{{tt|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.
[[Matze%27s_tools#FinalAlert_2|FinalAlert2]]/[[Matze%27s_tools#FinalSun|FinalSun]] map editors set {{f|MultiplayerOnly|1}} for Multiplayer maps and {{f|MultiplayerOnly|0}} for Singleplayer maps when a map is created.


==Note==
==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.
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.
'''There should never be a need to set this value manually.'''

Revision as of 15:53, 28 March 2025

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.