Announcement

Collapse
No announcement yet.

Question about doors.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Question about doors.

    So I'm working on a map ATM and I have some ogres patrolling a hall. They pass by a door, and the door opens as they pass. I want the door to open ONLY for the player. Is this possible?

    Thanks!

  • #2
    By default doors will automatically open when a player or monster is near, and close when they leave.
    As is --- Not really, no. Making a button open the door would be your best bet or requiring a key to open the door.
    Quakeone.com - Being exactly one-half good and one-half evil has advantages. When a portal opens to the antimatter universe, my opposite is just me with a goatee.

    So while you guys all have to fight your anti-matter counterparts, me and my evil twin will be drinking a beer laughing at you guys ...

    Comment


    • #3
      Yes it's totally possible if you give your func_door a health value of more than 0 it will only open when shot or hit with an axe. Thus allowing your monsters to patrol near it without opening it.

      Comment


      • #4
        make a trigger_multiple around the door that triggers it (these won't trigger from monsters, but will still trigger from players).
        or just add a button next to it for the player to use.
        or just make a button into the 'door' itself. it'll probably try closing on the player, so have fun with that.
        Last edited by Spike; 06-07-2016, 09:35 AM.
        Some Game Thing

        Comment


        • #5
          As Spike mentioned,
          Give your door a targetname, say "dr1"
          Then create a trigger_multiple and give it a target "dr1"
          Have the trigger_multiple stick out just far enough either side of the door so that you trigger it as you get close,
          but obviously don't have your patrolling ogres touch it.

          Why don't you want the ogres to trigger it? If it is because you want them to be a surprise to the player, you could have them teleport in when the player passes through the door. That's quite easy to set up if that is what you are after.

          Ogre in a ogre-sized box with a func_teleport trigger.
          Func_teleport's targetname same as trigger_multiple's target.
          Info_teleport_destination sets where the Ogre will teleport to.
          Info_teleport_destination's targetname same as Func_teleport's target.
          Leave enough space around the Info_teleport_destination so that your creature can teleport in safely.
          Username : Atomic Robokid on Steam

          Please check out my Quake made things:

          https://www.indiedb.com/games/run-over
          https://adam-freeman.itch.io/hazard
          https://adam-freeman.itch.io/diver
          https://adam-freeman.itch.io/beyond

          Comment


          • #6
            Thanks Adam. The ogres are just walking down a hall and happen to pass a door, so it opens when they walk by. Just thought it looked a little funny =P

            Comment

            Working...
            X