FORC
The four forces: which force each of Players 1 to 8 is in, each force's name, and its settings. Players 9 to 12 are in no force.
| Name | FORC (46 4F 52 43) |
|---|---|
| Size | 20 bytes. |
| Read by | The game. |
| Required | Yes. The game does not load a map without it. |
| More than one copy | Only the last copy counts. |
| In scmJS | Read, and written again when you change what it holds. |
Layout:
| Offset | Type | Holds |
|---|---|---|
| 0 | u8 × 8 | The force of each of Players 1 to 8, 0 to 3 |
| 8 | u16 × 4 | The name of each force, a string number |
| 16 | u8 × 4 | Each force's flags (below) |
Force flags:
| Bit | Meaning |
|---|---|
| 0x01 | Random start |
| 0x02 | Allied |
| 0x04 | Allied victory |
| 0x08 | Shared vision |
Example#
Players 1 to 4 against 5 to 8. The first force is allied, shares vision, wins together and has random start positions; the second only has random start positions:
0 00 Player 1: force 1
1 00 Player 2: force 1
2 00 Player 3: force 1
3 00 Player 4: force 1
4 01 Player 5: force 2
5 01 Player 6: force 2
6 01 Player 7: force 2
7 01 Player 8: force 2
8 03 00 force 1's name: string 3
10 04 00 force 2's name: string 4
12 05 00 force 3's name: string 5
14 06 00 force 4's name: string 6
16 0F force 1: random start, allied, allied victory, shared vision
17 01 force 2: random start
18 00 force 3: no flags
19 00 force 4: no flags