SIDE
Each player's race.
In a Use Map Settings game, a player whose race is User Selectable gets the melee starting units of the race they pick, and the units the map places for them are left out, all but the neutral kinds: mineral fields, geysers, critters, power-ups, doors and traps, Map Revealers, Dark Swarm and Disruption Web. A map that places units for a player should give that player a race. 1.16.1 and Remastered both do this.
The game does not check the values. In the lobby it turns User Selectable into Random.
SIDE is one of the two sections the VCOD check covers. A mod can use values
past 7 for races of its own; scmJS keeps such a value as it is and shows it as Race and
the number unless the data set in use names it (Races a mod
adds).
| Name | SIDE (53 49 44 45) |
|---|---|
| Size | 12 bytes. |
| Read by | The game, for the map list. It reads it again when a game is created and when it starts. |
| Required | Yes. Without it the map list shows the map as Invalid Scenario, and it cannot be played. |
| The game accepts | Exactly 12 bytes. Any other length refuses the map. |
| More than one copy | The last copy replaces the others. Every copy must still be the right size, or the map is refused. |
| In scmJS | Read, and written again when you change what it holds. |
Layout:
| Offset | Type | Holds |
|---|---|---|
| 0 | u8 × 12 | Each player's race, one byte per player slot, Player 1 first |
| Value | Race |
|---|---|
| 0 | Zerg |
| 1 | Terran |
| 2 | Protoss |
| 3 | Independent |
| 4 | Neutral |
| 5 | User Selectable |
| 6 | Random |
| 7 | Inactive |