Damage (Electrical)

From SRB2 Wiki
Jump to navigation Jump to search
Player being hurt by a floor with electrical damage.

Sector type 4, Damage (Electrical), is a sector type which damages the player unless the player has an Attraction Shield or a Lightning Shield. Unlike Damage (Water) and Damage (Fire), it has no special properties when applied to a water block. It is more commonly used with regular in-level floors rather than FOFs. In NiGHTS levels, these sectors do not cause damage in 3D mode due to all damage being disabled; in 2D mode, they cause normal NiGHTS damage.

Type of sector Behavior
In-level sector Damages players when they touch the floor, unless they have an Attraction Shield or a Lightning Shield
Solid FOF control sector Damages players when they touch the FOF top, unless they have an Attraction Shield or a Lightning Shield (sides and bottom are safe)
Intangible FOF control sector Damages players when anywhere inside the FOF, unless they have an Attraction Shield or a Lightning Shield
Water FOF control sector Damages players when anywhere inside the FOF, unless they have an Attraction Shield or a Lightning Shield

Sample

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