Talk:Damage Calculator/@comment-11753608-20130808134915

On the plus side, I was meditating on a DPS function this morning in bed and did a pilot of it today and it looks like a solid calculation. It will even account for average damage to shields and HP over time and crit rates and multipliers, reloads, etc.

There are a few bumps - the Kraken, for example, fires 2 bullets at a fixed interval (can't be changed by mods). I will have to write a separate script specifically for this weapon. Because the continuous weapons consume ammo in a different way than regular guns, they may have a separate function as well. None of this you will notice - it will all be in the cell and is all just going to eat my brain power and time.

Here is the kicker - the gorgon, supra, and deth machine rifle all have a wind up that makes DPS calculations extremely difficult and possibly impossible for me to figure out because I forget how to do a lot of calculus.

Maybe some of you bright and intelligent people can help. Let's use the gorgon as an example.

It has a base ROF of 12.5 bullets per second.

The wind up range is .2 - 1 which basically means it starts at 20% of its ROF and works its way to 100%. So, it starts at 12.5*.2= 2.5 bullets per second and works up to 12.5 bps.

It takes 15 bullets to do this.

Here is the kicker. I think it does not go up incrementally in an even way. The ROF is nonlinear, in other words. What is constant is the rate of acceleration of the ROF if that makes sense.

Anyone have ideas on this?