View Single Post
Old 03-23-10, 04:35 PM   #3
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default

tuto last part :

[QUOTE]Now go to UPCDataGe\UPCCampaignData and open Flotilla.upc with your notepad :

copy paste one of the units' data :

[Flotilla 1.UserPlayerUnitType 1]
ID= F1IXD2
NameDisplayable= Type IX-D2 U-boat
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= IXD2
UnitTypeCommonality= 10 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL

[Flotilla 1.UserPlayerUnitType 3]<-change the unit number according to the number of subs in game : here it's the third one
ID= F1Newsub1 <-change
NameDisplayable= Type Newsub 1 U-boat <-change
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= Newsub1 <-change
UnitTypeCommonality= 10 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL

save

go a bit down and you'll see this :

[Flotilla 1.UserPlayerUnitType 1.Objective 1]
ID= MB11OBj1
NameDisplayable= NULL
AvailabilityInterval=1943-04-01, 1943-06-15
ObjectiveCode= China-Sea

[Flotilla 1.UserPlayerUnitType 1.Objective 2]
ID= MB11OBj2.......


copy paste all missions (9 normally)

change the Unit number to your Newsub1 number, which here is number 3 :

[Flotilla 1.UserPlayerUnitType 3.Objective 1]
ID= MB11OBj1
NameDisplayable= NULL
AvailabilityInterval=1943-04-01, 1943-06-15
ObjectiveCode= China-Sea

[Flotilla 1.UserPlayerUnitType 3.Objective 2]
ID= MB11OBj2.......

save and exit


now open CareerStart.upc

you'll see 4 flotilla files:


[CareerStart 1.Flotilla 1]
ID= C1Flotilla1
NameDisplayable= Penang
IDLinkFlotilla= Penang ; link to ID in Flotilla upc file
IDLinkUserPlayerUnits= F1IXD2, 1, F1XVIII, 1
FlotillaBriefingText=
FlotillaCommonality= 1

Add your ship to each one, do this for all careerStart( 1943, 1944, 1945) :

[CareerStart 1.Flotilla 1]
ID= C1Flotilla1
NameDisplayable= Penang
IDLinkFlotilla= Penang ; link to ID in Flotilla upc file
IDLinkUserPlayerUnits= F1IXD2, 1, F1XVIII, 1, F1Newsub1, 1 <--add
FlotillaBriefingText=
FlotillaCommonality= 1

save and exit, implement using JSGME, you should be able to start a campaign with your NewSub1 from Penang now.
__________________
"Honorable Builder of Sinking Ships"

keltos01 is offline   Reply With Quote