Skip to content

RampBase

Tile set holding the twenty plain ramps that carry ground between height levels.

Specification
Applies to
tile controls
File
theater control file
Section
[General]
Value
integer
When omitted
-1The role stays unresolved. Ramp shape 1 then gets tile index -1, and shapes 2 through 20 get the theater's first nineteen tiles.

The set holds one single-cell ramp piece for each ramp shape, in this order:

TilesRamp shapes
1 to 4Straight ramps descending west, north, east and south
5 to 8Outer corners, with one corner raised
9 to 12Inner corners, with three corners raised
13 to 16Steep ramps, with two corners raised and a third raised twice as high
17 to 20Double ramps, with two opposite corners raised

Directions are map directions, and map north is the upper right of the screen. The engine takes the piece for a shape by its position in the set, so pieces stored out of order give cells artwork that does not match their slope. Theater control files explains how the [General] value selects a set.

The engine writes pieces from this set into cells in these cases:

  • Terrain deformation, from a warhead’s Deform or a meteor crater set by CraterLevel, gives each reshaped cell the piece for its new slope.
  • A veinhole monster that the random map generator places sinks the three-by-three block of cells around it and lines the rim with ramps.
  • Whenever a cell’s terrain is recalculated, including at scenario start, a cell holding one of this set’s four straight ramps or a RampSmooth blend piece has its piece picked again. It gets its plain piece from this set when both neighbors along the slope also slope, and a blend piece from RampSmooth otherwise.
  • Placing the sixth or ninth piece of SlopeSetPieces during play replaces some of its cells with the second or first piece of this set.

The random map generator uses the same pieces when it builds slopes.