Player Destruction Logic Problems

Discussion in 'Mapping Questions & Discussion' started by TylowStar, Sep 23, 2019.

  1. TylowStar

    TylowStar L1: Registered

    Messages:
    16
    Positive Ratings:
    2
    Hi, it's my first time making a PD map and, somewhat predictably, I've ran into problems. Specifically, with the point. Having followed Egan's guide, I noticed a problem upon compiling the map; for whatever reason, the point opens right at the start of the match and does not close, as it does on every other PD map. How can I fix this?
     
  2. Egan

    aa Egan

    Messages:
    1,323
    Positive Ratings:
    1,578
    Yeah so the capture zone triggers are enabled by default in the prefab. You'll have to disable them for a time with the Disable input.

    You could use a logic_timer, and its OnTimer output if you wish.
    Setting its Timer setting to 60, and the outputs of:
    OnTimer > capture_zone_names > Disable
    OnTimer > capture_zone_names > Enable > After a delay of 30


    You can also use the Input on the pd logic entity:
    SetCountdownTimer > 30
    To display a timer on the HUD at the bottom center of a countdown while the capture zone trigger is disabled.


    This is also possible to handle entirely within the pd logic entity using the logic entity's OnCountdownTimerExpired output, to affect itself, but that's a little bit less intuitive and user friendly.

    For more information on the PD logic entity's settings you can click the in-editor Help key (in the top right) for a full list of KVPs and IO:
    [​IMG]
     
    • Thanks Thanks x 1
  3. TylowStar

    TylowStar L1: Registered

    Messages:
    16
    Positive Ratings:
    2
    Thank you heaps for that reply! The point works now, there's just one issue...

    I'm extremely sorry, but what do you mean by this? I assumed you meant an input named "SetCountdownTimer" targeting the pd_logic, but I can't find such an input in any of the entities.