SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=219)
-   -   [TEC] how to make mod ships/subs career playable (for dummies) (https://www.subsim.com/radioroom/showthread.php?t=190455)

Yamato_NF 12-10-11 09:08 PM

[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
:salute:
P.S. tell me if your confused, ill try to help where i can.

Klaus 12-11-11 06:26 AM

Thank you

chrysanthos 03-17-18 01:49 PM

no matter if i am 45 years old i still cant make it :D the playble carrier or cruiser i want....oh well ;)

rein1705 03-25-18 02:18 PM

i got it to (The USS Tennessee) show up in the list of ships to start with in 1941 out of pearl but CTD right after pressing go. Im using TMO 2.5 however and there might be something im missing. i used the campaign and flotilla files from the North Carolina mod (which works fine in TMO) as the template and just renamed the appropriate things to Tennessee. It also has a "Patrol Objectives" file that i didnt know what to do with so i left it unchanged in there. maybe that is what caused the crash. I'lll try it without that file and report back.

Yea, still crashed without it. i dread trying it out on a fresh install because for some reason Steam wont install on my PC, but i do have an unopened hard copy of SH-4 Gold.


All times are GMT -5. The time now is 12:54 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.