Editing Attached surface linedef types
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 1: | Line 1: | ||
Attached surfaces cause multiple sectors to move together. This allows for the creation of complex lifts, doors, or elevators comprised of multiple sectors which will remain synchronized even if any sector's movement is blocked by a player or other object. | Attached surfaces cause multiple sectors to move together. This allows for the creation of complex lifts, doors, or elevators comprised of multiple sectors which will remain synchronized even if any sector's movement is blocked by a player or other object. | ||
{{Backto|Linedef types}} | {{Backto|Linedef types}} | ||
Attached surface linedefs are as follows: | Attached surface linedefs are as follows: | ||
Line 29: | Line 16: | ||
* 384 -- Attach_MirrorCeilingToControl | * 384 -- Attach_MirrorCeilingToControl | ||
:The sector on the front side of this line will have its ceiling movement controlled inversely by the surface whose control line shares this line's tag. | :The sector on the front side of this line will have its ceiling movement controlled inversely by the surface whose control line shares this line's tag. | ||
==Using attached surfaces with linked portals== | ==Using attached surfaces with linked portals== | ||
Attached surfaces can be used to create effects like doors or lifts between different sector groups connected by linked portals. | Attached surfaces can be used to create effects like doors or lifts between different sector groups connected by linked portals. | ||
:''The text below is credited to esselfortium.'' | |||
One sector is the "control", which the attached surfaces will move in sync with. The control can either be inside the map or a dummy sector outside of it. | |||
Put an Attach_SetFloorControl special on a line with its front side facing the control sector and give it a tag. Then put Attach_FloorToControl specials on lines facing all the sectors to be attached to it. | |||
By use of the mirror attachments you can, for example, attach a ceiling to the mirrored movement of a floor, to create a split door which opens from the middle. | |||
385 (Apply_PortalToFrontsector) isn't directly related to attached surfaces, but is useful for them because it makes it possible to have lifts and such tagged in sectors that are also tagged for portals. The portal is tagged by putting a line with special 385 facing the affected sector(s), and the line's tag set to the portal tag number you want to apply to those sectors. | |||
Build the same lift or elevator on both sides of your portal (this will require floors that are higher than the ceiling on one side of it), attach one of them to the other, and set up the portal between them. | |||
[[category:Editing reference]] | [[category:Editing reference]] |