Player destruction help

Discussion in 'Mapping Questions & Discussion' started by That's the plan, Mar 28, 2019.

  1. That's the plan

    That's the plan L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    37
    So it's my first time trying to make a player destruction map, and I can't figure out how to make the capture zone turn on/off over time (like how in Watergate the capturing turns on in 30-someodd second intervals when the spaceship is triggered), because it isn't mention in the official player destruction guide. Any help would be appreciated.
     
    Last edited: Mar 28, 2019
  2. That's the plan

    That's the plan L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    37
  3. Narpas

    aa Narpas Takes way to long to make and update maps

    Messages:
    424
    Positive Ratings:
    404
    To utilize the HUD timer built into tf_logic_player_destruction, you need to send it the input "SetCountdownTimer" with a parameter override of how long you want the timer to be in seconds. It will automatically send an output "OnCountdownTimerExpired" when the timer reaches zero, which you can use to enable/change/set the capture zone(s) as well as reset the timer. If you only want the capture zone(s) to be active for a certain amount of time you would use the same output but add a delay

    EDIT: I'd also suggest manually triggering some ambient_generics with the countdown voicelines, as tf_logic_player_destruction has no built in voicelines, so it'll be easier to know when the timer is running out
     
  4. That's the plan

    That's the plan L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    37
    Thanks for the help. I've done all that, and that's working fine, but for some weird reason the max score won't update. Any help?
     
  5. Narpas

    aa Narpas Takes way to long to make and update maps

    Messages:
    424
    Positive Ratings:
    404
    I posted the answer to that in the other thread you made
     
    • Thanks Thanks x 1
  6. That's the plan

    That's the plan L4: Comfortable Member

    Messages:
    183
    Positive Ratings:
    37
    Sorry, didn't see that earlier. Thanks so much for the help! :)