Jump to content

MultiplayerOnly: Difference between revisions

From ModEnc²
en>E1 Elite
m Clarification.
Rain-Islet (talk | contribs)
m [bot] Batch update {{Bugs}} templates.
 
(7 intermediate revisions by 5 users not shown)
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</tt> 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.
 
[[Matze%27s_tools#FinalAlert_2|FinalAlert2]]/[[Matze%27s_tools#FinalSun|FinalSun]] map editors set <tt>MultiplayerOnly=1</tt> for multiplayer/skirmish maps and <tt>MultiplayerOnly=0</tt> 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==
==Note==
FinalAlert2/FinalSun map editors set MultiplayerOnly value to 1 for Multiplayer or 0 for Singleplayer when a map is created. It 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, 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}}==
Values can be 0 through 255. 0 is 'no', all others equate to 'yes'.
 
==See Also==
[[FA2sp]]

Latest revision as of 17:38, 2 July 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 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