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-08-17, 10:49 AM   #1
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by gap View Post
Have you seen my post #485?
Oh yes, sorry. So, this was exactly what I was searching for, but it didn't help to sort out the idea I was following. Thank you anyway. These .tga with colored background are something very strange to me. The same thing happens with trees' textures. And in game the background is transparent...

Quote:
Originally Posted by gap View Post
Tested with v12?
Yes.
  Reply With Quote
Old 08-08-17, 11:24 AM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kendras View Post
Oh yes, sorry. So, this was exactly what I was searching for, but it didn't help to sort out the idea I was following. Thank you anyway.
My pleasure

Quote:
Originally Posted by Kendras View Post
These .tga with colored background are something very strange to me. The same thing happens with trees' textures. And in game the background is transparent...
Tree materials are hardcoded; it is possible that they have been coded so that their texture's background color is transparent in game. Other textures require (semi-)transparent areas to be painted as grey/black in their alpha channel, and the "enable alpha blend" flag of their material to be enabled. Texture particles seem to be the exception to that rule, as their transparency mask is often painted on the RGB channel rather than on the alpha channel
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 08-09-17, 12:28 PM   #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 tested the patch I modified on another version of the GWX. And it works, except my game GWX_Rus.https://www.dropbox.com/s/ay48lvxv90...%20Rus.7z?dl=0



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".

Last edited by Anvar1061; 08-09-17 at 02:06 PM.
Anvar1061 is offline   Reply With Quote
Old 08-09-17, 01:22 PM   #4
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

@ Anvar : The foam particles have a different texture from the one I added ... !

I think I should change its name in Materials.dat.

Would you want to use Teamviewer with me ? I may help you to sort out your problems directly.
  Reply With Quote
Old 08-09-17, 01:46 PM   #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 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.

Would you want to use Teamviewer with me ? I may help you to sort out your problems directly.
The problem was "GWX terrain +Sein" mod!
You will render a huge service to modders if you specify what you changed in Materials.dat and particles.dat.
Anvar1061 is offline   Reply With Quote
Old 08-09-17, 05:03 PM   #6
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   #7
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, 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
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:39 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.