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 05-18-11, 10:51 AM   #1
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
Downloads: 174
Uploads: 0
Default

Importing Silent Hunter 4 Stock Ships to Silent Hunter 5 Tutorial




Part 1.
Basic Import

To begin, you need a copy of SH 4 and Skwasjer's great Silent 3ditor and a very limited modding skills. There is example import included at the end of the post.

1. Select a ship you want to import from SH 4 (SH4/data/Sea) and copy it to SH 5. I suggest you make a new mod for it. Copy also the selected ships roster file (SH4/data/Roster/*Nation name*/Sea/) and place it to your mods roster folder to the nation you want it to have. Keep the same filestructure that Sh 4 has.

2. Your new import ship works already, and should show in game, but it doesn't have Collision model yet. So open your ships dat-file with S3D. I'm using as an example NKSSS_Kasagisan-ship. Now click the ships main node, in this case it's called 7:Node - NMFMSSS. Create a new child node (type 4/100) to it by right clicking it. Then create a new child node to the node you just created. This time select 8/0 Label-node. Now give the label node a name called DMG_col_NMFMSSS. This is the most important thing! NMFMSSS means here your ships main nodes name.

You notice when you click your new node that there reads in blue text Linked 3D model. Currently there is none. So open again the ships main node 7:Node - NMFMSSS and click it's 3D model node. Up center of the S3D screen there reads the 3D models ID number. Copy it and paste it to your new nodes Linked 3D model/Model ID field. Then uncheck the DMG_col-node's Visibility. Voila! Now you have basic damage model to your ship.

3. Search (Ctrl + F) for WaterReflection and delete all those nodes and their child nodes too. SH 4 water reflections just don't seem to work, so it's not neccessary to keep those.

4. It's ready, and fully functional*! Save and apply your mod. Check the situation in Mission editor, if your ship doesn't show there, something is propably wrong with the roster file. Create a new single mission and test your ship in action!

*Known Bugs:

-Ships don't break in half
-Ships don't cast shadows
-There is no water reflections
-Ships don't show through water when looked above waterline

Download
Kasagisan example import ship mod!

Note: I'm not saying this is the right way to import ships, but this is the easiest and most functional way that I know. And after this you need to add guns and crew to your ship, possibly tweak your ships floating mechanics and adjust the textures. But that is a story for another night!

Big thanks for this goes to TDW! If I forgot something, please tell and I'll update this. SteelViking can also add if there is mistakes. And sorry if it's not understandable, making a tutorial is much harder than it sounds... I hope that you also study the import threads, there is no point importing if you just follow instructions, you need to know what is going on too! Good luck
Rongel is offline   Reply With Quote
Old 05-18-11, 10:51 AM   #2
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
Downloads: 174
Uploads: 0
Default

Reserved by Rongel!
Rongel is offline   Reply With Quote
Old 05-18-11, 10:57 AM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

I linked your tutorial in post #1
TheDarkWraith is offline   Reply With Quote
Old 05-19-11, 07:45 PM   #4
Chevelless
Mate
 
Join Date: Jul 2010
Posts: 60
Downloads: 30
Uploads: 0
Default

you are making progress everyday!

Good job keep it up. Finally we may see a total different SH5
Chevelless is offline   Reply With Quote
Old 05-19-11, 07:51 PM   #5
Stormfly
Serial Port Protector
 
Stormfly's Avatar
 
Join Date: Sep 2002
Posts: 1,424
Downloads: 370
Uploads: 0
Default

also working on importing my first ship (New Passenger/Hospitalship by AOTD|MadMax 09.07.2008), nearly finished nr. 1 ...

...i hear impacts and see damage and so on but i cant hear explosions or burning fires, sinking sounds are present... and what to do spawning live boats
__________________
Stormy......


Last edited by Stormfly; 05-19-11 at 08:03 PM.
Stormfly is offline   Reply With Quote
Old 05-19-11, 07:54 PM   #6
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Lynnwood, WA
Posts: 1,533
Downloads: 888
Uploads: 23


Default

@ Gap
you may want to check Armor level in ZON file and compare with native tanker settings.

in SH4 I have had this Nippon Tanker leave a fire trail up to 2Km long before it sank. Posted pic of it in SH4 Forum around 2 years ago.
Not sure if I was using TMO or FoTRS at the time.
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire
TheBeast is offline   Reply With Quote
Old 05-19-11, 09:27 PM   #7
Stormfly
Serial Port Protector
 
