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

Get ready for a whole new level of realism!
Reply
 
Thread Tools Display Modes
Old 06-05-21, 03:28 PM   #1
kapuhy
Grey Wolf
 
Join Date: Oct 2010
Location: Poland
Posts: 836
Downloads: 72
Uploads: 3
Default Adding ShipBubbles tutorial

In response do Dupxo7's post in TWoS thread, here's a short tutorial for adding air bubbles to sinking ship in SH5.

1) Configuring Goblin - if you have not used it before:

Goblin is included with SH5, and you'll find it in your SH5 folder. There's couple things to do to set it up:
- first, right click the app, acces properties and in Compatibility tab, select "disable visual themes" to prevent menus flickering
- launch Goblin, select Tools > Options and there, enter path to your SH5 folder in "ActorsDirectory" and in "RootFolder" lines.

2) Adding Bubbles:

Lets use T3 Cimmaron Tanker as an example. Its files are stored in folder:

data/Sea/NOL_T3Cimmaron

- open NOL_T03.GR2 file

- select File->Merge and double click NOL_T03.zon file

You should now see Cimmaron Tanker in 3d view window on the right. In left pane (called "GDS Scene Tree"), you see ship's bone structure and in middle pane (called "Project Tree"), its controllers. Look for controller SH3ZonesCtrl@NOL_T3 and click it. This will open damage editor window, and in 3D view you should now see a bunch of white boxes all around the ship.

- in Damage Editor, select "Box". New box will appear, highlighted red. This is you new damage zone.

- Use "Position" menu in damage editor window to move and rescale box to your liking - move it somewhere you would like bubbles to originate from, like large hatch doors or other openings. If you have problems seeing where your box is due to ship's hull obscuring it, you can toggle (under "View" in main window of Goblin) "Toggle Draw Wireframe" to enable a see-through view of the ship.

- After you've positioned your box, in "Zone Type" menu in Damage Editor, find "ShipBubbles" zone type.

- If you want bubbles come from more places, reprat these steps adding new boxes until you're satisfied.

- Close Damage Editor window.

After you've made changes, entire selection of damage controllers under NOL_T3.zon file in Project Tree will be highlighted red. Right click NOL_T3.zon and select "Save File", this will save your changes.

If you relaunch the game and sink Cimmaron Tanker again, it should generate air bubbles when sinking.

------------------------------------------
3) Making it in JGSME friendly way: Instead of changing files directly in SH5's data folder, better option is to create a new folder ("Bubbles_Mod" for example), copy all files that you will be changing together with their paths, so if a file is in:

data/Sea/NOL_T3Cimmaron

you should put the copy in:

/TWoS_Parts/Bubbles_Mod/data/Sea/NOL_T3Cimmaron

Then work on these copies instead of files in your data folder. This way, instead of messing with your TWoS installation (which could backfire if you make any mistakes), you are creating a new addon to TWoS which you can then enable/disable at will with JGSME.
kapuhy is online   Reply With Quote
Old 06-05-21, 03:47 PM   #2
Dupxo7
Swabbie
 
Join Date: Jun 2021
Posts: 7
Downloads: 1
Uploads: 0
Default

Thank you very much
Dupxo7 is offline   Reply With Quote
Old 06-05-21, 05:34 PM   #3
tonschk
Sea Lord
 
Join Date: Mar 2007
Posts: 1,898
Downloads: 172
Uploads: 0
Default

Thank you very much for this tutorial
__________________
What we do in life echoes in Eternity
tonschk is offline   Reply With Quote
Old 06-05-21, 06:47 PM   #4
fitzcarraldo
Argentinian Skipper
 
fitzcarraldo's Avatar
 
Join Date: Jul 2009
Location: Somewhere between Buenos Aires and the Bungo Suido
Posts: 4,760
Downloads: 2824
Uploads: 0


Default

Many tahnks for this tutorial.

Regards.

Fitzcarraldo
__________________



My subject is War, and the pity of War. The Poetry is in the pity - Wilfred Owen.
fitzcarraldo is online   Reply With Quote
Old 06-12-21, 04:06 PM   #5
Dupxo7
Swabbie
 
Join Date: Jun 2021
Posts: 7
Downloads: 1
Uploads: 0
Default

Jesus, almost all imported SH3 and SH4 ships don't have ShipBubbles zones. Many default SH5 ships too. That will be looooooong task to set bubbles zones (15 ships done so far).



BTW. This GoblinEditor is piece of crap. Errors and bugs everywhere, everytime, CTDs. God help me please.


Now I admire the enthusiasm and stubbornness of the modders even more.
Dupxo7 is offline   Reply With Quote
Old 06-13-21, 05:32 AM   #6
kapuhy
Grey Wolf
 
Join Date: Oct 2010
Location: Poland
Posts: 836
Downloads: 72
Uploads: 3
Default

Quote:
Originally Posted by Dupxo7 View Post
Jesus, almost all imported SH3 and SH4 ships don't have ShipBubbles zones. Many default SH5 ships too. That will be looooooong task to set bubbles zones (15 ships done so far).
Weird, I was under impression that imported ships mostly have them... just checked some imported ships at random and all had bubbles. Could you post some imported ship classes that you found lack them?


Quote:
Originally Posted by Dupxo7 View Post
BTW. This GoblinEditor is piece of crap. Errors and bugs everywhere, everytime, CTDs. God help me please.
Heh, wait till you use GR2 Editor (written from scratch (!) by modder TheDarkWraith, it is currently only tool to edit GR2 models in SH5 for people who don't speak binary. While it's an amazing feat by single modder and enabled us to add new ships and planes in GR2 format, it remains quite difficult to use since TDW never finished working on it, and a lot of its features were left incomplete).

EDIT: I don't know how you do it, but as far as Goblin is concerned, I had far less crashes and errors if I launch Goblin first and then open gr2/dat file from within it, then if I try to open gr2 file using "Open with...Goblin Editor" option from context menu.
kapuhy is online   Reply With Quote
Old 06-20-21, 09:21 AM   #7
Dupxo7
Swabbie
 
Join Date: Jun 2021
Posts: 7
Downloads: 1
Uploads: 0
Default

Quote:
Originally Posted by kapuhy View Post
Weird, I was under impression that imported ships mostly have them... just checked some imported ships at random and all had bubbles. Could you post some imported ship classes that you found lack them?

I had to add ShipBubbles zones to:


NACA
NAMC
NATF
NKEF
NKL
NKLCS_C2SB1
NKLSS_HAKUSIKA
NKLSS_HAKUSIKA2
NKMCS_AKITA
NKMCS_AKITA2
NKMCS_C1B
NKMCS_ZINBU
NKMSS_BIYO
NKMSS_BIYO2
NKMSS_FR3
NKMSS_GRANVILLE
NKMSS_HOGISLAND
NKMSS_WARMELODY
NKMV
NOL_T3CIMMARON
NOM_RANGER
NKPF
NKPMCS_EXPRESS
NKSS_CA2
NKSS_YAE
NLLS
NOL_NIPPON
NOM_PAULA
NOS_HARUNA
NOTMs
NPL_HAP
NPL_HAP2
NPL_kiturin


33 ships.
Dupxo7 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 09:25 AM.


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