UBOAT
(2022.1) TDC MOD (TVh-Re/S3)
DECAFBAD 5 Dec, 2022 @ 6:52am
Torpedo gyro angle does not track the boat's course while launching a salvo
Separate thread to track this bug

Originally posted by AlexFoyle:
Torp gyro angle is LOCKED the moment you press FIRE and will not change even if TDC solution changes. Even if you're firing a salvo.

This is not ideal because:
. 2 seconds pass from pressing FIRE to when the first torp leaves the sub. so the torp's gyro angle is based on 2 second old data. for a 90° AoB target going 7 knots that's a 7-8 meter error
. effect is worse if you're firing a salvo, especially a 4-torp salvo. in that case, the last torp will leave the sub 15 seconds after FIRE is pressed, so aiming at a target that, in the example above, will have moved 50 meters. in other words, aiming 50 meters behind the intended center of the salvo
. from what I understood from the historical experts, torp gyro was updated every 0.5 seconds right unitl the torp left the tube

Not sure this is a bug or more a problem also in vanilla. From my limited testing (not used to vanilla anymore!) vanilla does seem to show same behaviour.

To reproduce this behaviour:
. Set TDC to zero gyro
. Pause the game
. Press FIRE
. Move TDC to something else, whatever, let's say 90° gyro
. Unpause
. Torp (or spread) will shoot at zero gyro

Hope it's fixable in any case!

Upon pressing down the launch lever, the fire control system would disengage tracking the optics, but it would continue to track the change in the boat's course until the very moment the torpedo left the tube, continuously updating the gyro angle dial in the torpedo. The delay was less than 0.5s: the gyro angle gear motor linkage was lifted by the same air that opened the high pressure launch valve.

With the TDC mod off this appears to be the case: the base game launches the torpedoes correctly even when turning regardless of the angle of the optics, and the mod introduces the incorrect behaviour of not tracking anything and disconnecting the gyro angle linkage at the moment of the start of the salvo.
< >
Showing 1-4 of 4 comments
Urfisch  [developer] 5 Dec, 2022 @ 11:49pm 
Ok, logged. But do you have an idea, where to begin with a fix on this?
DECAFBAD 6 Dec, 2022 @ 1:57am 
I've been looking at the tdc code and I believe that it contains many things that were only necessary in prior versions of UBOAT.
Torpedo reach and turn radius for example were only added recently. The overriden methods can likely be simplified, and this would include the salvo launch procedure.
I'll try to test lobotomizing the code to see what works and what doesn't, but I can't promise that I can fix this.
Urfisch  [developer] 6 Dec, 2022 @ 3:18am 
Originally posted by DECAFBAD:
I've been looking at the tdc code and I believe that it contains many things that were only necessary in prior versions of UBOAT.
Torpedo reach and turn radius for example were only added recently. The overriden methods can likely be simplified, and this would include the salvo launch procedure.
I'll try to test lobotomizing the code to see what works and what doesn't, but I can't promise that I can fix this.

A good point to start would already help a lot ;)
siyuan 13 Dec, 2022 @ 10:59pm 
In the new version, the player added the configuration item "Disable torpedo solution previews", which disappeared after I selected it in the new archive. Perhaps this bug conflicts with the functionality used by this option.
This is probably the one I said in bug report that I haven't given you feedback for half a day.
< >
Showing 1-4 of 4 comments
Per page: 1530 50