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-23-07, 07:15 AM   #1
Paajtor
The Old Man
 
Join Date: Apr 2005
Location: The Dutch mountains
Posts: 1,551
Downloads: 64
Uploads: 1
What's the rain-drop texture?

Yesterday, I was sailing in a heavy storm, Sept. N-Atlanctic W of Schotland.
It was pitch-dark, and rain was showerring.
But somehow the rain just doesn't look right: it's to white/bright, and the pattern isn't random enough.

I guess there's no way to make a rain-shower look differently - pattern-wise - so I thought I could try to change the texture of a raindrop itself.

Where is it?
I've found this one: Senin.tga, located in ...:\Program Files\SilentHunterIII\data\Misc.
Does this thingy stand for a rain-drop?

GWX here, btw.
__________________



Paajtor is offline   Reply With Quote
Old 01-23-07, 08:39 AM   #2
ref
Grey Wolf
 
Join Date: Nov 2005
Location: Mar del Plata, Argentina
Posts: 871
Downloads: 0
Uploads: 0
Default

There's no texture for the rain, it's generated mathematically, the parameters are stored in scene.dat, here's the values you can change

Rain

RandomWind (Random wind parameters)
--ChangeTimeMin (The minimum time after which the random wind changes)
--ChangeTimeMax (The maximum time after which the random wind changes)
--RandomWindSpeedMax (The maximum intensity of the random wind)
--RandomWindSpeedVariationSpeed (The speed of intensity change for random wind)
--RandomWindHeadingVariationSpeed (The speed of heading change for random wind)
DropsNumber (Total number of rain drops)
FallSpeed (Rain drop fall speed)
RainIntensityChangeSpeed (The speed of change for rain intensity)
MinSize (Rain drop minimum size)
MaxSize (Rain drop maximum size)
HeadColor (The color of the start of the drop)
HeadAlpha (The alpha of the start of the drop)
TailColor (The color of the end of the drop)
TailAlpha (The alpha of the end of the drop)

Ref
__________________
ref is offline   Reply With Quote
Old 01-23-07, 03:20 PM   #3
Paajtor
The Old Man
 
Join Date: Apr 2005
Location: The Dutch mountains
Posts: 1,551
Downloads: 64
Uploads: 1
Default

Ok, thx for this clarification.
(Btw, then what is this Senin.tga for?)

Quote:
Originally Posted by ref
Rain

RandomWind (Random wind parameters)
--ChangeTimeMin (The minimum time after which the random wind changes)
--ChangeTimeMax (The maximum time after which the random wind changes)
--RandomWindSpeedMax (The maximum intensity of the random wind)
--RandomWindSpeedVariationSpeed (The speed of intensity change for random wind)
--RandomWindHeadingVariationSpeed (The speed of heading change for random wind)
DropsNumber (Total number of rain drops)
FallSpeed (Rain drop fall speed)
RainIntensityChangeSpeed (The speed of change for rain intensity)
MinSize (Rain drop minimum size)
MaxSize (Rain drop maximum size)
HeadColor (The color of the start of the drop)
HeadAlpha (The alpha of the start of the drop)
TailColor (The color of the end of the drop)
TailAlpha (The alpha of the end of the drop)
OMG, I've never messed with SH3's dat-files!
I thought I could simply edit a texture.

Well...
I'll post a screenie later on, of the rain I'm currently getting, in GWX/pitch dark/heavy storm.
Then I'll explain how I would like it to be, ok?
I can give you a hint: if you play Oblivion, then you know the kind of rain-showers I want.
__________________



Paajtor is offline   Reply With Quote
Old 01-24-07, 10:31 AM   #4
Paajtor
The Old Man
 
Join Date: Apr 2005
Location: The Dutch mountains
Posts: 1,551
Downloads: 64
Uploads: 1
Default

This is the rain I get in GWX:




