2.0:XSRB2/Linedef types/Linedef type 318

From SRB2 Wiki
Jump to navigation Jump to search

Linedef type 318, Trigger Linedef Executor: Check Player's Color – 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 color activates an associated sector trigger. The linedef executor will keep being triggered over and over again as long as a player is there. The player color can be changed with linedef type 462.

Setup

The color an activating player is required to have to trigger this effect is determined by the length of the control linedef. The numerical values for each color are listed below. The color must be equal to the length of the control linedef, unless the Effect 4 flag is checked. If this case, the color needs to be not equal to the length of the control linedef. If the Not Climbable flag is checked, the player color must have been set with the use of linedef type 462. If not, the color may have also been set by the player themselves.

List of colors:

Value 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Color Cyan Peach Lavender Silver Orange Red Blue Steel Blue Pink Beige Purple Green White Gold Yellow

Sample

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