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 07-07-23, 01:54 PM   #1
Imarider
Mate
 
Join Date: Aug 2017
Posts: 51
Downloads: 103
Uploads: 0
Default Ships zon, sim, dat files

If i add .zon file for any ship from another mod or just change it by adding zone from zones.cfg, should i add (change) .dat, .sim and other files for that ship?
Imarider is offline   Reply With Quote
Old 07-07-23, 04:07 PM   #2
KaleunMarco
Silent Hunter
 
KaleunMarco's Avatar
 
Join Date: Sep 2007
Location: Gone to Texas. No More Kleptocratic Government for me!
Posts: 4,257
Downloads: 461
Uploads: 29


Default

Quote:
Originally Posted by Imarider View Post
If i add .zon file for any ship from another mod or just change it by adding zone from zones.cfg, should i add (change) .dat, .sim and other files for that ship?
be careful, now.
the files you mention (zon,dat,sim,et.al) all have pointers to other files.
simply copying-pasting and renaming is perilous and will normally lead to the land of CTD.

can i ask what you are trying to accomplish by swapping in a replacement .zon file? there may be an easier way to do what you want to do.
__________________
there are only two things in the world: submarines and targets.
Fortis et stabilis et fidelis, semper


------------------------------------------------------------
Silent Hunter 4 1.5 Gold Edition on CDROM
LAA enabled
Dell XPS with 32 GB Ram running Win10
KaleunMarco is offline   Reply With Quote
Old 07-07-23, 05:37 PM   #3
Imarider
Mate
 
Join Date: Aug 2017
Posts: 51
Downloads: 103
Uploads: 0
Default

I want to add RFB ships with it's sinking system in FotRSU. Newer tryed RFB, but played TMOBH and there are you can put 3-4 torpedoes in the same spot and sink the ship. I want to add just the ships having the same name in the sea folder and having .zon file, or rename the same ships. As i looked at zones.cfg in RFB and FotRSU, there are only 1 last zone in FotRSU different, so i already have changed it number in FotRSU zones.cfg and changed it in FotRSU ships .zon files, and add the corresponding box in RFB ships .zon file. I'm not sure about last step, but as i see there are the same structure except 1 ship, still i can check the parent id. I'm already get that all zones in .zon file seems like attached to .dat file through this id, as .sim, .val and .dsd files as i understand too.

Last edited by Imarider; 07-07-23 at 05:47 PM.
Imarider is offline   Reply With Quote
Old 07-07-23, 06:48 PM   #4
KaleunMarco
Silent Hunter
 
KaleunMarco's Avatar
 
Join Date: Sep 2007
Location: Gone to Texas. No More Kleptocratic Government for me!
Posts: 4,257
Downloads: 461
Uploads: 29


Default

Quote:
Originally Posted by Imarider View Post
I want to add RFB ships with it's sinking system in FotRSU. Newer tryed RFB, but played TMOBH and there are you can put 3-4 torpedoes in the same spot and sink the ship. I want to add just the ships having the same name in the sea folder and having .zon file, or rename the same ships. As i looked at zones.cfg in RFB and FotRSU, there are only 1 last zone in FotRSU different, so i already have changed it number in FotRSU zones.cfg and changed it in FotRSU ships .zon files, and add the corresponding box in RFB ships .zon file. I'm not sure about last step, but as i see there are the same structure except 1 ship, still i can check the parent id. I'm already get that all zones in .zon file seems like attached to .dat file through this id, as .sim, .val and .dsd files as i understand too.
Quote:
If i add .zon file for any ship from another mod or just change it by adding zone from zones.cfg, should i add (change) .dat, .sim and other files for that ship?
ok, cool, you are going into your endeavour with eyes wide open.
excellent!
while i have worked with .zon files to the extent of varying the present values, i have not added zones to a ship model.
one of the other modders will need to read your post and provide some feedback.
__________________
there are only two things in the world: submarines and targets.
Fortis et stabilis et fidelis, semper


------------------------------------------------------------
Silent Hunter 4 1.5 Gold Edition on CDROM
LAA enabled
Dell XPS with 32 GB Ram running Win10
KaleunMarco is offline   Reply With Quote
Old 07-08-23, 12:34 PM   #5
Imarider
Mate
 
Join Date: Aug 2017
Posts: 51
Downloads: 103
Uploads: 0
Default

What about .eqp and .sns files, is NodeName taken from ship .dat file or from Library folder?
Imarider is offline   Reply With Quote
Old 07-08-23, 01:07 PM   #6
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,654
Downloads: 137
Uploads: 0


Default

Those call stuff from usually Library files.

As an example..........
The dat will have an M01 node

eqp file will assign a Main Gun to that Node.

Main Gun is in the Gun dats in Library file.
Jeff-Groves is offline   Reply With Quote
Old 07-08-23, 06:33 PM   #7
Imarider
Mate
 
Join Date: Aug 2017
Posts: 51
Downloads: 103
Uploads: 0
Default

Quote:
Originally Posted by Jeff-Groves View Post
Those call stuff from usually Library files.

As an example..........
The dat will have an M01 node

eqp file will assign a Main Gun to that Node.

Main Gun is in the Gun dats in Library file.
Well, if the .eqp or .sns files will call a node that the .dat file have not, will it cause CTD or just that equipment will not appear?

As i see there are different ship models in RFB and FotRSU, different coordinates, but for same nodes it's the same (may be not all, i didn't check), does it mean that i can add some nodes in RFB ships. dat files from FotRSU, for which equipment and sensors are assigned?

Last edited by Imarider; 07-09-23 at 07:01 AM.
Imarider is offline   Reply With Quote
Old 07-09-23, 02:30 PM   #8
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,654
Downloads: 137
Uploads: 0


Default

If a Unit is missing a Node in the dat file you can add it.
Jeff-Groves 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 05:35 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.