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 01-21-09, 08:49 AM   #1
Turbografx
Old Stormalong
 
Join Date: Dec 2007
Location: The Gret Stet of Loosiana
Posts: 232
Downloads: 104
Uploads: 0
Default Help with creating campaign.

Hi,

I'm trying to create a campaign for Dagon's U class boat based out of Darwin. This is only my second time messing around with the campaign UPC files and I can't seem to get it to work. The subs aren't correctly listed in the menu and whichever one I choose, the game crashes. I created a new flotilla, flotilla 4.

Here is what I've done so far:
Campaign:
Quote:
[CareerStart 1.Flotilla 4]
ID= C1Flotilla4
NameDisplayable= Darwin
IDLinkFlotilla= FremantleCommand
IDLinkUserPlayerUnits= F4Sboat, 6, F4SSU, 10
FlotillaBriefingText=
FlotillaCommonality= 2 ; to be used when a random choice is assigned
Flotilla:
Quote:
[Flotilla 4]
ID= FremantleCommand
;NameDisplayable= Australian Fleet Force
NameDisplayable= Australian Fleet
AvailabilityInterval=NULL, NULL

[Flotilla 4.Base 1]
ID= Darwin
NameDisplayable= Darwin Naval Base, Darwin, Australian
ExternalBaseName= Darwin
AvailabilityInterval= NULL, NULL
DepartureDescription1= 14517308, 1746167, 267.488647
DepartureDescription2= 14517861, 1744261, 0
DepartureDescriptionOut1= 14449908, 1711216, 276.175903

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

[Flotilla 4.UserPlayerUnitType 2]
ID= F4SSU
NameDisplayable= U class
AvailabilityInterval= NULL, 1945-02-01
IDLinkUserPlayerUnitType= U class
UnitTypeCommonality= 7
IDFlotillaLinkTransferTo= NULL
The mission lines are just copied from one of the other campaigns.

Last edited by Turbografx; 01-21-09 at 12:07 PM.
Turbografx is offline   Reply With Quote
Old 01-21-09, 10:50 AM   #2
keltos01
Silent Hunter
 
Join Date: Feb 2008
Location: Milan Italy
Posts: 4,999
Downloads: 114
Uploads: 18
Default

why 8 different types for the same type of boat ?????

there is a campaign batch editor out there, I have it on my FF mcoca made it : http://www.subsim.com/radioroom/showthread.php?t=113918
[edit] thanks Tater for the info.

k
__________________
"Honorable Builder of Sinking Ships"


Last edited by keltos01; 01-22-09 at 06:00 AM.
keltos01 is offline   Reply With Quote
Old 01-21-09, 11:36 AM   #3
Turbografx
Old Stormalong
 
Join Date: Dec 2007
Location: The Gret Stet of Loosiana
Posts: 232
Downloads: 104
Uploads: 0
Default

Quote:
Originally Posted by keltos01
why 8 different types for the same type of boat ?????

there is a campaign batch editor out there, I have it on my FF but can't remember who made it...

k
Haha, yeah it is redundant. I'll get rid of 3-8.
Turbografx is offline   Reply With Quote
Old 01-21-09, 12:06 PM   #4
Turbografx
Old Stormalong
 
Join Date: Dec 2007
Location: The Gret Stet of Loosiana
Posts: 232
Downloads: 104
Uploads: 0
Default

Ok, I got rid of the redundant boats in both Career and Flotilla but when I get in game, the menu still says:
Quote:
S-18 Class, Porpoise Class, Salmon Class, Sargo class
????
Turbografx is offline   Reply With Quote
Old 01-21-09, 03:09 PM   #5
Webster
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

Quote:
Originally Posted by keltos01
why 8 different types for the same type of boat ?????

there is a campaign batch editor out there, I have it on my FF but can't remember who made it...

k
here it is, i bumped it the other day http://www.subsim.com/radioroom/showthread.php?t=113918
  Reply With Quote
