2.0:XSRB2/Linedef types/Linedef type 317

From SRB2 Wiki
Jump to navigation Jump to search

Linedef type 317, Trigger Linedef Executor: Check Player's Scale – Continuous, is a type of linedef executor trigger exclusive to XSRB2 which activates any linedef executor in the control sector when a player with a specified scale activates an associated sector trigger. The linedef executor will keep being triggered over and over again as long as a player is there. The scale of an object can be set with linedef type 438.

Setup

The scale an activating player is required to have to trigger this effect is determined by the length of the control linedef, measuring in percent of the normal scale. Without any linedef flags, the scale must be exactly equal to the length of the control linedef. If the Not Climbable flag is checked, the required scale must be greater than or equal to the length of the control linedef. If the Effect 4 flag is checked, the required scale must be less than the length of the control linedef.

Sample

Example file: ex_ld317_xsrb2_scalecontinuous.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_ld317_xsrb2_scalecontinuous.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld317_xsrb2_scalecontinuous.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