Part 3.: "Sacrifice door", Instant win, Minigame, tf_generic_bomb
Welcome to the next part! Long time no see. Sorry about that. But now I'm back! Let's start with tf_generic_bomb. Do you remember the explosive cow we made? Well you can do it in a much easier way! (thanks
@14bit for mentioning this!) But I'm not gonna explain it how it works because Crash already made an awesome
video about it! So let's just move to how to make the sacrifice door. You may ask: "What is a sacrifice door?" Well I use this name for those traps which makes 1 door safe and the second door deadly. It's pretty easy to make it! First quickly make 2 doorway. Something like this:
Now make trigger brushes into the doors and make them to a trigger_hurt. Set the damage about 1000 and set "Start Disabled" to "Yes". Also set their name! I just name them to leftdoor and rightdoor.
Now it shouldn't do anything if you pass trough.
It's good if you make them like this, because if the activator is AFK players don't have to think which one is the good one. Alright let's make 2 buttons! You don't remember how to make them? Go back to part 2! Also add a name for them. I named mine to: leftdoorbutton and rightdoorbutton. Alright, now we need to set the Outputs! I start with the left button. Click add, OnPressed-leftdoor-Enable and tick "Fire once only". Now if we press the button it enables the trigger_hurt for the left door! But we not ready yet! We need a second Output which blocks the second button. If we don't do this, our activator can get an advantage! Click add, OnPressed-rightdoorbutton-Lock. Now it's blocking the other buttons too.
We need to do this for the second door just in the opposite way. So leftdoor will be rightdoor and rightdoorbutton will be leftdoorbutton. It was easy right? Now let's make a win door. It's usually at the end of the map. Make a doorway or something where you want the player to go if he wants to win the round. I just made the floor blue. Now make a trigger brush and make it to a trigger_capture_area. Set the time to cap to zero. Now if someone go there it will win the round for him.
But we mappers are kind hearts, right? Well let's make a dueling mini-game to give another chance to the activator. How we can do this? Let's set up a mini arena and make sure that both team can teleport there! First make trigger brush for a doorway, pleasure plate or something to make the red team to teleport the arena. Make this trigger to a trigger_teleport. Set the remote destination name to "arena". Now place an info_teleport_destination and name it to "arena". Now if some go to this trigger he will teleport to the info_teleport_destination. Alright but how should we make that the activator also gets teleported to the arena? make a trigger_teleport for the whole activator part of the map and set the remote destination to "arena_activator". Also make it to Start Disabled. We need to name it. I name it to teleport_activator. Also don't forget to place the info_teleport_destination to the arena where you want the activator to spawn!
Now go back to RED's teleport! We gonna make an Output: Click add... OnStartTouch-teleport_activator-Enable. Now no matter where is the activator he will get teleported to the arena. And basically that's it. Hope you enjoyed and learned from this part. I see you in the next part where we talk about how we can make our deathrun map more enjoyable!