Spikes

From SRB2 Wiki
Jump to: navigation, search
Player being hurt by spikes.

Sector type 5, Spikes, is a sector type that is used in conjunction with spikes and damages the player on contact. The Elemental Shield does not protect against it and any shield will be lost or damaged upon being hurt by this special. It plays the spike sound effect (sfx_spkdth) when the player comes in contact with it. If the player is merely hurt, the hurt sound will play along with the spike sound; if the player dies, the usual death sound will be suppressed in favor of the spike sound.

Since Thing-based spikes have their own collision detection when the Ambush flag is checked, this special is typically used with sector-based spikes such as the ones used in Greenflower Zone Act 2.

Type of sector Behavior
In-level sector Damages players when they touch the floor
Solid FOF control sector Damages players when they touch the FOF top (sides and bottom are safe)
Intangible FOF control sector No effect
Water FOF control sector No effect

Samples

Sample 1

Example WAD: ex_st00005_spikes.wad

Sample 2

Example WAD: ex_st00005_spikes_fof.wad

  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