Sliding doors tutorial

Handy guides on how to do things, written by users for users.

Moderators: GZDoom Developers, Raze Developers

Forum rules
Please don't start threads here asking for help. This forum is not for requesting guides, only for posting them. If you need help, the Editing forum is for you.

Sliding doors tutorial

Postby enderkevin13 » Tue Apr 19, 2016 5:13 pm

UPDATE: I ADDED A VIDEO FINALLY

Okay, you're making a map and you wanna add some specialty to it.
I understand, we all do, don't we?

But then the big (Or not so big) question rises up in your head:

"How do I create a sliding door?"

It's every beginner's struggle of creating a sliding door, but that's where i'll come in and help. I've been in your shoes with the easiest stuff, and I still am a bit. :P

But anyways, just follow my lead and you'll be getting there. Who knows? maybe you'll pick up some other things as well.

Firstly, open DB2 or GZDB (Or other PolyObj supported editors).
Now, create a new WAD file and name it "Sliding doors" or whatever, I don't care.

Now, if you're on GZDB, I'd recommend GZDoom (Doom in UDMF format) as your configuration., and select a game you wanna make it on.

I'll use Doom II, but you can use whatever. Just use a game that supports PolyObjects and stuff, okay?

Okay, here's the building part.
Set the grid from "32" to "16" or "8".
Not too many map pixels, not too little. 8 would be just right.

IF YOU'RE ON GZDB, THE MAPPIXELS SHRINK OR GROW WHEN YOU ZOOM IN/OUT

Anyways, make two sectors of the same width and length, something like that.
Connect the sectors together with a hallway.

Image

Now, create a new sector seperate from those sectors, and add a subsector.
It should look something like this:

Image

Now, switch to "Sectors" mode and deleted the subsector, which now it'll be this:

Image

Okay, so here comes the part where you might bail, but stay with me.
Now you gotta select these linedefs and give them a new action:

Image

The action these two linedefs will have (Don't forget to texture them!) will be called "PolyObj Door Slide".

Just select this action and choose the following settings:

Image


Don't forget to check "Repeatable action" and "When player presses use".

These are recommended settings as they work best for this type of door length.
But now deselect the linedefs and select this linedef:

Image

Okay, this linedef will be assigned an action called "PolyObj Start Line".
All you have to do is give it a PolyObj number of 1, same as the door linedefs.

Now, insert a new thing called "PolyObj anchor" right here:

Image

Give it an angle of 1, or the same as the PolyObj number.

Insert another thing called "PolyObj Start Spot" right here:

Image

Now, give it the same angle as the anchor, and a line should appear like this:

Image

Okay, now go into the game and- success! You created your first sliding door.
Now you can reward yourself with a cookie or something. :D

Here's a video by the way.



If you need an example, here's one to use.
Last edited by enderkevin13 on Sun May 29, 2016 10:31 am, edited 10 times in total.
User avatar
enderkevin13
Official abbadon of ZDoom
Banned User
 
Joined: 07 Jul 2015
Location: :noiƚɒɔo⅃

Re: Sliding doors tutorial

Postby CWolf » Thu Apr 21, 2016 12:03 pm

Where have you been all that time, Kevin...

Thanks, that's useful, very much.
User avatar
CWolf
This unit operational no more. Sign off, and farewell till we meet again.
 
Joined: 07 Oct 2013
Location: Void Eternal

Re: Sliding doors tutorial

Postby enderkevin13 » Thu Apr 21, 2016 12:56 pm

CWolf wrote:Where have you been all that time, Kevin...

Thanks, that's useful, very much.

Thanks. I originally posted this on Doomworld on my old account. I'm known as Sgt Ender on there now.
User avatar
enderkevin13
Official abbadon of ZDoom
Banned User
 
Joined: 07 Jul 2015
Location: :noiƚɒɔo⅃

Sliding doors tutorial

Postby TheZombie » Fri Mar 31, 2017 9:45 pm

Omg. I have done exactly what was shown. Like 10x over. The damn won't work. Just not my night I guess. Are there any small details one might often overlook while doing this? I have the latest build of GZDoom Builder.
I have repeated the steps repeatedly to no avail. About to snap lol
User avatar
TheZombie
 
Joined: 29 Mar 2017

Re: Sliding doors tutorial

Postby Kappes Buur » Mon May 01, 2017 3:55 pm

TheZombie wrote:..... I have repeated the steps repeatedly to no avail. About to snap lol


If you need more help then read this https://zdoom.org/wiki/PolyObjects
User avatar
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia, Canada


Return to Tutorials

Who is online

Users browsing this forum: No registered users and 0 guests