Open gate with animated lever

Dr. ODr. O Minister of RoggenSenior
edited 1:21PM in Community Maps
I hope someone can help me out here:

I have a gate and want to open it with a lever, just like it is done on bt_island. Now my gate is a prop_door_rotating and I can't figure out how to use the animated lever. What entity do I need to use for it?
PVKII Server: The House of Dr. O
--friendly fire
--manual block

My maps/plugins:
te_sahara_b1 : http://pvkii.gameban...com/maps/184372
Weddings: http://forums.allied...ad.php?t=221933



15:55 - Sir Whiskeyngton: well you're the minister of roggen
15:55 - Sir Whiskeyngton: you'd just be doing your job
15:56 - Sir Whiskeyngton: I need to send an army of monks to the enemy
15:56 - Sir Whiskeyngton: since I'm the minister of propaganda



5:22 PM - Felis catus: QSBtYW4gY2hvb3NlcywgYSBzbGF2ZSBvYmV5cywgQWxsIHdvcmsgYW5kIG5vIHBsYXkgbWFrZXMgU2lyIFdoaXNrZXluZ3RvbiBhIGR1bGwgYm95Lg==
5:22 PM - Felis catus: base64
5:23 PM - Sir Whiskeyngton: nab
5:23 PM - Felis catus: dr o could translate that without a decoder
5:23 PM - Felis catus: he is a wizard
5:23 PM - Felis catus: he actually programmed roggen
5:24 PM - Felis catus: he programmed the world
5:24 PM - Felis catus: how it behaves
5:24 PM - Felis catus: dr o is god
5:24 PM - Sir Whiskeyngton: lol
5:24 PM - Sir Whiskeyngton: you forgot the first commandment
5:25 PM - Sir Whiskeyngton: 1. Thou shalt have no gods; thou shalt only have Budnab.
5:25 PM - Felis catus: dr o made him
5:25 PM - Felis catus: dr o defined the gods
5:25 PM - Felis catus: dr o did everything
5:25 PM - Felis catus: he is the god

Comments

  • WintersunnWintersunn Land Lubber! Senior
    edited 1:21PM
    https://developer.valvesoftware.com/wiki/Func_door

    Not sure if that is what you are looking for, but googling always helps. :>
    34nqlqd.jpg
  • Dr. ODr. O Minister of Roggen Senior
    edited 1:21PM
    Yeah, that's a part of the solution. Goggle didn't tell me the whole one, the lever animations are pvk specific and that was the problem.
    I had to do a nodraw-func_button around the lever. The button toggles the gate, the gate then toggles the lever animation. Tricky stuff.
    PVKII Server: The House of Dr. O
    --friendly fire
    --manual block

    My maps/plugins:
    te_sahara_b1 : http://pvkii.gameban...com/maps/184372
    Weddings: http://forums.allied...ad.php?t=221933



    15:55 - Sir Whiskeyngton: well you're the minister of roggen
    15:55 - Sir Whiskeyngton: you'd just be doing your job
    15:56 - Sir Whiskeyngton: I need to send an army of monks to the enemy
    15:56 - Sir Whiskeyngton: since I'm the minister of propaganda



    5:22 PM - Felis catus: QSBtYW4gY2hvb3NlcywgYSBzbGF2ZSBvYmV5cywgQWxsIHdvcmsgYW5kIG5vIHBsYXkgbWFrZXMgU2lyIFdoaXNrZXluZ3RvbiBhIGR1bGwgYm95Lg==
    5:22 PM - Felis catus: base64
    5:23 PM - Sir Whiskeyngton: nab
    5:23 PM - Felis catus: dr o could translate that without a decoder
    5:23 PM - Felis catus: he is a wizard
    5:23 PM - Felis catus: he actually programmed roggen
    5:24 PM - Felis catus: he programmed the world
    5:24 PM - Felis catus: how it behaves
    5:24 PM - Felis catus: dr o is god
    5:24 PM - Sir Whiskeyngton: lol
    5:24 PM - Sir Whiskeyngton: you forgot the first commandment
    5:25 PM - Sir Whiskeyngton: 1. Thou shalt have no gods; thou shalt only have Budnab.
    5:25 PM - Felis catus: dr o made him
    5:25 PM - Felis catus: dr o defined the gods
    5:25 PM - Felis catus: dr o did everything
    5:25 PM - Felis catus: he is the god

  • yushyush Senior
    edited 1:21PM
    Try to make the hand_grab the level_entity and then pull_command to gate_open.

    Works in real life.

    :P
  • Dr. ODr. O Minister of Roggen Senior
    edited 1:21PM
    If only virtual life was as easy as real life is. Wait, isn't it the other way round? :D
    PVKII Server: The House of Dr. O
    --friendly fire
    --manual block

    My maps/plugins:
    te_sahara_b1 : http://pvkii.gameban...com/maps/184372
    Weddings: http://forums.allied...ad.php?t=221933



    15:55 - Sir Whiskeyngton: well you're the minister of roggen
    15:55 - Sir Whiskeyngton: you'd just be doing your job
    15:56 - Sir Whiskeyngton: I need to send an army of monks to the enemy
    15:56 - Sir Whiskeyngton: since I'm the minister of propaganda



    5:22 PM - Felis catus: QSBtYW4gY2hvb3NlcywgYSBzbGF2ZSBvYmV5cywgQWxsIHdvcmsgYW5kIG5vIHBsYXkgbWFrZXMgU2lyIFdoaXNrZXluZ3RvbiBhIGR1bGwgYm95Lg==
    5:22 PM - Felis catus: base64
    5:23 PM - Sir Whiskeyngton: nab
    5:23 PM - Felis catus: dr o could translate that without a decoder
    5:23 PM - Felis catus: he is a wizard
    5:23 PM - Felis catus: he actually programmed roggen
    5:24 PM - Felis catus: he programmed the world
    5:24 PM - Felis catus: how it behaves
    5:24 PM - Felis catus: dr o is god
    5:24 PM - Sir Whiskeyngton: lol
    5:24 PM - Sir Whiskeyngton: you forgot the first commandment
    5:25 PM - Sir Whiskeyngton: 1. Thou shalt have no gods; thou shalt only have Budnab.
    5:25 PM - Felis catus: dr o made him
    5:25 PM - Felis catus: dr o defined the gods
    5:25 PM - Felis catus: dr o did everything
    5:25 PM - Felis catus: he is the god

  • yushyush Senior
    edited 1:21PM
    It is, but only when game_making_completed
Sign In or Register to comment.