Old 01-21-09, 05:09 PM   #6
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by Turbografx
Hi,

I'm trying to create a campaign for Dagon's U class boat based out of Darwin. This is only my second time messing around with the campaign UPC files and I can't seem to get it to work. The subs aren't correctly listed in the menu and whichever one I choose, the game crashes. I created a new flotilla, flotilla 4.

Here is what I've done so far:
Campaign:
Quote:
[CareerStart 1.Flotilla 4]
ID= C1Flotilla4
NameDisplayable= Darwin
IDLinkFlotilla= FremantleCommand
IDLinkUserPlayerUnits= F4Sboat, 6, F4SSU, 10
FlotillaBriefingText=
FlotillaCommonality= 2 ; to be used when a random choice is assigned
Flotilla:
Quote:
[Flotilla 4]
ID= FremantleCommand
;NameDisplayable= Australian Fleet Force
NameDisplayable= Australian Fleet
AvailabilityInterval=NULL, NULL

[Flotilla 4.Base 1]
ID= Darwin
NameDisplayable= Darwin Naval Base, Darwin, Australian
ExternalBaseName= Darwin
AvailabilityInterval= NULL, NULL
DepartureDescription1= 14517308, 1746167, 267.488647
DepartureDescription2= 14517861, 1744261, 0
DepartureDescriptionOut1= 14449908, 1711216, 276.175903

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

[Flotilla 4.UserPlayerUnitType 2]
ID= F4SSU
NameDisplayable= U class
AvailabilityInterval= NULL, 1945-02-01
IDLinkUserPlayerUnitType= U class
UnitTypeCommonality= 7
IDFlotillaLinkTransferTo= NULL
The mission lines are just copied from one of the other campaigns.
Flotilla 2 and Flotilla 4 share the same ID. That may be causing a problem.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote
Old 01-21-09, 05:53 PM   #7
Turbografx
Old Stormalong
 
Join Date: Dec 2007
Location: The Gret Stet of Loosiana
Posts: 232
Downloads: 104
Uploads: 0
Default

Quote:
Originally Posted by peabody
Quote:
Originally Posted by Turbografx
Hi,

I'm trying to create a campaign for Dagon's U class boat based out of Darwin. This is only my second time messing around with the campaign UPC files and I can't seem to get it to work. The subs aren't correctly listed in the menu and whichever one I choose, the game crashes. I created a new flotilla, flotilla 4.

Here is what I've done so far:
Campaign:
Quote:
[CareerStart 1.Flotilla 4]
ID= C1Flotilla4
NameDisplayable= Darwin
IDLinkFlotilla= FremantleCommand
IDLinkUserPlayerUnits= F4Sboat, 6, F4SSU, 10
FlotillaBriefingText=
FlotillaCommonality= 2 ; to be used when a random choice is assigned
Flotilla:
Quote:
[Flotilla 4]
ID= FremantleCommand
;NameDisplayable= Australian Fleet Force
NameDisplayable= Australian Fleet
AvailabilityInterval=NULL, NULL

[Flotilla 4.Base 1]
ID= Darwin
NameDisplayable= Darwin Naval Base, Darwin, Australian
ExternalBaseName= Darwin
AvailabilityInterval= NULL, NULL
DepartureDescription1= 14517308, 1746167, 267.488647
DepartureDescription2= 14517861, 1744261, 0
DepartureDescriptionOut1= 14449908, 1711216, 276.175903

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

[Flotilla 4.UserPlayerUnitType 2]
ID= F4SSU
NameDisplayable= U class
AvailabilityInterval= NULL, 1945-02-01
IDLinkUserPlayerUnitType= U class
UnitTypeCommonality= 7
IDFlotillaLinkTransferTo= NULL
The mission lines are just copied from one of the other campaigns.
Flotilla 2 and Flotilla 4 share the same ID. That may be causing a problem.

