Trigger Linedef Executor (NiGHTS Mare)

From SRB2 Wiki
Jump to navigation Jump to search
This effect has been deprecated in favor of linedef types 340–342. It should not be used in new maps.

Sector type 112, Trigger Linedef Executor (NiGHTS Mare), is a sector type which activates the tagged trigger linedef once NiGHTS Super Sonic enters the sector on a specific mare. This allows for dynamic multi-mare NiGHTS stages in which the terrain changes depending on the mare.

Normally, the trigger linedef will activate if the number of the current mare is equal to the length of the linedef. For example, if the linedef is 16 fracunits long, then it will only trigger if the player is on mare 16, which is the seventeenth mare (because the mare numbering starts with 0). However, if Flag [6] / Not Climbable is checked on the trigger linedef, it will activate if the number of the current mare is less than or equal to the length of the linedef. If Flag [1] / Block Enemies is checked on the trigger linedef, then it will activate if the number of the current mare is greater than or equal to the length of the linedef.

Typically, only one trigger linedef should be tagged to a sector using this special. Otherwise, due to the way the game is programmed, the conditions of all tagged trigger linedefs must be met in order for them to execute.

Type of sector Behavior
In-level sector Activates the tagged trigger linedef once NiGHTS Super Sonic enters the sector and the mare requirements are met
Solid FOF control sector No effect
Intangible FOF control sector Activates the tagged trigger linedef once NiGHTS Super Sonic enters the FOF and the mare requirements are met
Water FOF control sector Activates the tagged trigger linedef once NiGHTS Super Sonic enters the FOF and the mare requirements are met

Sample

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



  Sector types – Group 2 [view]
Trigger Linedef Executor (Pushable ObjectsAnywhere in Sector, All PlayersFloor Touch, All PlayersAnywhere in SectorFloor TouchEmerald CheckNiGHTS Mare)
Check for Linedef Executor on FOFsEgg CapsuleSpecial Stage Time/Spheres ParametersCustom Global Gravity