SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   Is it possible to make available as many playable units as wanted ? (https://www.subsim.com/radioroom/showthread.php?t=251014)

Mister_M 11-08-21 10:23 AM

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.

Jeff-Groves 11-08-21 11:59 AM

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.

Mister_M 11-08-21 06:29 PM

Quote:

Originally Posted by Jeff-Groves (Post 2777771)
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 ?

CapZap1970 11-08-21 08:13 PM

If I am not mistaken, it is hard coded...

Jeff-Groves 11-09-21 03:20 PM

Quote:

Originally Posted by Mister_M (Post 2777837)
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.

Mister_M 11-09-21 05:27 PM

Quote:

Originally Posted by Jeff-Groves (Post 2777963)
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. :03: And yes, I perfectly know that modding requires a lot of time ! :wah: Thank you for your time and past efforts. :yep:

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).

:k_confused:

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

Greetings.

Mister_M 11-09-21 06:57 PM

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 ? :hmmm:

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

CapZap1970 11-09-21 07:47 PM

Quote:

Originally Posted by Mister_M (Post 2777986)
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 ? :hmmm:

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

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.... :yep:

Mister_M 11-10-21 03:47 AM

Quote:

Originally Posted by CapZap1970 (Post 2777991)
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.... :yep:

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... :doh: (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 11-10-21 04:07 AM

Quote:

Originally Posted by Mister_M (Post 2778014)
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 :

https://nsm09.casimages.com/img/2021...9017661333.png

I'm completly lost... :dead:

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

My import settings :

https://nsm09.casimages.com/img/2021...9017661367.png

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

https://nsm09.casimages.com/img/2021...9017661369.png

https://nsm09.casimages.com/img/2021...9017661368.png

Mister_M 11-10-21 02:17 PM

It works very well as a sea unit :

https://nsm09.casimages.com/img/2021...9017662513.png

https://nsm09.casimages.com/img/2021...9017662514.png

Mister_M 11-16-21 07:13 AM

So, is anyone able to explain to me why SH3 crashes to desktop after I've changed the 3D model of a playable submarine ??? :/\\!!

areo16 12-30-21 12:41 PM

Quote:

Originally Posted by Mister_M (Post 2778840)
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.

Anvar1061 12-31-21 02:40 AM

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.

Mister_M 03-11-22 02:19 PM

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.


All times are GMT -5. The time now is 08:01 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.