[REQ] 1CP map system in .vmt

Avaray

L2: Junior Member
Oct 14, 2011
72
4
[REQ] 1CP map system in .vmf

// theres .vmt in topic name, should be .vmf - if youre moderator, please change it

After few days of trying I give up. I dont know how to do it right.

I need 1CP map system:
- controlpoint is disabled by default
- controlpoint is enabling for capture only if theres 1+ player from red and 1+ player from blue team on point in same time
- controlpoint is not giving player points for point capture, only gives 1 point to team score
- one point capture per round, so if someone cap the point theres round end and begins new round

I dont want KOTH mode, because there are timers in HUD and announcer that cannot be disabled in entity options.

If is here any good human that will help me, I will thank and I will put him into credits when I done map.
 
Last edited:

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
- controlpoint is enabling for capture only if theres 1+ player from red and 1+ player from blue team on point in same time
I don't understand this part. If it can only be captured when both teams are there... neither team will be able to capture because it will be blocked. Did you mean OR? As in a single player cannot capture it, it has to be multiple people from a team?
 

Avaray

L2: Junior Member
Oct 14, 2011
72
4
Look: http://i4.minus.com/ibl169RxvPEfur.jpg

That big trigger on image is trigger_capture_area.
Respawns are in buildings on left and on right.
So player can do just one step forward and hes cappin the point.
I want to set area_time_to_cap 1 (1 second) - its very short time.
I want to prevent point capture by team A when team B is not on this point (in this capture area).
"Prevention system" for too slow players or AFK'ers.

Minimum 1 player from red and 1 player from blue must be in trigger_capture_area to Enable this point for capture.

// my english is so bad, hope youll understand me :D
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
I think I understand what you are saying, but it seems like you are leaving something out. If BOTH teams are in a capture area, it will be blocked and nobody will be able to capture it. That is just how the core game mechanics work.

You could make something that "manually" captures the point to ignore the way it should work, but even then I don't understand what would happen. If both teams are there, who gets to capture? I guess that is really the question here, who takes the point if both teams are standing on it?

Also, what is your native language? We might have someone around here who speaks it that may be able to better explain in English if you describe it to them natively.
 

Avaray

L2: Junior Member
Oct 14, 2011
72
4
I think I understand what you are saying, but it seems like you are leaving something out. If BOTH teams are in a capture area, it will be blocked and nobody will be able to capture it. That is just how the core game mechanics work.
Thats right. But players will have longer respawn time than round lenght = 1 life per round.
Example: Round lenght = 2 minutes, players respawnwavetime = 3 minutes.
When team A is dead, team B is winning the round.

Im speaking Polish.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
https://dl.dropboxusercontent.com/u/98931/abs_avaray_arena.zip

The three triggers should cover the whole area when you use it, I just made them how they are so it is easier to see what is what.

For the record:
I used a trigger_once for each team, that when touched adds 1 to a math_counter, when the counter hits 2 it will enable the trigger_capture_area.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
Oh, I forgot about that part. That actually makes it much easier. Getting points is just built in, there isn't a way to disable it that I remember.

https://dl.dropboxusercontent.com/u/98931/abs_avaray_arena2.zip

This one has no capture zone, just two trigger_multiple. They are filtered to each team, and use OnEndTouchAll to determine when no players of that team are alive (they die, they stop touching it). When nobody on the team is touching the trigger, it forces ownership change of the CP. Since it is forced nobody is credited with capture, and nobody gets points.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
I don't think that is unique to the second system. You can just as easily suicide to let the enemy cap in the first, or in regular arena. Either with the console or just explosive damage.

Crash... eh? I don't remember if I've played it, or what could possibly be such a mess that it needs fixing. Elaborate or message me on steam?
 

Crash

func_nerd
aa
Mar 1, 2010
3,315
5,499
I shall provide all the confusion!

I was just kidding ABS. It's a cluster in there, though. I'm drastically pushing the entity limits, to the point of a previous version causing server crashes due to it.

This has some examples of the stuff I've crammed into the map.
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
Technically, no. You can only have one. Some people will fake it by making big cubes that look like a sky texture and having areas of their map far enough apart they are in a different area of the 3D sky. I don't like that method because it looks bad.