Quote:
Originally Posted by TheDarkWraith
I see why the dud probability is a 'strange one'. They load in the % chance for dud as read from .sim file, then they multiply it by some float value, then they multiply it by another float value, then they finally multiply it by another float value (looks to be related to some kind of skill). After all that multiplication it's no longer near it's original value (it's much less) 
|
There had to be a rationale making devs to implement such a convoluted method. I wonder wich one...
Quote:
Originally Posted by TheDarkWraith
That's why I'm changing it! When I'm done with it:
- it will read in % chance for dud as read from sim file (value is between 0 and 100)
- it will get a random number
- it will scale that random number to be between 0 and 100
- it will compare % chance for dud to scaled random number to determine if dud or not
That is how it should've been done in the first place 
|
That's the most obvious method, indeed!
By the way, I've found a quite comprehensive essay on the torpedo crisis. Here's the link, just in case some willing person wants to dig in it, looking for facts and figures:
http://eaglescholar.georgiasouthern...._201005_MA.pdf