![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|||||||||
|
|
Thread Tools | Display Modes |
05-12-13, 04:14 PM
|
#11 |
|
Black Magic
![]() |
v1.0.92.0 released. See post #1
Starting with v1.0.92.0 Added a new patch to the SH5.exe that randomizes the nearest visual contact's distance returned. This new patch will take your sub's crew veterency level into account. If you're curious to know how the distance gets randomized: (1.0 - (sub's crew veterency level / 4)) * random number in range (0.0-1.0) - this is var1 max % error (0.1 or 10%) * random number in range (0.0-1.0) - this is var2 var3 = var1 + var2 nearest contact visual distance * var3 = var4 random number rolled to see if var4 becomes a negative number or not nearest contact visual distance + var4 = new nearest contact visual distance As you can see from the formula the greater the distance the contact is away the larger the error in distance that can be reported |
|
|
|
|
