View Single Post
Old 05-05-08, 07:42 PM   #5
Snaptrap
Eternal Patrol
 
Join Date: Oct 2007
Location: Alberta, Canada
Posts: 224
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by Syxx_Killer
I really like OM, especially how it changes the Indian Ocean from some congested superhighway to a real ocean. However, I do like the Type XVIII. I know it is about as realistic as having a nuc sub, but it is fun. I was wondering if someone who knows their way around the files, if they could re-enable the Type XVIII and it's equipment.
My Silent Fire v1.5.0 mod does this. All you need to do is open your Flotilla and CareerStart upc files. Look for a line in the CareerStart files which looks like this:

IDLinkUserPlayerUnits= F1IXD2, 1, F1XVIII, 2

The F1's in front of the unit id is a reference to the corrisponding flotilla. For instance Flotilla 1 is F1 and Flotilla 2 is F2 and so on. The number after each unit is the Commonality. To find the commonality for each unit in each flotilla, look for the unit id in the Flotilla file. The commonality is what is used when a random selection is made and doesn't always need to match, but should be used when adding a playable unit to a Flotilla. Such as this:

[Flotilla 1.UserPlayerUnitType 1]
ID= F1IXD2
NameDisplayable= Type IX-D2 U-boat
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= IXD2
UnitTypeCommonality= 10
IDFlotillaLinkTransferTo= NULL

[Flotilla 1.UserPlayerUnitType 2]
ID= F1XVIII
NameDisplayable= Type XVIII U-boat
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= XVIII
UnitTypeCommonality= 2
IDFlotillaLinkTransferTo= NULL
Snaptrap is offline   Reply With Quote