TECS
Ability costs, research times and energy costs for the 24 abilities of the original game.
A Brood War file has TECx in its place; in an older file the game reads this
table and then TECx on top, if the file has one. Only Use Map Settings reads either.
| Name | TECS (54 45 43 53) |
|---|---|
| Size | 216 bytes. |
| Read by | The game, at the start of a Use Map Settings game, in a VER 59 or 63 file, or Remastered's 64. A Brood War file's copy is never read. |
| Required | For Use Map Settings in a StarCraft 1.00 or hybrid file (VER 59 or 63), and in Remastered's VER 64. |
| The game accepts | Exactly 216 bytes. Any other length refuses the map. |
| More than one copy | Combined entry by entry: a copy changes only the entries it marks as not using the game's own values, and every other entry keeps what an earlier copy gave it. |
| In scmJS | Read, and written again when you change what it holds. |
Layout:
| Offset | Type | Holds |
|---|---|---|
| 0 | u8 × 24 | Per ability: 0 to use this section's values; anything else for the game's own |
| 24 | u16 × 24 | Mineral cost |
| 72 | u16 × 24 | Gas cost |
| 120 | u16 × 24 | Research time, in game frames |
| 168 | u16 × 24 | Energy cost |