Linedef type 6

From SRB2 Wiki
Jump to: navigation, search

Linedef type 6, Disable Linedef Effect on Level Load, is a type of linedef special which immediately disables a specified linedef or several linedefs after the level loads. This is useful for creating levels in which various elements behave differently depending on whether you are playing as Sonic, Tails, or Knuckles.


The tag of the controlling linedef should be identical to the tags of any linedef whose effect you want to disable. To make this linedef depend on the character you are playing as, it should be combined with the character linedef flags, No Sonic, No Tails, and/or No Knuckles. If all three of these flags are checked, the linedef will only execute in Coop mode.


Example WAD: ex_ld006_disablelinedef.wad
  • This example WAD can be played in any gametype. It uses MAP01, replacing Greenflower Zone Act 1.
  • This example WAD contains three colored FOFs which are spawned on level load if the player is playing as Sonic, Tails or Knuckles, respectively.
  • The gray FOF only spawns in Single Player.

  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