Linedef type 258

From SRB2 Wiki
Jump to navigation Jump to search
Laser FOFs in Egg Rock Zone Act 1.

Linedef type 258, Laser, is a type of floor over floor block which acts like a laser beam. This FOF is intangible, blinks very rapidly, generates laser ambience (sound sfx_laser), and harms the player on contact with generic damage. It is commonly used with the REDWALL texture and the REDFLR flat, or other solid-color textures and flats. Lasers can be found throughout Egg Rock Zone, where they exhibit various elaborate effects and movement patterns created with the use of other linedef specials.

Setup

The flats, floor height, and ceiling height of the laser FOF are determined by the flats, floor height, and ceiling height of the control sector, and the sidedefs of the laser FOF's walls are determined by the sidedef of the control linedef. If Flag [5] / Slope Skew / Effect 1 is checked, the laser will not damage bosses.

Aesthetic tips

It is recommended that lasers be assigned solid colors on their sides and flats, to simulate a realistic laser beam. Solid red and solid blue laser beams look the best, although yellow, orange, purple, green, and white lasers are also possible.

Sample

Example file: ex_ld258_foflaserblock.wad (MAP01)
How to use
  • You may load this file into your favorite map editor, such as Zone Builder. Select MAP01 as the map to load.
  • You may also load this file in the game:
    1. Save ex_ld258_foflaserblock.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld258_foflaserblock.wad.
    3. Start the game in Single Player mode.
    4. Press the Console button (~), and type in the command MAP MAP01 to access the example map.
  • When you load this file in the game, it replaces Greenflower Zone Act 1.


  Linedef typesFloor over floor [view]
Solid:
Solid, Opaque, ShadowcastingSolid, Opaque, Non-ShadowcastingSolid, TranslucentSolid, Sides OnlySolid, No SidesSolid, InvisibleIntangible from Bottom, OpaqueIntangible from Bottom, TranslucentIntangible from Bottom, Translucent, No SidesIntangible from Top, OpaqueIntangible from Top, TranslucentIntangible from Top, Translucent, No SidesOnly Tangible from Sides
Intangible:
Water, OpaqueWater, TranslucentWater, Opaque, No SidesWater, Translucent, No SidesGoo Water, TranslucentGoo Water, Translucent, No SidesIntangible, OpaqueIntangible, TranslucentIntangible, Sides OnlyIntangible, Invisible
Moving:
Air BobbingAir Bobbing (Adjustable)Reverse Air Bobbing (Adjustable)Dynamically Sinking PlatformWater BobbingRising Platform, Solid, Opaque, ShadowcastingRising Platform, Solid, Opaque, Non-ShadowcastingRising Platform, Solid, TranslucentRising Platform, Solid, InvisibleRising Platform, Intangible from Bottom, OpaqueRising Platform, Intangible from Bottom, Translucent
Crumbling:
Crumbling, RespawnCrumbling, No RespawnCrumbling, Respawn, Intangible from BottomCrumbling, No Respawn, Intangible from BottomCrumbling, Respawn, Intangible from Bottom, TranslucentCrumbling, No Respawn, Intangible from Bottom, TranslucentCrumbling, Respawn, Floating, BobbingCrumbling, No Respawn, Floating, BobbingCrumbling, Respawn, FloatingCrumbling, No Respawn, FloatingCrumbling, Respawn, Air Bobbing
Special:
Light BlockHalf Light BlockFog BlockMario BlockThwomp BlockShatter BlockShatter Block, TranslucentBustable BlockSpin-Bustable BlockSpin-Bustable Block, TranslucentQuicksandLaserCustom FOF