![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|||||||||
![]() |
|
|
Thread Tools | Display Modes |
|
|
10-21-10, 04:24 AM
|
#1 |
|
Admiral
![]() |
In the first version of my snorkel fix I modified the routines which are resposible for the machine telegraph: If the boat is currently snorkelling and I order a new speed which is faster than 2/3 ahead, the speed order is automatically reduced to 2/3 ahead. This worked well.
But unfortumately, that solution was not sufficient, because if you e.g. drive surfaced with flank speed and then dive to snorkel depth, no speed change is ordered and thus the boat will be still on flank speed when snorkelling. So for my second version I’m programming a routine that checks the speed every 10 seconds when snorkelling. More exactly: There is already such a routine that makes calculations every 10 seconds, and I simply modify it. Every time a speed above 5knots is detected while snorkeling, a WM_KEYPRESS message for the key “2” will be generated, so that the executable thinks the user pressed “2” to order new speed 2/3 ahead. Optimistic that it will work. Now I’m thinking about how to consider Wind speed / wave height. Possible values could be: Wind speed 0-5m/s: Speed will be reduced to 2/3 ahead. Wind speed 6-10m/s: Speed will be reduced to slow ahead. Wind speed > 10m/s: Snorkelling not possible. Engines will be stopped by the watch routine. Are these historically correct? Last edited by h.sie; 10-21-10 at 06:43 AM. |
|
|
10-21-10, 06:41 AM
|
#2 |
|
Admiral
![]() |
by the way: I think I found out why high time compression leads to numerous problems:
there is an internal master routine in sh3.exe that is executed once per second and recalculates millions of variables: weather changes, detection probablilities, every little fart of the crew. this is no problem for modern CPUs, all calculations are done in a fraction of a second. When time compression is 2x, the routine has to be executed twice per second to give an exact simulation. No problem. Even 64x works, the routine is executed 64 times per second. But when I chose TC=128x on my average PC, the routine cannot be executed 128 times per second, it is only executed about 100 times. the missing 28 calculations are cancelled, because otherwise program flow would be jammed. When I now rise TC to 1024, the routine can still be executed only 100 times per second, but it should be executed 1024 times. this discrepancy leads to very inaccurate, defective simulation results in some aspects. |
|
|
10-21-10, 07:37 AM
|
#3 | |
|
Pacific Aces Dev Team
|
Quote:
![]() Must double check, but IIRC the reference to maximal snorkelling speed comes from Clay Blair's book, and the reference to periscopes from "US submarines through 1945" by Norman Friedman, App. II (Periscopes). Friedman comments the several proposals received by the US Navy from different makers of periscopes and problems encountered, and comments that german subs also had problems when speeding up due to periscope vibrations. In the case of fleet boats this would be even worser, as they had quicker underwater speeds.
__________________
One day I will return to sea ... |
|
|
|
10-21-10, 08:18 AM
|
#4 | |
|
Medic
![]() Join Date: Sep 2010
Posts: 160
Downloads: 25
Uploads: 0
|
Quote:
__________________
|
|
|
|
10-21-10, 08:28 AM
|
#5 |
|
Admiral
![]() |
I can only talk accurately about the things I tried to fix: Repair times and CO2 production when submerged. These values become inaccurate on high TC compared to low TC. Not very serious.
Regarding the other aspects I have to speculate, because I didn't test it. But I suppose other aspects of the game could suffer much more from these cancelled calculations on high TC, e.g. detection of enemy. Sudden death on high TC without warning........weather changes.......spawning of enemy aircraft......??? This is speculation, not knowledge. maybe I should have written: "this discrepancy can lead to inaccurate, defective simulation results in some aspects". Last edited by h.sie; 10-21-10 at 08:42 AM. |
|
|
10-21-10, 02:15 PM
|
#6 | |
|
Ace of the Deep
![]() Join Date: Mar 2006
Posts: 1,135
Downloads: 147
Uploads: 12
|
Quote:
the method sounds fine. You might also combine this method with a key command for turning off the hydrophone (or can you reduce the max. hydrophone range by a factor?) The same method might also be a simple solution for the 'speed-limited' periscope (if bluring does not work). Concerning torpedo re-loading: If possible you might think about changing the loading time depending on sea state. For instance, if the boat is surfaced and wind > x m/s, torpedos (both internal & external) cannot be loaded (i.e., loading time in sim files very high). However, submerged you can load the tubes. For the external tubes you might also think about taking night time into account (I guess there is a variable that determines night and day (controling at least the red light)). Cheers, LGN1 |
|
|
|
10-21-10, 02:34 PM
|
#7 |
|
Old Gang
|
You mean 1/3 ahead. There's no such thing as 2/3.
Now I can understand why so much sh!t happens at high tc. Good info, h.sie.
__________________
To each his own |
|
|
10-22-10, 02:03 AM
|
#8 |
|
Admiral
![]() |
In german they are called "kleine fahrt" and "langsame fahrt", and I thought they are called "ahead slow" and "2/3 ahead" in english.
|
|
|
10-22-10, 02:41 AM
|
#9 |
|
Admiral
![]() |
my batteries are empty. the todo-list is growing much faster than my progress is. so please no new ideas or wishes at the moment. snorkel fix is not easy since my idea doesn't work and I have only 2 hours for modding per day.
phew. |
|
|
10-22-10, 11:51 AM
|
#10 | |
|
Hellas
![]() |
Quote:
only 2 hours per day ? have you think that there is the night ...too ? i am joking H.Sie , when you give us the 'green' light again...i want to add an idea or wish at the todo-list keep up the real good job
__________________
Knowledge is the only thing that nobody can ever take from you... ![]() Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods |
|
|
|
10-22-10, 12:14 PM
|
#11 |
|
Planesman
![]() Join Date: Jan 2008
Location: Control room
Posts: 181
Downloads: 154
Uploads: 0
|
Thank you for the great mod. I 've been waithin so long for this!!
|
|
|
10-22-10, 10:44 AM
|
#12 | |
|
Old Gang
|
Quote:
And 2/3 speed is not even half the speed.
__________________
To each his own |
|
|
|
10-22-10, 11:27 AM
|
#13 |
|
Lieutenant
![]() Join Date: Jul 2008
Location: Phoenix, AZ
Posts: 256
Downloads: 322
Uploads: 0
|
From here:
http://en.wikipedia.org/wiki/Engine_order_telegraph "The following dial positions are more common on older ships:
Just for grins: "All Ahead Bendix - Traditionally, an engine order for "max tracks," i.e. as fast as she can go. The Engine Order Telegraph (q.v.) was traditionally made by the Bendix Company, and was so marked just past the forward end of the annunciator quadrant. Therefore, pushing the E.O.T. annunciator handles as far forward as they would go brought the pointer near the word "Bendix." Actual use of "All Ahead Bendix" tends to irritate the Chief Engineer." |
|
|
10-22-10, 03:17 PM
|
#14 | |
|
Old Gang
|
Quote:
I know what you're saying. So it's wrong on SH3 the line "All ahead 1/3" that is shown on the screen when you press "2". What I find weird is that seems to be wrong, mathematically. Suppose the ship max speed was 20 kts: All ahead 2/3 would give you around 7 kts, which is basically one-third of the max speed. Two-thirds would be 66%, or 14kts. But anyway... who am I to argue with the navy?
__________________
To each his own |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
