View Single Post
Old 07-24-13, 05:07 AM   #2561
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Still pondering how to determine if contact closing/retreating from player's sub
Can't you set three volatile variables, and store in them unit ID, exact range and estimated range of the last target whose range was estimated?

- For each new range estimation compare the stored unit ID with the new unit ID;

if they are matching:

- If new exact range > stored exact range, min new estimated (random) range = stored estimated range

- If new exact range < stored exact range, max new estimated (random) range = stored estimated range

Moreover I wonder if you could implemet the below idea by Sartoris idea as an option of your patch:

http://www.subsim.com/radioroom/show...postcount=3603

Quote:
Originally Posted by TheDarkWraith View Post
v1.0.143.0 released. See post #1

Starting with v1.0.143.0 Added a new patch to the sh5.exe: Stadimeter can only be used at Attack scope or UZO (as Sextant)
gap is offline   Reply With Quote