![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
06-15-10, 07:06 PM
|
#1 |
|
Black Magic
![]() |
That SH4 style AOB/Speed/Distance dial has a height slider that you move to set the mast height when the Range button is pressed. I don't see where this slider is getting updated automatically with the mast height data from the ship. If you set it to the correct mast height for the ship then the stadimeter works fine - you get the correct distance. But where is the automated input of the mast height? The user doesn't want to have to input the mast height. If I set the mast height slide to the correct mast height then I can even get the correct range using the XO TDC's stadimeter.
Using my automated mast height entry I see it set's the SH4 style AOB/Speed/Distance dial's height slider to the value I'm setting mast height to. So what am I missing here? ![]() I target a ship and lock onto it - the slider for height does not change. I select another target - slider for height does not change. It just stays stuck at 20m |
|
|
06-15-10, 07:24 PM
|
#2 |
|
Mate
![]() Join Date: Dec 2008
Posts: 52
Downloads: 41
Uploads: 0
|
Excellent work guys ! Way to go.
|
|
|
06-15-10, 08:13 PM
|
#3 | |
|
Sea Lord
![]() Join Date: Sep 1998
Posts: 1,840
Downloads: 163
Uploads: 5
|
Quote:
I have never adjusted the dial manually for mast height, but using this method I hit 10 out of 10 times. JCC |
|
|
|
06-15-10, 08:17 PM
|
#4 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
06-16-10, 01:26 AM
|
#5 | |
|
sim2reality
![]() Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
|
Quote:
If you send range with stadimeter, range dial jumps to pretty much correct range, now if you move the mast height slider between min and max position - range adjusts slightly. Its like the stadimeter is doing a approx to range and the mast height is a fine tune .
|
|
|
|
06-16-10, 01:37 AM
|
#6 | |
|
Black Magic
![]() |
Quote:
If you notice too the 'default' value for the mast height on that dial is 20m....the magic 20m bug.The whole stadimeter problem easily boils down to the C++ code is not setting the mast height dial of the game to the ship's mast height. If Ubi would give us access to this portion of the C++ code it could be fixed. Do a little experiment: read the target mast height dial everytime you lock onto (and identify) a new ship. You'll see that it's always set at 20. The slider on that SH4 style dial gives you visible proof that it never changes. Last edited by TheDarkWraith; 06-16-10 at 01:47 AM. |
|
|
|
06-16-10, 05:43 AM
|
#7 |
|
Commodore
![]() Join Date: Mar 2007
Posts: 604
Downloads: 172
Uploads: 0
|
So this bug is hard-coded. Yet we have to see for the next patch...
|
|
|
06-16-10, 09:58 AM
|
#8 |
|
Black Magic
![]() |
the 20m bug is hard coded but there is a work around for it. Reaper7 is trying to devise another way of doing it from the way I did. I hope he or someone else finds an easier/better way of doing it as mine is rather complicated (from a code standpoint but it does work).
|
|
|
06-16-10, 12:52 PM
|
#9 |
|
sim2reality
![]() Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
|
I was sure I was on to something there as It worked for the test mission ships I had - guess the height/distance was just a fluke
.Will keep at it trying a few things - you never know. Have one other idea that I have to try. Can someone that has Silent Hunter 4 installed check the Pages.ini for the Id number of the Confirm ship ID in the Recognition Manual. As SH5 is built of Sh4 the Hardcoded ID for that should still be the same and is likely to be working. If so maybe we could replace the one in te XO Dialog box with our own chkbox with that Id assigned to it, that way it would send the mast value. ![]() Found the SH4 one in Sh5 has an ID of 0x2506000B is this the same as the SH4 one I wonder? Will try this in the game to see if it works. EDIT: Also can someone make me a mission of say 5 or so stationery different ships at 1000m, 2000, 5000m & 1000m for testing purposes. Cheers Last edited by reaper7; 06-16-10 at 01:03 PM. |
|
|
06-16-10, 02:03 PM
|
#10 |
|
sim2reality
![]() Join Date: Jun 2007
Location: AM 82
Posts: 2,288
Downloads: 262
Uploads: 31
|
Just did some more testing - and it is definitly working MAST HEIGHT is getting sent in the background.
Compare the values from the Stock SH5 Stadimeter and the reduntant SH4 Stadimeter in the following Pics all targets are at a 1000m distance from the Sub (All Stationery). Merchant @ 1000M (Stadimeter placed at mast ![]() Look at the values for both are at 1713m before confirming the stadimeter Mast height. ![]() On setting the stadimeter XO dialog stays at 1713M but SH4 Jumps to aprox 1150M with mast height of aprox 42M. Next a Tanker at 1000M ![]() Look at the values for both are at 1513m before confirming the stadimeter Mast height. ![]() On setting the stadimeter XO dialog stays at 1513M but SH4 Jumps to aprox 1190M with mast height of aprox 42M. There is definetly something getting sent to the SH4 stadimeter that isn't getting sent to the Sh5 one regardless of it being sent to the Mast height Dial. Which thinking about it - it won't get sent to the Mast Height Dial anyway as the currentval= 'ID' would be needed from the temp solution dial. to update to show selected mast height from Send to TDC chkbox. Going on this I decided to try my SH4 Send Mast Height to TDC ID that I found earlier. And look at the results: ![]() ![]() Everything updated correctly. Range and Mast Height ![]() ![]() ![]() .Now to test and resolve the reset speed and Aob to 0. ![]() This proves my Theory from an earlier post. If you click on the Send mast height to TDC without setting the mast height it sends the value plus a small bit of error to give a close to mast height value thus giving you a close to but not exact range. (But still good enough to hit ships However if you set the Mast height manually on the SH4 Dial or correctly ID with the SH4 Recon Manual (Which sets the mast height dial) the range is sent the correct value and so you get a result with no error This was to allow you to target ships by eyeballing height without the need of going thru the recon manual. If you guessed the mast height correctly you got a perfect range solution. Bit if you used the auto mast height you weren't severly punished getting range solution close to the real value. Last edited by reaper7; 06-16-10 at 02:13 PM. |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
