How crits (critical hits) work...

4 public posts in this discussion.

Post 1

Quote from redcomet:

I was bored today so I through together a test to determine how tf2's crits really work. As the author of the TFTrue plugin I felt that I should know the underlying mechanisms, and after the testing I felt it necessary to share.

I read multiple statements from the dev team concerning the "You get more crits the better you do" and the "Crits are what the pro players want" quote which I won't bother talking about now. I would however, like to discuss the first quote, which turns out to be true.

You do get more crits when you are doing better. Let me present my data.

Setup:

With my plugin loaded I proceeded to set the crit chance to 50% and expended 40 rounds of ammo twice. I chose to use the soldier class for this experiment since their crits are most noticeable. The idea being that the combined 80 shots would average out to my crit chance.

Data:

Phase 1

Solo, firing 2 sets of 40 rounds into a wall.

First Set
15 / 40 crits

Second Set
24 / 40 crits

The two numbers do in fact average to just about 50%, or good enough. So the setup is sound and we can proceed to phase 2.

Phase 2

1 versus 7 bot players
I used the bot command to add 7 players to the opposite team, bots are considered players to the game engine, the only different is the edict they represent. This test was meant to prove or disprove the theory that being outnumbered helps.

First Set
18 / 40 crits

Second Set
20 / 40 crits

As you can see nothing changes, we are still averaging close to 50% crit chance. The third phase is when things got interesting.

Phase 3

Me shooting 40 rounds into the glob of bots. To test if a good score changes crit chance. After finishing all 40 rounds I picked up new ammo from the mounds of guns at my feet and fired 80 rounds into the wall. Needless to say, at this point in the game I was 'Dominating' all 7 bots.

First Set
22 / 40 crits

Second Set
18 / 40 crits

I know I said you do get more crits the better you do, but me and valve share something in common, we are both misleading. Being consistently better then the other players does not effect anything. You still maintain the same crit chance. Now, with that in mind, proceed to phase 4.

Phase 4

Me shooting the bot mob 80 times consecutively. Picking up extra ammo as I go.

First Set
39 / 40 crits

Second Set
40 / 40 crits

Yes thats right, 100% crit rate after the first couple deaths. I could have kept going forever and consistently gotten crits. It seems that after you kill 2 or 3 players in a row, and very close to each other time-wise, you get a crit 'booster' which increases you crit chance by a certain amount for a few seconds. I did some more testing, killing two bots right away and firing at a wall and I was able to get 8 crits off, including reload time.

After all the testing I am still unsure about the exact change to the crit chance during that period of 'super crits,' however I believe it to be somewhere around 2-8 times as likely to crit during that period. As both these numbers are in the critical calculate system and I cannot account for their purpose.

*EDIT*
Also I suppose its important to mention, if you keep killing players over a short time, say, 2 players every second, your crit chance does not ramp up each time you achieve a double kill. The increase to crit chance is simply a flag set by the engine for a duration of time. So if you were thinking you could reach 50% crit chance from 5% crit chance just by killing 100 players over a short period of time you are mistaken [Image: http://forums.steampowered.com/forums/v_images/smilies/smile.gif]

Conclusion:
The effects of this 'super crits' timezone are barely noticeable in a regular game due to the crit chance being so small (0.05). But with the crit chance higher this crit multiple they use becomes more pronounced, and it definitely does exist. However it is not as they would have you believe, you do not get more crits for being skilled, you get more crits for killing a couple people around the same time, or its probably safe to say, a 'double kill.'

ROUND 2
-----------

There have been multiple requests for more data so I jumped back on my server tonight and tried a few out a few more things. I learned how long the 'super crits' last, what the additional crit multiple is, and a few other things I will mention.

Setup

This time I set the crit chance to 10% and fired 160 rounds (4 sets of 40) of rocket ammo per test. I had to increase the number of shots because at 10%, a sample of 80 shots is simply far to small. Also to save space I am going to abbreviate my set annotations, but they are pretty self explanatory.

Phase 1

Me, solo, firing 160 shots into a wall. (The control test)

2 / 40
3 / 40
3 / 40
6 / 40

Avg: 8.75% (Once again, small sample size, but this is not meant to prove the plugin, but the result, we will use this number to figure out the final multiple)

Phase 2

Firing 160 consecutive shots into a mass of bots, continually re-spawning in place. I forgot to mention that last time.

21 / 40
16 / 40
16 / 40
11 / 40

Avg: 40%

Now, since we are scientists we do not simply say, "Oh, its 4 times as likely to crit during that period." No, the correct way is to use our control crit chance, 8.75%. So according to this data, the increase to crit chance is 4.57x the normal.

However, talking outside of the data, I think it is clear that during this time you are 4 times as likely to crit. So in a standard game your crit chance would be 20% after getting a double kill.

As to how long it lasts, I did do a simple test using the demoman. I chose this character because he has the most amount of ammo I could use without reloading. I used sticky bombs at 25% crit chance and found that he consistently crit as long as 20 seconds after scoring the double kills. However, I repeated this test with other weapons such as the rocket launcher and shotgun and did not get nearly as long.
In all the tests the time they consistently got crits was pretty constant to each weapon so I can only assume that this element is influenced by the weapon and / or weapon type.

And finally, there was the question of whether the 'super crit' time is extended each time you get another kill and that answer is clearly yes. In a normal test of 'super crit' length, the rockets barely last 10 seconds, however in phase 4 of round 1 I was able to consecutively get crits for all 80 rounds. So it is apparent that killing while in the 'super crit' state will extend your time.

Interesting stuff, thought I'd share.

Post 2

here's how they really work:

did i just single handedly take out 4 people and 2 sentries, and have the point 98% captured, while still having 95% health left?

if yes, the next engineer that shoots me with a ****ing shotgun will crit and kill me.

Post 3

LOL pala

i maintain that there is an underlying narrative imperative to the crit system! if it would be COOL for the crits to go off, they WILL go off.. re: number of times you run round a corner as a scout and see the entire enemy team running at you and rather than leg it, you charge right in firing - first shot crits everytime i find and you get monster amounts after that til your messy death.

have you tried it with massed groups of enemies rec to see if there's a diff than vs one continual spawing one?

Post 4

No jokes I a soldier getting at least 8 crits in a row, long breaks between kiling people or not, every time he came at me, or was in a situation wher he might die, he would crit like crazy, but if he was just 1vs1 someone h wouldn't crit that much. I tried to go spectator to record him but as soon as I went spec the map changed, he changed classes and instead of topping the board with a score of 70+ he didnt break 20.

Cheat or not it was very fishy never seen that many crits before.