Platform linedef types

From Eternity Wiki
Revision as of 14:56, 21 February 2010 by Printz (talk | contribs) (Platform Linedef types: Added extradata mnemonics to reg/ext linetypes)
Jump to: navigation, search

A platform is basically a floor action involving two heights. The simple raise platform actions, for example, differ from the corresponding floor actions in that if they encounter an obstacle, they reverse direction and return to their former height.

The most often used kind of platform is a lift which travels from its current height to the target height, then waits a specified time and returns to it former height.

Platform Targets

  • Lowest Neighbor Floor

This means that the platforms "low" height is the height of the lowest surrounding floor, including the platform itself. The "high" height is the original height of the floor.

  • Next Lowest Neighbor Floor

This means that the platforms "low" height is the height of the highest surrounding floor lower than the floor itself. If no lower floor exists, no motion occurs as the "low" and "high" heights are then both equal to the floors current height.

  • Lowest Neighbor Ceiling

This means that the platforms "low" height is the height of the lowest surrounding ceiling unless this is higher than the floor itself. If no adjacent ceiling exists, or is higher than the floor no motion occurs as the "low" and "high" heights are then both equal to the floors current height.

  • Lowest and Highest Floor

This target sets the "low" height to the lowest neighboring floor, including the floor itself, and the "high" height to the highest neighboring floor, including the floor itself. When this target is used the floor moves perpetually between the two heights. Once triggered this type of linedef runs permanently, even if the motion is temporarily suspended with a Stop type. No other floor action can be commanded on the sector after this type is begun.

  • Ceiling

This target sets the "high" height to the ceiling of the sector and the "low" height to the floor height of the sector and is only used in the instant toggle type that switches the floor between the ceiling and its original height on each activation. This is also the ONLY instant platform type.

  • Raise Next Floor

This means that the "high" height is the lowest surrounding floor higher than the platform. If no higher adjacent floor exists no motion will occur.

  • Raise 24 Units

The "low" height is the original floor height, the "high" height is 24 more.

  • Raise 32 Units

The "low" height is the original floor height, the "high" height is 32 more.

Varieties of Platforms

A platform can be activated by pushing on a linedef bounding it (generalized types only), or by pushing on a switch with the same tag as the platform sector, or by walking over a linedef with the same tag as the platform, or by shooting a linedef with the same tag as the platform with an impact weapon.

A platform can move with speeds of Slow, Normal, Fast, or Turbo. Only the instant toggle platform moves instantly, all others move at the platform's speed.

A platform can have a delay, in between when it reaches "high" height and returns to "low" height, or at both ends of the motion in the case of perpetual lifts.

A platform action can be a texture change type, in which case after the action the floor texture of the affected floor, and possibly the sector type of the affected floor are changed to those of a model sector. The sector type may be zeroed instead of copied from the model, or not changed at all. These change types are referred to below as Tx (texture only), Tx0 (type zeroed), and TxTy (texture and type changed). The model sector for the change is always the sector on the first sidedef of the trigger (trigger model). If a change occurs, floor texture is always affected, lighting is never affected, even that corresponding to the sector's type, nor is any other sector property other than the sector's type.

Platform Linedef types

Regular and Extended Platform Types
----------------------------------------------------------------------------------------------------
#     Class  Trig   Dly Spd  Chg  Mdl Mon Target                                  ExtraData mnemonic

66    Reg    SR     --  Slow Tx   Trg No  Raise 24 Units                          SR_Plat_Up24_cTt_Slow
15    Reg    S1     --  Slow Tx   Trg No  Raise 24 Units                          S1_Plat_Up24_cTt_Slow
148   Ext    WR     --  Slow Tx   Trg No  Raise 24 Units                          WR_Plat_Up24_cTt_Slow
143   Ext    W1     --  Slow Tx   Trg No  Raise 24 Units                          W1_Plat_Up24_cTt_Slow

