"Use Activates" Buttons Don't Work

Discussion in 'Mapping Questions & Discussion' started by butter_milch, Mar 14, 2011.

  1. butter_milch

    butter_milch L1: Registered

    Messages:
    16
    Positive Ratings:
    0
    This is maddening!

    I created a few buttons, set the "Use Activates" (and Toggle) flag, set all outputs to "OnPressed", compiled, started a local server, set "tf_allow_player_use" to "1", bound f (and a whole bunch of other keys) to "+use" (bind "f" "+use") but nothing happens. NOTHING.

    The funny thing being that they worked just fine a few hours earlier. But now after mapping some more (and not changing a single thing about the buttons) they don't work anymore.

    After ticking the "Damage Activates" flag the buttons work perfectly when I hit them with a melee weapon or gunfire. But I need them to only work when being "used".

    Does anybody have a solution to this?
     
    Last edited: Mar 15, 2011
  2. The Asylum

    aa The Asylum

    Messages:
    1,658
    Positive Ratings:
    439
    I don't think you need to put + or - use, just "use"
     
  3. butter_milch

    butter_milch L1: Registered

    Messages:
    16
    Positive Ratings:
    0
    Nope. I've tried:

    bind f use
    bind "f" "use"
    bind f +use
    bind "f" "+use"

    And several different keys.
     
    Last edited: Mar 15, 2011
  4. REEJ

    REEJ L7: Fancy Member

    Messages:
    437
    Positive Ratings:
    167
    Didn't valve disable +use for good in TF2?
     
  5. butter_milch

    butter_milch L1: Registered

    Messages:
    16
    Positive Ratings:
    0
    No. As I said: It already worked well (I tested the buttons multiple times when it did) but then just stopped doing so.
     
  6. butter_milch

    butter_milch L1: Registered

    Messages:
    16
    Positive Ratings:
    0
    Well, screw it ^^

    Next problem: The buttons work fine on a local server but on a dedicated server they are somewhat buggy.

    The buttons are set to toggle. So they move after being pressed and stay in that position until pressed again. This works fine on a local server but on a dedicated server they stay in one place and don't move.

    Does anybody know anything about that?
     
  7. butter_milch

    butter_milch L1: Registered

    Messages:
    16
    Positive Ratings:
    0
    Doesn't matter. Replaced the button brush with a door.
     
  8. ardysqrrl

    ardysqrrl L4: Comfortable Member

    Messages:
    173
    Positive Ratings:
    159
    some servers have +use disabled, which may explain the different behavior between your local server and putting it somewhere else
     
  9. Mr. Happy

    Mr. Happy L6: Sharp Member

    Messages:
    320
    Positive Ratings:
    144
    Also FYI when using toggle buttons OnIn and OnOut are generally more useful.