My tries yield no results as the sector that is supposed to act as a portal doesn't actually act as a portal at all.
My current method that fails: (i use names rather than numbers to illustrate the arguments clearer)
*Create two sectors A and B. Height adjust properly so that floor matches ceiling. Sectors are same size. A is the top. B is the bottom.
*All sectors supposed to be able to view portal A are tagged 1. All sectors able to see portal B are tagged 2.
*linedef 57 setportal on two lines X and Y of the same relative position within A and B where X is in A and Y is in B.
*Linedef X is (1, 0, ceiling, 0, 0)
*Linedef Y is (2, 0, ceiling, 1, 0)
This has no effect whatsoever. Adding another set of linedefs as the article says yiels no further effect.
*Linedef U is (1, 0, ceiling, 0, 0)
*Linedef V is (2, 0, ceiling, 1, 0)
This yields utterly bizarre effects.
I wish the wiki article had a step-by-step guide to making portals using SetPortal.
I'd really appreciate some help with this. While it's not too important to my Hexen mod, this feature is likely to see atleast some use if I can get it to work.
Edit: I have managed something here... But it seems to work only in one direction... Despite having two sets of linedefs.
Edit: Yes. I misunderstood exactly how this was supposed to work, but now I still can only get it to work in one direction.
My new method:
Sector A contains linedefs X and U
Sectob B contains linedefs Y and V
U and V are matched with same tag (2)
X and Y are matched with same tag (1)
Sector A = 1
Linedef X (1, 0, floor, 0)
Linedef Y (1,0,floor, 1)
Sector B =2
Linedef U (2, 0, ceiling, 0)
Linedef V (2, 0, ceiling, 1)
For some reason it only works in one direction
