type

The file name of the entity, in a view or sky entity definition. Only model and sprite files - pcx, bmp, tga, dds, or mdl - can be used. The type of the entity can be changed at runtime through an ent_morph instruction.

Type:

STRING* (sky or view entity definition only)

Example:

ENTITY* shotgun_onscreen =
{
  type = "shotgun.mdl";
  flags = SHOW;// visible on screen from the start
  view = camera; // same camera parameters as the default view
}

See also:

layer, DOME, SCENE, SKY, ent_createlayer ► latest version online