Difference between revisions of "Flat"

From DoomWiki.org

[unchecked revision][unchecked revision]
(this is not true; it was always possible to add new flats in vanilla doom by adding an "f_end" with no "f_start")
Line 4: Line 4:
  
 
Certain flats are animated to represent water, lava, blood, slime, or other substances. See [[animated flat]].
 
Certain flats are animated to represent water, lava, blood, slime, or other substances. See [[animated flat]].
 
With [[vanilla Doom]], placing flats in [[PWAD]] files presents a number of difficulties. In particular, all flats used (not just those replaced) must be present in the PWAD. Most [[source port]]s are able to overcome this limitation.
 
  
 
Complete details are in the [[Unofficial Doom Specs]].
 
Complete details are in the [[Unofficial Doom Specs]].

Revision as of 09:51, 16 February 2006

A flat is an image that is drawn on the floors and ceilings of sectors. Flats are very different from wall textures. Flats are a raw collection of pixel values with no offset or other dimension information; each flat is a named lump of 4096 bytes representing a 64×64 square. The pixel values are converted to actual colors in the same way as for the Doom picture format.

Flats are always drawn aligned to a fixed grid. This ensures that floor and ceiling textures flow smoothly from sector to sector. It can also cause problems for level designers, usually when placing teleport pads.

Certain flats are animated to represent water, lava, blood, slime, or other substances. See animated flat.

Complete details are in the Unofficial Doom Specs.