Moving platform
Jump to navigation
Jump to search
Platforms or lifts are sector floor movements that can be interrupted if an object blocks the movement. For this reason, it can be useful to turn platforms created with multiple sectors into linked sectors.
Platforms are created with the following specials:
- Generic_Lift
- Plat_PerpetualRaise
- Plat_UpByValue
- Plat_UpWaitDownStay
- Plat_DownWaitUpStay
- Plat_DownByValue
- Plat_UpNearestWaitDownStay
- Plat_PerpetualRaiseLip
- Plat_DownWaitUpStayLip
- Plat_RaiseAndStayTx0
- Plat_ToggleCeiling
- Plat_UpByValueStayTx
A platform movement can be interrupted with Plat_Stop.
The following Doom and Boom platform types can be converted this way to ZDoom's Hexen format or UDMF namespace:
10 | Plat_DownWaitUpStayLip (tag, 32, 105, 0) |
14 | Plat_UpByValueStayTx (tag, 4, 4) |
15 | Plat_UpByValueStayTx (tag, 4, 3) |
20 | Plat_RaiseAndStayTx0 (tag, 4) |
21 | Plat_DownWaitUpStayLip (tag, 32, 105) |
22 | Plat_RaiseAndStayTx0 (tag, 4) |
47 | Plat_RaiseAndStayTx0 (tag, 4) |
53 | Plat_PerpetualRaiseLip (tag, 8, 105, 0) |
54 | Plat_Stop (tag) |
62 | Plat_DownWaitUpStayLip (tag, 32, 105, 0) |
66 | Plat_UpByValueStayTx (tag, 4, 3) |
67 | Plat_UpByValueStayTx (tag, 4, 4) |
68 | Plat_RaiseAndStayTx0 (tag, 4) |
87 | Plat_PerpetualRaiseLip (tag, 8, 105, 0) |
88 | Plat_DownWaitUpStayLip (tag, 32, 105, 0) |
89 | Plat_Stop (tag) |
95 | Floor_RaiseByValueTxTy (tag, 8, 24) |
120 | Plat_DownWaitUpStayLip (tag, 64, 105, 0) |
121 | Plat_DownWaitUpStayLip (tag, 64, 105, 0) |
122 | Plat_DownWaitUpStayLip (tag, 64, 105, 0) |
123 | Plat_DownWaitUpStayLip (tag, 64, 105, 0) |
143 | Plat_UpByValueStayTx (tag, 4, 3) |
144 | Plat_UpByValueStayTx (tag, 4, 4) |
148 | Plat_UpByValueStayTx (tag, 4, 3) |
149 | Plat_UpByValueStayTx (tag, 4, 4) |
162 | Plat_PerpetualRaiseLip (tag, 8, 105, 0) |
163 | Plat_Stop (tag) |
181 | Plat_PerpetualRaiseLip (tag, 8, 105, 0) |
182 | Plat_Stop (tag) |
211 | Plat_ToggleCeiling (tag) |
212 | Plat_ToggleCeiling (tag) |
A related notion is the elevator, introduced by Boom, in which both the floor and the ceiling move together. Elevators are created with the following specials:
The following Boom elevator types can be converted this way:
227 | Elevator_RaiseToNearest (tag, 32) |
228 | Elevator_RaiseToNearest (tag, 32) |
229 | Elevator_RaiseToNearest (tag, 32) |
230 | Elevator_RaiseToNearest (tag, 32) |
231 | Elevator_LowerToNearest (tag, 32) |
232 | Elevator_LowerToNearest (tag, 32) |
233 | Elevator_LowerToNearest (tag, 32) |
234 | Elevator_LowerToNearest (tag, 32) |
235 | Elevator_MoveToFloor (tag, 32) |
236 | Elevator_MoveToFloor (tag, 32) |
237 | Elevator_MoveToFloor (tag, 32) |
238 | Elevator_MoveToFloor (tag, 32) |