Skip to content

ShadowCaster

Tile set whose tiles darken the cells below them with a cliff shadow.

Specification
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.

PositionC_SHADOW.SHP frameSub-tile
201st0
211st0
222nd1
233rd1
244th1
255th0
266th0
277th1
288th0
299th0
3010th1
3111th1
3212th0

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.

TEMPERAT.INI
[TileSet0010] ; example cliff set
SetName=Cliffs
FileName=CLIFF
TilesInSet=40
ShadowCaster=yes
ShadowTiles=40
See also — ShadowTiles, TilesInSet