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 01-07-11, 03:56 AM   #1
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 135
Uploads: 0


Default

It indeed took some semesters of computer science.
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 01-07-11, 03:57 AM   #2
somedude88
Torpedoman
 
Join Date: Dec 2010
Posts: 117
Downloads: 54
Uploads: 0
Default

Quote:
Originally Posted by h.sie View Post
It indeed took some semesters of computer science.
And so... the idiot that didn't think before he spoke, proceeds to eat his own words... mere minutes after speaking them.
somedude88 is offline   Reply With Quote
Old 01-07-11, 03:18 PM   #3
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 135
Uploads: 0


Default

Storm Conditions

I found the code to calculate storm conditions. Example: In the Subs .cfg file you find for storm-conditions e.g.

StormConditions=11,0.4

Currently, storm-conditions are true (flak & deckgun cannot be used and crew wears rain clothes)

If windspeed > 11m/s OR Rain Intensity > 0.4.

What about changing these conditions a little bit as follows:

If no rain: Windspeed must be > 11 to set storm conditions
If medium rain: Windspeed must be > 9 to set storm conditions
If heavy rain: Windspeed must be > 7 to set storm conditions

Any reasons NOT to do this?

h.sie
__________________
My Mediafire page: http://www.mediafire.com/hsie

Last edited by h.sie; 01-07-11 at 03:35 PM.
h.sie is offline   Reply With Quote
Old 01-07-11, 04:20 PM   #4
LGN1
Ace of the Deep
 
Join Date: Mar 2006
Posts: 1,135
Downloads: 147
Uploads: 12
Default

Hi h.sie,

are any rain/wind combinations possible? I am wondering why one should not be able to use the deck gun in heavy rain with wind speed 0m/s It looks strange to me that rain can trigger the storm condition (I think it would make more sense if wind triggers deck gun usage and rain coats, but rain only triggers rain coats and has no influence on the deck gun / flak).

Cheers, LGN1
LGN1 is offline   Reply With Quote
Old 01-07-11, 06:42 PM   #5
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 135
Uploads: 0


Default

@LGN1: I tried to fix that, used different storm-condition routines for clothes and flak.

Weather: No storm but rain.

Result: Crew animations look very ugly for crew with rain clothes (stormconditions=1) standing at flak (stormcondition=0).
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 01-07-11, 06:53 PM   #6
Anvart
Admiral
 
Join Date: Jan 2006
Location: Russia ®
Posts: 2,481
Downloads: 122
Uploads: 1
Default

Quote:
Originally Posted by h.sie View Post
@LGN1: I tried to fix that, used different storm-condition routines for clothes and flak.

Weather: No storm but rain.

Result: Crew animations look very ugly for crew with rain clothes (stormconditions=1) standing at flak (stormcondition=0).
Do you see animations for crew models without rain clothes...?
...
Why StateMachine class (animations) did not change..?
__________________
Alex ®


Moses said: "Don't create yourself an idol"...

Last edited by Anvart; 01-08-11 at 09:42 AM.
Anvart is offline   Reply With Quote
Old 01-07-11, 07:04 PM   #7
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 135
Uploads: 0


Default

yes, without rain clothes all look good.

with rain clothes they stand still like scarecrow.
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie 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 03:44 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.