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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-04-10, 11:57 AM   #1
philjk
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default UPC Campaign Data

Can anyone help with getting a modded sub into the single player campaign?
Can this be accomplished by copying stock data file and entering modded subs details?
  Reply With Quote
Old 03-04-10, 02:57 PM   #2
ETR3(SS)
Ocean Warrior
 
Join Date: Dec 2007
Location: Between test depth and periscope depth
Posts: 3,018
Downloads: 175
Uploads: 16
Default

There's three files you will need for this. Flotillas.upc, CareerStart.upc, and NSS_boatname.upc. In the NSS_boatname.upc you want to look for the line that says "ID="

Quote:
[UserPlayerUnit 1]
ID=688i
NameDisplayable=688i SSN
UnitName= USS San Juan (SSN 751)
Type=688i
UpgradeClass=0
UnitInterval= 1920-10-29, 1945-12-31
ExternalClassName=SS688i
Nationality=American
CrewRanks=12
Evolution= Normal
Damage= 0
TextureName=data/Submarine/NSS_688i/NSS_688i_T01.tga
LightmapTextureName=NULL
NormalmapTextureName= NULL
MenuSilhouetteTextureName= 688i_01.tga
Next we want the Flotillas.upc file. Here's my entry for Flotilla 1:

Quote:
[Flotilla 1.UserPlayerUnitType 6]
ID= F1688i
NameDisplayable= SSN 688i
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= 688i
UnitTypeCommonality= 2
IDFlotillaLinkTransferTo= NULL
You will also have to assign objectives to this boat. I copy the gato or balao's objectives and rename them accordingly. Now the CareerStart.upc. This is pretty simple because you just have to write/paste in a few characters:

Quote:
[CareerStart 1.Flotilla 1]
ID= C1Flotilla1
NameDisplayable= Pearl Harbor
IDLinkFlotilla= PearlHarborCommand ; link to ID in Flotilla upc file
IDLinkUserPlayerUnits= F1688i, 2, F1Porpoise, 4, F1Tambor, 5, F1Gar, 4 ; enumeration of ID(s) that point to submarine upc file
FlotillaBriefingText=
FlotillaCommonality= 1
F1= Flotilla 1, F2= Flotilla 2 and so on.
__________________


USS Kentucky SSBN 737 (G)
Comms Div 2003-2006
Qualified 19 November 03

Yes I was really on a submarine.
ETR3(SS) is offline   Reply With Quote
Old 03-04-10, 03:35 PM   #3
philjk
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Cheers, again.
Will give it a wurl and let you know the outcome.
Thank f**k you are on here thats all I can say.
  Reply With Quote
Old 03-04-10, 05:41 PM   #4
ETR3(SS)
Ocean Warrior
 
Join Date: Dec 2007
Location: Between test depth and periscope depth
Posts: 3,018
Downloads: 175
Uploads: 16
Default

Post your version of what I put up here so I can see where it's wrong.
__________________


USS Kentucky SSBN 737 (G)
Comms Div 2003-2006
Qualified 19 November 03

Yes I was really on a submarine.
ETR3(SS) 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 07:22 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.