Plane_Copy

From ZDoom Wiki
Jump to: navigation, search

118:Plane_Copy (front floor, front ceiling, back floor, back ceiling, share)


This is an alternative to using slope copy things. On a single-sided linedef, only the first two argument are relevant. As all slope-related specials, it is only valid during initialization.

  • front floor: Tag of the sector whose plane to copy. The floor plane of the first tagged sector found will be copied for the front sector's floor plane. If this parameter is left to zero, no copy takes place.
  • front ceiling: Same thing, but for the ceiling plane. The tagged sector's ceiling plane is copied.
  • back floor: Same as front floor, but for back sector.
  • back ceiling: Same as front ceiling, but for back sector.
  • share: if non-zero, the slope from one side of the linedef can be copied by the other side, as such:
1 — front floor slope is copied to back floor slope
2 — back floor slope is copied to front floor slope
4 — front ceiling slope is copied to back ceiling slope
8 — back ceiling slope is copied to front ceiling slope

A front and a ceiling value can be combined, so 5, 6, 9 and 10 are also valid values. Conflicting values such as 3 or 12 are ignored.

Slope copies from tagged sectors are performed first, followed by shared slopes across the line.


Conversions from linedef types

The following Doom map format types can be converted as Plane_Copy:

Type Conversion Trigger
MiniEternityLogoIcon.pngEternity 394:Slope_FrontFloorToTaggedSlope Plane_Copy (tag, 0)
MiniEternityLogoIcon.pngEternity 395:Slope_FrontCeilingToTaggedSlope Plane_Copy (0, tag)
MiniEternityLogoIcon.pngEternity 396:Slope_FrontFloorAndCeilingToTaggedSlope Plane_Copy (tag, tag)