 And welcome, this video is part of a series. Check out the link in the description for the full playlist. We are creating a Doom level using Eureka Doom Editor. And what we're going to do today, again, I recommend you watch the previous videos, we're going to create a door. Obviously doors are awesome, so we're going to want to create one. We're going to come down this little hallway we created here. So I'm in a 3D view mode, and I'm going to hit Tab to get out of that. Center click, or click your mouse wheel down to drag your map around. And right now, we have Snap on for snapping to our grid. And our grid is set to 16, which I think is fine for what we're doing here. 5 might be good too. Let's do 5. So what I'm going to do here is I'm going to hit V to go into vertices mode. And I'm going to start on this vertices that already exists. I'm going to hit Spacebar, Spacebar, Spacebar, Spacebar, Spacebar, Spacebar, Spacebar, Spacebar, Spacebar, Spacebar, Spacebar, Spacebar, Spacebar. So I just created three new sectors here. You don't really see them. They all look like they're part of one room here. But what I'm going to do now is I'm going to hit S to go into a sector. And I'm going to back tick to unselect everything and select this center of the three. And what I'm going to do is I'm going to lower the ceiling down to 0. Well, right now our floor is 0, so I want it to the ceiling to be 0. So I want the floor height and the ceiling height to be the same. So I can manually click this and bring it down to 0. I can type in 0 here. Or you have these presets for headroom. And I'm going to go ahead and click 0. So right now, you may not notice the difference in the 3D view. So let me stay in 3D view here. And I'll start raising. You can see that what I did is I lowered the ceiling all the way down. So again, 0 will bring that all the way down. Now I want to change that wall texture right there to be a door texture. Let's go to Tab mode. But before we even do that, let's go to Line mode. And I'll Tab to unclick, select those. So these two here should be door textures. But you notice that the line is pointing in a certain direction on each one. They're both pointing up in this case. Thing is, to be able to open and close door, I'm pretty sure you have to have the front of the wall pointing in that way. So if I was to create this as a door, and I could get through it, but if I wanted to go back, I couldn't click on this because it's facing that way. The way you flip a wall is you have it selected or highlighted with your mouse over it and just hit W. W will flip these wall textures. So now that's flipped. I can select that wall, that wall. I can come up here and I can just type in DOO for door and we have some door textures here. Now let's choose this basic big door texture here. Tab into 3D mode. And actually I'm going to change that to this big door one. Just for the pointing out that this is a smaller, it's not as high as the other ceiling textures. So that is one of the reasons I created these two small sectors around it. So if we want, what we're going to do now is hit S. I'm going to choose these two sectors on either side of our door. And then in my 3D mode here, I'm just going to hit our bracket or this key to lower our ceiling down until it matches our door there. And that's one way you can align your door textures to meet the rest of the textures. Now you'll notice our wall texture over here is misaligned. So what I'm going to do is I'm going to hit L here. And I'm going to make sure that I don't have my door textures selected, but just these wall textures. And I'm going to hit Shift A until our walls align. And now our walls are aligned there. Perfect. Now there's our door, but DOOM doesn't know it's a door yet. We have to tell it that we want to open that. And there's different ways to do that. We're going to select these two walls because those are what's going to trigger. We're going to walk up to either one of these doors and hit Spacebar to open it. So with those walls selected, I'm going to come up here to choose. And under all this category, I'm going to choose Door. And I'm going to choose this first one, DR Open Door. So I'm going to choose that. Let's go ahead, save our game. So Ctrl S, Ctrl T to test it. Real quick, let me take care of these bad guys. Boom. Now I'm going to come down here and click that. And it's going to open. And I can walk through. So there's a few things we want to do. I can click on it again. And I should be able to. If I can fit in this room, I may not have made it big enough. Let's see if the door will close. Nope. OK. Anyway, let's go ahead and back tick and make this other room a little larger. Anyway, what we have here is saying that when you click on either of these walls, open the door. D, we have DR. Well, let's look at the letters first. We have DW, S, and G. So D means door, but not just any door. It's saying that you're opening a door that is connected to this line segment, to this wall. So as long as you're clicking on the door to open it, the D option is OK. If you have a switch remotely, so you're going to use a switch to open the door, you're going to use one of these S's. And W is for walking. So if it's a sector you walk through and have the door open when you walk through it, that's what W is for. And G, I believe, I haven't used it in a while, but I believe G is gun if you shoot it. We'll have to test that out. I should have tested that out beforehand. Now, the R versus the one. So you can see that it's going to be one of those letters, and then either a one or an R. One means it works once, and it's done, and it can't happen again. R means it's reusable. You're going to be able to click on it as many times as you want to open that door. And then the rest of it's pretty self-explanatory. We're going to open a door. Are we going to open the door and have it stay open? Are we going to close the door, and it's going to stay closed for 30 seconds before it opens again? You have a switch that closes the door. And then you can open a door fast, so it opens fast. So those are all your basic options. Depending on your port of doom, you may be able to generate other options, but we're not going to look at that, because I don't know what port you're going to be using, and so I don't want to confuse you. So anyway, again, we use DR to say that we click on this door to open it. But let's say I want, we created this little switch texture over here. Let's say I want this switch to open that door. So there's two things we need to do. First, let's go into sector mode, so S, and let's select our sector here that is our door. And we're going to give it a tag. What you can do is you can type in a number here, and make sure it's a unique number, and no other sector is using it. If you're unsure of what numbers have been used, Clicking Fresh will give you the next number that's available, since we haven't assigned any tags yet. It gave us one. Now that sector is one. Now I can hit L, and back tick to unselect all those, and select my switch over here. And I can give it the tag of one. I'm going to tell you right now with Eureka, make sure you click out of that box. Because I have the main times where I put the tag, and then I go do something else. And it didn't assign that tag. And I'm pretty sure if you click out of it, it fixes that issue. So we're saying that this is now linked. And you can see that it's linked. Because if I unselect it at any time, I choose that. If you watch the sector down here, you see how it has green walls. When I select that, you can see it turns pink. It's saying that, OK, they both have the same tag number. So let's go ahead and select that. It's tagged, but we haven't told it what to do with that sector yet. What I'm going to do is I'm going to choose, and under doors, I'm going to say that it's a switch. So I'm going to choose one that has an S at the beginning. And I want to be able to do it more than once, so R. And we don't want it to stay open. So we're looking for SR Open Door. If you use one of these regularly, you can also look at the number here. And you can always just type that number in here, instead of going and choosing it from a list. But now, if I save my game here, or save the level, let's go ahead and get rid of these bad guys real quick. I should actually just get rid of them while I'm showing yourself, so I don't have to waste my time. I should be able to flip that switch and that door open. And if it closes, I should be able to open it again by switching it. And I should be able to go through it now. I made this room a little bigger, so the door should close. And I should be able to click it to open it. So two more things I want to go over real quick. You'll notice that when I'm doing the bricks moving up down, you should change that texture to some sort of texture that looks like it's supposed to, like a track texture. I also want to do a quick walk through, so that when you walk someplace, it opens that door. So real quick, I'm going to back tick to unselect all. I'm in line mode. And I'm going to select these two here. And I'm going to change the texture. I'm just going to up here and type TR for track and choose that track. So it's going to look a little bit better. And back tick to unselect all. I'm going to choose this line right here. This is a line that we don't see, but we can walk through. And what I'm going to do is I'm going to give it the tag of one. Again, making sure I click out of that box. And now I'm going to choose from our door category. I'm going to choose W. And I'm going to say that I want it to open. I can have it do it once by choosing this option. Now I walk through and open it once, but it will never do it again. Or I can say repeat. I'll just do it once. So now that I've done that, and you know that it's linked to that because when it's selected, that sector is pink. Control S, Control T. Now, again, I should really just get rid of these guys so I don't have to do this every time. I can use the switch to open that door. If it closes, I can now walk. And when I walk right here, it opens. And you can see our track texture looks a little bit better. It looks like it's supposed to be moving, unlike the brick. I can open the door like this. I can open it from the other side as well. I also might want to change the ceiling texture for that sector so that it doesn't have half lights on it. But that whole walkthrough, since we said once that walkthrough won't affect it again, but I can still open it here. So that's the basics of doors in Doom. I do thank you for watching. Please visit my website, filmsbychrist.com. That's Chris Decay. There's a link in the description of the video. You can search through all my videos there. Again, this is part of a playlist. Check out the full playlist in the description of this video. And as always, I hope that you have a great day.