Editing Linked portal
From Eternity Wiki
Jump to navigationJump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 102: | Line 102: | ||
===Setting up wall portals=== | ===Setting up wall portals=== | ||
Wall portals are slightly simpler to implement. The two separate sectors must have the same floor and ceiling heights and the portal linedefs need to be of the same length and angle. | Wall portals are slightly simpler to implement. The two separate sectors must have the same floor and ceiling heights and the portal linedefs need to be of the same length and angle. They must also be two-sided, passable and have a buffer sector behind them, with enough depth so the portal is walkable by the intended actors (so they don't bump into the back wall of the buffer sector). | ||
The two linedefs will have the 376 and 377 specials (respectively, order not being important) and a common tag (which doesn't have to belong to any sector). | |||
Note that to render correctly, the buffer sectors behind them will need to have different light levels from the one in front of them. If the portal works correctly, they will never be visible during the game, and won't be accessible unless the user activates no-clipping mode. | |||
Here is a diagram on how to set up: | |||
----------x <----main area sectors---------> x--------- | |||
| Visible x---------x | |||
| | | | |||
| | |<linedef B | |||
x-------x | | type 377 | |||
linedef A>| |<-buffer sectors-> | | tag n | |||
type 376 | | x---------x | |||
tag n | | Never visible in-game | | |||
| | but wide enough to fit | | |||
----------x-------x walking objects x--------- | |||
Set their light levels to different values from neighbouring main area sectors | |||
===Lifts between sector portals=== | ===Lifts between sector portals=== | ||
Line 131: | Line 143: | ||
An example is available for download: [https://www.dropbox.com/s/xi1xhv92h27ptep/polyceilport.wad?dl=0 PolyCeilPort.wad]. | An example is available for download: [https://www.dropbox.com/s/xi1xhv92h27ptep/polyceilport.wad?dl=0 PolyCeilPort.wad]. | ||
===Attached portals=== | ===Attached portals=== | ||
Line 147: | Line 156: | ||
==Tutorial== | ==Tutorial== | ||
Refer to Zarkyb's [[linked portals tutorial]] for more examples on usage. | Refer to Zarkyb's [[linked portals tutorial]] for more examples on usage. | ||
==Examples== | ==Examples== | ||
Line 168: | Line 174: | ||
[[File:Linked_portals.png]] | [[File:Linked_portals.png]] | ||
[[Category:Editing]] | [[Category:Editing]] | ||
[[Category:Editing reference]] | [[Category:Editing reference]] | ||