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

Quote:
Originally Posted by VonDos View Post
Hi mates!
While waiting for this gorgeous lights work, i'm reworking a little some details.
Here are first funnel horns pipes (2 with Y shape, not 2 vertical)
I always wanted to add working hornpipes to ships ! Do you think about a trigger that could be used to launch the visual and sound effect ?

Someone had the good idea to launch the effect when the rudder was turning, but how can you link rudder's position to the effect ?
  Reply With Quote
Old 10-08-17, 05:31 AM   #2
VonDos
Ocean Warrior
 
Join Date: Mar 2007
Location: Italy
Posts: 2,526
Downloads: 82
Uploads: 76


Default

Quote:
Originally Posted by Kendras View Post
I always wanted to add working hornpipes to ships ! Do you think about a trigger that could be used to launch the visual and sound effect ?

Someone had the good idea to launch the effect when the rudder was turning, but how can you link rudder's position to the effect ?
I honestly don't know this, but should be gorgeous!
Btw, voilà a "definitive" version:



Best regards,
Vd
__________________

Those, others and WIP ships are avaiable in my SHIPYARD here:
http://www.subsim.com/radioroom/showthread.php?t=136508

Last edited by VonDos; 10-08-17 at 06:02 AM.
VonDos is offline   Reply With Quote
Old 10-08-17, 06:03 AM   #3
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Icon9

Quote:
Originally Posted by VonDos View Post
Btw, voilà a "definitive" version
Very nice !

@gap : I don't manage to make the light city work properly. So, I send you the files : there is a single mission ("QM") which starts before night, so you can use Time Compression and see difference between day and night.

https://www.mediafire.com/file/3jctm...-%20QM%20v1.7z
  Reply With Quote
Old 10-08-17, 06:40 AM   #4
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
Very nice !

@gap : I don't manage to make the light city work properly. So, I send you the files : there is a single mission ("QM") which starts before night, so you can use Time Compression and see difference between day and night.

https://www.mediafire.com/file/3jctm...-%20QM%20v1.7z

What do these "nlusM" files mean?
Anvar1061 is offline   Reply With Quote
Old 10-08-17, 09:12 AM   #5
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Anvar1061 View Post

What do these "nlusM" files mean?
Oh, I forgot to delete them...
  Reply With Quote
Old 10-08-17, 09:37 AM   #6
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
Oh, I forgot to delete them...
Anvar1061 is offline   Reply With Quote
Old 10-09-17, 04:27 AM   #7
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Kendras View Post
Very nice !

@gap : I don't manage to make the light city work properly. So, I send you the files : there is a single mission ("QM") which starts before night, so you can use Time Compression and see difference between day and night.

https://www.mediafire.com/file/3jctm...-%20QM%20v1.7z
Check the lateral lanterns (green and red) models, and try to find what's wrong .
  Reply With Quote
Old 10-09-17, 04:03 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
Oh, I forgot to delete them...
Quote:
Originally Posted by Kendras View Post
Check the lateral lanterns (green and red) models, and try to find what's wrong .
I have tried to fix them, but still no joy. By the way: I have placed one of the stock houses on top of the Queen Mary (through placement node), Its windows are lit up at night, so the idea is still valid: we just need to discover what is wrong with our implementation of it
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-09-17, 04:30 PM   #9
VonDos
Ocean Warrior
 
Join Date: Mar 2007
Location: Italy
Posts: 2,526
Downloads: 82
Uploads: 76


Default

Quote:
Originally Posted by gap View Post
I have tried to fix them, but still no joy. By the way: I have placed one of the stock houses on top of the Queen Mary (through placement node), Its windows are lit up at night, so the idea is still valid: we just need to discover what is wrong with our implementation of it
Hi!
Maybe you can clone the house object, re-model him like portholes (with same materials but different textures?) creating a new library object... so we will maybe have enlighted nightime portholes like a library part we can link as equipment in timeline...

Best regards,
Vd
__________________

Those, others and WIP ships are avaiable in my SHIPYARD here:
http://www.subsim.com/radioroom/showthread.php?t=136508
VonDos is offline   Reply With Quote
Old 10-09-17, 05:56 PM   #10
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by VonDos View Post
Hi!
Maybe you can clone the house object, re-model him like portholes (with same materials but different textures?)
That's exactly the point: I can change names, textures, etc, but when I replace the stock house model with a similar mesh, the light effect becomes broken.

I must be doing something wrong. Still investigating
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-10-17, 08:15 AM   #11
VonDos
Ocean Warrior
 
Join Date: Mar 2007
Location: Italy
Posts: 2,526
Downloads: 82
Uploads: 76


Default

Quote:
Originally Posted by Kendras View Post
I always wanted to add working hornpipes to ships ! Do you think about a trigger that could be used to launch the visual and sound effect ?

Someone had the good idea to launch the effect when the rudder was turning, but how can you link rudder's position to the effect ?
Hi!
Small alternative idea!
Why don't create a new sound for queen mary only, adding a "Ship.Queen.Mary._mix" after "Ship.Passenger Ship._mix" into data->sound-> sh3.sdl? In my idea this definition should link to a new file (Queen Mary_mix, in sh3->sound directory) that should include original Passenger Ship_mix trace repeated for 10 minutes. After 8 minutes (for example, or when you want) QM's hornpipes' sound should be added to this trace.
After that, from NPPQ_.dsd, index 13 soundsource should be changed to "Ship.Queen.Mary._mix", and every 10 minutes we should be able to hear the horns' sound.
Is this possible?
Is this stupid?

