A player falls through an intangible FOF with only it's sides rendered.
Linedef type 222, Intangible, Sides Only, is a type of floor over floor block which can be passed through, and does not render floor and ceiling flats. It is generally used if the top and bottom will not be viewed anyway, as a means of reducing the amount of CPU processing power used to render the level. It can also be used to add middle textures to the edge of FOFs, instead of offsetting the texture from the sector floor to the FOF or checking Flag [4] / Lower Unpegged. The upside to this method is that the middle textures can be made to move with moving platforms simply by making the intangible FOF also a moving platform. However, it can also sometimes result in the tutti-frutti effect, so this method should be used with caution.
Setup
The floor height and ceiling height of the FOF are determined by the 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.
If Flag [6] / Not Climbable is checked on the control linedef, the FOF will cast a shadow. In this situation, 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.
Linedef special info
|
|
Floor height
|
Height of bottom of FOF
|
|
Ceiling height
|
Height of top of FOF
|
|
Sector light level
|
Brightness of shadow cast (If [6] Not Climbable is checked)
|
|
Linedef flags
|
[6] Not Climbable: FOF casts a shadow
|
|
FOF info
|
|
Tangibility
|
Intangible
|
|
Visibility
|
Sides only
|
|
Shadowcasting
|
No
|
|
Specials
|
None
|
|
Flags
|
FF_EXISTS , FF_RENDERSIDES , and FF_ALLSIDES .
|
|
Additional flags
|
FF_NOSHADE and FF_CUTSPRITES – When Not Climbable is not checked
|
|
Custom FOF value
|
8249 – Without flags 8009 – Not Climbable
|
|
Sample
- Example file: ex_ld222_fofintangiblesidesonly.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_ld222_fofintangiblesidesonly.wad into the addons folder of your SRB2 directory.
- Start SRB2, go to the Addons menu, and then select
ex_ld222_fofintangiblesidesonly.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
|