Can You Offset Sectors In GZDoom Builder with a Tool?

Ask about mapping, UDMF, using DoomBuilder/editor of choice, etc, here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Post Reply
User avatar
NiTROACTiVE
Posts: 48
Joined: Sun Jan 13, 2019 12:02 am
Location: United States
Contact:

Can You Offset Sectors In GZDoom Builder with a Tool?

Post by NiTROACTiVE »

Recently, I've been working on a new special project. However, when it comes to certain sectors, I was wondering if there was a way to offset the linedefs of the sector to make a new sector outside/inside of the old sector.

Attached is an image of what I wish to do with a possible tool, and what I want to do is similar to AutoCAD's offset tool. I'm not sure if there's actually a way to do this plugin or not, and I don't want to draw the lines inside of the sector manually, especially how these sectors are shapes much more complex than just squares.
Attachments
gzdb_offset.png
User avatar
Kappes Buur
 
 
Posts: 4188
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: Can You Offset Sectors In GZDoom Builder with a Tool?

Post by Kappes Buur »

Using GZDB/GZDBBF/UDB or DBX:

[imgur]https://i.imgur.com/h4P123a[/imgur]

Copy the sector
Edit - Scale

Scale either from the edit sidebar or simply move the white drag handles.
User avatar
Caligari87
Admin
Posts: 6236
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

Re: Can You Offset Sectors In GZDoom Builder with a Tool?

Post by Caligari87 »

Scaling isn't the same as offsetting though. Offsetting copies each line at a specific distance, scale just shrinks them closer to the center.



8-)
User avatar
Kappes Buur
 
 
Posts: 4188
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: Can You Offset Sectors In GZDoom Builder with a Tool?

Post by Kappes Buur »

Caligari87 wrote:Scaling isn't the same as offsetting though.
8-)
Thank you for the enlightenment. 8-)

Since there is nothing like the Autocad offsetting in UDB it is copy/edit/scale as the closest to it.
Caligari87 wrote:scale just shrinks them closer to the center
While still in edit mode the sector can be dragged to wherever.
You should give it a try. :)

Your image on the left just obfuscates the idea.
boris
Posts: 778
Joined: Tue Jul 15, 2003 3:37 pm

Re: Can You Offset Sectors In GZDoom Builder with a Tool?

Post by boris »

Stair sector builder mode.
User avatar
Kappes Buur
 
 
Posts: 4188
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: Can You Offset Sectors In GZDoom Builder with a Tool?

Post by Kappes Buur »

boris wrote:Stair sector builder mode.
It has offset capability for complex sectors other than rectangles?

I must give that a whirl :idea:

A couple of hours later:
So, I gave it a try and it works like a charm. Thank you boris.
Spoiler:
User avatar
Mikk-
Posts: 2274
Joined: Tue Jun 30, 2009 1:31 pm

Re: Can You Offset Sectors In GZDoom Builder with a Tool?

Post by Mikk- »

I've just tested it, and yes! You need to check the "Single Steps" box under the appearances section. I would've never thought to look there.
Post Reply

Return to “Mapping”