Whether in external camera, on the bridge, or through binoculars...it looks the same everytime.
Even though it's late-summer, it appears as snow to be honest.
And the odd thing is, that is blinding to much at closeby, while it should be blinding further away (forming a curtain)...it seems as if it's only raining within 2m around me (or my viewing point).

How can this be changed, to look a bit more realistic?
In a storm as seen above, rain shouldn't be a steady stream like it is now...it should come in showers, gusts of wind blowing curtains almost horizontally.

I'm thinking of a few values to change:

- ChangeTimeMin > set to have more frequent wind-changes
- RandomWindSpeedMax > set to greater max-intensity of the random wind
- RandomWindSpeedVariationSpeed > set to higher intensity

- DropsNumber > higher
- RainIntensityChangeSpeed > higher
- MinSize > allot smaller
- MaxSize > a little smaller
- HeadColor > darker
- HeadAlpha > more transparant
- TailColor > darker
- TailAlpha > a little more transparant

Now I have 2 questions:

- which scene.dat should I try to edit? One is in default SH3/data, the other is in ...:\Program Files\SilentHunterIII\MODS\GWX - 16km Atmosphere\data (in my setup)
- which program should I use, to open the .dat-file?
__________________



Paajtor is offline   Reply With Quote
Old 01-24-07, 11:55 AM   #5
ref
Grey Wolf
 
Join Date: Nov 2005
Location: Mar del Plata, Argentina
Posts: 871
Downloads: 0
Uploads: 0
Default

Use time traveller's mini tweaker to edit scene.dat, you can edit either file, if you edit the one in your sh3 folder the changes will reflect inmediatly, if you edit the one in the mods folder you must disable and then reenable the mod for the changes to take effect. Also remember that you need to exit sh3 and then restart it to enable the changes, if you just exit the mission/patrol it doesn't work because sh3 preloads most files at startup.

Ref
__________________
ref is offline   Reply With Quote
Old 01-24-07, 01:29 PM   #6
_Seth_
Ocean Warrior
 
Join Date: Dec 2005
Location: In Tromsoe, @Tirpitz' final resting place..
Posts: 3,277
Downloads: 94
Uploads: 0


Default

Would it be possible to make the drops slower, more white and increase their numbers, to simulate something that looks like snow?
__________________


_Seth_ is offline   Reply With Quote
Old 01-24-07, 01:36 PM   #7
ref
Grey Wolf
 
Join Date: Nov 2005
Location: Mar del Plata, Argentina
Posts: 871
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by _Seth_
Would it be possible to make the drops slower, more white and increase their numbers, to simulate something that looks like snow?
It's possible, but you'll have snow even on the tropics.

Ref
__________________
ref is offline   Reply With Quote
Old 01-24-07, 02:21 PM   #8
_Seth_
Ocean Warrior
 
Join Date: Dec 2005
Location: In Tromsoe, @Tirpitz' final resting place..
Posts: 3,277
Downloads: 94
Uploads: 0


Default

Well, with the weird climate changes around the world, that wouldnt be so strange..:rotfl::rotfl:But could this be implemented in the commander, and activated if you start from the northern bases in winter only?
__________________



Last edited by _Seth_; 01-24-07 at 02:34 PM.
_Seth_ is offline   Reply With Quote
Old 01-24-07, 02:28 PM   #9
Capt.Crackerjack
Loader
 
Join Date: Jun 2006
Posts: 84
Downloads: 28
Uploads: 0
Default Weird Climates?

:hmm: Seth, with all due respect, I assume you are referring to winters being cold and summers being hot? Hmmmm?
Capt.Crackerjack is offline   Reply With Quote
Old 01-24-07, 02:33 PM   #10
_Seth_
Ocean Warrior
 
Join Date: Dec 2005
Location: In Tromsoe, @Tirpitz' final resting place..
Posts: 3,277
Downloads: 94
Uploads: 0


Default

Winters cool and summers hot, or winters hot and summers cool.. When its warmer at christmas then it was all summer, something is wrong..:rotfl:
__________________


_Seth_ is offline   Reply With Quote
Old 01-24-07, 02:42 PM   #11
Capt.Crackerjack
Loader
 
Join Date: Jun 2006
Posts: 84
Downloads: 28
Uploads: 0
Default Winters Cold, Summers Hot

:rotfl: Perhaps you should take a look at the weather today...hmmmmm?:hmm:

Hottest years on record for USA occurred in 1930's...hmmmmm?:hmm:
Most scientists in the 1970's predicted a new ice age coming soon...Hmmmmm?:hmm:
All ice ages melted prior to industrialization...hmmmmmm?:hmm:
Wonder why the ice melted...hmmmmm?:hmm:


I would think you would appreciate some extra warmth in Norway. Cold today (January), hot in summer.
Whoops...that's the way it goes, buddy!:rotfl:
Capt.Crackerjack is offline   Reply With Quote
Old 01-24-07, 02:46 PM   #12
Paajtor
The Old Man
 
Join Date: Apr 2005
Location: The Dutch mountains
Posts: 1,551
Downloads: 64
Uploads: 1
Default

Quote:
Originally Posted by ref
Use time traveller's mini tweaker to edit scene.dat, you can edit either file, if you edit the one in your sh3 folder the changes will reflect inmediatly, if you edit the one in the mods folder you must disable and then reenable the mod for the changes to take effect. Also remember that you need to exit sh3 and then restart it to enable the changes, if you just exit the mission/patrol it doesn't work because sh3 preloads most files at startup.

Ref
thx!

To be continued, I hope.
__________________



Paajtor is offline   Reply With Quote
Old 01-24-07, 02:56 PM   #13
_Seth_
Ocean Warrior
 
Join Date: Dec 2005
Location: In Tromsoe, @Tirpitz' final resting place..
Posts: 3,277
Downloads: 94
Uploads: 0


Default

Quote:
Originally Posted by Capt.Crackerjack
:rotfl: Perhaps you should take a look at the weather today...hmmmmm?:hmm:

Hottest years on record for USA occurred in 1930's...hmmmmm?:hmm:
Most scientists in the 1970's predicted a new ice age coming soon...Hmmmmm?:hmm:
All ice ages melted prior to industrialization...hmmmmmm?:hmm:
Wonder why the ice melted...hmmmmm?:hmm:


I would think you would appreciate some extra warmth in Norway. Cold today (January), hot in summer.
Whoops...that's the way it goes, buddy!:rotfl:
Hey, its atleast 1 meter of snow here i am now (Currently Tromsoe). I actually like the winter, but enough is enough!:rotfl:
Back to topic: Could a weather mod based on the commander include snow? IIRC, SHWeather has a setting for mediterranean weather. Couldnt this be made to work for the snow to?
__________________


_Seth_ is offline   Reply With Quote
Old 01-24-07, 04:18 PM   #14
ref
Grey Wolf
 
Join Date: Nov 2005
Location: Mar del Plata, Argentina
Posts: 871
Downloads: 0
Uploads: 0
Default

I guess it would be possible, but does it snow in the middle of the ocean?, snow requires a very specific set of temperature/humidity...

Ref
__________________
ref is offline   Reply With Quote
Old 01-24-07, 05:17 PM   #15
_Seth_
Ocean Warrior
 
Join Date: Dec 2005
Location: In Tromsoe, @Tirpitz' final resting place..
Posts: 3,277
Downloads: 94
Uploads: 0


Default

IIRC, the snow can fall everywhere, also in the middle of the ocean..
Here is a link to the story of a ship that went sown in a snowstorm /blizzard outside Newfoundland.
http://www.cbc.ca/canada/story/2002/...ks_020127.html
__________________


_Seth_ is offline   Reply With Quote
Reply


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:30 PM.


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