View Single Post
Old 12-10-11, 09:08 PM   #1
Yamato_NF
King of the Ocean
 
Yamato_NF's Avatar
 
Join Date: Mar 2010
Location: Michigan, United States
Posts: 337
Downloads: 621
Uploads: 0
[TEC] how to make mod ships/subs career playable (for dummies)

ok, i decided to make this thread for reference since so many people ask for
campaign files for non-career playable subs/ships that were modded in game,
!!!BACKUP YOUR SH4 DIR: SH4\UPCData\UPCCampaignData\Flotillas.upc and
Careerstart.upc!!!

second step: open up the *.upc of the sub/ship you want to be career playable,
it should be in dir: SH4\Submarine\subnamehere\sub.upc
look at this:
ID=*****(where the dots are the ID link of the sub/ship)

now that you have the info you need, go into your CampaignData folder for your SH4 installation and copy both Fotillas/Careerstart.upc into a newly created UPCCampaignData folder in your MODS\namehere\UPCData directory for JSGME (if you use it)

after doing so, open both Flotillas/Careerstart.upc with a text editor

we will start with Careerstart.upc.

it should look like:
(im using Jhapprich's Typhoon for an example.)

[CareerStart 1]
ID= Beginning
NameDisplayable= 1941
StartTimeInterval=1941-12-08, 1942-02-01
BackgroundPic= 1941.tga ; picture that is displayed on the background when this option is selected
CareerStartBriefingText= The war has just started, and we're being beaten.
RenownOptions= 1000, 2000, 5000

[CareerStart 1.Flotilla 1]
ID= C1Flotilla1
NameDisplayable= Pearl Harbor
IDLinkFlotilla= PearlHarborCommand ; link to ID in Flotilla upc file
IDLinkUserPlayerUnits= F1Porpoise, 4, F1Tambor, 5, F1Gar, 4 ; enumeration of ID(s) that point to submarine upc file
FlotillaBriefingText=
FlotillaCommonality= 1 ; to be used when a random choice is assigned

[CareerStart 1.Flotilla 2]
ID= C1Flotilla2
NameDisplayable= Manila
IDLinkFlotilla= FremantleCommand
IDLinkUserPlayerUnits= F2Sboat, 6, F2Porpoise, 7, F2Salmon, 6, F2Sargo, 11
FlotillaBriefingText=
FlotillaCommonality= 2 ; to be used when a random choice is assigned

;+++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++

[CareerStart 2]
ID= EarlyWar
NameDisplayable= 1942
StartTimeInterval=1942-06-10, 1942-06-15
BackgroundPic= 1942.tga ; picture that is displayed on the background when this option is selected
CareerStartBriefingText= We're trying to put a stop to the Japanese advance.
RenownOptions= 1000, 2000, 5000

[CareerStart 2.Flotilla 1]
ID= C2Flotilla1
NameDisplayable= Pearl Harbor
IDLinkFlotilla= PearlHarborCommand ; link to ID in Flotilla upc file
IDLinkUserPlayerUnits= F1Porpoise, 4, F1Tambor, 5, F1Gar, 4, F1Gato, 5
FlotillaBriefingText=
FlotillaCommonality= 1 ; to be used when a random choice is assigned

[CareerStart 2.Flotilla 2]
ID= C2Flotilla2
NameDisplayable= Fremantle
IDLinkFlotilla= FremantleCommand
IDLinkUserPlayerUnits= F2Porpoise, 7, F2Salmon, 6, F2Sargo, 11, F2627A, 2, F2Gar, 2
FlotillaBriefingText=
FlotillaCommonality= 1 ; to be used when a random choice is assigned

[CareerStart 2.Flotilla 3]
ID= C2Flotilla3
NameDisplayable= Brisbane
IDLinkFlotilla= BrisbaneCommand
IDLinkUserPlayerUnits= F3Sboat, 6, F3Sboat2, 6
FlotillaBriefingText=
FlotillaCommonality= 1 ; to be used when a random choice is assigned


;+++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++

[CareerStart 3]
ID= MidWar
NameDisplayable= 1943
StartTimeInterval=1943-03-15, 1943-03-20
BackgroundPic= 1943.tga ; picture that is displayed on the background when this option is selected
CareerStartBriefingText= The war is still undecided, but we're gaining on them.
RenownOptions= 1000, 2000, 5000

[CareerStart 3.Flotilla 1]
ID= C3Flotilla1
NameDisplayable= Pearl Harbor
IDLinkFlotilla= PearlHarborCommand ; link to ID in Flotilla upc file
IDLinkUserPlayerUnits= F1Porpoise, 4, F1Tambor, 5, F1Gar, 4, F1Gato, 10
FlotillaBriefingText=
FlotillaCommonality= 1 ; to be used when a random choice is assigned

[CareerStart 3.Flotilla 2]
ID= C3Flotilla2
NameDisplayable= Fremantle
IDLinkFlotilla= FremantleCommand
IDLinkUserPlayerUnits= F2Porpoise, 7, F2Salmon, 6, F2Sargo, 11, F2627A, 5, F2Gar, 5
FlotillaBriefingText=
FlotillaCommonality= 1 ; to be used when a random choice is assigned

[CareerStart 3.Flotilla 3]
ID= C3Flotilla3
NameDisplayable= Brisbane
IDLinkFlotilla= BrisbaneCommand
IDLinkUserPlayerUnits= F3Sboat, 6, F3Sboat2, 6, F3Salmon, 3, F3Sargo, 3, F3Gato, 4, F3Gar, 4, F3Porpoise, 2
FlotillaBriefingText=
FlotillaCommonality= 1 ; to be used when a random choice is assigned

;+++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++

[CareerStart 4]
ID= LateWar
NameDisplayable= 1944
StartTimeInterval=1944-01-15, 1944-04-31
BackgroundPic= 1944.tga ; picture that is displayed on the background when this option is selected
CareerStartBriefingText= The war is still undecided, but we're gaining on them.
RenownOptions= 1000, 2000, 5000

[CareerStart 4.Flotilla 1]
ID= C4Flotilla1
NameDisplayable= Pearl Harbor
IDLinkFlotilla= PearlHarborCommand ; link to ID in Flotilla upc file
IDLinkUserPlayerUnits= F1Porpoise, 1, F1Tambor, 1, F1Gar, 1, F1Gato, 15, F1Balao, 10
FlotillaBriefingText=
FlotillaCommonality= 1 ; to be used when a random choice is assigned

[CareerStart 4.Flotilla 2]
ID= C4Flotilla2
NameDisplayable= Fremantle
IDLinkFlotilla= FremantleCommand
IDLinkUserPlayerUnits= F2Porpoise, 7, F2Salmon, 6, F2Sargo, 11, F2Gar, 4, F2627A, 4
FlotillaBriefingText=
FlotillaCommonality= 1 ; to be used when a random choice is assigned

[CareerStart 4.Flotilla 3]
ID= C4Flotilla3
NameDisplayable= Brisbane
IDLinkFlotilla= BrisbaneCommand
IDLinkUserPlayerUnits= F3Balao, 8, F3Salmon, 2, F3Sargo, 2, F3Gato, 5, F3Gar, 4, F3Porpoise, 4
FlotillaBriefingText=
FlotillaCommonality= 1 ; to be used when a random choice is assigned

;+++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++

say you want to change the Porpoise in 1941 to be your sub/ship (as highlighted above), change the text to your ship/sub's ID link, (in my case, "941")

then save and open up Flotillas.upc:

it should look like:

;+++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++
;+++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++
;+++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++
[Flotilla 1]
ID= PearlHarborCommand
NameDisplayable= Pearl Harbor
AvailabilityInterval=NULL, NULL


[Flotilla 1.Base 1]
ID= PearlHarbor
NameDisplayable= Pearl Harbor, Hawaii
ExternalBaseName=Pearl Harbor
AvailabilityInterval= NULL, NULL
DepartureDescription1= -18954703, 2562919, 45.918098 ; Enum of available points, choose one randomly each time a patrol is started
DepartureDescription2= -18954874, 2563059, 46.252201
DepartureDescriptionOut1= -18957616, 2548824, 242.189346 ; Enum of starting points for when the player selects the option to start outside the base

[Flotilla 1.UserPlayerUnitType 1]
ID= F1Porpoise
NameDisplayable= Porpoise
AvailabilityInterval= NULL, 1945-12-01
IDLinkUserPlayerUnitType= Porpoise
UnitTypeCommonality= 4 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL ; when the flotilla is disbanded, the subs of this type are transferred to this one. If NULL then submarine assigned to training -> desk job or reassignment

[Flotilla 1.UserPlayerUnitType 2]
ID= F1Tambor
NameDisplayable= Tambor class
AvailabilityInterval= NULL, 1945-03-01
IDLinkUserPlayerUnitType= Tambor
UnitTypeCommonality= 5 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL ; when the flotilla is disbanded, the subs of this type are transferred to this one

[Flotilla 1.UserPlayerUnitType 3]
ID= F1Gar
NameDisplayable= Gar class
AvailabilityInterval= NULL, 1944-08-01
IDLinkUserPlayerUnitType= Gar
UnitTypeCommonality= 4 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL ; when the flotilla is disbanded, the subs of this type are transferred to this one

[Flotilla 1.UserPlayerUnitType 4]
ID= F1Gato
NameDisplayable= Gato class
AvailabilityInterval= 1942-04-18, NULL
IDLinkUserPlayerUnitType= Gato
UnitTypeCommonality= 10 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL ; when the flotilla is disbanded, the subs of this type are transferred to this one

[Flotilla 1.UserPlayerUnitType 5]
ID= F1Balao
NameDisplayable= Balao class
AvailabilityInterval= 1943-08-01, NULL
IDLinkUserPlayerUnitType= Balao
UnitTypeCommonality= 15 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL ; when the flotilla is disbanded, the subs of this type are transferred to this one


Change the red highlighted text to your ship/sub's ID,
then change the blue text to the name you want to show up on the career start screen.

Save. your done!

greetz, Yamato_NF

P.S. tell me if your confused, ill try to help where i can.
__________________
Proud owner of SH3/4/5
Proud owner of the DCS series

"He who controls the seas controls the world."
Yamato_NF is offline   Reply With Quote