Best regards,
Vd
__________________

Those, others and WIP ships are avaiable in my SHIPYARD here:
http://www.subsim.com/radioroom/showthread.php?t=136508
VonDos is offline   Reply With Quote
Old 10-10-17, 12:11 PM   #12
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 always wanted to add working hornpipes to ships ! Do you think about a trigger that could be used to launch the visual and sound effect ?

Someone had the good idea to launch the effect when the rudder was turning, but how can you link rudder's position to the effect ?
I think the rudder-triggered horn was just a never realized idea.

What is surely possible. is doing a ship to send horn/siren distress signals when she spots an enemy (through a virtual gun muzzle flash effect) and/or when she is damaged (through damage box effects)
Quote:
Originally Posted by VonDos View Post
Hi!
Small alternative idea!
Why don't create a new sound for queen mary only, adding a "Ship.Queen.Mary._mix" after "Ship.Passenger Ship._mix" into data->sound-> sh3.sdl? In my idea this definition should link to a new file (Queen Mary_mix, in sh3->sound directory) that should include original Passenger Ship_mix trace repeated for 10 minutes. After 8 minutes (for example, or when you want) QM's hornpipes' sound should be added to this trace.
After that, from NPPQ_.dsd, index 13 soundsource should be changed to "Ship.Queen.Mary._mix", and every 10 minutes we should be able to hear the horns' sound.
Is this possible?
Is this stupid?
Not stupid, but I would find the same sound looping every 10 minutes quite depressing and a bit unrealistic. After all, due to their speed, the Queen Mary and her sister ship the Queen Elizabeth were often travelling out of convoy and without escort screen. Why should they use so often their horns while sailing on a straight line, in the middle of the ocean and with no other ships around, if not for casting the attenction of any passing by attacker?

P.S: I have finally managed getting night lights to work properly!
More on them later
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-11-17, 01:39 PM   #13
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by gap View Post
INot stupid, but I would find the same sound looping every 10 minutes quite depressing and a bit unrealistic. After all, due to their speed, the Queen Mary and her sister ship the Queen Elizabeth were often travelling out of convoy and without escort screen. Why should they use so often their horns while sailing on a straight line, in the middle of the ocean and with no other ships around, if not for casting the attenction of any passing by attacker?
And also you won't hear the horn, because you stop hearing ship's sound from only a few km ...

Quote:
Originally Posted by gap View Post
P.S: I have finally managed getting night lights to work properly! More on them later
Good news ! Without drawbacks ?
  Reply With Quote
Old 10-12-17, 01:39 AM   #14
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Kendras View Post
And also you won't hear the horn, because you stop hearing ship's sound from only a few km ...
Well, if the sound was set appropriately, it could be heard as far as the game 3D rendering radius

Quote:
Originally Posted by Kendras View Post
Good news ! Without drawbacks ?
Yes and no. For textures not requiring an opacity mask, it works like a charm. I couldn't manage setting the effect to work with alpha channels though.
As for the specular map of the La Plate lighthouse, grey tones in the alpha channel are readeither as black (fully trensparent) or white (fully opaque), thus killing the smooth transition effect of light halos.

There must be somewhere in SHIII materials/textures maps, a flag not known to Skwas while he was working on S3d, that tells the game wether to use alpha channels as B/W (1 bit) bitmaps, or as greyscale (8 bit) images. As I said in one of my previous posts, S3d can read/write these unknown adress(es), but it doesn't display them among the other parameters and properties available for editing. The workaround I used for the specular mask, was replacing the old material with one copied from a stock file, where it was used for a similar purpose. Unfortunately, I couldn't find so far a texture map chunk connected with a greyscale alpha channel. That means that I need to discover where is the flag that I need to change, and tweak using an hex editor
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 10-12-17, 03:27 AM   #15
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by gap View Post
Well, if the sound was set appropriately, it could be heard as far as the game 3D rendering radius
Not if the horn's sound is read on the ship's sound, else you will hear the ship's sound from 30 km ! So, the horn's sound must be separated from the ship's sound.

Quote:
Originally Posted by gap View Post
For textures not requiring an opacity mask, it works like a charm. I couldn't manage setting the effect to work with alpha channels though. The workaround I used for the specular mask, was replacing the old material with one copied from a stock file, where it was used for a similar purpose.
I see, same solution as for La Plate texture (the tower was black) !

Quote:
Originally Posted by gap View Post
As for the specular map of the La Plate lighthouse, grey tones in the alpha channel are readeither as black (fully trensparent) or white (fully opaque), thus killing the smooth transition effect of light halos.
So, we couldn't switch on/off our lighthouses' light halo depending on day/night period ?

Quote:
Originally Posted by gap View Post
Unfortunately, I couldn't find so far a texture map chunk connected with a greyscale alpha channel. That means that I need to discover where is the flag that I need to change, and tweak using an hex editor
Wow, you know how to use these things ? Else, ask Jeff Grooves.
  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:21 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.