layer
Determines the drawing order of a sky or view entity. Elements with higher layer value
are drawn over elements with lower layer value. Elements
with the same layer value are sorted according to their distance to the camera.
The
layer parameter only appears in a definition, but can not be accessed at
runtime.
Range:
unlimited (default: 0)Type:
var (definition only)
Example:
ENTITY* mountains_pcx =
{
type = "mountains.pcx"; // Picture for the scenemap
layer = 3; // cover Sky-Entities on lower layers
scale_x = 0.25; // field of view of 90 degrees(360 * 0.25 = 90)
tilt = -10; // 10 degrees down
flags = OVERLAY;
flags2 = SCENE | SHOW;
}
See also:
type, VEW,
DOME, SCENE, SKY
► latest
version online