Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/archive/global.php(40) : eval()'d code on line 2
New File Added: Tutorial: Counting control points captured + Custom team scoring [Archive] - TF2Maps.net Forums

PDA

View Full Version : New File Added: Tutorial: Counting control points captured + Custom team scoring


hacky
01-15-2008, 07:17 AM
Downloads: A new file has been added by hacky:

Tutorial: Counting control points captured + Custom team scoring (http://tf2maps.net/downloads.php?do=file&id=102)

This VMF file demonstrates how to keep track of the number of control points each team currently owns, and how to implement that in a custom team scoring system.

- 7 control points
- 2-minute game timer
- The team who has the most control points when time runs out wins. A team also wins if they capture all 7 control points.
- When the round ends, each team gains one point for each control point owned, with the winning team earning one additional point.

PROBLEMS:
- A team will not be able to score extra points if they have no players! Fix this by adding a bot to the other team, or testing with at least one player on each team.
- Every control point warns that it is "the final control point".
- If a team wins by capturing all control points, the score is not updated immediately. (i.e. popup shows the score is 1-0 but viewing the score screen shows the score 8-0)

Haas
01-16-2008, 10:34 AM
if you disable warn on capture it stops saying its the final control point!

TF2Maps.net is proudly hosted by