Stormfly's Avatar
 
Join Date: Sep 2002
Posts: 1,424
Downloads: 370
Uploads: 0
Default

...some screens of the current progress (Passenger/Hospitalship by AOTD|MadMax)

Passenger Ship

...all damage is working and showing, sinking without a problem, effect sounds for explosions and fires are missing at current.



sim file reworked (mass and CG hight)... maybe Stoianm have to review it... added SH5 bow/stern ship wakes.



added TDW`s advised alpha and Oxx.dds setting using photoshop... not shure if the effect is strong enough.



reworked textures a bit (they are a bit low in res) exchanged wood deck, added rust bumps to some areas, added crew spotlights and aa-guns.




...the Hospital-Ship will be next, have to figure how to lighten them (nav & window lights).
__________________
Stormy......


Last edited by Stormfly; 05-20-11 at 03:43 AM.
Stormfly is offline   Reply With Quote
Old 05-21-11, 03:36 AM   #8
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Did you verify that the zones defined in the boxes (for collisions/flooding) exist in SH5's \data\Zones.cfg? Sounds like there are incompatibilities (and/or missing entries) here.
The game is probably freezing because the Zone is trying to play an effect that doesn't exist in SH5.
Ok, I've checked the .zon file in both s3d and goblin editor (by opening the .dat file and then merging the .zon file).
Maybe I looked at the wrong entries but all of the types found in Poperty Tree => Boxes, for each of the SH3ZonesCtrl nodes, are matching in number the entries found in SH5 zones.cfg [Zones List]. Did I do something wrong?
I've seen that i the zon file there's also a node called SinkingEffects that could be related with the freeze problem, but I am not able to see its parameters either with s3d and Goblin Editor.

I am stuck now, so if someone got a clue and/or wants to look into the imported ship himself I will owe a beer or maybe two to him!

I've posted the link some posts back, but here it is again:

http://www.megaupload.com/?d=Q7NQ9LPH

Quote:
Originally Posted by TheBeast View Post
@ Gap
you may want to check Armor level in ZON file and compare with native tanker settings.

in SH4 I have had this Nippon Tanker leave a fire trail up to 2Km long before it sank. Posted pic of it in SH4 Forum around 2 years ago.
Not sure if I was using TMO or FoTRS at the time.
Thank you TheBeast,
I've changed the ArmourLevel in ColisionableObject node according to Cimarron Tanker settings (from 17 to 19). I'm not sure if that's what you were referring to, but it didn't work either: in my last test it made very difficult to sink the tanker (she ate 6 pills before sinkig!) but after the hp reched 0 the game freezed again...
gap is offline   Reply With Quote
Old 05-21-11, 03:05 PM   #9
Rongel
Grey Wolf
 
Join Date: Jan 2009
Location: Finland
Posts: 857
Downloads: 174
Uploads: 0
Default

Quote:
Originally Posted by gap View Post
Ok, I've checked the .zon file in both s3d and goblin editor (by opening the .dat file and then merging the .zon file).
Maybe I looked at the wrong entries but all of the types found in Poperty Tree => Boxes, for each of the SH3ZonesCtrl nodes, are matching in number the entries found in SH5 zones.cfg [Zones List]. Did I do something wrong?
I've seen that i the zon file there's also a node called SinkingEffects that could be related with the freeze problem, but I am not able to see its parameters either with s3d and Goblin Editor.

I am stuck now, so if someone got a clue and/or wants to look into the imported ship himself I will owe a beer or maybe two to him!

I've posted the link some posts back, but here it is again:

http://www.megaupload.com/?d=Q7NQ9LPH



Thank you TheBeast,
I've changed the ArmourLevel in ColisionableObject node according to Cimarron Tanker settings (from 17 to 19). I'm not sure if that's what you were referring to, but it didn't work either: in my last test it made very difficult to sink the tanker (she ate 6 pills before sinkig!) but after the hp reched 0 the game freezed again...
Hi Gap!

I made quick import on Nippon (only added the DMG_col_Nippon) and it sunk just fine! So the bug must be either related to deleting the Reflect-nodes, or your single mission. I don't know much about making missions, but your ships showed green on your mission, I have British ships shown always in red... And remeber that there was a bug somewhere that made the game crash if you sunk allied ship. Anyway, there isn't anything wrong in the ship itself. Hope this helps!

Screenie: ship was destroyed and spawned lifeboats

Rongel is offline   Reply With Quote
Old 05-18-11, 11:01 AM   #10
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

Nothing to add here, sounds good Rongel, that really is all you need to get a ship into SH5 and have it functional. Making it look pretty takes a good bit more work, but nothing too complicated.

Honestly the most time consuming part when importing is redoing the shadow map and base texture for it.
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Old 05-19-11, 03:02 PM   #11
Sepp von Ch.
Sea Lord
 
Join Date: Dec 2009
Location: In my U-552 and Tiger
Posts: 1,730
Downloads: 788
Uploads: 0
Default

My lovely target - big tanker! Very good work gap!
__________________
U-552
Tiger
IDF
Sepp von Ch. is offline   Reply With Quote
Old 05-18-11, 02:42 PM   #12
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Rongel View Post
Importing Silent Hunter 4 Stock Ships to Silent Hunter 5 Tutorial




Part 1.
Basic Import

To begin, you need a copy of SH 4 and Skwasjer's great Silent 3ditor and a very limited modding skills. There is example import included at the end of the post.

1. Select a ship you want to import from SH 4 (SH4/data/Sea) and copy it to SH 5. I suggest you make a new mod for it. Copy also the selected ships roster file (SH4/data/Roster/*Nation name*/Sea/) and place it to your mods roster folder to the nation you want it to have. Keep the same filestructure that Sh 4 has.

2. Your new import ship works already, and should show in game, but it doesn't have Collision model yet. So open your ships dat-file with S3D. I'm using as an example NKSSS_Kasagisan-ship. Now click the ships main node, in this case it's called 7:Node - NMFMSSS. Create a new child node (type 4/100) to it by right clicking it. Then create a new child node to the node you just created. This time select 8/0 Label-node. Now give the label node a name called DMG_col_NMFMSSS. This is the most important thing! NMFMSSS means here your ships main nodes name.

You notice when you click your new node that there reads in blue text Linked 3D model. Currently there is none. So open again the ships main node 7:Node - NMFMSSS and click it's 3D model node. Up center of the S3D screen there reads the 3D models ID number. Copy it and paste it to your new nodes Linked 3D model/Model ID field. Then uncheck the DMG_col-node's Visibility. Voila! Now you have basic damage model to your ship.

3. Search (Ctrl + F) for WaterReflection and delete all those nodes and their child nodes too. SH 4 water reflections just don't seem to work, so it's not neccessary to keep those.

4. It's ready, and fully functional*! Save and apply your mod. Check the situation in Mission editor, if your ship doesn't show there, something is propably wrong with the roster file. Create a new single mission and test your ship in action!

*Known Bugs:

-Ships don't break in half
-Ships don't cast shadows
-There is no water reflections
-Ships don't show through water when looked above waterline

Download
Kasagisan example import ship mod!

Note: I'm not saying this is the right way to import ships, but this is the easiest and most functional way that I know. And after this you need to add guns and crew to your ship, possibly tweak your ships floating mechanics and adjust the textures. But that is a story for another night!

Big thanks for this goes to TDW! If I forgot something, please tell and I'll update this. SteelViking can also add if there is mistakes. And sorry if it's not understandable, making a tutorial is much harder than it sounds... I hope that you also study the import threads, there is no point importing if you just follow instructions, you need to know what is going on too! Good luck
WOW that was fast!
Thank you Rongel, I am putting myself at work now!
gap is offline   Reply With Quote
Old 05-18-11, 02:55 PM   #13
SteelViking
The Old Man
 
Join Date: Mar 2010
Location: U.S.A.-East Coast
Posts: 1,587
Downloads: 86
Uploads: 4
Default

Unless anyone has any objections, I will start importing the NKSCS_Taihosan from SHIV.
__________________

He sank 198,650 tons....who you ask?....Erich Topp, that's who!
SteelViking is offline   Reply With Quote
Old 05-19-11, 11:30 PM   #14
nozaurio
Planesman
 
Join Date: Jul 2010
Location: Venezuela
Posts: 181
Downloads: 65
Uploads: 0
Default

This is really great, thanks to these great masters, this simulator becomes more interesting.

I do not regret buying this game ...
nozaurio is offline   Reply With Quote
Old 05-20-11, 03:35 AM   #15
urfisch
Sea Lord
 
Join Date: Mar 2005
Location: Deep down in Germany
Posts: 1,944
Downloads: 42
Uploads: 0
Default

yes, it is getting interesting...
__________________


urfisch 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:31 PM.


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.