Team Specific env_explosions & tf_point_weapon_mimics

Discussion in 'Mapping Questions & Discussion' started by Dr.Face, Jun 4, 2014.

  1. Dr.Face

    Dr.Face L1: Registered

    Messages:
    5
    Positive Ratings:
    27
    Hello, i've recently been creating prototype turrets to work
    with a TF2 map i've been thinking about. http://uppix.net/NAOzZB.jpg

    The turrets themselves I've managed to create but my main problem
    is setting certain entities to recognise teams. right now I've been forced
    to create a mock env_explosion with trigger hurts but Its really irritating
    to work around, having an env_explosion team controlled would really
    help alot.

    As well as this I want to experiment with other types of turrets which
    incorporate the tf_point_weapon_mimic entity, I've managed to get
    rapid fire arrows and sticky bombs but they suffer from the same effect
    as the env_explosion hurting either both or only one team.

    I'd like to ask if you guys have any advice on how to overcome this problem,
    I've tried forcing teams with the outputs TeamNum and SetTeam but its not
    having any affect. I'm hoping you guys have poked about with these ents
    before and know how to fix this.

    https://www.youtube.com/watch?v=5VDFQynhVJg
    (please bare in mind these are just prototypes right now XD)
     
  2. Lampenpam

    aa Lampenpam

    Messages:
    1,018
    Positive Ratings:
    337
    You can make the env_explosion non-lethal (or just use an particle effect) and set the trigger_hurt to one team. and AddOutput should be able to set a team, maybe you did it incorrectly?
     
  3. Dr.Face

    Dr.Face L1: Registered

    Messages:
    5
    Positive Ratings:
    27
    That's actually what I've done already to make them work, but it would just save alot of complexity if I could have the env_explosion work just by itself.

    As for those tf_point_weapon_mimics I am still not sure what to do

    Also.. the trigger hurts can do damage through walls which is really bad.
     
    Last edited: Jun 5, 2014
  4. Tumbolisu

    aa Tumbolisu  I ⌄ I 

    Messages:
    935
    Positive Ratings:
    904
    Are you using a custom fgd to use the tf_point_weapon_mimic?

    EDIT: I didn't read your name before. Hello good sir.
     
    Last edited: Jun 5, 2014