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-19, 02:04 AM   #1
kapuhy
Grey Wolf
 
Join Date: Oct 2010
Location: Poland
Posts: 874
Downloads: 72
Uploads: 3
Default

Update: I'm mostly done with main texture - here's how it looks in S3D:



Having trouble with lightmap though, I can't get the hang of how to make specular mask properly and in game ship becomes whiter than KKK member walking out of laundry.
kapuhy is offline   Reply With Quote
Old 09-02-19, 10:45 AM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by kapuhy View Post
Update: I'm mostly done with main texture - here's how it looks in S3D:
Simply amazing, I can't wait to see her in game!

Quote:
Originally Posted by kapuhy View Post
Having trouble with lightmap though, I can't get the hang of how to make specular mask properly and in game ship becomes whiter than KKK member walking out of laundry.
That's ugly lol

Are you relying on the dat format? And if yes, have you added your lightmap using the unified render controller?
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 09-04-19, 01:04 PM   #3
kapuhy
Grey Wolf
 
Join Date: Oct 2010
Location: Poland
Posts: 874
Downloads: 72
Uploads: 3
Default

Quote:
Originally Posted by gap View Post
Are you relying on the dat format? And if yes, have you added your lightmap using the unified render controller?
Yes, it's in dat format. When I get it into relasable state in dat, then I'll see if I can port it into gr2.

As for the second question - lacking any experience with dat file structure, I approached it by using one of existing ships as template, and then changing node after node to fit my model. So my method of adding lightmap was "replace original O01.dds file with my own". I think the problem is in how I made the file, not how it was added though - in other words, I don't know what to put in alpha layer for the ship to look "natural".
kapuhy is offline   Reply With Quote
Old 09-04-19, 05:03 PM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by kapuhy View Post
Yes, it's in dat format. When I get it into relasable state in dat, then I'll see if I can port it into gr2.
Good plan

Quote:
Originally Posted by kapuhy View Post
As for the second question - lacking any experience with dat file structure, I approached it by using one of existing ships as template, and then changing node after node to fit my model. So my method of adding lightmap was "replace original O01.dds file with my own". I think the problem is in how I made the file, not how it was added though - in other words, I don't know what to put in alpha layer for the ship to look "natural".
Well, if you used a native SHIV ship as template, you should know that SH5's specular masks are probably darker than SHIV ones.

If you want to make a comparison, in SH5 those texture maps are stored in the alpha channels of main (diffuse) textures, whereas for stock SHIV units they are stored in ambient occlusion map's alpha channels (O1 etc.).

Talking on this topic, probably I have already pointed you to the thread linked below, but I recommend you to re-read it carefully as it contains reports of how various modders had to rework SHIV light maps for them to look right in SH5:

https://www.subsim.com/radioroom/sho...71#post1644371

Besides that, unless you didn't enable the ambient occlusion map in S3d, I see from your previews that your new unit is still missing one. AO maps are a bit more complicated than other maps, but they can make a big difference in how natural the illumination of various 3D objects looks in game.
Just give me a sign when you are ready to add one to your gracious model.
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 09-07-19, 12:07 PM   #5
kapuhy
Grey Wolf
 
Join Date: Oct 2010
Location: Poland
Posts: 874
Downloads: 72
Uploads: 3
Default

Thanks for this link Gap, there's a ton of useful info in this thread. I'm browsing through it and tweaking some values in my ship's files to get rid of the lighting problems and other bugs. I have to edit the .zon files as well since these still weren't changed from original ship.

I probably will have to make my own ASW weapons for it as well. Even if I could get SH3 or SH4 Y-gun to work (SH5 works, but is rendered black on dat model), they have far too much ammo for this kind of ship. And no DC chute that would fit for stern depth charges is in game files.

Meanwhile, some shots of the current version in game:







kapuhy is offline   Reply With Quote
Old 09-07-19, 12:51 PM   #6
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by kapuhy View Post
Thanks for this link Gap, there's a ton of useful info in this thread.
My pleasure

Quote:
Originally Posted by kapuhy View Post
I'm browsing through it and tweaking some values in my ship's files to get rid of the lighting problems and other bugs. I have to edit the .zon files as well since these still weren't changed from original ship.
Yes, the damage model is one of the main differences between SH5 and its predecessors. Without the tweaks that you are mentioning, your new unit wouldn't take any damage from collisions/explosions.

Quote:
Originally Posted by kapuhy View Post
I probably will have to make my own ASW weapons for it as well. Even if I could get SH3 or SH4 Y-gun to work (SH5 works, but is rendered black on dat model), they have far too much ammo for this kind of ship. And no DC chute that would fit for stern depth charges is in game files.
I don't remember having seen DC chutes in any of the stock SH5 unit. You could probably borrow a chute 3D model from one of the small ASW vessels released in the past for SHIII/IV, but looking for them would probably take much longer than modelling one from scratch...

On a side note, be warned that even though you give to your boat the appropriate unit type, depending on her displacement she might have an hard time at using her depth charges. That's caused by a limit of SH's AI, as small units try to avoid collision with bigger mass units, even though they are submerged.

Quote:
Originally Posted by kapuhy View Post
Meanwhile, some shots of the current version in game:
Wow, she looks so nice (though you haven't placed the ensign in the gaff position yet )!
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 09-08-19, 03:45 AM   #7
kapuhy
Grey Wolf
 
Join Date: Oct 2010
Location: Poland
Posts: 874
Downloads: 72
Uploads: 3
Default

Quote:
Originally Posted by gap View Post
On a side note, be warned that even though you give to your boat the appropriate unit type, depending on her displacement she might have an hard time at using her depth charges. That's caused by a limit of SH's AI, as small units try to avoid collision with bigger mass units, even though they are submerged.
That'd be a bummer... on the bright side, she doesn't have any trouble using Y-gun - in test mission it was scary good at locating me with ASDIC and then making a precision DC drop on my head.

That's with SH5 Y-gun though. SH4 and 3 Y-guns don't work, not just on my ship but on any imported ship in TWoS. I tried all kind of things with them and got nowhere.

As for damage model, I used an already imported ship in TWoS for template file, so she does sink, burn and even capsize, just in wrong way. I'll just remake all spheres/boxes to fit her dimensions and internal compartments.

By the way, is there a way to check if the ship has correct dimensions in game? I set the draft at 1,47 meters, but torpedoes launched at 1,0 and 1,2 meter depth went under her hull - I'm not sure whether it's faulty torpedoes, wave motion or wrong dimensions.
kapuhy 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:17 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.