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

Reply
 
Thread Tools Display Modes
Old 12-01-18, 12:23 PM   #1
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,654
Downloads: 137
Uploads: 0


Default

nik112,

There's a texture for the deck that gets exported from the dat.
Put that texture back in the dat just as the original SH3 Unit has it.
Use the tga version in the original dat.
This will apply to all units that have the separate deck texture or other images in them.

SH3 Units do not have Lightmaps so....
Your roster file should be as below.

[UnitClass]
ClassName=NPTB
UnitType=103
AppearanceDate=19380101
DisappearanceDate=19451201
DisplayName=Transport

[Texture 1]
TextureName=data/Sea/NPTB/NPTB_T01.dds
LightmapTextureName=NULL
NormalmapTextureName=NULL
AppearanceDate=19380101
DisappearanceDate=19451201

[Unit 1]
Name=Transport
DOC=19380101
DOD=19451201

There's a guide on how to create normalmapping around somewhere.
Jeff-Groves is offline   Reply With Quote
Old 12-01-18, 03:58 PM   #2
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,103
Downloads: 451
Uploads: 2


Default

Maybe this one: [TEC] SH4 models and texture maps from Skwasjer?

There is also [TUT] Bump mapping for SH4 in GFX Suites from danlisa, which has several rabbit hole links to go off into...
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 12-02-18, 04:07 AM   #3
JapLance
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by Jeff-Groves View Post
nik112,

There's a texture for the deck that gets exported from the dat.
Put that texture back in the dat just as the original SH3 Unit has it.
Use the tga version in the original dat.
DOH... it was that.

I spent hours (literally) trying to properly make a original SH3 model appear in SH4 while testing this program. Always a black deck... because I was using the converted .dds file

Using the TGA worked perfectly.



Needs some tweaking with the wake file, but it can save a lot of work.
  Reply With Quote
Old 12-02-18, 01:44 PM   #4
nik112
Samurai Navy
 
Join Date: May 2005
Location: Greece
Posts: 568
Downloads: 404
Uploads: 0
Default

Hi there
tried using dds and tga. Result the same -take a look



any ideas?
nik112 is offline   Reply With Quote
Old 12-02-18, 01:50 PM   #5
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,654
Downloads: 137
Uploads: 0


Default

You need to fix the roster file as I showed above!

Data\roster\American\sea You should have the NPTB.cfg

It controls the textures.

Look at my files.
http://www.mediafire.com/file/it4rzf...verted_NPTB.7z
Jeff-Groves is offline   Reply With Quote
Old 12-02-18, 02:23 PM   #6
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,654
Downloads: 137
Uploads: 0


Default

Quote:
Originally Posted by JapLance View Post

Needs some tweaking with the wake file, but it can save a lot of work.
That is exactly what it was intended to do. Save A LOT of work!
Now it has it's limitations.
It DOES NOT create the roster file.
If the 3D models do not have normals or AO mappings? It does not add them.
No internal damage model is added. (The one you see through the hull when it's hit)
It's a time saver, not a complete, one click solution to converting Units.

How do we add normals?
All 3D models need to be exported, taken into a 3D program, then save again as an obj file with normals. Then re-import the 3D models being sure to import the normals!
(I only know of 2 programs that will MASS export the 3D models. Pack3D which is limited or the later versions of Jammu which will export all texture mappings)

How do we add AO mappings?
This is a longer process! While the 3D models are exported take them into a 3D program being sure to move some parts as needed to place them properly! Do the AO burn and export the texture and 3D models with the AO UV's! Do your re-import.
(The program you use will determine what you have to do to get a good burn and export)

How do we add the damages 3D model?
You can create a new one or try taking one from an existing SH4 Ship. Use S3D to add it to the dat by looking at a stock SH4 ship with the damage 3D model.

Last edited by Jeff-Groves; 12-02-18 at 02:45 PM.
Jeff-Groves is offline   Reply With Quote
Old 12-15-18, 12:27 PM   #7
nik112
Samurai Navy
 
Join Date: May 2005
Location: Greece
Posts: 568
Downloads: 404
Uploads: 0
Default

Hi there
I want to ask if exists a prog to convert ships from sh4 to sh3


cheers
nik112 is offline   Reply With Quote
Old 12-23-18, 11:44 PM   #8
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,654
Downloads: 137
Uploads: 0


Default

Quote:
Originally Posted by nik112 View Post
Hi there
I want to ask if exists a prog to convert ships from sh4 to sh3
Not in one click.
Jeff-Groves is offline   Reply With Quote
Old 01-01-19, 05:17 PM   #9
max-peck
Grey Wolf
 
Join Date: Jun 2011
Location: UK
Posts: 752
Downloads: 414
Uploads: 0
Default

Very interesting
I tried manually porting a few SH3 ships to SH4 for my own install a few years back, with little success

Ill try this

Many thanks Jeff
__________________


--------------------------------------------------
Authority should derive from the consent of the governed, not from the threat of force

If the only tool you have is a hammer, pretty soon everything starts to look like a nail

FOTRS Ultimate
http://www.subsim.com/radioroom/showthread.php?t=226270
The future of SH4 - coming to a PC near you soon
max-peck is offline   Reply With Quote
Old 01-04-19, 08:15 PM   #10
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Brilliant tool! Thank you ref for coding it and Jeff for sharing
__________________
_____________________
|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 02:14 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.