Editing
Portal Define
(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!
==Usage== Set a '''Portal_Define''' special on a linedef next to the area that gives information about the portal. For plane, horizon and skybox portals the front sector must have certain properties -- see the details section. For anchored and linked portals, you must specify a corresponding line ID of the anchor linedef. The anchor linedef ''doesn't need'' its own portal special set on it; it just holds the anchor line ID. Each '''Portal_Define''' linedef comes with its own unique and positive portal ID. If you set up a duplicate ID, you'll receive an error (with a beep) in Eternity, and if you open the console, it will tell you what free ID you can use instead. After you define the portal, you place it in sectors by using their '''portalfloor''' and '''portalceiling''' UDMF properties, and on linedefs by using their '''portal''' property. For the two-way portal types (4-5), the ID set up in '''Portal_Define''' will produce the portal pointing from the source to the anchor line. But you will also have access to the ''negative version'' of the portal ID, which will produce the portal pointing back from the anchor to source. So for example if you have portal ID 1 pointing from area A to B, you can also apply portal ID -1 which will point from area B to A. To aid in easily finding out the ID, for anchored portals a useful practice is to set both ''portal ID'' and ''anchor line ID'' to the same value. For simple portals you can use some ''portal ID'' out of the range of line IDs in your map, so that it won't have the same value with line IDs.
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