Editing
Parameterized linedef specials
(section)
From Eternity Wiki
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Polyobjects=== {|class="wikitable sortable" ! UDMF # ! DOOM Format # ! Name ! Arg1 ! Arg2 ! Arg3 ! Arg4 ! Arg5 |- || 1 || 348 || [[Polyobj_StartLine]] || id || mirror id || sound sequence || || |- || 2 || 356 || [[Polyobj_RotateLeft]] || id || speed || rotation || || |- || 3 || 354 || [[Polyobj_RotateRight]] || id || speed || rotation || || |- || 4 || 352 || [[Polyobj_Move]] || id || speed || angle || distance || |- || 5 || 349 || [[Polyobj_ExplicitLine]] || id || line index || mirror id || sound sequence || |- || 6 || - || [[Polyobj_MoveTimes8]] || id || speed || angle || distance || |- || 7 || 351 || [[Polyobj_DoorSwing]] || id || speed || rotation || delay || |- || 8 || 350 || [[Polyobj_DoorSlide]] || id || speed || angle || distance || delay |- || 59 || 499 || [[Polyobj_OR_MoveToSpot]] || id || speed || [[TID]] || || |- || 86 || 496 || [[Polyobj_MoveToSpot]] || id || speed || [[TID]] || || |- || 87 || 474 || [[Polyobj_Stop]] || id || || || || |- || 88 || 497 || [[Polyobj_MoveTo]] || id || speed || x || y || |- || 89 || 498 || [[Polyobj_OR_MoveTo]] || id || speed || x || y || |- || 90 || 357 || [[Polyobj_OR_RotateLeft]] || id || speed || rotation || || |- || 91 || 355 || [[Polyobj_OR_RotateRight]] || id || speed || rotation || || |- || 92 || 353 || [[Polyobj_OR_Move]] || id || speed || angle || distance || |- || 93 || - || [[Polyobj_OR_MoveTimes8]] || id || speed || angle || distance || |} *1 (348) '''Polyobj_StartLine'''(''id'', ''mirror_id'', ''sequence_id'') *5 (349) '''Polyobj_ExplicitLine(''id'', ''linenum'', ''mirror_id'', ''sequence_id'') :There are two different methods of creating a polyobject. In the first, the "first" line is given the '''Polyobj_StartLine''' special, and subsequent lines are added to the PolyObject by following segs from vertex to vertex. To use this, all the lines around the polyobject must run in the same direction, and the last line must end at the same vertex which starts the first line (in other words, it must be closed). :With the second method, every line to be included must be given the '''Polyobj_ExplicitLine''' special and must be given a ''linenum'' param which is unique amongst all lines that will added to that polyobject. Polyobjects of this sort should also be closed for proper rendering, but the game engine cannot and will not verify that this is the case. :Only polyobjects created with the '''Polyobj_StartLine''' method can have other line specials on the polyobject's lines themselves. :''Mirror_id'' is the ID number of a PolyObject that wants to mirror every action that this PolyObject makes. This number cannot refer to the self-same PolyObject, nor should PolyObjects attempt to mirror each other in a cycle since this will create problems with override actions. Angle of motion is always reversed when applying an action to a mirroring PolyObject. If a mirror is already in motion for a non-override action, the mirror will not be affected even if the main object was moved. Mirror polyobjects can themselves define a mirror, and an action will affect all mirroring polyobjects in the chain. *4 (352) '''Polyobj_Move'''(''id'', ''speed'', ''angle'', ''distance'') :Slides a polyobject in the direction given in ''angle'' by ''distance''. *6 '''Polyobj_MoveTimes8'''(''id'', ''speed'', ''angle'', ''distance'') :Like '''Polyobj_Move''' but with ''distance'' multiplied by 8. Needed only for the Hexen format and supported for legacy reasons. *2 (356) '''Polyobj_RotateLeft'''(''id'', ''speed'', ''distance'') :Rotates a polyobject counterclockwise by the ''distance'' [[byte angle]] difference. If ''distance'' is 0, it means 360 degrees. If ''distance'' is 255, it means perpetual spinning. *3 (354) '''Polyobj_RotateRight'''(''id'', ''speed'', ''distance'') :Rotates a polyobject clockwise by the ''distance'' [[byte angle]] difference. If ''distance'' is 0, it means 360 degrees. If ''distance'' is 255, it means perpetual spinning. *92 (353) '''Polyobj_OR_Move'''(''id'', ''speed'', ''angle'', ''distance'') :Like '''Polyobj_Move''', but overrides the current movement. *93 '''Polyobj_OR_MoveTimes8'''(''id'', ''speed'', ''angle'', ''distance'') :Like '''Polyobj_MoveTimes8''', but overrides the current movement. *90 (357) '''Polyobj_OR_RotateLeft'''(''id'', ''speed'', ''distance'') :Like '''Polyobj_RotateLeft''', but overrides the current movement. *91 (355) '''Polyobj_OR_RotateRight'''(''id'', ''speed'', ''distance'') :Like '''Polyobj_RotateRight''', but overrides the current movement. *8 (350) '''Polyobj_DoorSlide'''(''id'', ''speed'', ''angle'', ''distance'', ''delay'') :Slides a polyobject like a door which closes after a ''delay'' and deflects if it gets jammed. *7 (351) '''Polyobj_DoorSwing'''(''id'', ''speed'', ''distance'', ''delay'') :Swings a polyobject like a door which closes after a ''delay'' and deflects if it gets jammed. There are no special behaviors for setting ''distance'' to 0 or 255, unlike '''Polyobj_RotateLeft''' and derivatives. *87 (474) '''Polyobj_Stop'''(''id'') :Stops a polyobject from movement. It will then be free for other activations.
Summary:
Please note that all contributions to Eternity Wiki are considered to be released under the GNU Free Documentation License 1.2 (see
Eternity Wiki:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Page actions
Page
Discussion
Read
Edit
History
Page actions
Page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Log in
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Search
Tools
What links here
Related changes
Special pages
Page information