A Thwomp block attempting to crush the player.
Linedef type 251, Thwomp Block, is a type of floor over floor block which behaves like the Thwomp enemy from the Mario games. If the player gets too close, it will fall and attempt to crush them. It will then rise back to its original position, during which the player can use the FOF as an elevator. This linedef type is used in Pipe Towers Zone.
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. The control linedef's middle texture is used as the Thwomp's "resting" face only until it falls for the first time, after it the linedef's lower texture is used instead for the effect. The linedef's upper texture is used as the Thwomp's "falling" face. After the Thwomp has fallen, it reverts back to its previous texture. You don't need to specify the height at which the Thwomp will stop falling; it automatically stops when it reaches the sector floor.
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.
Additionally, if Flag [9] / Solid Midtexture / Effect 4 is checked, it is possible to customize the block's "crushing" sound (the linedef's front X offset indicates the sound number). If Flag [10] / Repeat Midtexture / Effect 5 is checked, it is also possible to customize the block's speed when falling and rising using the linedef's Y and X distances, respectively. One fracunit of length equal 0.125 fracunits per tic. The default speeds for the falling and rising are 10 fracunits per tic (80 fracunits of length) and 2 fracunits per tic (16 fracunits of length), respectively.
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 X distance
|
Custom rising speed (1 FU/8 tics per FU length) (if [10] Repeat Midtexture / Effect 5 is checked)
|
|
Linedef Y distance
|
Custom falling speed (1 FU/8 tics per FU length) (if [10] Repeat Midtexture / Effect 5 is checked)
|
|
Front upper texture
|
Thwomp "falling" face
|
|
Front middle texture
|
Thwomp "resting" face (only until first fall)
|
|
Front lower texture
|
Thwomp "resting" face (after first fall)
|
|
Front texture X offset
|
Custom crushing sound number (if [9] Solid Midtexture / Effect 4 is checked)
|
|
Linedef flags
|
[9] Solid Midtexture / Effect 4: Crushing sound can be customized [10] Repeat Midtexture / Effect 5: Falling/rising speed can be customized
|
|
FOF info
|
|
Tangibility
|
Solid
|
|
Visibility
|
Opaque
|
|
Shadowcasting
|
Yes
|
|
Specials
|
Thwomp block
|
|
Flags
|
FF_EXISTS , FF_SOLID , FF_RENDERALL , and FF_CUTLEVEL .
|
|
Custom FOF value
|
19F
|
|
Aesthetic tips
In general, you should use the same dimensions and textures as the Thwomp blocks in Pipe Towers Zone. Aside from possible use as generic crushers, this type of FOF too highly specialized for a lot of experimentation, so even a slightly different usage might not turn out well.
Sample
- Example file: ex_ld251_fofmariothwompblock.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_ld251_fofmariothwompblock.wad into the addons folder of your SRB2 directory.
- Start SRB2, go to the Addons menu, and then select
ex_ld251_fofmariothwompblock.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
|