

elchino7

DPS being calculated as:" Damage x Accuracy x (Shots per burst x Shots fired before reload / Total time to shoot including reload)

Total time to shoot including reload = ((Shoot burst duration + Fire aim time + Wind up + Wind down)*Shots fire before reload) + (Cooldown duration * Reload frequency) + (Reload duration)"



ready_aim_time is the time before firing on a new target if I remember correctly...





Total damage:

accuracy(incremental, range, target_size, moving, cover)*damage(cover)*penetration(range, armor)*burst bullets(range, moving)*(1+reload frequency)

Burst bullets:

1 if single fire, otherwise

Burst duration(range, moving)*rate of fire(range)



Time required:

(wind up+fire aim(range)+burst duration(range, moving)+wind down+cooldown(range, moving))*(1+reload frequency)

- cooldown(range, moving) - fire aim(range) + ready aim(range) + reload duration(range)



DPS: total damage/time required



Accuracy, penetration chance are capped at 1. Burst duration for non burst weapons is 0.125 (this game generally operates on 8 ticks a second, any amount of time is rounded to the closest 0.125). You will have to adjust rate of fire, burst duration, accuracy, cooldown and reload duration all with range. The one -cooldown is because there won't be a cooldown after the last burst before a reload.



I'm trying to implement my own homebrewn dps calculator for squads.Both formulas basically, say the same thing (Cruzz's formula is a spiffy spinoff that allows us to factor ready_aim_time into DPS). Let' refer to Cruzz formula terminology for now.I have 3 clarification questions, and I would like to know if somebody could answer them for me:If we look at Cruzz's formula, shouldn't "burst bullets" be equal to "+ rof * burst"?The idea is that the 1st bullet always fires immediately, whereas the rest of the bullets have a delay of 1/rof between them.Does the duration of "burst duration" change depending on the actual number of bullets fired?i.e., Suppose:- Burst duration is equal to 5 secs- 5 seconds is enough to fire 6 bullets. but not 7 bullets- It actually takes 4.5 seconds to fire those 6 bulletsNow, my question is:- Does the burst stop when the last bullet is fired (after 4.5 secs) -- so the wind-down starts earlier?- Or does the burst use up the whole duration? (i.e., the gun remains idle for 0.5 seconds)I know that my question seems like nitpicking; however I think I have discovered certain weapons that are very sensitive to this discretization effect (e.g., Vickers_k when the UC is moving).- This is all weapons with lowish ROF during their small-ish bursts, and no randomization between rof and burst_duration- their dps looks like a sawtoothI have absolutely no idea how incremental accuracy works at all.Any clues?When I have both "multiplication" and "addition" veterancy modifiers that apply to the same stat.Am I right to assume that I should first apply the multiplication modifiers, and then the addition modifiers?