SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   So i would like to make a submarine.... (https://www.subsim.com/radioroom/showthread.php?t=229107)

JesterV2 01-10-17 03:06 AM

ok guys, only a couple of things need to happen, including something i struggle with right now.

until this point, all i have been doing is replacing the 3d model of the balao, ultimately i want this ship to be a standalone ship. i have gotten far enough to make it show up seperately in the submarine class list, but when i press start i get a crash to desktop.

i would like to know which files i have to edit to get this submarine to work and what lines i have to add or remove to make this happen.

Thanks in advance for anyone willing to help me!

CapnScurvy 01-10-17 08:53 AM

Not knowing exactly what you've done with the .dat file for both the conning tower, and the .dat file for the hull....your first thing to do is make sure your ID's within these files are different from any others in-game. For instance, if your using the Balao .dat file for the hull.......have S3D change every node ID to something different. Including the child nodes within the parent node groups.

This in-turn will cause you to make changes to your other submarine files....the .sim, .val, .dsd etc. files that use the .dat ID's as "Parent" Id's within their files. These new files should mirror the other Data/Submarine/NSS_xxxxx/folder files that are listed, but with the correct connections between the Parent to Child ID's.

If you already know this then your on your way.

Once the subs model files are in order, your next thing to do is create a new sub entry in the nationality of your choosing. I'm suspecting your new sub is American so you need to add a new entry in the Data/Roster/American/Submarine folder that resembles the others within the folder....but with the information that goes with your new sub.

You'll also need to add your sub to the Data/Roster/Names.cfg file too, under the "Submarine" section.

Getting all these pieces together will take some knowledge of what the stock game did with their entries. So, a bit of study is in order to understand what does what and why.

This should give you a start.

JesterV2 01-10-17 09:05 AM

Thanks captain!
I'll try to get it working as soon as I get home!

JesterV2 01-10-17 10:43 AM

so i remapped all the ids, with the same base id.

im still trying to wrap my head around this.
how do i tell the game what conning tower i want to use? once again the conning tower i made replaces the balao tower, so i have to rename it. that means that somewhere (UPC file maybe?) is stated what conning tower is used.

CapnScurvy 01-10-17 12:57 PM

Quote:

Originally Posted by JesterV2 (Post 2457223)
so i remapped all the ids, with the same base id.

im still trying to wrap my head around this.
how do i tell the game what conning tower i want to use? once again the conning tower i made replaces the balao tower, so i have to rename it. that means that somewhere (UPC file maybe?) is stated what conning tower is used.

I'm not at home now to look it up, but yes, the towers are all in a .upc file. Seems to me the folder UPCData/UnitPartsData will have the towers. While you're there, look in the specific NSS_Balao.upc file to make a copy for your new boat, adding/changing the contents to fit your requirements. Of course there's another .upc file found in the Submarine/NSS_Balao/ folder that needs to coincide its contents with the others. Lots of places to make things go wrong.

JesterV2 01-10-17 02:28 PM

This is definitely not my cup of tea, My goodness this is confusing stuff :06::06::06:
i might just stick to changing the name, and mentioning the fact that this mod replaces the Balao.
maybe leaving this task up to a third party?

ETR3(SS) 01-10-17 04:41 PM

I have a blank slate that I used for creating new units, I can upload that later to give you something to start with. Also there's a tutorial around here somewhere about adding new units to the game. Very useful.

JesterV2 01-10-17 04:42 PM

i would appreciate it mate!

ETR3(SS) 01-10-17 04:45 PM

Here's the link to the new thread. I'm off to work now so it will be early tomorrow before I can upload that template.

http://www.subsim.com/radioroom/showthread.php?t=165965

ETR3(SS) 01-11-17 05:11 AM

Download link to the template. Between this and the tutorial I linked you should be in good shape.

http://www.subsim.com/radioroom/down...o=file&id=5115

JesterV2 01-11-17 07:04 AM

Thank you very much sir!
o7

CapnScurvy 01-11-17 08:50 AM

Thank you ETR3(SS) for getting into the mix. I knew someone smarter than me would help with this discussion!! I know just enough to get myself into trouble.:har:

Rockin Robbins 01-11-17 09:24 AM

Quote:

Originally Posted by ETR3(SS) (Post 2457311)
I have a blank slate that I used for creating new units, I can upload that later to give you something to start with. Also there's a tutorial around here somewhere about adding new units to the game. Very useful.

See, I TOLD you I was forgetting somebody! Thanks for helping him, ETR!

JesterV2 01-11-17 09:27 AM

I cannot thank you guys enough for the help! At this rate, I bet I can upload the mod before the end of the week. And I might even start another submarine project after that, but we'll see ;)

JesterV2 01-11-17 11:52 AM

I DID IT GUYS
I will upload tonight!
so freaking happy right now!


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