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 11-24-22, 01:59 PM   #1
xavprx
Bilge Rat
 
Join Date: Apr 2022
Posts: 1
Downloads: 24
Uploads: 0
Default How to change the characteristics of the boat?

Hello everyone, I want to start understanding the game files in order to make mods, first I want to know how to change the characteristics and change the years to improve the Silent Hunter 5 boat?, diving depth and speed.
xavprx is offline   Reply With Quote
Old 11-25-22, 08:06 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: 9,719
Downloads: 439
Uploads: 2


Default

The best thing to do is get yourself Notepad++ or similar, and start opening the text-based files and looking at those. Anything with "cfg", "eqp", "sns", "upc", "upcge", "mis", "tsr" and a few others are actually text-based files that can be read easily. You could also download other mods, and open the same files in the mod, and compare them to what is in the stock game. Another way to do that is to use WinMerge to compare the files. The graphic interface there really helps understand where the differences between files are.

Once you think you know what you want to attempt to tweak, you'll want to make a mod. To do that, navigate into the game folder, and if it is not there already, create a folder and name it "MODS", which is the folder that [url=https://www.subsim.com/radioroom/downloads.php?do=file&id=5473]JSGME[/url} uses to add mods to the game. Build your mod folder structure just like the game, with a named folder for your mod at the top, such as "MyMod \Data \Cfg \Main.cfg" or whatever the folder structure is. Then you can activate your mod with JSGME, and if it fails (most first attempts do), then you can back out your changes with JSGME, and try again.
__________________

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie is offline   Reply With Quote
Old 11-27-22, 11:20 AM   #3
kapuhy
Grey Wolf
 
Join Date: Oct 2010
Location: Poland
Posts: 873
Downloads: 72
Uploads: 3
Default

Quote:
Originally Posted by xavprx View Post
Hello everyone, I want to start understanding the game files in order to make mods, first I want to know how to change the
characteristics and change the years to improve the Silent Hunter 5 boat?,
diving depth and speed.
Ok, here's a quick start to meddling with ship characteristics:

1) Go to your game folder and launch GoblinEditorApp.exe

2) Go to Tools->Options-> find "Root folder" and "Actors Directory" fields and enter your game path there

3) Now, you don't want to edit files directly in your game folder, because you'd have to reinstall entire game in case you break something you
didn't backup. Solution for this is using JGSME mod manager:

3a) If you use TWoS, JGSME is already in your game folder, and the folder for mods is called TWoS_Parts. Create a folder for your mod there.

3b) If you dont, look HERE for link and instructions how to set it up and use.

4) Ok, you created your new mod folder. Now let's say you want to edit some parameters of Type VIIa U-boat. Find following folder:

/data/Submarine/NSS_Uboat7a

and copy its contents into your new mod folder (with path, so you need to create data/Submarine folders in your mod folder).

5) Now back to GoblinEditorApp. Open it, select File->Open and go to your newly created mod folder. Find NSS_Uboat7a.GR2 file and open it. It will take a while to load.

6) You need to merge unit's configuration files now. Go to File->Merge and select the following (hold Ctrl to select them all), then click "Open":

NSS_Uboat7a.sim
NSS_Uboat7a.zon
NSS_Uboat7a.val


7) You'll see four panes:
"Scene Tree" - listing all nodes of your opened unit
"Project Tree" - listing your configuration files and controller settings
"Waypoints Editor" - close this one
fourth pane shows 3d view of a U-Boat.

8) We'll change U-Boat's speed now. In "Project Tree" pane, find entry called
unit_Submarine@NSS_Uboat7a and double-click it. It will open a window with ship basic parameters. Find "unit_Submarine" behavior and click it. "Edit behavior" pane on the right find and expand unit_Ship class and then Propulsion. edit max_speed to your liking. If you want to edit submerged speed, do the same to E_propulsion class.

9) Now for crash depth. Find CollisionableObject behavior and edit CrashDepth parameter. Close the window.

10) After closing window you'll notice that some config files and their controllers in "Project Tree" pane changed color to red. To save changes you've made, right-click the highlighted file names and select "Save file" from menu that'll appear.

You can exit Goblin Editor now.

11) Now you need to enable your mod. Launch JGSME, find your mod on the list and enable it. Exit JGSME. You'll have to disable and then enable your mod again after every new change you make. The good part is that if you mess up something and, for example, cause game to CTD - all you need to do to fix the game is to disable the mod causing the problem.

12) Launch SH5 and have fun with your edited U-Boat

Useful links:
Goblin Editor Guide
GR2 Editor Thread
Also, if you get stuck at anything, feel free to PM me - I might be slow to answer but will try to help with whatever I can.
kapuhy is offline   Reply With Quote
Old 11-27-22, 12:27 PM   #4
Aktungbby
Gefallen Engel U-666
 
Aktungbby's Avatar
 
Join Date: Jul 2013
Location: On a tilted, overheated, overpopulated spinning mudball on Collision course with Andromeda Galaxy
Posts: 27,709
Downloads: 22
Uploads: 0


Default Welcome aboard!

xavprx!
__________________

"Only two things are infinite; The Universe and human squirrelyness; and I'm not too sure about the Universe"
Aktungbby is online   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 11:42 AM.


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