67    Reg    SR     --  Slow Tx0  Trg No  Raise 32 Units                          SR_Plat_Up32_c0t_Slow
14    Reg    S1     --  Slow Tx0  Trg No  Raise 32 Units                          S1_Plat_Up32_c0t_Slow
149   Ext    WR     --  Slow Tx0  Trg No  Raise 32 Units                          WR_Plat_Up32_c0t_Slow
144   Ext    W1     --  Slow Tx0  Trg No  Raise 32 Units                          W1_Plat_Up32_c0t_Slow

68    Reg    SR     --  Slow Tx0  Trg No  Raise Next Floor                        SR_Plat_UpNnF_c0t_Slow
20    Reg    S1     --  Slow Tx0  Trg No  Raise Next Floor                        S1_Plat_UpNnF_c0t_Slow
95    Reg    WR     --  Slow Tx0  Trg No  Raise Next Floor                        WR_Plat_UpNnF_c0t_Slow
22    Reg    W1     --  Slow Tx0  Trg No  Raise Next Floor                        W1_Plat_UpNnF_c0t_Slow
47    Reg    G1     --  Slow Tx0  Trg No  Raise Next Floor                        G1_Plat_UpNnF_c0t_Slow

181   Ext    SR     3s  Slow None --  No  Lowest and Highest Floor (perpetual)    SR_Plat_LoHiPerpetual
162   Ext    S1     3s  Slow None --  No  Lowest and Highest Floor (perpetual)    S1_Plat_LoHiPerpetual
87    Reg    WR     3s  Slow None --  No  Lowest and Highest Floor (perpetual)    WR_Plat_LoHiPerpetual
53    Reg    W1     3s  Slow None --  No  Lowest and Highest Floor (perpetual)    W1_Plat_LoHiPerpetual

182   Ext    SR     --  ---- ---- --  --  Stop                                    SR_StopPlat
163   Ext    S1     --  ---- ---- --  --  Stop                                    S1_StopPlat
89    Reg    WR     --  ---- ---- --  --  Stop                                    WR_StopPlat
54    Reg    W1     --  ---- ---- --  --  Stop                                    W1_StopPlat

62    Reg    SR     3s  Slow None --  No  Lowest Neighbor Floor (lift)            SR_Plat_Lift_Slow
21    Reg    S1     3s  Slow None --  No  Lowest Neighbor Floor (lift)            S1_Plat_Lift_Slow
88    Reg    WR     3s  Slow None --  No  Lowest Neighbor Floor (lift)            WR_Plat_Lift_Slow
10    Reg    W1     3s  Slow None --  No  Lowest Neighbor Floor (lift)            W1_Plat_Lift_Slow

123   Reg    SR     3s  Fast None --  No  Lowest Neighbor Floor (lift)            SR_Plat_Lift_Fast
122   Reg    S1     3s  Fast None --  No  Lowest Neighbor Floor (lift)            S1_Plat_Lift_Fast
120   Reg    WR     3s  Fast None --  No  Lowest Neighbor Floor (lift)            WR_Plat_Lift_Fast
121   Reg    W1     3s  Fast None --  No  Lowest Neighbor Floor (lift)            W1_Plat_Lift_Fast

211   Ext    SR     --  Inst None --  No  Ceiling (toggle)                        SR_Plat_CeilingToggle_Instant
212   Ext    WR     --  Inst None --  No  Ceiling (toggle)                        WR_Plat_CeilingToggle_Instant

Generalized Lift Types
---------------------------------------------------------------------------
#      Class   Trig   Dly Spd    Mon  Target

3400H- Gen     D1/DR  1s  Slow   Yes  Lowest Neighbor Floor
37FFH          S1/SR  3s  Normal No   Next Lowest Neighbor Floor
               W1/WR  5s  Fast        Lowest Neighbor Ceiling
               G1/GR  10s Turbo       Lowest and Highest Floor (perpetual)

Back to Linedef types