Dropping Intel

Discussion in 'Mapping Questions & Discussion' started by phatal, Jan 28, 2008.

  1. phatal

    phatal L6: Sharp Member

    Messages:
    259
    Positive Ratings:
    21
    I'm thinking of doing a cross gametype map with cp's and intel, but the intel I want to drop (like a companion cube in portal) when certain conditions are met. How would this be done?
     
  2. Armadillo of Doom

    aa Armadillo of Doom Group Founder, Lover of Pie

    Messages:
    949
    Positive Ratings:
    614
    You have a few options here. The most direct would be an output to the intel that deletes it upon meeting your conditions. You could also create a trigger_multiple and attach it to the intel. From there, you can tell the trigger to do whatever, which will affect the thing it's attached to. In this case being the intelligence.
     
  3. phatal

    phatal L6: Sharp Member

    Messages:
    259
    Positive Ratings:
    21
    But can the intel free fall? I would figure if it is created somewhere then it just stays there. If nothing under it then it would just float in mid air and that's not what I want. I want it to fall and then bounce around like it would if in RL.
     
  4. Armadillo of Doom

    aa Armadillo of Doom Group Founder, Lover of Pie

    Messages:
    949
    Positive Ratings:
    614
    I dunno about bouncing, but the intel will definately fall down. If you plan to have a death-pit, somewhere in this forum is a tutorial for retrieving it after a set amount of time. I've had some epic battles on 2fort when the intel dropped into the water :D
     
  5. PandaN

    PandaN L1: Registered

    Messages:
    30
    Positive Ratings:
    0
    It doesn't fall though Immortal-D, it just teleports the where it believe the ground is from where you died :( The intel has ZERO physics to it, no fall bounce or anything. :(
     
  6. phatal

    phatal L6: Sharp Member

    Messages:
    259
    Positive Ratings:
    21
    That's what I was afraid of. :(
     
  7. trackhed

    trackhed L3: Member

    Messages:
    106
    Positive Ratings:
    2
    you could script a little sequence with a prop_physics that OnTakeDamage will Enable the Item_Teamflag (which has been set "Start Disabled" yes)
    also set it to OnTakeDamage Break itself with No Gibs so it looks like it hits the ground then starts spinning?

    will take some time getting the inertia factor scale settings right, but should be able to get it looking decent

    end result is the same though, it would always have to fall in the same spot or it would look to "warp" to its destination.
    unless there is some way to spawn a flag
     
    Last edited: Jan 29, 2008
  8. phatal

    phatal L6: Sharp Member

    Messages:
    259
    Positive Ratings:
    21
    What I'm toying with right now is a lame elevator that raises a prop of the intel up and then replaces itself with the flag.

    I might just use a shooter and shoot out 1 flag and then same thing, replace with flag.

    I like the spinning idea though. I'll play with that when I get home.