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 08-09-17, 05:03 PM   #1
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kendras View Post
Yes, I know this. In the foam_particles generator, MaxParticles=40, life for each particle is 2s, and rate of creation is 10/s, so there is a maximum of 20 particles ...
Yep, you are right: it can't be that. It is possible that when generator's height is under the lower limit set in GenHeightControl, the generator is stopped and all its particles deleted instantly, thus causing splashes to disappear abruptly. BTW: shouldn't Runmode set to 'Stop'?

Talking about GenHeightControl, I forgot to mention that the idea of asscoaiting it with the FloatingObject controller to trigger the splash effect, is brilliant! Is it your, or you borrowed it from somewhere else?

Quote:
Originally Posted by Kendras View Post
Yes ok, if it's still working.
Sure it is. On my HD, all of your particle genertors and materials are stored in the custom FX library file I had created for light effects. I wanted to create yet another library file to be used only for materials, but it didn't work. Apparently particle materials can only be stored either in Materials.dat, or in the same file as the particle generator(s) calling for them.

Quote:
Originally Posted by Kendras View Post
@ Anvar : The foam particles have a different texture from the one I added ... !

I think I should change its name in Materials.dat.
Quote:
Originally Posted by Anvar1061 View Post
You will render a huge service to modders if you specify what you changed in Materials.dat and particles.dat.
That is what I was talking about. Tweaking those files and looking for compatibility with every single mod/megamod also changing them, is a mess. Please download my files below to fix this kind of issues once and for all

Quote:
Originally Posted by Kendras View Post
The one with a bitmap particle item attached creates the visual effect. The other one creates one "object" which has a sound attached. Long time ago, I tried to create a particles generator with both bitmap and object items, and it didn't work properly, IIRC.
Okay, so the generator with the sound attached to it has no visual effect?

Quote:
Originally Posted by Kendras View Post
Really, no details can escape from you !


Quote:
Originally Posted by Kendras View Post
This node was part of an attempt to create a unique generator throwing several particles generators all around the beacon, but it didn't work.
Yes, I think that keeping them separate is a better idea, as they can be triggered independently from each other on different areas of the model. There is the other side of the coinn though: placing them all around bigger and irregular models, as the rock of La Vieille, will be a pita

Quote:
Originally Posted by Kendras View Post
You can ignore/delete it. Same remark for both nodes called "$mat_int_halo_2".
well, that's weird: if I delete it, all the bitmap particles become opaque, and I can only see whitish squares where there used to be water sprays. Can you please have a look in the issue?

Quote:
Originally Posted by Kendras View Post
Yes, the direction of the foam is in the other direction of the wave, because (in my mind) the water crashes on the beacon, splashes in the air and returns in the other direction with foam.
Okay, I will give your configuration a second try, but as I said before, during my first tests I had the feeling that if a wave was coming from south, tsplashes appeared on the north side of the lighthouse base, and vice versa

Quote:
Originally Posted by Kendras View Post
Do you have a screenshot ?
I don't, but I have uploaded my tweaked files:

Tourelle de La Plate v12 - Patch 2

Instructions: remove Particles.dat, Materials.dat and Materials.dsd from Tourelle de La Plate v12 - Patch 1, enable it over Tourelle de La Plate v12 and then enable Tourelle de La Plate v12 - Patch 2 on top of the two previous mods.

Quote:
Originally Posted by Kendras View Post
I fear it won't be possible.
Why not? Life Variation, Creation Rate Variation, Size Variation, Velocity Variation, Weight Variation, Opacity Variation, Spin Variation, RandomMotion
and Wind Coefficients are there for a reason. Many of the cool SH5 effects were created using more or less the same controllers and textures as SHIII, but making the best of the rendom features which are seldomly used in SHIII.

Quote:
Originally Posted by Kendras View Post
In the generator with the bitmap item attached, you can add as many items (with different materials linked, and different settings) as you want.


Quote:
Originally Posted by Anvar1061 View Post
But I do not have the "Lighthouse" symbol on the map.

I want to deal with the problem now, whatever happens to the final version "Lighthouses mod".
The symbol gets visible on map at higher zoom levels than the lighthouse name

