A bobbing, crumbling and floating FOF, which appears in its original location after a while.
Linedef type 176, Crumbling, Respawn, Floating, Bobbing, is a type of floor over floor block which will sink several units when jumped or stepped upon by a player, then crumble and fall. Once it crumbles, it will float and bob on the surface of a water block positioned below it. After 10 seconds, it will start blinking, and blink gradually faster for 5 seconds, then respawn at its original location.
Setup
The flats, floor height, and ceiling height of the FOF are determined by the flats, floor height, and ceiling height of the control sector, and the sidedefs of the FOF's walls are determined by the sidedef of the control linedef.
The light level of the control sector will determine the brightness of the shadow cast by the FOF. If the light level of the control sector is lower than that of the target sector, then it will cast a dark shadow. If the light level of the control sector is higher than that of the target sector, then the FOF will illuminate the area below it. If the light level of the control sector is equal to that of the target sector, then the FOF will not affect the light of the area below it.
If Flag [6] / Not Climbable is used, the player will be required to spindash to make the FOF move if it has not fallen yet; however, the FOF will still crumble even if the player does not spindash when standing on top of it.
Linedef special info
|
|
Floor height
|
Height of bottom of FOF
|
|
Ceiling height
|
Height of top of FOF
|
|
Sector light level
|
Brightness of shadow cast
|
|
Linedef flags
|
[6] Not Climbable: Spindash required to move FOF
|
|
FOF info
|
|
Tangibility
|
Solid
|
|
Visibility
|
Opaque
|
|
Shadowcasting
|
Yes
|
|
Specials
|
Crumbles and respawns, floats on water, bobs
|
|
Flags
|
FF_EXISTS , FF_SOLID , FF_RENDERALL , FF_CUTLEVEL , FF_FLOATBOB , and FF_CRUMBLE .
|
|
Custom FOF value
|
14019F
|
|
Sample
- Example file: ex_ld176_fofcrumblingfloatingbobbingrespawn.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:
- Save
ex_ld176_fofcrumblingfloatingbobbingrespawn.wad into the addons folder of your SRB2 directory.
- Start SRB2, go to the Addons menu, and then select
ex_ld176_fofcrumblingfloatingbobbingrespawn.wad .
- Start the game in Single Player mode.
- 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.
|
|
Linedef types – Floor over floor
|
[view]
|
Solid: Solid, Opaque, Shadowcasting • Solid, Opaque, Non-Shadowcasting • Solid, Translucent • Solid, Sides Only • Solid, No Sides • Solid, Invisible • Intangible from Bottom, Opaque • Intangible from Bottom, Translucent • Intangible from Bottom, Translucent, No Sides • Intangible from Top, Opaque • Intangible from Top, Translucent • Intangible from Top, Translucent, No Sides • Only Tangible from Sides
Intangible: Water, Opaque • Water, Translucent • Water, Opaque, No Sides • Water, Translucent, No Sides • Goo Water, Translucent • Goo Water, Translucent, No Sides • Intangible, Opaque • Intangible, Translucent • Intangible, Sides Only • Intangible, Invisible
Moving: Air Bobbing • Air Bobbing (Adjustable) • Reverse Air Bobbing (Adjustable) • Dynamically Sinking Platform • Floating, Bobbing • Rising Platform, Solid, Opaque, Shadowcasting • Rising Platform, Solid, Opaque, Non-Shadowcasting • Rising Platform, Solid, Translucent • Rising Platform, Solid, Invisible • Rising Platform, Intangible from Bottom, Opaque • Rising Platform, Intangible from Bottom, Translucent
Crumbling: Crumbling, Respawn • Crumbling, No Respawn • Crumbling, Respawn, Intangible from Bottom • Crumbling, No Respawn, Intangible from Bottom • Crumbling, Respawn, Intangible from Bottom, Translucent • Crumbling, No Respawn, Intangible from Bottom, Translucent • Crumbling, Respawn, Floating, Bobbing • Crumbling, No Respawn, Floating, Bobbing • Crumbling, Respawn, Floating • Crumbling, No Respawn, Floating • Crumbling, Respawn, Air Bobbing
Special: Light Block • Half Light Block • Fog Block • Mario Block • Thwomp Block • Shatter Block • Shatter Block, Translucent • Bustable Block • Spin-Bustable Block • Spin-Bustable Block, Translucent • Quicksand • Laser • Custom FOF
|