 Hello and welcome this is video I believe 14 in a series on using the Eureka doom editor to create doom maps doom levels It's a great little editor and then again this is part of series chart check out the link in the description as video for the full Series you probably want to watch the previous videos before jumping in here And in the last video we talked about teleporters, but let's talk about like ambushes So you go in a room and then something happens and I'll send all these bad guys start teleporting into that room How do you go about doing that? Let's go ahead and do that. Let's go ahead and just use this room up here as an example So I'll move my mouse cursor over here I'll hit the apostrophe key and then tab so we got this the red brick room. It's got teleport or where I teleport in and Let's just go ahead and create a few invisible sectors So I'm gonna hit V to go into vertices mode actually excuse go S and I'll just hit. Yeah, no V Yeah, so I'm hitting space bar. There's a sector. There's a sector There's a sector And we'll put Another one here, I guess We'll go into sector mode and we'll give each one of those a fresh tag number so we started at four five six and seven and let's go ahead and Put in our Teleporter fog here, so fog So, okay We want bad guys teleporting again. You don't see these sectors You can see in the preview here where the teleporters are, but they're just gonna start teleporting into this room But how do you get that you don't want them in there already you want to wait until something triggers them to come So what we're going to do here is Create a separate little room over here So again, I'm gonna go V to go into vertices mode and I am just going to create a sector here And this is going to hold your bad guys So let me go ahead and just go in here to things and I will add a monster and I will add some imps Like so I'll just select them Control C control V Just place a bunch of them in there Well now I'm going to come over here, and I'm going to draw this line I'm gonna choose that line and I'm gonna give a tag of four and I am going to choose To teleport repeat so now when those imps walk through that line They should be teleported to as you can see this one that's highlighted pink right now So here's the thing though They're just sitting there idle. How do you get them moving? Well, what we're gonna do here I'm gonna go vertices and I'm going to add in Neckville sector here So now you can see them down there, but of course we don't want this hallway here So what we're gonna do is we're gonna choose this sector and We're gonna put the ceiling height to just something like one This is one way of doing this So it's right there. Let's go ahead and L and Shift a to align our textures. So it's hard to tell me move my camera down But there is a little crack under there. You can see a little sector that Those imps are on the other side of so now when I go in that room and I make a noise They're gonna start trying to walk to me through that sector and hopefully be teleported when they walk through the second Now only one can walk through at a time So they might be walking back and forth for a while Let's go ahead control s control t to save and test. I will come into here. I can shoot this guy Not a problem. Hope he just teleported into here and now I'm in here They're not in here, but as soon as I make a noise All of a sudden they start teleporting in through that teleporter. That's great But they're all coming in through that one teleporter. So how can I make it so that? They're teleporting in through different teleporters. I could put different Lines around the room here thing is but they're all gonna should be trying to come to me this way So they're all gonna be walking to the left. So all I have to do is Come in here. Whoops. Let's undo that and vertices mode left click left click left click Let's go ahead and now I can choose these lines and I can choose that one give it a sector of five Choose this one give it a sector of six making sure to click add that box. So that's saved and Sector seven. So now What I can do is I could come this way Kill this guy. Maybe don't be teleported before I finished them off But when I come in here and I shoot once and it makes sound now They're teleporting in through all four of those sectors depending on just their random walking So, you know more might come in through one teleporter than the other and So now we got a bunch of bad guys ambushing us just teleporting in but let's say you wanted that to happen Let's say when a you flip a switch, maybe you flip a switch and they all start coming in So what you can do is you can put a wall between them and when you flip that switch So let's say let me really quick here Create a whole another little room over here a whole another sector And I'm gonna choose this sector here. I'm gonna give it a fresh tag of eight And if we're in here, you can see Let me just go ahead and There we go. So there's that sector Actually two sectors and I'm gonna put the floor up so it's like that Okay, so we have this wall here and I want to switch that opens that that wall up for me But at the same time when I flip that switch, I want these bad guys to come and get me So what I can do first of all, let's create the switch So I'll create a little sector here and I will start lifting that up and I will go to line mode and again We went over all this sort of thing in previous videos. I'm gonna go ahead and look at my switch textures. I'm gonna choose This one maybe there we go So we have this little switch here. I'm gonna give it match it with a sector of eight So now you can see when that line is highlighted So is that sector and what I'm gonna do is I'm going to choose to Floor lower switch once Let's go ahead and go in here And now I flip this switch and that wall lowers that does not make the bad guys come they come when I shoot Okay, so What I want to do is Is Come in here Create a whole new sector right here. Oops one a little too far on that Things let's make sure all my bad guys are on this side. I'm gonna choose this sector here Let's go ahead and move my 3d view in here and Move that wall up Now there's different ways I can do this if I put the wall all the way up They wouldn't be able to hear me till I lower that wall, which maybe is what I want But I want them teleporting in as soon as I flip that switch I want them to hear me before that so I'm gonna put it up so they can't get past it In fact, I'm only gonna put up this side that way it lowers a little faster And if I give that sector sector eight just as we did before now when I flip that switch This wall and that wall will lower and the bad guys will be able to teleport over so Let's go ahead and do that now at this point If I flip that switch both walls were lower, but they won't start moving until they hear me so I can You hear them well you pride and hear them so I'm not recording the sound from the computer But you can hear them now. They've they've been alerted and now when I flip this switch Oh, they all start coming in so they can't come in so that wall is lowered So that's one way but again I had to come in there and shoot so different things you can do I can put a bad guy in here so I can go things and Put a guy in here so that I shoot when I walk in there You can also maybe do something like connected to a previous room So let's say I don't want any bad guys in there. So I want to leave that room as is I can always Doesn't even need to be that big. That's actually kind of large, but we'll take this and we will set its ceiling to one So same as the other thing But now let's go ahead move over here So it's right there and you can hide this better with your design because that is lifted up a little bit Again, I can go now and try to align my textures a little bit better make it hidden a little bit better And let's go ahead and make this guy Face me right here. In fact, I'm gonna get rid of that whole sector right there Just make it a little pillar. Actually, let's not do that. Let's go lines I Believe it that way. Okay. So now when I'm playing the game I can come in I'm sort of shooting at this guy. I just woke up all those bad guys already So I can come in here flip this switch Oh, and they all start teleporting in So I alerted them earlier in level and that could be something you you alert them, you know at the very beginning of the game For a room much further down the line, but those are ways to create ambushes in that aspect And of course they followed me through the teleporter Anyway, that is one type of ambush and it is definitely very useful for You know ambushing the player. I do. Thank you for watching again This video is part of series and do a few more on using Eureka doom editor And as always you can visit my website films by chris.com. That's chris of the k I got a whole bunch of videos on software software development and software program design stuff like that Hundreds thousands of videos you can search through at films by chris.com. That's chris of the k Link in the description of the video. I also have previous videos on doom and actually editing the source code You might want to look at but I do thank you for watching and as always I hope that you have a great day