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

Reply
 
Thread Tools Display Modes
Old 10-12-10, 03:00 PM   #1
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 135
Uploads: 0


Default

Since I am still not totally sure how a compressed air (CA) fix could work, I want to discuss the algorithm BEFORE starting to program. This prevents me from wasting a lot of time: My idea for the fix (correct me if I am wrong):

Definition: dCA is the little amount of CA that is consumed for every depth change into surface direction.

1) The only affected dial is the depth gauge.

2) When a depth change via the depth gauge is ordered, do the following:

Check if ordered depth < current depth.

If no: Change depth
If yes:

Ckeck if speed <= 2kt

If no: Change depth
If yes:

Check if CA > dCA (is CA supply enough?)

If no: Ignore the change depth command.
If yes:

Calculate CA := CA - dCA (Subtract little amount dCA amount from CA supply)
AND
Change depth.


Is this okay?
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 10-12-10, 03:41 PM   #2
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 135
Uploads: 0


Default

Hi CherryHarbey: Nice to know that your life is harder now with the longer repairs. With the new patch-kit patching is easy and takes about 1 minute. but if you don't like that, just wait and update only if important fixes have been added. I could stop working now, but the more I work on this, the more ideas I get (from LGN1 ).

Thank you for the reply.
h.sie
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 10-12-10, 09:24 PM   #3
Rubini
Ocean Warrior
 
Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 149
Uploads: 0
Default

Quote:
Originally Posted by h.sie View Post
Since I am still not totally sure how a compressed air (CA) fix could work, I want to discuss the algorithm BEFORE starting to program. This prevents me from wasting a lot of time: My idea for the fix (correct me if I am wrong):

Definition: dCA is the little amount of CA that is consumed for every depth change into surface direction.

1) The only affected dial is the depth gauge.

2) When a depth change via the depth gauge is ordered, do the following:

Check if ordered depth < current depth.

If no: Change depth
If yes:

Ckeck if speed <= 2kt

If no: Change depth
If yes:

Check if CA > dCA (is CA supply enough?)

If no: Ignore the change depth command.
If yes:

Calculate CA := CA - dCA (Subtract little amount dCA amount from CA supply)
AND
Change depth.

Is this okay?
Hi h.sie,

How are you mate?
I´m a bit out of Sh3 game lately..this is why i´m a bit absent from this discussion.

First, for me is a surprise that sh3 consumes CA when we hit "S"...I never noted this behaviour, in true I always thinked that it was a feature totally absent on sh3..(well, perhaps I never payed a real full attention on it)...so, are you sure about this?

If so, then the problem is already half way fixed (for me). Perhaps we could also raise the consume a little bit when hit "S", to make it more clear and the game more challenge on this matter?

And I fully agree with Hitman: "But as I said before, the thing is that most upwards depth changing maneuvers should actually need a bit of compressed air. "... for this particular issue seems that your algorithm is very good!

Cheers!
__________________
One gamer's must-have mod is another gamer's waste of time.
-Sailor Steve
Rubini is offline   Reply With Quote
Reply

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 04:24 AM.


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.