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!
===Portals=== {|class="wikitable sortable" ! UDMF # ! DOOM Format # ! Name ! Arg1 ! Arg2 ! Arg3 ! Arg4 ! Arg5 |- || 9 || 450 || [[Line_Horizon]] || || || || || |- || 300 || 492 || [[Portal_Define]] || portal id || type || anchor line id || z parameter || flipped anchor |- || 301 || 491 || [[Line_QuickPortal]] || visual-only || || || || |} *'''Line_Horizon''' :Simple linedef specials which converts the middle part with a horizon portal which uses front sector's floor and ceiling. *'''Portal_Define''' :See the [[Portal_Define|linked article]] for its description. *'''Line_QuickPortal'''(''non-interactive'') :Convenience linedef special to quickly create a portal between two areas, through a linedef's middle part. The two lines must be of equal length, and of opposite angles (if linked/interactive) or any angle if not linked. They must have the same, unique tag and the same ''non-interactive'' value, which is 0 for linked portals and 1 for two-way non-linked portals. *'''Sector_SetPortal'''(''tag'', ''type'', ''plane'', ''misc'') :'''Only needed for easily converting old maps with portals'''. You can skip this part if you're designing a new UDMF map. :Only activates on map starts, this one sets a sector portal on floor and/or ceiling on the ''tag''ged sectors. See [[Portal]] for visual examples. :''Plane'' can be 0 (display portal on floor), 1 (display portal on ceiling), 2 (display portal on both); :''Type'' can be: :*0: anchored portal. This line must correspond to another line named "anchor", whose first 3 parameters are the same with this one, except that ''misc'' is 0 for the anchor, while the source line has ''misc'' 1. :*2: skybox portal. Uses the skybox camera object as a source, and displays the skybox (view of this camera) in tagged sectors. :*3: plane portal. Renders the ceiling texture of line's front sector at a fixed camera distance. :*4: horizon portal. Renders the floor and ceiling textures of line's front sector at relative camera distance, useful for infinite horizontal planes such as seas. :*6: linked portal. Interactive anchored portals (through which gameplay passes seamlessly). Has the same rule as anchored portals with regard to anchor lines. Requires consistent offsets if there are multiple linked portals in the map, otherwise linked portals are disabled. :''Type'' can also be used for copying already placed portals: :*1: copy the portal from a sector tagged with ''misc'' into the tagged sectors if ''tag'' is nonzero, or to the front sector if ''tag'' is 0. :*5: copy the portal from a sector tagged with ''misc'' into the tagged lines if ''tag'' is nonzero, or to the current line if ''tag'' is 0. :''Misc'' has values depending on the ''type'' chosen. It makes sense for anchored and linked portals (with 0 meaning source line, and 1 meaning anchor line) and it also has a meaning for the copy types (1 and 5) where it specifies the tag of the sector with portals to copy.
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