Jump to content

MultiplayerOnly: Difference between revisions

From ModEnc²
en>ATHSE
sorry toasty, you=wrong
en>E1 Elite
Corrected.
Line 3: Line 3:
|files={{Categ|Maps}}
|files={{Categ|Maps}}
|types={{Categ|Basic}}
|types={{Categ|Basic}}
|values=unsigned integers, (0 to 8)
|values=unsigned integer
|default=1
|default=0
|ts=yes
|ts=yes
|fs=yes
|fs=yes
Line 12: Line 12:
|yr=yes
|yr=yes
}}
}}
Specify the minimum number of players. The game can be launched only if the number of players equals the specified number.
MultiplayerOnly field is used to specify if a map is of type Multiplayer (1 or higher) 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.


==Note==
Final Alert 2 / FinalSun map editors use this field to show/hide multiplayer specific values like <Player @ A> in its dropdown.
The above added by Testid123 is entirely a theory. Tests by G-E, Rampastring, and others have shown it has no effect on RA2/YR loading a multiplayer game, nor is it required for a map to function as multiplayer.
 
In fact, the FinalAlert2 map editor always writes the value as 1 when saving a multiplayer map.

Revision as of 02:11, 22 March 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: MultiplayerOnly
File(s): Maps
Values: unsigned integer
Default: 0
Applicable to: Basic


MultiplayerOnly field is used to specify if a map is of type Multiplayer (1 or higher) 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.

Final Alert 2 / FinalSun map editors use this field to show/hide multiplayer specific values like <Player @ A> in its dropdown.