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

Reply
 
Thread Tools Display Modes
Old 11-08-21, 10:23 AM   #1
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 859
Downloads: 27
Uploads: 0


Default Is it possible to make available as many playable units as wanted ?

Hello,

Is it possible to make available (at the same time, without reloading the game) as many playable units as wanted (submarines, battleships, schnellboot, etc.) ? And without modifying the hard code ?

Thanks for info.
Mister_M is offline   Reply With Quote
Old 11-08-21, 11:59 AM   #2
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,425
Downloads: 131
Uploads: 0


Default

Short answer is No.
We are limited to the stock number of playable units by hard code.
That's why new playable Units have to be installed with JSGME.
That replaces stock files of a target Unit.
Jeff-Groves is offline   Reply With Quote
Old 11-08-21, 06:29 PM   #3
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 859
Downloads: 27
Uploads: 0


Default

Quote:
Originally Posted by Jeff-Groves View Post
Short answer is No.
We are limited to the stock number of playable units by hard code.
That's why new playable Units have to be installed with JSGME.
That replaces stock files of a target Unit.
Thank you for your message. Did anyone already try to break this barrier ?
Mister_M is offline   Reply With Quote
Old 11-08-21, 08:13 PM   #4
CapZap1970
Sea Lord
 
Join Date: Mar 2007
Location: La Paz, Bolivia
Posts: 1,956
Downloads: 265
Uploads: 51
Default

If I am not mistaken, it is hard coded...
__________________
CapZap1970 is offline   Reply With Quote
Old 11-09-21, 03:20 PM   #5
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,425
Downloads: 131
Uploads: 0


Default

Quote:
Originally Posted by Mister_M View Post
Thank you for your message. Did anyone already try to break this barrier ?
The only way to 'Break' this would be to change the Hard Code like some patches do.
Then say you add 7 more playable units in the hard code.
Now you have a TON of other files to address!!!

Years ago I was nearly a full time Modder. That almost cost me my Wife and Job.
I do know people that it did cost them things like that!
I pick and choose what I want to look at doing now and only do it when it works with my Real Life.
Jeff-Groves is offline   Reply With Quote
Old 11-09-21, 05:27 PM   #6
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 859
Downloads: 27
Uploads: 0


Default

Quote:
Originally Posted by Jeff-Groves View Post
The only way to 'Break' this would be to change the Hard Code like some patches do.
Then say you add 7 more playable units in the hard code.
Now you have a TON of other files to address!!!

Years ago I was nearly a full time Modder. That almost cost me my Wife and Job.
I do know people that it did cost them things like that!
I pick and choose what I want to look at doing now and only do it when it works with my Real Life.
I'm not asking you to work for me, I'm just asking questions, and then I do the job myself. And yes, I perfectly know that modding requires a lot of time ! Thank you for your time and past efforts.

Currently, I'm trying to convert a playable soviet submarine from a supermod made for SH4 (Soviet Waterway). The 3D models and textures are excellent. But I get a CTD each time I load a mission with this new playable sub (which replaces the german type IXD2).



I'm going to look even deeper in the files, and then, if nothing works, I will ask for help.

Greetings.
Mister_M is offline   Reply With Quote
Old 11-09-21, 06:57 PM   #7
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 859
Downloads: 27
Uploads: 0


Icon8

Ok. Interesting fact :

I've just opened the vanilla NSS_Uboat9d2.dat and replaced the 3D model of the hull by the new one from Soviet Type C. With only this modification (all files are from vanilla), I get a CTD while loading a mission with the type IXD2...

Original 3D model : 9262 triangles.
New 3D model : 40424 triangles.

Is this the problem ? Is there a hardcoded limitation for the number of triangles of the hull's 3D model ?

There are mods out there for SH3 which gives extremly detailed playable submarines (Ahnenerbe, Wise), so I just don't understand...

Last edited by Mister_M; 11-10-21 at 04:03 AM.
Mister_M is offline   Reply With Quote
Old 11-09-21, 07:47 PM   #8
CapZap1970
Sea Lord
 
Join Date: Mar 2007
Location: La Paz, Bolivia
Posts: 1,956
Downloads: 265
Uploads: 51
Default

Quote:
Originally Posted by Mister_M View Post
Ok. Interesting fact :

I've just open the NSS_Uboat9d2.dat and replaced the 3D model of the hull by the new one from Soviet Type C. With only this modification, I get instant CTD while loading a mission with the type IXD2...

Original 3D model : 9262 triangles.
New 3D model : 40424 triangles.