Peabody
Thanks Peabody, unfortunately when I replace "FreemantleCommand", the campaign doesn't appear in game at all ATM it appears but all it doesn't give me an option of the U class and all the US subs are still available despite their removal.
Turbografx is offline   Reply With Quote
Old 01-21-09, 06:20 PM   #8
Turbografx
Old Stormalong
 
Join Date: Dec 2007
Location: The Gret Stet of Loosiana
Posts: 232
Downloads: 104
Uploads: 0
Default

Ok, I'm pretty sure its because the information in one of these lines is incorrect:

Flotilla:
ID=
IDLinkUserPlayerUnitType=

Career:
IDLinkUserPlayerUnits=

Where would I fin the correct input?
Turbografx is offline   Reply With Quote
Old 01-21-09, 06:51 PM   #9
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by Turbografx
Ok, I'm pretty sure its because the information in one of these lines is incorrect:

Flotilla:
ID=
IDLinkUserPlayerUnitType=

Career:
IDLinkUserPlayerUnits=

Where would I fin the correct input?
Did you change the FremantleCommand in both files? The career start links to the flotilla so they must be the same.
Could be any number of things, but I don't have all the info or the U boat. So I can't check that.

ExternalBaseName= Darwin does that base exist in the game? With that name?
IDLinkUserPlayerUnitType= U class that may not need the class depending on what the boat name is. Could be SSU could be U, I don't have the boat.

Just some ideas to try.

Another thing you could try before adding a flotilla is to add the SSU to an existing flotilla and see if you can get it to work. When you do, you will have the correct info to make a new Flotilla. That way you are only doing one thing at at time. Now you are adding a base, adding a Career Start location and adding a flotilla and adding a new boat.
Do one at a time:
Add the ssu sub to an existing flotilla, replace an existing one if it is easier.
Then add a new flotilla but use an existing sub, (like the Sboat) where you already know the correct info.
Then add the SSU to the new flotilla with the info you learned from adding to Pearl Harbor for example.

When you get an error you will know which one is causing it.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote
Old 01-21-09, 09:54 PM   #10
Turbografx
Old Stormalong
 
Join Date: Dec 2007
Location: The Gret Stet of Loosiana
Posts: 232
Downloads: 104
Uploads: 0
Default

Quote:
Originally Posted by peabody
Quote:
Originally Posted by Turbografx
Ok, I'm pretty sure its because the information in one of these lines is incorrect:

Flotilla:
ID=
IDLinkUserPlayerUnitType=

Career:
IDLinkUserPlayerUnits=

Where would I fin the correct input?
Did you change the FremantleCommand in both files? The career start links to the flotilla so they must be the same.
Could be any number of things, but I don't have all the info or the U boat. So I can't check that.

ExternalBaseName= Darwin does that base exist in the game? With that name?
IDLinkUserPlayerUnitType= U class that may not need the class depending on what the boat name is. Could be SSU could be U, I don't have the boat.

Just some ideas to try.

Another thing you could try before adding a flotilla is to add the SSU to an existing flotilla and see if you can get it to work. When you do, you will have the correct info to make a new Flotilla. That way you are only doing one thing at at time. Now you are adding a base, adding a Career Start location and adding a flotilla and adding a new boat.
Do one at a time:
Add the ssu sub to an existing flotilla, replace an existing one if it is easier.
Then add a new flotilla but use an existing sub, (like the Sboat) where you already know the correct info.
Then add the SSU to the new flotilla with the info you learned from adding to Pearl Harbor for example.

When you get an error you will know which one is causing it.

Peabody

Thanks Peabody,

Yeah, I also tried just modifying a campaign just to add the sub. That's how I determined I'm using the wrong ID somewhere. I've tried both SSU and U but neither worked. I'll just keep playing around and changing things until something hopefully works.
Turbografx is offline   Reply With Quote
Old 01-21-09, 11:32 PM   #11
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by Turbografx
Quote:
Originally Posted by peabody
Quote:
Originally Posted by Turbografx
Ok, I'm pretty sure its because the information in one of these lines is incorrect:

