Non-Ramp Sector

From SRB2 Wiki
Jump to navigation Jump to search
Demonstration of non-ramp sector effect.

Sector type 14, Non-Ramp Sector, is a sector type which eliminates the step effect that normally occurs for steps of 24 fracunits or less. Without this effect, if the player steps into a sector whose floor height diverges no more than 24 fracunits from the floor of the previous sector, the player will step to the floor of that sector. This allows for stairways. However, if the non-ramp effect is used, the player will not step to the floor of the other sector but rather be blocked or fall through the air like they would for larger steps. This effect can be used to prevent structures with small floor height differences from acting as staircases.

Type of sector Behavior
In-level sector Prevents players from clinging to stairways when anywhere in the sector
Solid FOF control sector Prevents players from clinging to stairways when standing on top of the FOF
Intangible FOF control sector Prevents players from clinging to stairways when anywhere in the FOF
Water FOF control sector Prevents players from clinging to stairways when anywhere in the FOF

Sample

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



  Sector types – Group 1 [view]
DamageDamage (Water)Damage (Fire)Damage (Electrical)SpikesDeath PitInstant KillRing Drainer (Floor Touch)Ring Drainer (Anywhere in Sector)Special Stage DamageSpace CountdownRamp SectorNon-Ramp SectorBouncy FOF