ShadowCaster
Tile set whose tiles darken the cells below them with a cliff shadow.
- Applies to
- tile controls
- File
theater control file- Section
[<TileSet ID>]- Value
- boolean
- When omitted
no
A set with ShadowCaster=yes casts cliff shadows only if ShadowTiles is also non-zero. With ShadowTiles at 0, no tile of the set casts anything, but the set still counts toward the theater’s limit of five shadow-casting sets.
The shadows come from a fixed engine table, not from the set’s artwork. A tile’s position in the set, counted from 0, selects its entry. Only positions 20 through 32 have a shadow, so the 21st through 33rd tiles are the ones that cast. Each draws one frame of the shared C_SHADOW.SHP shape, and only on the cell that shows the sub-tile its entry names. Sub-tiles number a tile’s cells row by row, starting from 0 at the top left.
| Position | C_SHADOW.SHP frame | Sub-tile |
|---|---|---|
| 20 | 1st | 0 |
| 21 | 1st | 0 |
| 22 | 2nd | 1 |
| 23 | 3rd | 1 |
| 24 | 4th | 1 |
| 25 | 5th | 0 |
| 26 | 6th | 0 |
| 27 | 7th | 1 |
| 28 | 8th | 0 |
| 29 | 9th | 0 |
| 30 | 10th | 1 |
| 31 | 11th | 1 |
| 32 | 12th | 0 |
A tile at positions 20 through 32 also shades a fixed group of nearby cells. Infantry and vehicles standing on the ground in those cells are drawn darker.
A flagged set’s tiles that are also among the first ten pieces of SlopeSetPieces or SlopeSetPieces2 take their shadow from a separate slope table instead.
[TileSet0010] ; example cliff setSetName=CliffsFileName=CLIFFTilesInSet=40ShadowCaster=yesShadowTiles=40ShadowTiles, TilesInSet