Anders
No one knows I'm schepe

Posts: 427
Registered: 03-02 |
Doom's random system makes this impossible, there isn't 15*40 consecutive numbers with all three lower bits set anywhere in the random table. Heck, the randomtable is only 256 numbers so for this to work ALL of them would have to have all three lower bits set. Someone should make a program that uses dooms random table to see what the real maxdamage is.... it's only 256 tests if you want to brute it.
But then, if you were talking about doing it in a sourceport with a different random system... never mind.
EDIT: i made a testprogram, and it turns out that the theoretical maxdamage from the bfgtracers (ie. not including the projectile) is 2728, which happens once in 256 shots. the theoretical mindamage is 2639 (also once in 256 shots)... the most probable damage is 2687, which happens 14 times out of 256. the medium damage dealt if all 40 tracers hit are close to 2686 (2685.9375).
EDIT2: Ah, i see the random function is called once every tracer for a non-damage thingy, updated the figures above to reflect the new behaviour.
Last edited by Anders on 01-11-04 at 19:43
|