Linedef type 20
Linedef type 20, PolyObject – First Line, is a type of linedef special which is used on a PolyObject sector to make the game recognize it as such. For more information on setting up PolyObjects, see PolyObject tutorial.
Only one of these is needed per PolyObject. Assign this linedef action to one of the linedefs on the sector you want to be used as a PolyObject, and set the tag to match the tag of the corresponding linedef type 22 to use for the PolyObject's parameters. Any further properties are determined by this linedef action's flags:
- If the Slope Skew flag is set, only the outer sides of the PolyObject are rendered. Since the inner sides are usually not meant to be visible anyway and thus have no texture applied to them, it is rarely necessary to set this flag.
- If the No Midtexture Skew flag is set, the PolyObject will be intangible.
- If the Peg Midtexture flag is set, the PolyObject will stop any movement if it comes in contact with a pushable Object.
- If the Solid Midtexture flag is set, the PolyObject's flats will be rendered.
- If the Not Climbable flag is set, the PolyObject will execute any trigger linedef whose tag is set to 32000 plus the PolyObject's ID when a player lands on it (as opposed to just standing on the PolyObject, or stepping up/down onto it from elsewhere).
- Example WAD: ex_ld020_polyobject.wad
- This example WAD can be played in any gametype. It uses
MAP01, replacing Greenflower Zone Act 1.
|Linedef types – PolyObjects||[view]|
|First Line • Explicitly Include Line • Parameters • Waving Flag • Displacement by Front Sector|