SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SHIII Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10-21-10, 04:24 AM   #11
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 135
Uploads: 0


Default

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?
__________________
My Mediafire page: http://www.mediafire.com/hsie

Last edited by h.sie; 10-21-10 at 06:43 AM.
h.sie is offline   Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:06 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.