PDA

View Full Version : Help with creating campaign.


Turbografx
01-21-09, 08:49 AM
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:
[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:
[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.

keltos01
01-21-09, 10:50 AM
why 8 different types for the same type of boat ?????:o

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

Turbografx
01-21-09, 11:36 AM
why 8 different types for the same type of boat ?????:o

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
01-21-09, 12:06 PM
Ok, I got rid of the redundant boats in both Career and Flotilla but when I get in game, the menu still says: S-18 Class, Porpoise Class, Salmon Class, Sargo class????:dead:

Webster
01-21-09, 03:09 PM
why 8 different types for the same type of boat ?????:o

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

peabody
01-21-09, 05:09 PM
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:
[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:
[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

Turbografx
01-21-09, 05:53 PM
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:
[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:
[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
01-21-09, 06:20 PM
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?

peabody
01-21-09, 06:51 PM
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

Turbografx
01-21-09, 09:54 PM
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.

peabody
01-21-09, 11:32 PM
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

Turbografx
01-22-09, 05:17 PM
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.