Door and Elevator Questions

Discussion in 'Mapping Questions & Discussion' started by littleedge, Apr 4, 2009.

  1. littleedge

    aa littleedge L1111: Clipping Guru

    Messages:
    983
    Positive Ratings:
    573
    I have a door that I want to be opened by shooting a button. I want the door to go into the floor. How do I do this? I've looked around, and I just cannot grasp what the tutorials are saying (or it doesn't mention this specific thing). I want two buttons, actually. One opens the door, another closes it. I made the block for the door and the blocks for the buttons--Where do I go from here?

    I also have an elevator that I want to go up when you press one button, and to go down when you press the other. How do I do this? Again, I have the block for the elevator (and the shaft), and the two buttons for it.



    Any help would be appreciated. I'm an amateur mapper (I know the basics, and I could make a functional map, be it cp, ctf, or pl,--It just wouldn't be good >.>)
     
  2. Haggis

    Haggis L2: Junior Member

    Messages:
    86
    Positive Ratings:
    1
    Have a look at this look,i know it shows you how to switch a light on and of but you can change it to operate your lift,
    http://www.halfwit-2.com/?page=tutorials&id=3
    As for shooting the button,if you read the tutorial there is a bit about this,so it looks like it is possible.Hope this helps.
     
    Last edited: Apr 5, 2009
  3. TMP

    aa TMP Abuser of Site Rules

    Messages:
    948
    Positive Ratings:
    551
    I would say for the shooting of a button, make it a func_breakable with a life of.. I don't know.

    OnDamage -> Open door

    And on the close button, same, but Close.

    The door needs to be a func_door. (Well, you could make it a func_linear or whatever, but func_door is easier.
     
  4. Zeewier

    Zeewier L9: Fashionable Member

    Messages:
    619
    Positive Ratings:
    130