## how to draw a sector whose slope varies ?

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.
MamieNova
Posts: 11
Joined: Sun Jul 01, 2018 9:43 am

### how to draw a sector whose slope varies ?

Hi,

I'm working on GZDoom Builder v2.3.0.2364
I success in drawing a sector with height but i don't know to draw a sector whose slope varies for example like this:
secteur avec pente.png
?

Can anyone help me ?

thanks
You do not have the required permissions to view the files attached to this post.
Gorman Frebmane
Posts: 116
Joined: Sat Jan 13, 2018 3:17 am

### Re: how to draw a sector whose slope varies ?

there are many ways to go for this but i will give you two which are simple to do, first you have plane alling (slope) action 181, its a line property so select the line you want it to be attached to, now the line has a small line in the middle that shows the front of the line make sure its facing the sector you are making into a slope in order for it to work.
once you have done that when you go into the linedef to modify it make sure you are doing alling floor front or back if the line is facing the sector behind the sector you will make into a slope, you can do the same with the ceiling. alternativly you can do the same but not from the height you are attaching it into but on the floor of the sector its going to go up from, raise the sector do the same with the line thats there and it will automaticly do the work, although this is not recommended.
the other option is to simply split the sector into two triangles or more if the sector has some lines or vectors in it, once you do that you select the vector or the pyramid looking things, select the ones you want to raise and use the mousewheel to raise them, if there are other vectors do the same with them but instead open their menu to get a much more smooth looking slope by slowly raising them, vectors can also be used to make natural envoirement like rocks or caves and such.
i hope that helps you out.
Kappes Buur

Posts: 4141
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)

### Re: how to draw a sector whose slope varies ?

MamieNova
Posts: 11
Joined: Sun Jul 01, 2018 9:43 am

### Re: how to draw a sector whose slope varies ?

attached a wad file (GZDoom mode Doom 2 format Hexen, ZDoom ACS script) in which the floor of the middle sector is sloping.
only problem: I can not follow the same slope to the ceiling of the middle sector

Can you correct me this wad ?

thanks
You do not have the required permissions to view the files attached to this post.
Kappes Buur

Posts: 4141
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)