Disable Mann Power Grappling Hooks.

Discussion in 'Mapping Questions & Discussion' started by Mr.LandTree, Dec 12, 2018.

  1. Mr.LandTree

    Mr.LandTree L1: Registered

    Messages:
    2
    Positive Ratings:
    0
    Hello!

    I am a an amateur map creator who needs a word of advice

    I am working on a small project of mine, space themed koth map.

    Unreal tournament was an inspiration for this map, so I wanted to include some kind of damage booster that players can pick up when it recharges.

    I used Kritboost power up from Mann power for this.

    Here is my problem:
    This power up requires a Mann power logic to function. But this logic also actives grappling hooks. They don’t really fit with the size and style of the map. Is there a way to disable grappling hooks or I should just remove the Mann power logic and just move on?
     
  2. Yaki

    Yaki L6: Sharp Member

    Messages:
    292
    Positive Ratings:
    131
    You have a few options.
    1. Enable MannPower, and place a map-wide trigger_multiple doing this:
    OnStartTouch -> tf_weapon_grapplinghook -> Kill

    That'll delete all grappling hook entities on the map whenever a player touches them.

    2. Option: Add this:
    Enable the power ups using a logic that, on collision with the power up, disables the model and power up trigger, and re-enables after it's told to. More info in that link.
     
    • Agree Agree x 1
  3. Mr.LandTree

    Mr.LandTree L1: Registered

    Messages:
    2
    Positive Ratings:
    0
    Thank you for help. I did what you said and it worked