Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How did Valve build their real-time achievement engine in Team Fortress 2?

The complexity of achievements I've noticed while playing Team Fortress 2 on Steam is amazing.

Are there any resources that describe how they architected their achievement engine? There is a lot of data that has to be processed simultaneously and in real-time to detect a match for the criteria of the achievements. I don't feel it uses familiar concepts such as 'Complex Event Processing'.

like image 969
Vyrotek Avatar asked Jan 05 '11 05:01

Vyrotek


People also ask

Is Valve ending support for TF2?

Valve Stopped Development for TF2 According to PCGamesN, Valve employee Greg Coomer said that "hardly anyone" was working on TF2, and that it was "kind of obvious." "We don't have big updates for that game really anymore. We're just kind of keeping it going, and we're just gonna try and not shut it down or anything.

Will there ever be a Team Fortress 3?

Based on what we know so far, we can easily conclude that the game is not in development, and likely won't be for a long time. Everyone has been getting excited due to these rumors, and we all have our own opinions on what we'd like to see in Team Fortress 3.


1 Answers

Its an interesting question. I couldn't find anything posted about it either.

But Values game are all verified via Steam/VAC so to a certain extent they can take more liberties with what they do on the client side. I would assume they do all the detection client side and just send the results up to the server.

None of the achievements I know of are too complex to cause any noticeable change in frame rate on a machine that is strong enough to play Team Fortess. Projectiles and other 'player created effects most likely all have a connection back to the player that created them, or the players achievement database to register all their data as soon as it is created.

like image 142
TurqMage Avatar answered Sep 28 '22 00:09

TurqMage