How do you make it so only players carying the intelligence can capture a regular CP capture point?

Discussion in 'Mapping Questions & Discussion' started by lonkfania, Aug 20, 2016.

  1. lonkfania

    lonkfania L1: Registered

    Messages:
    9
    Positive Ratings:
    1
    I want to make a map that allows players to pick up a neutral flag and capture a point with it.
    If the player with the intel goes in a capture zone, instead of automatically capturing the intel like in CTF, the player instead starts capturing the point like in CP or A/D gamemodes. Only the player with the intel can capture the point.

    How do you do that?
     
    • Thanks Thanks x 1
  2. Beef Bucket

    aa Beef Bucket L41: Blessed Member

    Messages:
    337
    Positive Ratings:
    413
  3. I dinne ken

    aa I dinne ken Has currently had enough

    Messages:
    170
    Positive Ratings:
    197
    @A Roast Beef Sandwich I'm imagining a Wizard from Skyrim saying that while telekinesis-ing an ancient scroll with the flick of his wrist. All while never looking up from his tome.
     
    • Funny Funny x 1
  4. Powerlord

    Powerlord L3: Member

    Messages:
    124
    Positive Ratings:
    59
    I imagine you'll have to figure out how to use a func_flagdetectionzone. Having said that, I'm not sure how to make it work like a trigger_capture_area.

    Maybe have the func enable/disable a trigger_capture_area on the point? Although that makes it so their teammates can help capture the point as long as one of them has the flag...
     
    • Thanks Thanks x 1
  5. henke37

    aa henke37

    Messages:
    1,909
    Positive Ratings:
    446
    Does the trigger area support a filter? If so you can try looking for a filter that detects flag carriers. MVM has a filter for it, but I don't know it if works on regular players.
     
  6. lonkfania

    lonkfania L1: Registered

    Messages:
    9
    Positive Ratings:
    1
    Thanks for all the help!
     
  7. lonkfania

    lonkfania L1: Registered

    Messages:
    9
    Positive Ratings:
    1
    Made a test map for my concept.
     

    Attached Files:

  8. Kill_the_Bug

    Kill_the_Bug L14: Epic Member

    Messages:
    1,472
    Positive Ratings:
    237
    I'll have to look at my old files, if I can find them. I had a pl map where when cart x reached point y the pushzone became disabled. You then had to pick up a key (intel) and take it to the control room (cap point) - on cap - pushzone reenabled.

    Ah wait - found it here - THE BIGGEST TF2 MAP EVER MADE!!! LOL

    http://gamebanana.com/maps/162681

    Decompile it to get the trigger info :)

    http://gamebanana.com/maps/163323 < this one should also do it for you too
     
    Last edited: Aug 29, 2016
  9. lonkfania

    lonkfania L1: Registered

    Messages:
    9
    Positive Ratings:
    1
    6.2/10
    feels bad man
    :(
     
  10. lonkfania

    lonkfania L1: Registered

    Messages:
    9
    Positive Ratings:
    1
  11. Kill_the_Bug

    Kill_the_Bug L14: Epic Member

    Messages:
    1,472
    Positive Ratings:
    237
    You know what? I found two versions for you that I haven't looked for in years < like five of them > told you that it may be a solution for what you are trying to accomplish show a little initiative and click the link to download it from where I indicated - I'm not going to do the extra work an put it somewhere else just so you can click it here. Now if the link is broken or you can't seem to download it - then I will post a link to the vmf file that I looked for about 30 mins last night - just for you - saving you the trouble of having to do a decompile but you'll have to say please.

    Edit: Furthermore, you should at least try playing the map to see if this is indeed the type of coding you are looking for before doing all of the coding work to try and make it happen. :)
     
    Last edited: Aug 30, 2016