2.0:XSRB2/Linedef types/Linedef type 462

From SRB2 Wiki
Jump to navigation Jump to search

Linedef type 462, Linedef Executor: Temporary Player Color Change is a type of linedef executor exclusive to XSRB2 which, when triggered, changes the color of the player to have a specified color. This linedef type can be combined with Linedef type 318 to make the level behave differently depending on player color. In the beta version of Factory Farce Zone Act 1, the player must pass through walls that damage the player unless they have a specific color that can be changed by jumping into differently colored glass tubes.

Setup

The color the player is changed to 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 Not Climbable flag is checked. In this case, the player's color is changed to the default color of the character the player is currently playing as.

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