Sentry Guns?

Discussion in 'Mapping Questions & Discussion' started by Foreverkul, Apr 12, 2008.

  1. Foreverkul

    Foreverkul L4: Comfortable Member

    Messages:
    157
    Positive Ratings:
    14
    How can you either:
    Destroy a sentry gun, like when an engineer builds a sentry gun and something runs into or even just bumps it.
    Or make something ONLY hurt sentry guns.
    Or make a sentry gun attack a target that isn't an enemy player?
     
  2. Pseudo

    Pseudo L6: Sharp Member

    Messages:
    319
    Positive Ratings:
    149
    One thing that I can think of would be to send "obj_sentrygun" the input "Kill" or "RemoveHealth", this would remove or damage all of the sentry guns currently built. Another possibility would be to have a point_clientcommand
    that is somehow triggered by the engineer and sent the input "destroy 3". This would force an engineer to destroy his own sentry gun.

    There may be some way to make a point_hurt damage only sentry guns, but I couldn't figure out how.

    Making a sentry gun attack a target that isn't an enemy is not possible. It may be possible to create an enemy though. I haven't tested this but it might be possible to place an obj_dispenser (or obj_teleporter_entrance, etc.) in the map in Hammer and set its team with a SetTeam input.
     
  3. Foreverkul

    Foreverkul L4: Comfortable Member

    Messages:
    157
    Positive Ratings:
    14
    In Well, what does the train use?
     
  4. MangyCarface

    aa MangyCarface Mapper

    Messages:
    1,616
    Positive Ratings:
    1,275
    trigger_hurt.
     
  5. Foreverkul

    Foreverkul L4: Comfortable Member

    Messages:
    157
    Positive Ratings:
    14
    Apparently you don't know that it doesn't hurt sentries.
     
  6. YM

    aa YM LVL100 YM

    Messages:
    7,099
    Positive Ratings:
    5,744
    The train still destroys senteries though. use the decompiled version of well to see what exactly the train does.