Quote:
Originally Posted by Anvar1061 View Post
The problem was "GWX terrain +Sein" mod!
Okay, you have probably installed a buggy version of those files. There should be a working version of them somewhere in this thread, but I didn't include them in v12 as Kendras wasn't fully satisfied with them. We will keep working on terrain modifications when we will finish with the La Plate tower. Sorry for the inconvenience
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 08-09-17, 08:01 PM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Guys can you please test this:

Tourelle de La Plate v12 - Patch 3

Enable it on top of alpha v12, v12 patch 1 (making sure that you have removed Materials.dat, Particles.dat and Particles.dsd from it) and v12 patch 2. I have enabled DX2/3 compression and alpha blending of the water spray material. The latter setting finally enabled me to get rid of the apparently unused fast particle generator (which might have messed with the other particle generators though). Last, I have rearranged the indices of the remaining particle generators.

Tested at a wind speed of 10 and 15 m/s, after the above changes the splash animation seems to me much more smooth. The stuttering still happens at times, but it is not as apparent and frequent as before. Let me know if it works for me as it does for me
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 08-10-17, 02:13 AM   #3
Anvar1061
Ocean Warrior
 
Join Date: May 2012
Location: In the sea, on land and above
Posts: 3,456
Downloads: 976
Uploads: 0
Default


I get these streams of water.
Where can I download Materials.dat, particle.dat, particle.dsd And correct «GWX terrain +Sein»?

Last edited by Anvar1061; 08-10-17 at 02:47 AM.
Anvar1061 is offline   Reply With Quote
Old 08-10-17, 03:44 AM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Anvar1061 View Post
I get these streams of water.
Where can I download Materials.dat, particle.dat, particle.dsd And correct «GWX terrain +Sein»?
Have you followed the instructions in my last post of yesterday? You probably don't, otherwise you woulndn't get those water columns. I repeat:

1. Enable the Tourelle de la Plate mod v12..
2. Remove Materials.dat, Particles.dat and Particles.dsd from Patch 1 (those files are not needed anymore by the mod), and enable it.
3. Enable Patch 2
4. Enable Patch 3

Links to Patch 2 and 3 are found in my last post of yesterday.
Scrap terrain modifications: for the monent you dont need them.
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 08-10-17, 04:15 AM   #5
Anvar1061
Ocean Warrior
 
Join Date: May 2012
Location: In the sea, on land and above
Posts: 3,456
Downloads: 976
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
Have you followed the instructions in my last post of yesterday?
Oh sure! But now I have only my Materials.dat, Particles.dat и Particles.dsd.
Anvar1061 is offline   Reply With Quote
Old 08-10-17, 05:09 AM   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Anvar1061 View Post
Oh sure! But now I have only my Materials.dat, Particles.dat и Particles.dsd.
That's correct, those files are no longer needed; wave splash particles and matetials used by this mod are now stored in Lighthouse_FX.dat, but if you have correctly installed patch 2 and patch 3, splashes shouldn't look as in the picture you have linked in you previous post
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 08-10-17, 05:19 AM   #7
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

@ Kendras ;-)

__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 08-10-17, 08:03 AM   #8
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Icon14

Quote:
Originally Posted by gap View Post
BTW: shouldn't Runmode set to 'Stop'?
No. The generator is not 'reactivated' when the height is again above 1,8 (18 meters above sea floor).

Quote:
Originally Posted by gap View Post
Talking about GenHeightControl, I forgot to mention that the idea of asscoaiting it with the FloatingObject controller to trigger the splash effect, is brilliant! Is it your, or you borrowed it from somewhere else?
My own idea.

Quote:
Originally Posted by gap View Post
Sure it is. On my HD, all of your particle genertors and materials are stored in the custom FX library file I had created for light effects. I wanted to create yet another library file to be used only for materials, but it didn't work. Apparently particle materials can only be stored either in Materials.dat, or in the same file as the particle generator(s) calling for them.


Quote:
Originally Posted by gap View Post
Okay, so the generator with the sound attached to it has no visual effect?
It shouldn't, even if I tried to attach a blue star (to see what happens), but for a reason that I have not discovered yet, it doesn't show it.

Quote:
Originally Posted by gap View Post
during my first tests I had the feeling that if a wave was coming from south, splashes appeared on the north side of the lighthouse base, and vice versa
No, this was just an illusion. If the wave crashes south, the foam appears south.

Quote:
Originally Posted by gap View Post
Guys can you please test this:

Tourelle de La Plate v12 - Patch 3

Tested at a wind speed of 10 and 15 m/s, after the above changes the splash animation seems to me much more smooth. The stuttering still happens at times, but it is not as apparent and frequent as before. Let me know if it works for me as it does for me
Very nice texture indeed !

Works very well, even if the 'stuttering' is still there.



Quote:
Originally Posted by gap View Post
@ Kendras ;-)

Oh, very cool sound to relax and sleep !

 
Uh, you want to add it underwater when waves crash on the rocks, right ?
  Reply With Quote
Old 08-10-17, 10:39 AM   #9
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kendras View Post
No. The generator is not 'reactivated' when the height is again above 1,8 (18 meters above sea floor).
18 meters above sea floor (that would be 1m a.s.l in the Pointe du Raz area), or 1.8m a.s.l?

I am asking because I would like to create a second, smaller splash effect to be triggered by lower waves...

Quote:
Originally Posted by Kendras View Post
My own idea.
Hats off to you Sir

Quote:
Originally Posted by Kendras View Post
It shouldn't, even if I tried to attach a blue star (to see what happens), but for a reason that I have not discovered yet, it doesn't show it.
I noticed the same. It seems that only the particle generator with lower index is rendered in game.

Quote:
Originally Posted by Kendras View Post
No, this was just an illusion. If the wave crashes south, the foam appears south.
Okay

Quote:
Originally Posted by Kendras View Post
Very nice texture indeed !

Works very well, even if the 'stuttering' is still there.
Okay, I am a afraid we will get to live with the stuttering. Something I have noticed is that every time test mission is loaded, sea conditions are slightly diffrent, and the stuttering gets better or worse depending on them.

On the other hand can you please test the patch below (It replaces patch 3) and tell me how it scores in therms of eye-candy?

Quote:
Originally Posted by Kendras View Post
Oh, very cool sound to relax and sleep !


Quote:
Originally Posted by Kendras View Post
Uh, you want to add it underwater when waves crash on the rocks, right ?
 
You read in my mind: it should replace the main splash sound underwater in free camera view, and inside the boat
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 08-11-17, 05:50 AM   #10
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by gap View Post
18 meters above sea floor (that would be 1m a.s.l in the Pointe du Raz area), or 1.8m a.s.l?

I am asking because I would like to create a second, smaller splash effect to be triggered by lower waves...
To be sure, try to replace 1,8 by 1,6. If it is 16 meters, then the effect will always be visible, even with windspeed at 5 m/s. If it is 1,6 meters, then the effect will be more or less the same.

Quote:
Originally Posted by gap View Post
On the other hand can you please test the patch below (It replaces patch 3) and tell me how it scores in therms of eye-candy?
Mmh, i don't see any link. What did you change ?
  Reply With Quote
Old 08-11-17, 07:05 AM   #11
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kendras View Post
To be sure, try to replace 1,8 by 1,6. If it is 16 meters, then the effect will always be visible, even with windspeed at 5 m/s. If it is 1,6 meters, then the effect will be more or less the same.
I already made some tests: GenHeightControl is relative to the soil/seabed level. That means that we will need several copies of the effect, each with different Min/Max settings, depending on the sea depth at the location that different lighthouses will be placed at.

Quote:
Originally Posted by Kendras View Post
Mmh, i don't see any link. What did you change ?
Sorry, my bad

http://www.mediafire.com/file/1fpa9b...2_-_Patch_4.7z

Randomized a bit the effect, and made it to be affected by wind force/direction
I am currently working at another version of the effect having two splash particles: shorter splashes for waves higher than 1m asl, and higher ones for waves higher than 2m asl. It looks cool so far, I will post it later
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 08-11-17, 01:54 PM   #12
MLF
Weps
 
Join Date: Sep 2002
Location: SW France
Posts: 358
Downloads: 137
Uploads: 0
Default

Just had a chance to have a look at V12 Patched to 4 - what magic. The stuttering of the waves appear to be a switch-on , switch off and then resume where it left off - the waves splash, rise up, switch off, switch on with the splash still high and splash subsides. Is that how you see it? I have tried to keep up, but real life took over so excuse if I'm out of touch. Anything you need tested with screenshots?

Regards,

MLF
__________________
Je pense donc je fuis!
MLF 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 07:55 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.