2.0:XSRB2/Linedef types/Linedef type 319

From SRB2 Wiki
Jump to navigation Jump to search

Linedef type 319, Trigger Linedef Executor: Sector Ceiling Comparison – Continuous, is a type of linedef executor trigger exclusive to XSRB2 which activates any linedef executor in the control sector when a player activates an associated sector trigger and the ceiling of a designated sector has a specified height. The linedef executor will keep being triggered over and over again as long as a player is there.

Setup

The front texture X offset determines the sector number whose ceiling height is checked. The front texture Y offset sets the ceiling height that sector is required to have. Without any linedef flags, the ceiling height must be exactly equal to the Y offset of the control linedef. If the Not Climbable flag is checked, the required ceiling height must be greater than or equal to the Y offset of the control linedef. If the Effect 4 flag is checked, the required ceiling height must be less than the Y offset of the control linedef.

Sample

Example file: ex_ld319_xsrb2_ceilingcomparisoncontinuous.wad (MAP01) 
  • Play this map in single player mode.
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_ld319_xsrb2_ceilingcomparisoncontinuous.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld319_xsrb2_ceilingcomparisoncontinuous.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.



  XSRB2 specials [view]
Linedefs:
Trigger Linedef Executors:
Check Player's Scale – ContinuousCheck Player's Color – ContinuousSector Ceiling Comparison – ContinuousSector Floor Comparison – ContinuousGolf – Count Strokes – Once
Trigger Linedef Actions:
Launch PlayerDamage ObjectTemporary Player Color Change

Sectors:
Conditional Instant KillBOSSX4 Effect Sector

Things:
Springs and Fans:
Blue Spring (Ceiling)Diagonal Blue SpringDiagonal Blue Spring (Ceiling)
Bosses:
Unnamed Boss – Boss X1EGGrid – Boss X4Boss X1 WaypointBoss X4 Turret
Item Boxes:
Combi-ringShrink MonitorGiant Monitor