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

Closed Thread
 
Thread Tools Display Modes
Old 10-25-11, 01:04 PM   #1
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
Downloads: 174
Uploads: 0
Default

Small bit of info...

There is still one ghost ship on the loose without no textures. I thought I fixed it in the previous patch, but no... So don't be alarmed if you see a black ship, fix is on the way.
Rongel is offline  
Old 10-26-11, 05:21 AM   #2
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 888
Uploads: 23


Default

Quote:
Originally Posted by Rongel View Post
Small bit of info...

There is still one ghost ship on the loose without no textures. I thought I fixed it in the previous patch, but no... So don't be alarmed if you see a black ship, fix is on the way.
I just encountered a British NPL_Hap that had no texture.
I checked the data\Roster\British\Sea\NPL_Hap.cfg and it is correct
TextureName=data/Sea/NPL_Hap/NPL_Hap_T01.dds
I checked the the texture data\Sea\NPL_Hap\NPL_Hap_T01.dds texture and it was there.

My guess is that the error must be in the Material specified in DAT file.

Regards!
TheBeast
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire
TheBeast is offline  
Old 10-26-11, 07:02 AM   #3
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
Downloads: 174
Uploads: 0
Default

Quote:
Originally Posted by TheBeast View Post
I just encountered a British NPL_Hap that had no texture.
I checked the data\Roster\British\Sea\NPL_Hap.cfg and it is correct
TextureName=data/Sea/NPL_Hap/NPL_Hap_T01.dds
I checked the the texture data\Sea\NPL_Hap\NPL_Hap_T01.dds texture and it was there.

My guess is that the error must be in the Material specified in DAT file.

Regards!
TheBeast
Hi Beast!

This ship has been giving me grey hairs...

It's difficult when there is so many people involved and different kinds of techniques used and bla bla blaa. Anyway, I think I got it fixed, this is again random bug so it makes things a bit complicated. I have to double check the materials too! Needs a lot of testing
Rongel is offline  
Old 10-26-11, 07:50 AM   #4
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 888
Uploads: 23


Default

I did find 1 possible issue in the NPL_Hap.dat file.
The ships 3D Model has 3 MAP Channels but there are only 2 Materials specified in the Parent Node.
That leaves 1 MAP Channel without a specified texture. Since this is the last texture applied, it can result in Black Un-Textured ship.

You may be able to fix it by adding another cfg#TXR_NPL_Hap Material Node and adding that new Material to the 3D Model Parent Node Materials List.

I updated my NPL_Hap.dat and will check the Museum and let you know if that fixes it.

-=[Update]=-
After adding new Material node for cfg#TXR_NPL_Hap and adding new Material to the 3D Model Parent Node Materials list in 3 places the ship renders correctly in Museum.
Now I need to encounter one at sea again.
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire

Last edited by TheBeast; 10-26-11 at 09:29 AM.
TheBeast is offline  
Old 10-26-11, 02:44 PM   #5
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
Downloads: 174
Uploads: 0
Default

Quote:
Originally Posted by TheBeast View Post
I did find 1 possible issue in the NPL_Hap.dat file.
The ships 3D Model has 3 MAP Channels but there are only 2 Materials specified in the Parent Node.
That leaves 1 MAP Channel without a specified texture. Since this is the last texture applied, it can result in Black Un-Textured ship.

You may be able to fix it by adding another cfg#TXR_NPL_Hap Material Node and adding that new Material to the 3D Model Parent Node Materials List.

I updated my NPL_Hap.dat and will check the Museum and let you know if that fixes it.

-=[Update]=-
After adding new Material node for cfg#TXR_NPL_Hap and adding new Material to the 3D Model Parent Node Materials list in 3 places the ship renders correctly in Museum.
Now I need to encounter one at sea again.
I think that all the imported ships have 3 materials specified, the third is for the damage layer I believe. I got good results by giving the T01 texture mip maps, for some reason this ship is missing them in latest OH II patch ( I didn't click the generate mipmaps in Photoshop when I saved it).

One good way to test this behaviour is to make a single mission where the ship spawns lets say 100 km from you, that way the game handles it like in campaign when you meet it. No textures missing yet.

Yep, more testing to do.
Rongel is offline  
Old 10-26-11, 05:48 PM   #6
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 888
Uploads: 23


Default

Quote:
Originally Posted by Rongel View Post
I think that all the imported ships have 3 materials specified, the third is for the damage layer I believe. I got good results by giving the T01 texture mip maps, for some reason this ship is missing them in latest OH II patch ( I didn't click the generate mipmaps in Photoshop when I saved it).

One good way to test this behaviour is to make a single mission where the ship spawns lets say 100 km from you, that way the game handles it like in campaign when you meet it. No textures missing yet.

Yep, more testing to do.
Isn't there a DMG 3D Model specifically for the Damage Layer?

In SHIII/IV when, for example, the Conning 3D Model had a MAP Channel defined for Tower Emblems. If no material was specefied for that channel a black square would render on the side of the Tower where the Emblem was suppose to be.

Just a thought...

Anyway, this is wrong forum thread for this discussion.

-=[UPDATE]=-
My solution did not work. The ship is still rendering black in Campaign. Almost as if 3D Damage Model is overwriting Texture.
Going to try adding transparent image to DMG 3D Model MAP Channel 1, 2 and move damage texture to MAP Channel 3.

-=[UPDATE 2]=-
That fixed it. Added transparent texture for material and adding to 3D DMG Model Parent node Materials list MAP Channel 1 and 2 and boat renders correctly in campaign now.
Just create transparent 10x10 texture "data\Textures\TNormal\tex\blank.tga"
Download here http://www.mediafire.com/?w86iapklybbsw
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire

Last edited by TheBeast; 10-27-11 at 09:24 AM.
TheBeast is offline  
Old 11-01-11, 11:15 PM   #7
THE_MASK
Ace of the deep .
 
THE_MASK's Avatar
 
Join Date: Jan 2006
Posts: 9,153
Downloads: 901
Uploads: 73


Default

What file defines the class types for ships?
THE_MASK is offline  
Closed Thread

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 01:22 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.