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.
Binary setup
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 the PolyObject's ID (which is the Angle of the corresponding PolyObject Spawn Point). Any further properties of the PolyObject are set via linedef type 22, PolyObject Parameters. If no Parameters linedef is used, the PolyObject will use default settings. Among other things, it will be tangible and opaque, and its flats will not be rendered.
|
Sample
- Example file: ex_ld020_polyobject.wad (MAP01)
How to use |
---|
|
UDMF setup
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 Argument 1 as the tag to the PolyObject's ID (which is the tag of the corresponding PolyObject Spawn Point).
To turn the PolyObject into a child PolyObject of another PolyObject, Argument 2 tag should be set to the parent PolyObject's ID. If this feature is not wanted, this field should be left empty; this tells the game that the PolyObject has no parent.
Argument 3 determines the translucency level of the PolyObject, ranging from 0 (fully opaque) to 10 (fully transparent).
Argument 4 / Flags toggles the following settings:
- If Flag [1] / Don't render insides is set, only the outer sides of the PolyObject will be rendered.
- If Flag [2] / Intangible is set, the PolyObject will be intangible.
- If Flag [4] / Stopped by pushables is set, the PolyObject will stop any movement if it comes in contact with a pushable Object.
- If Flag [8] / Don't render planes is set, the PolyObject's flats will not be rendered. By default, the flats will be visible.
- If Flag [16] / Trigger linedef executor on touch is set, the PolyObject will execute any trigger linedef set by Argument 5 tag when a player lands on it (as opposed to just standing on the PolyObject, or stepping up/down onto it from elsewhere).
- If Flag [32] / Crush player is set, the spawned PolyObject will crush players if they are caught between it and a wall, or if the PolyObject is moving fast enough and the player touches it.
- if Flag [64] / Cut cyan flat pixels is set, cyan pixels on the PolyObject's flats will be cut.
|
Sample
- Example file: ExUDMF ld020 polyobject.wad (MAP01)
How to use |
---|
|
Linedef types – PolyObjects | [view] | |
First Line • Parameters • Waving Flag • Displacement by Front Sector • Angular Displacement by Front Sector |