3
$\begingroup$

Background:

In Team Fortress 2, there are two secondary weapons that the 'Heavy' class can choose between. I am trying to figure out what the best way to compare the two weapons mathematically is.

The first weapon is the default Shotgun. It shoots $1.6$ times per second, and has a clip size of $6$. For simplicity, let's assume that it does $60$ damage every time it hits.

The second weapon is called the Family Business. It shoots $15\%$ faster than the regular shotgun, so it shoots $1.84$ times per second. It has a clip size of $8$, and it does $15\%$ less damage than the regular shotgun, so that means it does $51$ damage every time it hits.

Finally, both weapons must be reloaded after their clips are emptied. It takes $3.5$ seconds for the regular shotgun to reload completely, and it takes $4.5$ seconds for the family business to reload completely.


My Calculations (so far):

The family business shoots $15\%$ faster and does $15\%$ less damage per shot.

$$1.15\cdot0.85 = 0.9775$$

So, ignoring clip sizes, the family business should intuitively do about $2.25\%$ less damage than the regular shotgun while both weapons are continuously firing (ignoring reloading times).

The shotgun takes $6/1.6=3.75$ seconds to empty its clip. The family business takes $8/1.84 \approx 4.35$ seconds to empty its clip. That means that if both weapons are shooting for less than or equal to $3.75$ seconds, then the family business should do $2.25\%$ less damage.


My Question:

Which of these two weapons has a greater average damage per second in an indefinitely prolonged battle? In other words, if $D_s(t)$ and $D_{fb}(t)$ are the damage done after $t$ seconds of continuous shooting by the shotgun and family business, respectively, then what is the value of this limit?

$$\lim_{t\to\infty} \frac{D_{fb}(t)}{D_{s}(t)}$$

The answer should represent ratio of the average damage per second of the family business to that of the regular shotgun, over an indefinitely long shootout.

I know the value for $t=3.75$.

$$\frac{D_{fb}(3.75)}{D_{s}(3.75)}=0.9775$$

Any help is appreciated, thank you!

$\endgroup$
5
  • $\begingroup$ Further Remarks: In the actual game, it is nearly impossible to hit every shot, so we should perhaps suppose that a player hits any given shot of either gun with probability $p$. Also, there is value in the game to consistency - so doing $100$ damage with probability $1$ is better than doing $0$ with probability $1/2$ and $200$ with probability $1/2$. I'm thinking that maybe this risk aversion will be relevant when analyzing which weapon is better. My guess is that the value of $p$ will also make a difference. $\endgroup$
    – terrace
    Commented Dec 7, 2015 at 3:40
  • $\begingroup$ Comments are not the correct place for "further remarks." If they are part of the question, put them in the question. $\endgroup$ Commented Dec 7, 2015 at 3:51
  • 1
    $\begingroup$ In terms of actual gameplay of this and other games, higher sustained damage can sometimes be better in some situations, but often times from a strategic standpoint, higher burst damage can sometimes be more valuable. It is difficult to quantify that into a formula however. $\endgroup$
    – JMoravitz
    Commented Dec 7, 2015 at 3:52
  • 1
    $\begingroup$ You might ask the user Omnomnomnom who seems to have chosen his user name in homage to the Heavy's sandvich munching sound (or so I would like to think, anyway). $\endgroup$
    – user169852
    Commented Dec 7, 2015 at 4:09
  • $\begingroup$ This is the third reposting of the same question. FYI: That is against the rules. Edit the first version to shape, and stop deleting stuff. $\endgroup$ Commented Feb 5, 2016 at 4:44

2 Answers 2

3
$\begingroup$

Basically it sounds like you want the DPS rating for each gun assuming continuous firing. This obviously ignores lots of factors such as accuracy, burst damage, etc so take these calculations with all that considered.

What you need to calculate is the damage done for completely emptying and reload the gun versus the time it takes to fire those shots. The damage will simply be the clip size times the damage per shot. The time for one complete firing cycle will be the time to fire all those shots plus the reload time:

$$damage=clip\_size\times damage\_per\_shot$$ $$firing\_cycle\_time=clip\_size\div fire\_rate+reload\_time$$ $$DPS=\frac{clip\_size\times damage\_per\_shot}{clip\_size\div fire\_rate+reload\_time}$$

Regular Shotgun: damage: 100%, fire rate: 1.6/s, clip size: 6, reload time: 3.5

$$DPS=\frac{6\times100\%}{6\div 1.6+3.5}=0.83 \text{ (2dp)}$$

Family Business: damage 85%, fire rate: 1.84/s, clip size:8, reload time: 4.5

$$DPS=\frac{8\times85\%}{8\div 1.84+4.5}=0.77 \text{ (2dp)}$$

So on pure damage the regular shotgun is a little better (about 8% better). Other factors are probably however going to be more significant than this.

EDIT: To take into account a fixed probability of hitting each shot of $p$ the formula would become:

$$DPS=\frac{\color{red}{p}\times clip\_size\times damage\_per\_shot}{clip\_size\div fire\_rate+reload\_time}$$

This has no effect on the comparison of the two guns as missing shots reduced both guns by the same amount. If however you were about 8% more accurate with the Family Business then you would have basically the same DPS as the regular shotgun.

$\endgroup$
0
$\begingroup$

I think you're just counting the ratio,so no limit should(and will be)used.

My calculations:

  1. Find the round time of each weapon(i.e. shoots all from clip + reload time)

For the Shotgun, it is (6/1.6)+3.5=7.25

For the Family Business, it is (8/1.84)+4.5=8.85(corr. to 2 d.p.)

  1. Find the damage of each weapon:

For the Shotgun, it is 6*60=360

For the Family Business, it is 8*(60*0.85)=408

  1. Find the DPS

For the Shotgun, it is 360/7.25=49.66 DPS(corr. to 2 d.p.)

For the Family Business, it is 408/((8/1.84)+4.5)=46.11 DPS(corr. to 2 d.p.)

So the Shotgun is better by 7.68% excluding the hit rate.

If the hit rate is considered, we have to consider the following inequality:

Let p be the hit rate,r be the increase

8*(60*0.85)(p+r)/((8/1.84)+4.5)>6*60p/7.25

(408p+408r)/8.85>360p/7.25

2958p+2958r>3185.22p

2958r>227.22p

r>0.0768p (corr. to 2 d.p.)

which signifies you need to be 7.7% more accurate with your gun to use the Family Business, else you should use the Shotgun.If your aiming skill with the Family Business is precisely 7.68%(corr. to 2 d.p.) better than the Shotgun, which one you use does no difference in the long run(but I recommend using the Family Business if you're precisely 7.68% better as in the short run(less than 1 cycle), this thing does more damage than the Shotgun per DPS, i.e. you deal more damage within a shorter period of time before the reload.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .