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 07-30-17, 09:31 AM   #1
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Gap, could you send me the grey scale used by Terrain Editor ? I intend to convert the maps I've found into maps with SH3 bathymetric colors.
  Reply With Quote
Old 07-30-17, 11:17 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
Excellent news ! How did you manage to solve this issue ? :hmm2
Not sure what was the problem.

I replaced the materials previously used, with other materials copied from units which had the specular mask enabled and working. Even in their new location, those new materials worked as supposed. I then edited their properties, names, flags, texture linking etc, one by one, for making them to resemble the buggy materials. By doing so, I hoped that at some point I would have discovered the 'bad' setting which caused the corruption but, at the end of the story, I found myself with materials apparently identical to the old ones, except for the fact that they still worked and the originals didn't

I suspect that the materials initially used were corrupted in a way that s3d couldn't detect (I am not sure, but I might have copied them from a file which had been "manually" tweaked with an hex editor), or perhaps those materials had nothing wrong, but there is some 'hidden' material flag which is a 0 by default and must be set to 1 for the material to accept specular reflections. The old materials might have had this flag disabled, and the new ones enabled. The good thing about S3ditor is that it is able to create exact copies of chunks/addresses even when it doesn't fully understands/handles them

Quote:
Originally Posted by Kendras View Post
And is this modifying the aspect in game ?
Sure it does!

I wish I could take some screenies: I am currently tweaking/balancing material attributes; for making things more obvious, I have replaced diffuse texture's RGB channel with solid medium grey, and I can clearly see how the underlying specular mask affects the texture depending on luminosity level and sun angle.

Quote:
Originally Posted by Kendras View Post
BTW, here is the new halo effect, so you can try it directly in your game !

D/L link :

I have modified it a bit compared to the last picture :


I would gladly test it, and incorporate it in the upcoming new version of the mod, but can see no link

Quote:
Originally Posted by Kendras View Post
Gap, could you send me the grey scale used by Terrain Editor ? I intend to convert the maps I've found into maps with SH3 bathymetric colors.
You don't need the grey scale: you have it already

That's exactly the chart you had posted a few days ago, but with tones of grey replacing shades of blue, and grey values used for water going from 0 to 47. From it, I get that a grey value of 46 (R=46, G=46, B=46) is equal to -17 m, a value of 45 is equal to -18 m, and so on.

The 'shallowest' grey tone is 47, but its corresponding depth is not provided in your chart. I have included that value in my Ile de Sein terrain modification (for waters surrounding the island to the South IIRC), but I couldn't notice the side effect you told me. Did you? Maybe I should add a bigger spot of grey-47 on SHIII's elevation map for you to measure what is its corresponding depth in game, as -17 is a bit too deep for simulating the very shallow waters we want to put in game
__________________
_____________________
|May the Force be with you!|
...\/

Last edited by gap; 07-30-17 at 11:26 AM.
gap is offline   Reply With Quote
Old 07-30-17, 12:11 PM   #3
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Icon12

Quote:
Originally Posted by gap View Post
I would gladly test it, and incorporate it in the upcoming new version of the mod, but can see no link
For two reasons :

- I decided to improve a bit the "animation" of the light
- I've had a new idea for our mod, and I immediately started to work on it. It's now working fine. More on this coming soon ...

Else, I've just reworked a bit the color of the halo, to have something more pink than violet.
  Reply With Quote
Old 07-30-17, 12:39 PM   #4
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
radar NEW IDEA

So, why not to add a "searchlight effect" to the main lighthouses ?

With a turning light beam (i've added a rotation controller for that) ?



You can even change the color :



Maybe, we can use this feature to add different colors for the light, depending on the angle ? However, more tests are needed to see if that's possible.

The side effect is that the beam on the sea surface can only appear if the lighthouse has detected an ennemy unit ...
  Reply With Quote
Old 07-30-17, 12:59 PM   #5
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kendras View Post
So, why not to add a "searchlight effect" to the main lighthouses ?

With a turning light beam (i've added a rotation controller for that) ?

...

Maybe, we can use this feature to add different colors for the light, depending on the angle ? However, more tests are needed to see if that's possible.
Brilliant! Maybe this effect is not very useful for the lighthouse we are currently working on, but it definitely could be a valid approach for lighthouses with directional and multicolored lights, as La Vielle

Quote:
Originally Posted by Kendras View Post
The side effect is that the beam on the sea surface can only appear if the lighthouse has detected an ennemy unit ...
I hope we can find a workaround to this
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 07-30-17, 02:51 PM   #6
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by gap View Post
Brilliant! Maybe this effect is not very useful for the lighthouse we are currently working on
It will be for the Creac'h "landing" lighthouse (as we say in french), which has one of the most powerful light in the world.
  Reply With Quote
Old 07-31-17, 03:27 AM   #7
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
cool CREAC'H LIGHT

What do you think ?



I just would like the beams to be larger on the extremities, to not looking like laser beams. The problem is that the texture is no more applied correctly on them, there are some holes in the light beams. Could you help me ? I will send you the testing tower by PM.

The idea is this :


Last edited by Kendras; 07-31-17 at 03:44 AM.
  Reply With Quote
Old 07-30-17, 12:54 PM   #8
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kendras View Post
- I decided to improve a bit the "animation" of the light
Okay but be careful with those particles: remember that they are FPS killers.
On a side note: have you had a look into the FastParticleGenerators? It has more or less the same parameters as the more common ParticleGenerator (i.e. porting an effect from a generator to the other should be quite easy) but I think it is lesser GPU-intensive and more optimized for quickly evolving particles

Quote:
Originally Posted by Kendras View Post
- I've had a new idea for our mod, and I immediately started to work on it. It's now working fine. More on this coming soon ...
Eagerly looking forward to your idea!



Quote:
Originally Posted by Kendras View Post
Else, I've just reworked a bit the color of the halo, to have something more pink than violet.
Pink is not exactly my favorite color, but let's see it and keep a copy of the violet version, just in case

On a partly unrelated note: as I already told you, I would really like our rocks/shoals/islets to have foam around them from the waves crashing on them. Have you started digging into this topic? Do you think there is a way to link a particle effect to the water surface?
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 07-30-17, 01:02 PM   #9
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by gap View Post
Okay but be careful with those particles: remember that they are FPS killers.
On a side note: have you had a look into the FastParticleGenerators? It has more or less the same parameters as the more common ParticleGenerator (i.e. porting an effect from a generator to the other should be quite easy) but I think it is lesser GPU-intensive and more optimized for quickly evolving particles
Don't worry, parameters are still as simple as possible, and I don't think that a fastparticlegenerator is needed (and even possible ?).

Quote:
Originally Posted by gap View Post
Eagerly looking forward to your idea!
Already posted just above ! I'm currently making more tests about that idea.

Quote:
Originally Posted by gap View Post
Pink is not exactly my favorite color, but let's see it and keep a copy of the violet version, just in case
It's not really "pink". I let you test the new effect (color and animation) :

http://www.mediafire.com/file/g2i2f3...hthouse_FX.dat

Quote:
Originally Posted by gap View Post
On a partly unrelated note: as I already told you, I would really like our rocks/shoals/islets to have foam around them from the waves crashing on them. Have you started digging into this topic? Do you think there is a way to link a particle effect to the water surface?
Yes, that would be so cool. I have to see what can be done here.
  Reply With Quote
Old 07-30-17, 01:28 PM   #10
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kendras View Post
Don't worry, parameters are still as simple as possible
Okay, but remember what happens with your buoys mod, when many light buoys are in the area

Quote:
Originally Posted by Kendras View Post
and I don't think that a fastparticlegenerator is needed (and even possible ?).
Why not possible? It is in the list of the SHIII controllers. Not used much in SHIII, but in SH5 it is, and it is normally used for quick effects, like our flashing lights.
Not saying that we have to use it, but let's make a mental note about it, in case we need it in future

Quote:
Originally Posted by Kendras View Post
Already posted just above ! I'm currently making more tests about that idea.
good!

Quote:
Originally Posted by Kendras View Post
It's not really "pink". I let you test the new effect (color and animation) :

http://www.mediafire.com/file/g2i2f3...hthouse_FX.dat
Okay, I am going to test it

Quote:
Originally Posted by Kendras View Post
Yes, that would be so cool. I have to see what can be done here.
Yes please!
It is just a small detail, but one that might raise the realism level by a factor 2
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 07-30-17, 02:07 PM   #11
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by gap View Post
Okay, but remember what happens with your buoys mod, when many light buoys are in the area
All was fine. A problem only occured if there was a lot of buoys AND a light node for each halo.
  Reply With Quote
Old 07-31-17, 01:19 PM   #12
MLF
Weps
 
Join Date: Sep 2002
Location: SW France
Posts: 358
Downloads: 137
Uploads: 0
Default

Quote:
Originally Posted by gap View Post

I wish I could take some screenies:
Hi Gap

I had a problem with that as well. Look in the Silent Hunter III root folder. If you have a file d3d9.dll rename it (don't delete). This will take you away from a wide screen view, but allow screenshots by using 'Alt'+ 'PrtSc' and the pasting into a prog like Paintshop to generate the .jpg file. Worked for me, but if d3d9.dll doesn't exist then not a solution.

I'm following this thread with amazement at the way you guys are progressing. Good stuff.

Regards,

MLF
__________________
Je pense donc je fuis!
MLF is offline   Reply With Quote
Old 07-31-17, 02:23 PM   #13
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by MLF View Post
I had a problem with that as well. Look in the Silent Hunter III root folder. If you have a file d3d9.dll rename it (don't delete). This will take you away from a wide screen view, but allow screenshots by using 'Alt'+ 'PrtSc' and the pasting into a prog like Paintshop to generate the .jpg file. Worked for me, but if d3d9.dll doesn't exist then not a solution.
Hi MLF, unfortunately there is not such a file in the root folder of my SHIII installation, but thank you anyway

Quote:
Originally Posted by MLF View Post
I'm following this thread with amazement at the way you guys are progressing. Good stuff.
It has been a while since the last alpha version that you have tested, but compared to that, the upcoming version will have:
  • working specular reflections on all the model surfaces, changing with general luminosity and with light angle;
  • better caustics effect and shadowing both on the lighthouse base and on the underneath rock (but only underwater);
  • improved material attributes for all the materials used by the model;
  • improved light flare effect, which will cast reflections on the sea surface;
  • fully collisionable/damageable model;
  • damage decals expecially made for the model;
  • tower top, eaves and configurable items detachable from the model when they incur a certain level of damage;
  • hopefully (if Kendras manages doing the magic ), foam from crashing waves on the sea surface, around the base of the lighthouse;
  • maybe (if I manage doing the magic ), different wave lapping/crashing sounds triggered by wave height, in place of the one lapping sound currently featured, that plays without interruption no matter what sea conditions are.

Stay tuned for this new version
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 07-31-17, 04:32 PM   #14
MLF
Weps
 
Join Date: Sep 2002
Location: SW France
Posts: 358
Downloads: 137
Uploads: 0
Default

Quote:
Originally Posted by gap View Post

It has been a while since the last alpha version that you have tested, but compared to that, the upcoming version will have:
  • working specular reflections on all the model surfaces, changing with general luminosity and with light angle;
  • better caustics effect and shadowing both on the lighthouse base and on the underneath rock (but only underwater);
  • improved material attributes for all the materials used by the model;
  • improved light flare effect, which will cast reflections on the sea surface;
  • fully collisionable/damageable model;
  • damage decals expecially made for the model;
  • tower top, eaves and configurable items detachable from the model when they incur a certain level of damage;
  • hopefully (if Kendras manages doing the magic ), foam from crashing waves on the sea surface, around the base of the lighthouse;
  • maybe (if I manage doing the magic ), different wave lapping/crashing sounds triggered by wave height, in place of the one lapping sound currently featured, that plays without interruption no matter what sea conditions are.

Stay tuned for this new version
wow!!!!! brilliant!
This is ground breaking work that must be of great value to all modders of SH3

Regards, MLF
__________________
Je pense donc je fuis!
MLF is offline   Reply With Quote
Old 07-31-17, 05:32 PM   #15
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by MLF View Post
wow!!!!! brilliant!
This is ground breaking work that must be of great value to all modders of SH3

Regards, MLF
Well, "groundbreaking" is definitely too much. Most of the notions that this mod in its current state is based on, are scattered here and there in the forum and/or borrowed from later games of the SH series. Anyway I believe that the work we are doing is at least original, and I hope that other modders can take ispiration from it for making the best of their own talent and creativity
__________________
_____________________
|May the Force be with you!|
...\/
gap 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.