Linedef type 7

From SRB2 Wiki
Jump to: navigation, search
An aligned flat (to the left) and an angled flat (to the right).

Linedef type 7, Sector Flat Alignment, is a type of linedef special which aligns or angles a tagged sector's floor and/or ceiling flats upon loading a level. Note that this linedef action has no effect on skies (flats assigned with F_SKY1).

Setup

The X alignment of the flat is specified by the controlling linedef's X distance, and the Y alignment of the flat is specified by the controlling linedef's Y distance. By default, this effect works on both the floor and ceiling flats of a sector. However, checking the Not Climbable flag on the linedef will make it align only the floor flat, while the Block Enemies flag will make it align only the ceiling flat.

Checking the Solid Midtexture flag will instead angle the flats relative to the angle of the linedef. If this flag is set, checking the Bouncy Wall flag will make it angle only the floor, and checking the Repeat Midtexture flag will make it angle only the ceiling.

Sample

Example WAD: ex_ld007_sectorflatalignment.wad
  • This example WAD can be played in any gametype. It uses MAP01, replacing Greenflower Zone Act 1.
  • This example WAD shows both the angle effect and the alignment effect. In both cases, only the floor is affected.

  Linedef types - Miscellaneous [view]
Per-Sector GravitySpeed PadCamera ScannerDisable Linedef Effect on Level LoadSector Flat AlignmentCulling PlaneHeat Wave EffectVisual Portal Between Tagged LinedefsInstantly Lower Floor on Level LoadInstantly Raise Ceiling on Level LoadFake Floor/Ceiling PlanesFloor Friction