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-19-17, 05:54 PM   #1
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Ok. So the rock and the base are now solid (collision). The strange thing is that if I delete the 3D models circled in red, it's still working. What is special with the new 3D models (the 2 others) ?



Else, the Caustics controller works on the base, the effect is visible underwater.
  Reply With Quote
Old 07-19-17, 06:09 PM   #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
Ok. So the rock and the base are now solid (collision).
At last!

What about foam? In SH5 the game automatically spawns foam on the water surface, around objects with a StaticObject controller on them. Does it work the same for SHIII, or we will have to add the effect through val file (provided that this is possible)?

Quote:
Originally Posted by Kendras View Post
The strange thing is that if I delete the 3D models circled in red, it's still working. What is special with the new 3D models (the 2 others) ?

That's not strange

In each tree, the first model is the one used for collision detection and it is invisible in game. The second model is the one you view in game; deleting it, or making it invisible, doesn't prevent the game from still detecting collisions when another object hits the collision model

Quote:
Originally Posted by Kendras View Post
Else, the Caustics controller works on the base, the effect is visible underwater.
Nice, I didn't hope it would have worked so easily.

Does it look nice, or it will need its parameters tweaked?
Should we add it to the tower (main unit) too?
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 07-19-17, 06:20 PM   #3
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by gap View Post
What about foam? In SH5 the game automatically spawns foam on the water surface, around objects with a StaticObject controller on them. Does it work the same for SHIII, or we will have to add the effect through val file (provided that this is possible)?
Not automatic in SH3. I don't think it's possible to add this effect to a static object, but who knows ?

Quote:
Originally Posted by gap View Post
That's not strange

In each tree, the first model is the one used for collision detection and it is invisible in game. The second model is the one you view in game; deleting it, or making it invisible, doesn't prevent the game from still detecting collisions when another object hits the collision model
The strange thing is : why doesn't it work if you use only the red circled 3D models instead of the 2 others ?

Quote:
Originally Posted by gap View Post
Nice, I didn't hope it would have worked so easily.

Does it look nice, or it will need its parameters tweaked?
I don't know, as this effect is also broken on my laptop. The model is only 'flashing', and that means that the effect is working.

Quote:
Originally Posted by gap View Post
Should we add it to the tower (main unit) too?
You mean to the rock ?
  Reply With Quote
Old 07-19-17, 06:27 PM   #4
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Here is version 9 : http://www.mediafire.com/file/ajhtsd...La_Plate_v9.7z

Change log :

- deleted the Rock_LaPlate.dsd file from the Locations folder

- removed the aud_node in Rock_LaPlate.dat

- corrected the visibility of the 3D model in Lighthouse_Parts.dat

- added LLH_LaPlate.dsd

- added the Sh3.sdl file

- added the mission file with lighthouses (replaced by searchlights)

- added the Locations.cfg file (from WAC 4.1 + lighthouses)
  Reply With Quote
Old 07-19-17, 07:08 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
[B]Here is version 9 :
Cool!

I have just one remark:

Quote:
Originally Posted by Kendras View Post
- deleted the Rock_LaPlate.dsd file from the Locations folder

- removed the aud_node in Rock_LaPlate.dat

[...]

- added LLH_LaPlate.dsd
If the lighthouse (not this one in particular but I hope that, once finished, we can use its files as template for quickly importing in game similar models), is removed from game or destroyed, after your changes the sound source would be destroyed too, whereas the rock/base would stay in game, though without SFX. Is there no way to tie them back to the 'terrain object portion' of our model? I have seen that most if not all the harbors in SHIII have dsd files and SoundSource controllers connected with them, and I hoped we could do the same with our model
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 07-19-17, 07:55 PM   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Found this page with some interesting sound loops:

https://www.soundsnap.com/tags/lapping

The one that I think more fit for our needs is the one called 'Rocky lakeshore, small waves lapping - quick and bubbly'