Is this the problem ? Is there a hardcoded limitation for the number of triangles of the hull's 3D model ?

There are mods out there for SH3 which gives extremly detailed playable submarines (Ahnenerbe, Wise), so I just don't understand...
I think the problem is more complex that just triangles....
I think the textures , the files ID's and in general all the files that belong to the new sub you are trying to use...
Also, there are lots of .cfg files involved in other folders, Basic.Cfg, Flotilla, Cfg, Library folder, Objects folder, and a looong etc.....
Those are the names of files and folders that come to my mind thinking hastily, I am sure that there are many more, and in this case, you can take Jeff-Groves's words very seriously, since he is one of the most highly qualified modders here, among many others....
__________________
CapZap1970 is offline   Reply With Quote
Old 11-10-21, 03:47 AM   #9
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 859
Downloads: 27
Uploads: 0


Default

Quote:
Originally Posted by CapZap1970 View Post
I think the problem is more complex that just triangles....
I think the textures , the files ID's and in general all the files that belong to the new sub you are trying to use...
Also, there are lots of .cfg files involved in other folders, Basic.Cfg, Flotilla, Cfg, Library folder, Objects folder, and a looong etc.....
Those are the names of files and folders that come to my mind thinking hastily, I am sure that there are many more, and in this case, you can take Jeff-Groves's words very seriously, since he is one of the most highly qualified modders here, among many others....
Yes, thank you mate, I know all that, there are many files to change and I know how. Encountering a CTD, I now go step by step. So I kept the original (vanilla) .dat file of the type IXD2 submarine, and made ONLY ONE change : a new 3D model. This only modification makes the game crash... (all other files are vanilla files).

So, I open the complexe 3D model with a 3D editor and removed meshes in order to have a model of around 14000 triangles (Wise's IXD2 3D model is around 19000 and there isn't any CTD when loading a mission). There is still a CTD. I will try a last thing : importing Wise's model directly into the vanilla .dat file to see if it works...
Mister_M is offline   Reply With Quote
Old 11-10-21, 04:07 AM   #10
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 859
Downloads: 27
Uploads: 0


Default

Quote:
Originally Posted by Mister_M View Post
I will try a last thing : importing Wise's model directly into the vanilla .dat file to see if it works...
CTD again...

Difference between vanilla and Wise 3D model of the type IXD2 :



I'm completly lost...

Maybe something is broken when I export or import the 3D model...

My import settings :



The 2 successive error messages I have when I get a CTD :




Last edited by Mister_M; 11-10-21 at 04:27 AM.
Mister_M is offline   Reply With Quote
Old 11-10-21, 02:17 PM   #11
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 859
Downloads: 27
Uploads: 0


Default

It works very well as a sea unit :



Mister_M is offline   Reply With Quote
Old 11-16-21, 07:13 AM   #12
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 859
Downloads: 27
Uploads: 0


Default

So, is anyone able to explain to me why SH3 crashes to desktop after I've changed the 3D model of a playable submarine ???
Mister_M is offline   Reply With Quote
Old 12-30-21, 12:41 PM   #13
areo16
Sonar Guy
 
Join Date: Oct 2013
Posts: 380
Downloads: 64
Uploads: 0
Default

Quote:
Originally Posted by Mister_M View Post
So, is anyone able to explain to me why SH3 crashes to desktop after I've changed the 3D model of a playable submarine ???
Is the Silent Hunter 3ditor base Id the same as the original human playable base Id? (I mean the hex Id it uses to remap all the hex Ids in the dat file)

I forget if this matters or not, but it may.
areo16 is offline   Reply With Quote
Old 12-31-21, 02:40 AM   #14
Anvar1061
Ocean Warrior
 
Join Date: May 2012
Location: In the sea, on land and above
Posts: 3,395
Downloads: 860
Uploads: 0
Default

Why are you doing this? There is no need to export the model. Make the necessary copy and paste it into the expected area. Delete the old one by remembering its Id and assigning it to the copied one. Change the serial number (usually by 1 up) and voila. You may have to change the texture. Also by copying the entire Alt+Ctl+C block and pasting Ctl+V above.
__________________
Anvar1061 is offline   Reply With Quote
Old 03-11-22, 02:19 PM   #15
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 859
Downloads: 27
Uploads: 0


Default

I would need Russian Subsim members to find technical plans of the type C soviet submarine showing the internal compartments. I would like to add realistic zones disposition. Thanks in advance.

By the way, who is interested in a soviet type C submarine for SH3 ? See pictures in my previous post.
Mister_M is offline   Reply With Quote
Reply


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 06:41 PM.


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.