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 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 09-02-11, 02:26 PM   #1
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by 0rpheus View Post
Kapitan - this isn't directly related to the hull wetness mod, but after seeing what you did with this, it made me wonder if you can also implement something else.

When playing in the winter months, I've noticed a rather cool 'ice' effect on merchants and warships - makes them look frosted over from the cold. First time I saw it I thought how cool it was (no pun intended, lol) and I wondered if it would be possible to implement the same effect on a surfaced uboat?

Just a thought, no idea if it's even possible... any thoughts?
ice is defined via a .dds file for a unit. The sub's must be missing this .dds file then
TheDarkWraith is offline   Reply With Quote
Old 09-02-11, 02:46 PM   #2
0rpheus
Grey Wolf
 
Join Date: Jul 2011
Location: UK
Posts: 857
Downloads: 87
Uploads: 3
Default

Quote:
Originally Posted by TheDarkWraith View Post
ice is defined via a .dds file for a unit. The sub's must be missing this .dds file then
Hmm, is it possible to add it, do you think, or are those files specifically for the merchant/warships?
0rpheus is offline   Reply With Quote
Old 09-02-11, 02:51 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by 0rpheus View Post
Hmm, is it possible to add it, do you think, or are those files specifically for the merchant/warships?
not sure. Haven't looked into anything dealing with it except for how the game showed ice on some ships.

Look in \data\Textures\TNormal\tex and the files ending in _ice are responsible for adding this ice to the ships. If you view them with image editor you'll see how the ice is defined.
TheDarkWraith is offline   Reply With Quote
Old 09-02-11, 03:18 PM   #4
0rpheus
Grey Wolf
 
Join Date: Jul 2011
Location: UK
Posts: 857
Downloads: 87
Uploads: 3
Default

Quote:
Originally Posted by TheDarkWraith View Post
not sure. Haven't looked into anything dealing with it except for how the game showed ice on some ships.

Look in \data\Textures\TNormal\tex and the files ending in _ice are responsible for adding this ice to the ships. If you view them with image editor you'll see how the ice is defined.
Will this work in a normal image viewer or will I need a special program? My talents lie exclusively as a writer - I'm appalling at graphics so I very much doubt I'd be any help on this. If you wanted scripts for a crew dialogue mod to improve the crew 'story', or in fact stories in general then I'm your man - but stuff like this I should leave to the experts!

edit: of course I'm happy to help out with any testing required.

Last edited by 0rpheus; 09-02-11 at 03:30 PM.
0rpheus is offline   Reply With Quote
Old 09-02-11, 07:27 PM   #5
kapitan_zur_see
Commodore
 
Join Date: Mar 2005
Location: France
Posts: 614
Downloads: 60
Uploads: 0
Default

Sorry lads, been away for a while... Regarding that ice stuff, NOW that's a great idea!!! I Love it!! Many thanks pals! Just as I was out of modding ideas... I'm going to work on that as soon as I get Back after the weekend. That could be quite an eye-candy and immersion thingy!

Will stay in touch for progress! Can't wait to get to it
__________________

kapitan_zur_see is offline   Reply With Quote
Old 09-02-11, 07:36 PM   #6
0rpheus
Grey Wolf
 
Join Date: Jul 2011
Location: UK
Posts: 857
Downloads: 87
Uploads: 3
Default

Quote:
Originally Posted by kapitan_zur_see View Post
Sorry lads, been away for a while... Regarding that ice stuff, NOW that's a great idea!!! I Love it!! Many thanks pals! Just as I was out of modding ideas... I'm going to work on that as soon as I get Back after the weekend. That could be quite an eye-candy and immersion thingy!

Will stay in touch for progress! Can't wait to get to it
Awesome! Can't wait to hear your progress
0rpheus is offline   Reply With Quote
Old 09-02-11, 07:37 PM   #7
tonschk
Admiral
 
Join Date: Mar 2007
Posts: 2,200
Downloads: 172
Uploads: 0
Default

kapitan_zur_see
__________________
What we do in life echoes in Eternity
tonschk is offline   Reply With Quote
Old 09-02-11, 07:56 PM   #8
kapitan_zur_see
Commodore
 
Join Date: Mar 2005
Location: France
Posts: 614
Downloads: 60
Uploads: 0
Default

Looking at your type VII All wet and icy on a winter grey and overcast morning is going to be quite yummy
__________________

kapitan_zur_see is offline   Reply With Quote
Old 09-05-11, 12:04 PM   #9
kapitan_zur_see
Commodore
 
Join Date: Mar 2005
Location: France
Posts: 614
Downloads: 60
Uploads: 0
Default

mmm... Obviously it doesn't work this easily, sadly.

If I try and create an ice texture for the uboat, it simply won't appear ingame. For example, taking Uboat7A_deck.dds, replicate the texture adding some ice on it and renaming it Uboat7A_deck_ice.dds to mimic the file structure for other boats simply don't work and won't show anything.

Apparently, there's some kind of trigger linked to the time period of the year that makes it so the textures switches to their _ice.dds counterpart, but apparently, it won't do so for any textures of any sea object as if it was just checking for the _ice suffix.

Can't find such a trigger anywhere under goblin and GR2 files, I fear it may be hard-coded... TDW, any thoughts maybe?
I'd be interesting in knowing just how the game knows which textures to use for each given 3d model, as it may be there. Hexediting GR2 files maybe...
__________________

kapitan_zur_see is offline   Reply With Quote
Old 09-05-11, 01:39 PM   #10
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Ice appearing on Units is controlled by Ship Render Controller.
There must be a 3D mesh in said Unit to do this.
Examine the Penguin in Granny Viewer (best for detailed information)
or Goblin. (only allows viewing the Mesh itself)

To have Ice on other Units?
We need to add the needed meshes and more.
  Reply With Quote
Old 09-05-11, 04:17 PM   #11
kapitan_zur_see
Commodore
 
Join Date: Mar 2005
Location: France
Posts: 614
Downloads: 60
Uploads: 0
Default

On most detailed ships, the icing effect comprise two things:
  • indeed a mesh system in the GR2 file, for example one called _ice_hull_X (hide by default in goblin) that is a simple 3d plan where a transparent texture is applied which depict icicles. Same texture is always used and tile repeated.
  • The overall textures of the boat are switched to their alternative versions ending with _ice.dds . Basically the same textures but with some ice painted on them. (some boats only have this effect and no icicles)
Can't find any controller in goblin called "Ship Render Ctrl", I supposed you meant by that nodes in the GDS_scene tree? Anyway, can't see any controller you could add/modify (like the granny caustic ctrl for example) that is controlling the switching of winter/non winter version.

Must be hardcoded somewhere I presume.
__________________

kapitan_zur_see is offline   Reply With Quote
Reply


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:13 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.