Homing prop_dynamics

Discussion in 'Mapping Questions & Discussion' started by TheKieranator, Jun 17, 2011.

  1. TheKieranator

    TheKieranator L6: Sharp Member

    Messages:
    282
    Positive Ratings:
    169
    After several cancelled maps (idea/name was already taken) I have started on a unique, unprecedented map. I'll spare you the details until a1, but it's a 3 stage A/D CP map. In stage 3, I would like to include an area where players can enter but at a great risk. What I want is for a prop_dynamic to move to the nearest player when they enter the area. I can already get the prop to kill players (parenting a trigger_hurt), but need a way to get the prop to home in on a player (perhaps like how the HHH does it) and move around randomly when idle (nobody is in the area).
    Any help would be appreciated.
     
  2. Seba

    aa Seba DR. BIG FUCKER, PHD

    Messages:
    2,363
    Positive Ratings:
    2,365
    That sounds like you'd need AI for that, and I don't think you can make custom AI for TF2 just yet. I would make it a standard 3-stage map.
     
  3. TheKieranator

    TheKieranator L6: Sharp Member

    Messages:
    282
    Positive Ratings:
    169
    Really? Hmmm
    Well what I had been planning was to have a CP above a tank of belligerent, genetically-engineered carp, and when players entered the tank they would be hunted down by the ill-tempered fish.
    Never mind then. :unsure:
     
  4. Loc_n_lol

    Loc_n_lol L10: Glamorous Member

    Messages:
    726
    Positive Ratings:
    273
    Maybe you oculd have like a few triggers, and have the prop move towards a pre-defined position when a player gets into the trigger.
    The HHH is more or less a bot, so you can't do anything like that.
     
  5. Pocket

    aa Pocket func_croc

    Messages:
    4,489
    Positive Ratings:
    2,219
    Hmm. Don't the rockets and bombs in that "tennis" map work like what you're describing? I don't know the full name of the map, but I'll keep my eye on the server window let you know if it comes up on the server that has it. Maybe you can track down its creator from there and ask 'em how they did it.
     
  6. DaBeatzProject

    aa DaBeatzProject

    Messages:
    1,276
    Positive Ratings:
    1,091
    I think you're talking about "dodgeball", a (quite popular) tf2 arena mod where pyro's have to airblast the rocket to the other team in order to kill them all and win the round.