[Help] func_tanktrain-related issues

Discussion in 'Mapping Questions & Discussion' started by Cylosis, Jul 16, 2012.

  1. Cylosis

    Cylosis L1: Registered

    Messages:
    5
    Positive Ratings:
    1
    First off, apologies if this is in the wrong section, there wasn't really much direction as to where to put threads that abuse you guys as a help hotline, so I stuck it among people like myself.

    I've spared the details and context of the issue I've run into and thrown all of the problem bits into a small example map. Here I've ripped the control panel off of the original map and placed it on a platform.
    [​IMG]

    Here it is up close. The up arrow is to raise the staircase, the down one is to lower it.
    [​IMG]

    Raises up just fine.
    [​IMG]

    However, when the down arrow is pressed, the staircase does not retract into the ground. This is because I have no idea how to make it do that.
    [​IMG]
    [​IMG]

    I really wanted to figure this out on my own, but after numerous attempts I had to ask around for help. I had heard that the folks here at TF2maps were more than competent in the area of mapping and might be able to give me a hand.

    I've zipped everything here

    If whoever reads this would take a moment and see if there's anything to be done, that would be A+
    You can add me here if you need.

    (Also, the two buttons to the side of the arrows are tied to two trigger_hurt entities on the regular map. The goal of them is to activate the area long enough to kill everyone, but then deactivate so it can be repeated. I have no idea how to make this work, either.)
     
  2. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    got it working. To the Up button add this:

    OnDamaged
    divider_wall
    StartForward

    to the down button add this:

    OnDamages
    divider_wall
    StartBackwards

    This'll make it go both ways instead of being stuck at the top or bottom

    Also for the trigger_hurt thing

    Make two logic_relays, one for red and one for blu, redside_relay and bluside_relay

    For the red button, delete whats there and add this:

    OnDamaged
    redside_relay
    FireUser1

    OnDamaged
    redside_relay
    Disable

    OnDamaged
    redside_kill
    Disable
    delay of ~10 seconds

    OnDamages
    redside_relay
    Enable
    delay of ~10 seconds

    Now on redside_relay, add this:

    OnUser1
    redside_kill
    Enable

    do the same with the blu side

    that'll stop people from spamming the kill button over and over again
     
    • Thanks Thanks x 1
  3. Cylosis

    Cylosis L1: Registered

    Messages:
    5
    Positive Ratings:
    1
    I'll go and punch this in right away, thanks!


    EDIT: Works flawlessly. I cannot thank you enough for this.
     
    Last edited: Jul 16, 2012