Jump to content

2.0:XSRB2/Linedef types/Linedef type 349

From SRB2 Wiki

Linedef type 349, Trigger Linedef Executor: Golf – Count Strokes – Once, is a type of linedef executor trigger exclusive to XSRB2 which activates any linedef executor in the control sector after a specified number of strokes in Golf Mode. The linedef executor will trigger only once, and then will not be triggered again until the map is reloaded.

Setup

The number of strokes after which this trigger activates is specified by the length of the control linedef.

Sample

Example file: ex_ld349_xsrb2_golfstrokesonce.wad (MAPZ0) 

Aether Shrine Zone Act 1 

  • Play this map in Golf mode.
How to use
  • You may load this file into your favorite map editor, such as Zone Builder. Select MAPZ0 as the map to load.
  • You may also load this file in the game:
    1. Save ex_ld349_xsrb2_golfstrokesonce.wad into the addons folder of your SRB2 directory.
    2. Start SRB2, go to the Addons menu, and then select ex_ld349_xsrb2_golfstrokesonce.wad.
    3. Start the game in Golf mode.
    4. Press the Console button (~), and type in the command MAP MAPZ0 to access the example map.
  • When you load this file in the game, it replaces 2.0:XSRB2/Levels/Aether Shrine Zone.



  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