Flotilla:
ID=
IDLinkUserPlayerUnitType=

Career:
IDLinkUserPlayerUnits=

Where would I fin the correct input?
Did you change the FremantleCommand in both files? The career start links to the flotilla so they must be the same.
Could be any number of things, but I don't have all the info or the U boat. So I can't check that.

ExternalBaseName= Darwin does that base exist in the game? With that name?
IDLinkUserPlayerUnitType= U class that may not need the class depending on what the boat name is. Could be SSU could be U, I don't have the boat.

Just some ideas to try.

Another thing you could try before adding a flotilla is to add the SSU to an existing flotilla and see if you can get it to work. When you do, you will have the correct info to make a new Flotilla. That way you are only doing one thing at at time. Now you are adding a base, adding a Career Start location and adding a flotilla and adding a new boat.
Do one at a time:
Add the ssu sub to an existing flotilla, replace an existing one if it is easier.
Then add a new flotilla but use an existing sub, (like the Sboat) where you already know the correct info.
Then add the SSU to the new flotilla with the info you learned from adding to Pearl Harbor for example.

When you get an error you will know which one is causing it.

Peabody
Thanks Peabody,

Yeah, I also tried just modifying a campaign just to add the sub. That's how I determined I'm using the wrong ID somewhere. I've tried both SSU and U but neither worked. I'll just keep playing around and changing things until something hopefully works.
I think I found the boat you are using and I downloaded it and made the changes from the text file and it works in single missions but i can't get it into the Career either. Crashes when I make the choise of Inside or outside port for the starting point.

Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.


Last edited by peabody; 01-22-09 at 12:30 AM.
peabody is offline   Reply With Quote
Old 01-22-09, 05:17 PM   #12
Turbografx
Old Stormalong
 
Join Date: Dec 2007
Location: The Gret Stet of Loosiana
Posts: 232
Downloads: 104
Uploads: 0
Default

Quote:
Originally Posted by peabody
Quote:
Originally Posted by Turbografx
Quote:
Originally Posted by peabody
Quote:
Originally Posted by Turbografx
Ok, I'm pretty sure its because the information in one of these lines is incorrect:

Flotilla:
ID=
IDLinkUserPlayerUnitType=

Career:
IDLinkUserPlayerUnits=

Where would I fin the correct input?
Did you change the FremantleCommand in both files? The career start links to the flotilla so they must be the same.
Could be any number of things, but I don't have all the info or the U boat. So I can't check that.

ExternalBaseName= Darwin does that base exist in the game? With that name?
IDLinkUserPlayerUnitType= U class that may not need the class depending on what the boat name is. Could be SSU could be U, I don't have the boat.

Just some ideas to try.

Another thing you could try before adding a flotilla is to add the SSU to an existing flotilla and see if you can get it to work. When you do, you will have the correct info to make a new Flotilla. That way you are only doing one thing at at time. Now you are adding a base, adding a Career Start location and adding a flotilla and adding a new boat.
Do one at a time:
Add the ssu sub to an existing flotilla, replace an existing one if it is easier.
Then add a new flotilla but use an existing sub, (like the Sboat) where you already know the correct info.
Then add the SSU to the new flotilla with the info you learned from adding to Pearl Harbor for example.

When you get an error you will know which one is causing it.

Peabody
Thanks Peabody,

Yeah, I also tried just modifying a campaign just to add the sub. That's how I determined I'm using the wrong ID somewhere. I've tried both SSU and U but neither worked. I'll just keep playing around and changing things until something hopefully works.
I think I found the boat you are using and I downloaded it and made the changes from the text file and it works in single missions but i can't get it into the Career either. Crashes when I make the choise of Inside or outside port for the starting point.

Peabody
Hey Peabody,

Do you know how to fix the "no crew" issue? At least then the sub would work in SM.
Turbografx 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:50 AM.


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