Linedef type 191, Rising Platform, Solid, Opaque, Non-Shadowcasting, is a special type of floor over floor platform. It is a non-shadowcasting FOF that will rise at a constant speed when jumped or stepped upon by a player. The FOF will return to its original position at half speed when the player is no longer standing upon it.
Setup
This linedef requires three control sectors, each of which must be connected to another with at least one linedef. The easiest way to do this is to create three square sectors in a row. The control linedef should be attached to the sector in the center, and given an effect of linedef type 191.
The flats, floor height, and ceiling height of the FOF are determined by the flats, floor height, and ceiling height of the central control sector, and the sidedefs of the FOF's walls are determined by the sidedef of the control linedef. The speed of the platform's movement is indicated by the length of the control linedef. One fracunit of the linedef length equals 0.25 fracunits per tic of speed. The other two control sectors determine the starting and ending heights of the platform, respectively.
If Flag [1] / Block Enemies is set, the platform will sink when the player steps on it, rather than rising. If Flag [6] / Not Climbable is set, the player will be required to charge a spindash while standing on the platform to make it rise.
Linedef special info
Floor height
Middle: Start FOF floor height Outer: Floor heights the FOF shifts between
Ceiling height
Middle: Start FOF ceiling height Outer: Ceiling heights the FOF shifts between
Linedef length
Speed (1 FU/4 tics per linedef length)
Linedef flags
[1] Block Enemies: Platform sinks when player steps on it [6] Not Climbable: Spindash required to move FOF