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

lonkfania

L1: Registered
Sep 20, 2015
9
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?
 
Aug 30, 2015
359
451

Powerlord

L3: Member
May 8, 2010
127
60
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...
 

henke37

aa
Sep 23, 2011
2,075
515
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.
 
Oct 6, 2008
1,947
445
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:

lonkfania

L1: Registered
Sep 20, 2015
9
1
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
6.2/10
feels bad man
:(
 
Oct 6, 2008
1,947
445
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: