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 12-18-11, 07:01 AM   #1
urfisch
Sea Lord
 
Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,969
Downloads: 42
Uploads: 0
Default SNOW...its possible!

Inspired by two mods, the frozen harbours of LSH and the vanishing food by DivingDuck, i thought about a snow mod. And its possible! Even with restrictions.



This is how it works:

We use the technique of how snow and rain in films are made. Its just on a certain area around the boat. This gives us the feeling of snow (no use of external camera!)

To produce the snow, we create 4 particle generators higher above the boat (in a special radius around it), which are linked via the statemachinecontroller to the forecast, the use of rainjackets or to the raincontroller itself. So, if there is rain (which is "disabled" due to an edited scene.dat), the emitters produce snow. The particle generators use a special texture for the snow, an ice crystal. This is possible. Its shown by the smoke and fire emitters, they also use certain textures. With negative values to the weight, the particles fall down and can have all properties of particles in the game. So they can fall fast, slow, wind affected, many or just a few.

Additionally there could be a texture changer controller, which is also linked to the statemachinecontrollers. It changes the texture of the boat itself, to an icy one (this already exists by tomi99), when the snow falls.

The whole mod is only producing universal snow. So it must be enabled during the winter via JSME before patrol. Using this technique, theres also the possibility giving the merchants and other ships snow textures. But this would mean, they always are snowy, even if theres no snow falling. This could also be done with the boat texture itself.

This solution isnt perfect, but its a way to have real snow in the game. As i have no experience in how using the statemachinecontrollers, this is i where asked for help now!...

If you are experienced in using them correctly, please let me know. I only can create the particle emitters (+ the texture and the functions) and link them to certain parts, but not to statemachinecontrollers.

__________________


urfisch is offline   Reply With Quote
Old 12-18-11, 10:32 AM   #2
urfisch
Sea Lord
 
Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,969
Downloads: 42
Uploads: 0
Default

UPDATE

After some research:

- rain deactivation, no problem
- linkin particle controller to skydome, possible
- no controller for the weater state found, so we can use a texture changer (snow texture, when snowing) for the boat or other ships

all precipitations are now snow with this scene.dat i made.



this is how it looks now. needs some finetuning, as the amount of snowflakes variies a lot sometimes. and i might rework the snowflake texture.

__________________



Last edited by urfisch; 12-18-11 at 03:54 PM.
urfisch is offline   Reply With Quote
Old 12-18-11, 10:40 AM   #3
von Kinderei
Ocean Warrior
 
Join Date: Dec 2007
Location: Virginia
Posts: 2,606
Downloads: 150
Uploads: 0
Default

WOW ...

Man would that be a nice add-on ... good luck
__________________
vK
von Kinderei is offline   Reply With Quote
Old 12-18-11, 11:50 AM   #4
Hitman
Pacific Aces Dev Team
 
Hitman's Avatar
 
Join Date: Sep 2002
Location: Spain
Posts: 6,099
Downloads: 109
Uploads: 2


Default



Pics, or it didn't happen
__________________
One day I will return to sea ...
Hitman is offline   Reply With Quote
Old 12-18-11, 12:29 PM   #5
Victor Schutze
Chief
 
Join Date: Mar 2010
Location: Drowning in mods soup
Posts: 327
Downloads: 466
Uploads: 0
Default

Man, I am looking forward for this one!
Victor Schutze is offline   Reply With Quote
Old 12-18-11, 05:25 PM   #6
irish1958
Ocean Warrior
 
Join Date: Apr 2005
Location: Carmel, Indiana
Posts: 3,250
Downloads: 320
Uploads: 11
Default Snow

Looking good. I.suspect it will be a ton of work to get the ships all to be snow covered.
''Keep up the good work!"
__________________
Irish1958
irish1958 is offline   Reply With Quote
Old 12-18-11, 05:38 PM   #7
Sepp von Ch.
Sea Lord
 
Join Date: Dec 2009
Location: In my U-552 and Tiger
Posts: 1,732
Downloads: 788
Uploads: 0
Default

Wow! Christmas is here! Looks really great!
__________________
U-552
Tiger
IDF
Sepp von Ch. is offline   Reply With Quote
Old 12-18-11, 05:40 PM   #8
USS Drum
Grey Wolf
 
Join Date: Oct 2011
Location: Washington State
Posts: 977
Downloads: 126
Uploads: 0
Default

Just in time for Christmas.
USS Drum is offline   Reply With Quote
Old 12-19-11, 01:30 AM   #9
dcb
Grey Wolf
 
Join Date: Apr 2005
Location: Bucharest, Romania
Posts: 845
Downloads: 544
Uploads: 0
Default

Looking very nice. This could be enabled via SH3 Commander during winter months, on a random basis, I think.
dcb is offline   Reply With Quote
Old 12-19-11, 03:00 AM   #10
h.sie
Admiral
 
Join Date: Jul 2008
Posts: 2,192
Downloads: 131
Uploads: 0


cool!
__________________
My Mediafire page: http://www.mediafire.com/hsie
h.sie is offline   Reply With Quote
Old 12-19-11, 04:10 AM   #11
BUKER
中国水兵
 
Join Date: Jan 2010
Location: RUSSIA-Siberia
Posts: 274
Downloads: 401
Uploads: 0
Default

Hi urfisch,

Great idea!
__________________
BUKER is offline   Reply With Quote
Old 12-19-11, 06:56 AM   #12
urfisch
Sea Lord
 
Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,969
Downloads: 42
Uploads: 0
Default

bad news. im sorry guys, but the snow is now always there. seems as if adding another controller in the rain of the scene.dat is not recognized as "rain"...instead its always active.

so, without a controller which allows us to activate the snow, just when the rain is activated, theres gonna be no snow.

__________________


urfisch is offline   Reply With Quote
Old 12-19-11, 07:31 AM   #13
Rubini
Ocean Warrior
 
Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 132
Uploads: 0
Default

Hi Urfish,

Isn't possible to just change the rain texture (to a new snow texture)? This way we will have snow instead rain. The scene.dat can be easily modified to alter the rain precipitation properties. I don't know if all the properties that a particle have but we can produce just fine and sparse rain easily, and perhaps this could be enough.
__________________
One gamer's must-have mod is another gamer's waste of time.
-Sailor Steve
Rubini is offline   Reply With Quote
Old 12-19-11, 07:42 AM   #14
urfisch
Sea Lord
 
Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,969
Downloads: 42
Uploads: 0
Default

no, just tried that. the template for the rain render controller is a fixed one. without digging into the code, there is no change possible. and even adding new parameters to the rain render controller must not mean, the game accepts them. i am experimenting with the rain itself, but it looks more like an old tv screen without signal, than snow. this is due to the parameters, which create the rain particles. they are hardcoded, which means they are designed to be stripes, not particles. so we have no access to the "size"...

a workaround would be my first mentioned solution:

a particle generator linked to the turret of each boat. this works, i already tried that and it looks good as far as you dont use the external camera. but this controller needs to be linked to the state of weather, so it is only activated, when precipitations are activated. this could be achieved by using a statemachinecontroller, which allows the change of the "existance" of the snow generator, as DD used it in when creating vanishing food. this food is linked to the fuel parameters, which makes it vanish during the patrol. this technique would allow us, to have a snow generator, which is only active when certain parameters are given.

BUT SO

our generator needs to be linked to the weather report or the cloth of the watchcrew. but HOW, is the problem. i have no experience in the coding and statemachinecontroller stuff. maybe one of the coding guys could help??



this is how it looks, whith editing the rain itself. you see, the drops are very small and look more like a snow drizzle, than snow flakes. but this is all you get out of the rain controller.



__________________



Last edited by urfisch; 12-19-11 at 08:00 AM.
urfisch is offline   Reply With Quote
Old 12-19-11, 08:00 AM   #15
Rubini
Ocean Warrior
 
Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 132
Uploads: 0
Default

Ok , I understood. Again this can fall to the h.sie type of hardcode work...

I already messed with statemachine controllers some time ago...but I can't remember now if a statemachine controller reference to wheather state exist.
(but is easy to know taking a look at some of the act files (IIRC) where the statemachine references are described. I have not my SH3 files and tools for now (new ultimate machine, new games, new SO (W764bits), so some time needed to port all my old files and games...)

Take a look on the act file to see if a linked statemachine command exist for this mod intention .
__________________
One gamer's must-have mod is another gamer's waste of time.
-Sailor Steve
Rubini 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 05:41 PM.


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