View Single Post
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