Removing bumper cars at end of round?

Discussion in 'Mapping Questions & Discussion' started by KubeKing, May 31, 2017.

  1. KubeKing

    aa KubeKing Back home in Jupiter, things are getting harder

    Messages:
    1,211
    Positive Ratings:
    1,374
    An audio glitch occurs if the server's map is changed while players are still in bumper cars. In order to prevent this glitch from occurring, I need to remove the bumper car player condition once each round has been won. I haven't been able to find a working solution. I've tried:
    • Disabling the bumper car trigger_add_tf_player_condition once each round has been won.
    • Killing the trigger_add_tf_player_condition once each round has been won.
    • Moving the trigger_add_tf_player_condition out of reach once each round has been won.
    If a solution is found, I can also make a special map file that will remove the glitch, so that if the initial kart maps is changed before the round ends, the glitch won't persist.
     
  2. Diva Dan

    aa Diva Dan hello!

    Messages:
    813
    Positive Ratings:
    1,229
    As it is right now, players can even respawn inside of a kart if they survived a round when a new round starts, it's super weird.

    Your best bet is to just kill the player and disable the trigger, and force a respawn. That will clear everything up but not be very elegant
     
    • Thanks Thanks x 1
  3. KubeKing

    aa KubeKing Back home in Jupiter, things are getting harder

    Messages:
    1,211
    Positive Ratings:
    1,374
    This advice got everything working! Thank you very much!
     
  4. Diva Dan

    aa Diva Dan hello!

    Messages:
    813
    Positive Ratings:
    1,229
    No problem, if you have more questions regarding karts you can ask me because I made a 72hr map using them last winter!
     
    • Thanks Thanks x 1
  5. Werewolf

    aa Werewolf Probably not a real Werewolf

    Messages:
    702
    Positive Ratings:
    198
    Isn't trigger_remove_tf_player_condition an entity? Couldn't you have one of these brushes Enable the same time you Disable the add brush? Also might be an idea to have a few extra ones in the spawn rooms as well?
     
    • Thanks Thanks x 2
    • Like Like x 1
  6. KubeKing

    aa KubeKing Back home in Jupiter, things are getting harder

    Messages:
    1,211
    Positive Ratings:
    1,374
    That entity works even better. I had no clue it existed! Thanks!
     
Tags: