Linedef type 3

From SRB2 Wiki
Jump to: navigation, search
Player spinning through a zoom tube.

Linedef type 3, Zoom Tube Parameters, is a type of linedef special which is used to define the parameters of a sequence of zoom tube waypoints. For more information about creating zoom tubes, refer to the zoom tube tutorial.

Setup

This linedef must be tagged to the two sectors which have the Zoom Tube Start and Zoom Tube End special, respectively (or only one of these to create a one-way zoom tube). The linedef's front texture X offset determines the speed of the zoom tube (a value of 8 equals 1 fracunit per tic of speed), and its front texture Y offset determines the number of the waypoint sequence. In both cases, the sign is ignored, so a negative value will have the same effect as the corresponding positive value.

If the Solid Midtexture flag is checked, the zoom tube will also activate if the player is not facing the same direction as the zoom tube itself. Note that this effect should be only used for one-way zoom tubes, as the player will spin back and forth endlessly if both ends contain an activator sector.

Sample

Example file: ex_ld003_zoomtubeparameters.wad (MAP01) 
  • This map contains two separate zoom tubes. One is a regular ground-based zoom tube, while the other is floating freely in the air with the use of an intangible FOF.
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_ld003_zoomtubeparameters.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld003_zoomtubeparameters.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 types – Parameters [view]
Custom ExitZoom Tube ParametersSpeed Pad ParametersSpecial Sector PropertiesChain ParametersRope Hang ParametersRock Spawner ParametersBustable Block ParametersFan Particle Spawner ParametersMinecart ParametersContinuously Appearing/Disappearing FOF