This is interesting....
... its not about moving up the score board, its all about killing people
source:
http://www.mrlwork.com/
Team Fortress 2 Critical Hits
December 8th, 2007
A little while ago, Valve had been quoted as saying that critical hits in Team Fortress 2 are skill dependent. That the chance to get a critical hit increases the better you do. A couple of weeks ago I made up an experiment to test these statements out in game.
First off, I should explain that I wrote a plugin for Team Fortress 2 called TFTrue. This plugin maintains critical chance and damage for server owners wishing to change the default settings. To make the plugin I had to study the take damage function in the game to figure out where the percentages were coming from ( which if you are curious, default you have a 5% chance to crit with weapons and 15% chance to crit with melee ). I thought this statement was weird because after all my searching I never came up with any ’skill’ variable that increased or decreased the crit chance. I setup my test to work out all the unknown variables in the game code and find out whether or not score has an impact on your crit chance. I will summarize my data here, if you want to refer to the hard data, see the end of this article.
I setup a private server with TFTrue installed and crit chance set to 50%. I made a test map with 1 spawn point and set the respawn time to 0. This made my bots all spawn in the same place with little death delay. I expended 80 rounds of rocket ammo at a wall and observed my critical count. For my control test I ended up with exactly 50% critical chance, so far so good. Next I stepped it up, introducing 7 bots on the opposing team to test the idea that being out numbered helps. After firing all 80 rounds, my crit chance still remained 50%.
Next test involved killing the bots enough to achieve the ‘domination’ status with all of them. With my high score and high skill (according to the game), I fired 80 more rounds at the wall. Still 50% crit chance. What does this mean? It means being consistently better than the other players will not increase your crit chance.
The final test I did was tacked on as a side note when I noticed something interesting while killing the bots. It appeared that I was getting all crits when constantly killing the bots as they spawned right in front of me. So on a hunch I started firing constantly into the crowd of bots and low and behold, 100% crits for all 80 rounds. Upon further investigation I found that after killing 2 players in quick succession increased your crit chance about 4 times. Meaning default crit chance would become 20%. This effect lasted a variable amount of time depending on the weapon type. I timed the demoman’s sticky grenades to last for a bout 20 seconds, however the rockets only lasted about 5. To figure out what specifically influences this behavior we must look back at our code.
Before the Nov. 7th patch, Valve had kept private critical chance variables in the game. Namely, tf_crit_chance, tf_rapid_crit_chance, tf_melee_crit_chance. The first and last variable are pretty much self explanatory, however, what is rapid crit chance I wondered. Back then I decided that it was the chance to crit while firing rapidly. However after reviewing my test results I now believe that maybe this rapid chance is what determines critical chance when killing players rapidly. This is all theory and I have not tested it, but I do think that while playing if you kill a player the game rolls a number to compare to the rapid chance and turns crits on for you if you are lucky. After the Nov. 7 patch the TFTrue plugin treats both those numbers the same, they are both controlled by tftrue_crit_chance. And after further reviewing the code it supports this idea. So if we do work with this theory lets walk through a typical game.
Player Spawns
Player Shoots gun at wall (5% chance to crit)
Player runs to enemy territory
Player kills enemy player (5% chance to start “crit chain,” if the player if lucky he will now shoot crits for X seconds)
Player kills another enemy (5% chance to start “crit chain,” regardless if they are in one or not)
Player shoots (5% crit chance, unless in crit chain, then its 20%)
Player Dies.
I think if you are a hard core tf2 player you can easily identify with this result, just remember that this senerio is purely hypothetical. I have not done any tests modifying rapid crit chance. Like I said earlier however, the code supports this situation.
Now we must turn back to our original hypothesis. Does the critical hit chance get bigger the better you do? In one word, no. However I think we can easily see how Valve would mix up this system with a skill reward. In this system you can be a complete noob and get 1 kill to put you in a crit chain. Your skill as a player has no bearing on the crit chance. How you get more crits in tf2 is to kill more people. The more people you kill, the more shots you have at hitting that 5% chance on the nose.
Test Data:
Test 1: 15 / 40 crits | 24 / 40 crits
Test 2: 18 / 40 crits | 20 / 40 crits
Test 3: 22 / 40 crits | 18 / 40 crits
Test4: 39 / 40 crits | 40 / 40 crits
More stats on crits
Re: More stats on crits
my head hurts but nice work
[img]http://theville.hlstatsx.com/hlstats.php/sig/194_random.png[/img]
- Timmy Two Time
- Villun
- Posts: 49
- Joined: Fri Feb 01, 2008 2:58 pm
Re: More stats on crits
Very nice info.
I have indeed found that killing a couple or several enemies in a short amount of time ( say 5 - 6 seconds ) definitely gives the player a large increase chance to get some crits.
This is why the Heavy starts critting like a madman. He charges in uber and kills a couple of enemies right of the bat, then has a good 8 - 10 seconds of pure crit spam. Since I do not play Heavy ... this sucks for me.
I have indeed found that killing a couple or several enemies in a short amount of time ( say 5 - 6 seconds ) definitely gives the player a large increase chance to get some crits.
This is why the Heavy starts critting like a madman. He charges in uber and kills a couple of enemies right of the bat, then has a good 8 - 10 seconds of pure crit spam. Since I do not play Heavy ... this sucks for me.

[img=left]http://www.thevilleregulars.org/tvc08/s8logo2008_05.jpg[/img]
[img=right]http://i56.photobucket.com/albums/g190/johnnyalpha/Soldier-Sig2.gif[/img]
[img=right]http://i56.photobucket.com/albums/g190/johnnyalpha/Soldier-Sig2.gif[/img]
- Barrel Bomber
- Villun
- Posts: 1173
- Joined: Tue Sep 25, 2007 11:48 am
-
Ville Awards
Re: More stats on crits
its crazy with pyros cause the shoot like 2/sec so once u kill like 2 guys ur bound to crit
It takes 43 muscles to frown and 17 to smile, but only 3 to pull a triger. 8)
[img]http://i241.photobucket.com/albums/ff255/jsquared90/HKBarrelBomber.jpg[/img]
[img]http://i241.photobucket.com/albums/ff255/jsquared90/HKBarrelBomber.jpg[/img]
Who is online
Users browsing this forum: No registered users and 45 guests