SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 ATO Mods (https://www.subsim.com/radioroom/forumdisplay.php?f=234)
-   -   Help adding a sub (https://www.subsim.com/radioroom/showthread.php?t=166077)

Turbografx 03-24-10 07:53 PM

Help adding a sub
 
Hi all,

I've been trying to add L55 from the Baltic mod into OM. It's been a LONG time since I did this and I'm having trouble. CTD when I try to start campaign.

So far I have copied all the files from:
Data/Submarine/NSS_L55
Data/Roster/Russia/Submarine/L55.cfg
Data/Menu/Data/SubmarineClasses/L55.dds
Data/UPCData/UPCUnitsData/UnitParts11L55.upc
Data/Objects/Conning_L55.dat, .sim, .val, .cam, .zon


I renumbered the UnitParts to 17 since OM uses 1-16.

I also worked on the flotilla and careerstart files, basically I just copied the Flotilla 1 Early War Campaign but changed the class name and Unit number.

Here are the important parts:

Flotillas

Quote:

[Flotilla 10.UserPlayerUnitType 6]
ID= F10L55
NameDisplayable= L55 - L Class
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= L55
UnitTypeCommonality= 10
IDFlotillaLinkTransferTo= NULL
and

Quote:

[Flotilla 10.UserPlayerUnitType 6.Objective 1]
ID= 1F1OBj1
NameDisplayable= NULL
AvailabilityInterval=1939-08-15, 1940-03-31
ObjectiveCode= NorthSea

[Flotilla 10.UserPlayerUnitType 6.Objective 2]
ID= 1F1OBj2
NameDisplayable= NULL
AvailabilityInterval=1940-04-01, 1940-04-30
ObjectiveCode= Norway_T2

[Flotilla 10.UserPlayerUnitType 6.Objective 3]
ID= 1F1OBj3
NameDisplayable= NULL
AvailabilityInterval=1940-05-01, 1940-12-15
ObjectiveCode= NorthSea2

And CareerStart

Quote:

[CareerStart 1.Flotilla 1]
ID= C1Flotilla1
NameDisplayable= 1Flotilla
IDLinkFlotilla= 1Flotilla ; link to ID in Flotilla upc file
IDLinkUserPlayerUnits= F10IIB, 4, F10IIC, 4, F10L55, 1
FlotillaBriefingText=
FlotillaCommonality= 1

Can anyone help me out? Do you know what I'm doing wrong?

Thanks,

Turbo

Sledgehammer427 03-24-10 08:26 PM

so far everything looks okay, make sure you match up your ID tags and so on, one little typo is all the game needs to kick you back to your desktop. It's incredible I'm not bald yet with all the hair I pulled out getting some of my older playable ships to work.
yeah, try looking at your L55.upc file in data/submarine and make sure you got your names and id's matched up right with your roster file and your flotillas.upc

Turbografx 03-24-10 10:48 PM

Thanks,

When my eyes are fresh tomorrow I'm going to go over it with a fine toothed comb.

Sledgehammer427 03-24-10 11:49 PM

yup, sometimes all it takes is a good night's sleep.

I forgot to add that you make sure you have your dates right, if the sub isn't available in the roster until 1942, and you are trying to enable it in 1939 it'll CTD on you

Turbografx 03-25-10 09:54 PM

Argh, still don't don't know what it is. I don't think it is a typo. I must have forgotten some files. Is there anything missing in my process? I can't remember exactly how it works.

Sledgehammer427 03-25-10 10:29 PM

it depends on where it's crashing. try loading a single mission, and if it crashes, it's a typo in the main sub files. if you select the sub in campaign and it's still not going after you hit the campaign start button, it's in your campaign files, even if your subs working fine

WAIT!

are you trying to enable an allied sub into a german campaign???

that might be the root of your problems!

man I'm unobservant sometimes. I'm not sure how one would go about making a german sub allied or vice-versa, but it looks like the german campaign is looking for a GERMAN sub when it's only for the allies....

hmmm. it would be interesting to see an american crewed IXD2 at the end of the day so I might have to look into this.

Turbografx 03-25-10 10:54 PM

Quote:

Originally Posted by Sledgehammer427 (Post 1334445)
it depends on where it's crashing. try loading a single mission, and if it crashes, it's a typo in the main sub files. if you select the sub in campaign and it's still not going after you hit the campaign start button, it's in your campaign files, even if your subs working fine

WAIT!

are you trying to enable an allied sub into a german campaign???

that might be the root of your problems!

man I'm unobservant sometimes. I'm not sure how one would go about making a german sub allied or vice-versa, but it looks like the german campaign is looking for a GERMAN sub when it's only for the allies....

hmmm. it would be interesting to see an american crewed IXD2 at the end of the day so I might have to look into this.

AFAIK, the only thing that differentiates them is "Nationality= [Insert]" in Roster. I changed that from "Russia" to "Germany".


Let me see if I can get it in a SM.

Also, maybe I need to add the Russian Equipment file into the UPCDataGE\UPCUnitsData


All times are GMT -5. The time now is 07:48 PM.

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.