The following SFX are nice too, but they come with some squeaky/chirpy sound (as cricket's calls) which are a bit out of place for our model:

https://freesound.org/people/Benboncan/sounds/82058/

Tomorrow I will look for other sounds, in the meanwhile let me know about the ones above
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 07-19-17, 08:05 PM   #7
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Icon14

Quote:
Originally Posted by gap View Post
Found this page with some interesting sound loops:

https://www.soundsnap.com/tags/lapping

The one that I think more fit for our needs is the one called 'Rocky lakeshore, small waves lapping - quick and bubbly'
Cool sounds ! This one sounds pretty good : "Lake, water lapping against rocky shore - calm ebb and flow".

Quote:
Originally Posted by gap View Post
What about linking seagulls to the model? It would be cool seeing them flying over our lighthouses
Good idea, but I think this is hardcoded ...
  Reply With Quote
Old 07-19-17, 07:57 PM   #8
Kendras
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by gap View Post
If the lighthouse (not this one in particular but I hope that, once finished, we can use its files as template for quickly importing in game similar models), is removed from game or destroyed, after your changes the sound source would be destroyed too, whereas the rock/base would stay in game, though without SFX. Is there no way to tie them back to the 'terrain object portion' of our model? I have seen that most if not all the harbors in SHIII have dsd files and SoundSource controllers connected with them, and I hoped we could do the same with our model
I agree. The sound was not working with the terrain object. But now you remind me that harbours have also sound attached, I had a look into a harbour's .dsd file, and I saw that the sound attached is 'Ambient.Harbour'. So I guess that it will work with your terrain object after I changed 'Land' to 'Ambient'.
  Reply With Quote
Old 07-19-17, 08:02 PM   #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
I agree. The sound was not working with the terrain object. But now you remind me that harbours have also sound attached, I had a look into a harbour's .dsd file, and I saw that the sound attached is 'Ambient.Harbour'. So I guess that it will work with your terrain object after I changed 'Land' to 'Ambient'.
Yep, I was looking exactly at that. 'Ambient' and 'Animations' are the sound prefixes most commonly associated with harbours

P.S: what about linking seagulls to the model? It would be cool seeing them flying over our lighthouses
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 07-19-17, 06:51 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
Not automatic in SH3.
Pity

Quote:
Originally Posted by Kendras View Post
I don't think it's possible to add this effect to a static object, but who knows ?
I doubt it too, but if you are on it we can try. This effect would make our lighthouses so much more nice and realistic!

Quote:
Originally Posted by Kendras View Post
The strange thing is : why doesn't it work if you use only the red circled 3D models instead of the 2 others ?
I don't know. In Sh5, collision models are the rule both for units with SH3ZonesCtrl/CollisonableObject controllers and for terrain objects using the StaticObject controller in place of the usual spheres and boxes. Digging in SHIII files, I have noticed that most objects with a StaticObject controller attached don't have collision models, so I thought the game didn't need them. That was obviously not the case for our model, don't ask me why. Luckily this afternoon I opened AntiSubNet.dat, and I got from it the clue I was missing. When I saw it had a col_ node I had an illumitation, as this prefix reminded me of analogous bones found in SH5 and connected with collision detection.

Quote:
Originally Posted by Kendras View Post
I don't know, as this effect is also broken on my laptop. The model is only 'flashing', and that means that the effect is working.
Okay, let's wait for someone with a better hardware and artistic skills to pop up and help us with the tedious but rewarding task of finetuning those effects

If no one volunteers and we become too impatient for waiting MLF to get back to us, I might decide to once again istall the game on my computer

Quote:
Originally Posted by Kendras View Post
You mean to the rock ?
Do you think caustics would be needed on the rock? Who would see them? IMO they would be a waste of computer resources, and not very realsitic anyway. In theory the effect should be visible above water more than below water (which is not the case apparently, we will discover why). I was wondering wether to add the effect to the main lighthouse structure (LLH_LaPlate.dat), but again, that would probably be too high on the sea surface for realistically receiving caustics (in real life)... Do you agree?
__________________
_____________________
|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.