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 > Silent Hunter 4: Wolves of the Pacific > SH4 ATO Mods
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-24-10, 07:53 PM   #1
Turbografx
Old Stormalong
 
Join Date: Dec 2007
Location: The Gret Stet of Loosiana
Posts: 232
Downloads: 104
Uploads: 0
Default 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
Turbografx is offline   Reply With Quote
Old 03-24-10, 08:26 PM   #2
Sledgehammer427
PacWagon
 
Sledgehammer427's Avatar
 
Join Date: Jun 2007
Location: Drinking coffee and staring at trees in Massachusetts
Posts: 2,901
Downloads: 280
Uploads: 0
Default

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
__________________
Cold Waters Voice Crew - Fire Control Officer
Cmdr O. Myers - C/O USS Nautilus (SS-168)
114,000 tons sunk - 4 Spec Ops completed
V-boat Nutcase - Need supplies? Japanese garrison on a small island in the way? Just give us a call! D4C!
Sledgehammer427 is offline   Reply With Quote
Old 03-24-10, 10:48 PM   #3
Turbografx
Old Stormalong
 
Join Date: Dec 2007
Location: The Gret Stet of Loosiana
Posts: 232
Downloads: 104
Uploads: 0
Default

Thanks,

When my eyes are fresh tomorrow I'm going to go over it with a fine toothed comb.
Turbografx is offline   Reply With Quote
Old 03-24-10, 11:49 PM   #4
Sledgehammer427
PacWagon
 
Sledgehammer427's Avatar
 
Join Date: Jun 2007
Location: Drinking coffee and staring at trees in Massachusetts
Posts: 2,901
Downloads: 280
Uploads: 0
Default

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
__________________
Cold Waters Voice Crew - Fire Control Officer
Cmdr O. Myers - C/O USS Nautilus (SS-168)
114,000 tons sunk - 4 Spec Ops completed
V-boat Nutcase - Need supplies? Japanese garrison on a small island in the way? Just give us a call! D4C!
Sledgehammer427 is offline   Reply With Quote
Old 03-25-10, 09:54 PM   #5
Turbografx
Old Stormalong
 
Join Date: Dec 2007
Location: The Gret Stet of Loosiana
Posts: 232
Downloads: 104
Uploads: 0
Default

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.
Turbografx is offline   Reply With Quote
Old 03-25-10, 10:29 PM   #6
Sledgehammer427
PacWagon
 
Sledgehammer427's Avatar
 
Join Date: Jun 2007
Location: Drinking coffee and staring at trees in Massachusetts
Posts: 2,901
Downloads: 280
Uploads: 0
Default

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.
__________________
Cold Waters Voice Crew - Fire Control Officer
Cmdr O. Myers - C/O USS Nautilus (SS-168)
114,000 tons sunk - 4 Spec Ops completed
V-boat Nutcase - Need supplies? Japanese garrison on a small island in the way? Just give us a call! D4C!
Sledgehammer427 is offline   Reply With Quote
Old 03-25-10, 10:54 PM   #7
Turbografx
Old Stormalong
 
Join Date: Dec 2007
Location: The Gret Stet of Loosiana
Posts: 232
Downloads: 104
Uploads: 0
Default

Quote:
Originally Posted by Sledgehammer427 View Post
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
Turbografx 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 01:59 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.