2.0:XSRB2/Linedef types/Linedef type 462
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 |
---|
|
XSRB2 specials | [view] | |
Linedefs: | ||
Trigger Linedef Executors: Check Player's Scale – Continuous • Check Player's Color – Continuous • Sector Ceiling Comparison – Continuous • Sector Floor Comparison – Continuous • Golf – Count Strokes – Once | ||
Trigger Linedef Actions: Launch Player • Damage Object • Temporary Player Color Change | ||
Sectors: | ||
Conditional Instant Kill • BOSSX4 Effect Sector | ||
Things: | ||
Springs and Fans: Blue Spring (Ceiling) • Diagonal Blue Spring • Diagonal Blue Spring (Ceiling) | ||
Bosses: Unnamed Boss – Boss X1 • EGGrid – Boss X4 • Boss X1 Waypoint • Boss X4 Turret | ||
Item Boxes: Combi-ring • Shrink Monitor • Giant Monitor |