Skip to content
Snippets Groups Projects

Add flag to line slopes for even more slope copying

Merged sphere requested to merge even-more-slope-copying into next

The sort-of sequel to !1406 (merged), this branch adds some additional functionality to line slopes: when the Transfer Line flag is checked, the slope(s) will be copied to the sector on the other side of the linedef.

For example, checking the flag on linedef action 700, Slope Frontside Floor, will copy the resulting slope to the backside sector's floor as well. This also works for line slopes that affect both the front- and backside sector, like action 713 (Slope Backside Floor and Frontside Ceiling), in which case the flag will copy the resulting slopes to the frontside floor and the backside ceiling.

This could theoretically also be implemented for vertex slopes; however, I was unable to get the copying to work on them without unwanted side effects, and it seems considerably less useful for them anyway.

Test map: slopeflagtest.wad

Edited by sphere

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading