Log in

View Full Version : Campaign editing


redline202
07-17-15, 10:22 AM
I am experimenting something in campaign, but i don't get it how to place player sub let's say in Kiel for campaign start.
I understand it for single mission's, but how to do that in campaign?
Anyone know?
Thanks.

Trevally.
07-18-15, 04:10 AM
Hi Redline

For each campaign you need to ensure the correct flotilla is used:-
OPEN HORIZONS II v2.5\data\UPCDataGE\UPCCampaignData
open CareerOptions to edit the flotilla for each campaign

here is an example for TotalGermany
[CareerOptions 1]
ID= TotalGermany39

[CareerOptions 1.Flotilla 1]
ID= C1Flotilla1
NameDisplayable= 2. Unterseebootsflottille
IDLinkFlotilla= 2ndFlotilla ; link to ID in Flotilla upc file
IDLinkUserPlayerUnits= F2VIIA, 1
FlotillaBriefingText=
FlotillaCommonality= 1

As you can see the first flotilla is called flotilla 1 in game files but called 2nd flotilla by name displayed in game.


Next look at the flotilla lists in same folder:-
OPEN HORIZONS II v2.5\data\UPCDataGE\UPCCampaignData

open Flotillas

here is the 2nd flotilla:-
[Flotilla 2]
ID= 2ndFlotilla
NameDisplayable= 2ndFlotilla-Name
AvailabilityInterval=NULL, 1944-08-31

[Flotilla 2.Base 1]
ID= F2Memel
NameDisplayable= Memel-Base-Name
Info= Memel-Base-Info
ExternalBaseName= Memel
AvailabilityInterval= 1937-09-01, 1939-09-01
DepartureDescription1= 2535165.891907, 6684654.470551, 217.590399
DepartureDescriptionOut1= 2534940, 6684283, 120

[Flotilla 2.Base 2]
ID= F2Kiel
NameDisplayable= Kiel-Base-Name
Info= Kiel-Base-Info
ExternalBaseName= Kiel
AvailabilityInterval= 1939-09-02, 1939-09-31
DepartureDescription1= 1217736.891907, 6518668.470551, 328.940399
DepartureDescriptionOut1= 1216450, 6531720, 30

[Flotilla 2.Base 3]
ID= F2Wilhelmshaven
NameDisplayable= Wilhelmshaven-Base-Name
Info= Wilhelmshaven-Base-Info
ExternalBaseName= Wilhelmshaven
AvailabilityInterval= 1939-10-01, 1940-06-31
DepartureDescription1= 979351.891095, 6425338.882576, 180.777161
DepartureDescriptionOut1= 983640, 6421670, 0

[Flotilla 2.Base 4]
ID= F2Lorient
NameDisplayable= Lorient-Base-Name
Info= Lorient-Base-Info
ExternalBaseName= Lorient
AvailabilityInterval= 1940-07-01, 1944-08-31
DepartureDescription1= -399004.497429, 5730374.314606, 169.253159
DepartureDescriptionOut1= -403840, 5726020, 225


[Flotilla 2.UserPlayerUnitType 1]
ID= F2VIIA
NameDisplayable= Type VIIA U-boat
AvailabilityInterval= NULL, NULL ;1941-01-01
IDLinkUserPlayerUnitType= VIIA
UnitTypeCommonality= 4 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL

[Flotilla 2.UserPlayerUnitType 2]
ID= F2VIIC
NameDisplayable= Type VIIC U-boat
AvailabilityInterval= 1940-07-30, NULL
IDLinkUserPlayerUnitType= VIIC
UnitTypeCommonality= 10 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL

[Flotilla 2.UserPlayerUnitType 3] ; To Subsim guys - I know 2nd Flotilla didn't use type VIIB's, but i didn't want the player to be sent back to Kiel.
ID= F2VIIB
NameDisplayable= Type VIIB U-boat
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= VIIB
UnitTypeCommonality= 8 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL

Look at the starting base for 2ndflotilla:-
[Flotilla 2.Base 1]
ID= F2Memel
NameDisplayable= Memel-Base-Name
Info= Memel-Base-Info
ExternalBaseName= Memel
AvailabilityInterval= 1937-09-01, 1939-09-01
DepartureDescription1= 2535165.891907, 6684654.470551, 217.590399
DepartureDescriptionOut1= 2534940, 6684283, 120

Key info from Memel is:-
AvailabilityInterval= 1937-09-01, 1939-09-01
this is the date range for that base

DepartureDescriptionOut1= 2534940, 6684283, 120
This is the coords in meters for the starting point for your boat - note the 120 is the heading

So with this infor you can add new bunkers (with object editor) and/or move the boat start point or date range.


If you want a simple way to start TotalGermany in Kiel - you can just edit the flotilla file so the the date for Memel is outside campaign date and adjust the kiel base so that it is used at the start date for that campaign

Hope that helps:up:

redline202
07-18-15, 07:07 AM
Hi Redline

For each campaign you need to ensure the correct flotilla is used:-
OPEN HORIZONS II v2.5\data\UPCDataGE\UPCCampaignData
open CareerOptions to edit the flotilla for each campaign

here is an example for TotalGermany
[CareerOptions 1]
ID= TotalGermany39

[CareerOptions 1.Flotilla 1]
ID= C1Flotilla1
NameDisplayable= 2. Unterseebootsflottille
IDLinkFlotilla= 2ndFlotilla ; link to ID in Flotilla upc file
IDLinkUserPlayerUnits= F2VIIA, 1
FlotillaBriefingText=
FlotillaCommonality= 1

As you can see the first flotilla is called flotilla 1 in game files but called 2nd flotilla by name displayed in game.


Next look at the flotilla lists in same folder:-
OPEN HORIZONS II v2.5\data\UPCDataGE\UPCCampaignData

open Flotillas

here is the 2nd flotilla:-
[Flotilla 2]
ID= 2ndFlotilla
NameDisplayable= 2ndFlotilla-Name
AvailabilityInterval=NULL, 1944-08-31

[Flotilla 2.Base 1]
ID= F2Memel
NameDisplayable= Memel-Base-Name
Info= Memel-Base-Info
ExternalBaseName= Memel
AvailabilityInterval= 1937-09-01, 1939-09-01
DepartureDescription1= 2535165.891907, 6684654.470551, 217.590399
DepartureDescriptionOut1= 2534940, 6684283, 120

[Flotilla 2.Base 2]
ID= F2Kiel
NameDisplayable= Kiel-Base-Name
Info= Kiel-Base-Info
ExternalBaseName= Kiel
AvailabilityInterval= 1939-09-02, 1939-09-31
DepartureDescription1= 1217736.891907, 6518668.470551, 328.940399
DepartureDescriptionOut1= 1216450, 6531720, 30

[Flotilla 2.Base 3]
ID= F2Wilhelmshaven
NameDisplayable= Wilhelmshaven-Base-Name
Info= Wilhelmshaven-Base-Info
ExternalBaseName= Wilhelmshaven
AvailabilityInterval= 1939-10-01, 1940-06-31
DepartureDescription1= 979351.891095, 6425338.882576, 180.777161
DepartureDescriptionOut1= 983640, 6421670, 0

[Flotilla 2.Base 4]
ID= F2Lorient
NameDisplayable= Lorient-Base-Name
Info= Lorient-Base-Info
ExternalBaseName= Lorient
AvailabilityInterval= 1940-07-01, 1944-08-31
DepartureDescription1= -399004.497429, 5730374.314606, 169.253159
DepartureDescriptionOut1= -403840, 5726020, 225


[Flotilla 2.UserPlayerUnitType 1]
ID= F2VIIA
NameDisplayable= Type VIIA U-boat
AvailabilityInterval= NULL, NULL ;1941-01-01
IDLinkUserPlayerUnitType= VIIA
UnitTypeCommonality= 4 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL

[Flotilla 2.UserPlayerUnitType 2]
ID= F2VIIC
NameDisplayable= Type VIIC U-boat
AvailabilityInterval= 1940-07-30, NULL
IDLinkUserPlayerUnitType= VIIC
UnitTypeCommonality= 10 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL

[Flotilla 2.UserPlayerUnitType 3] ; To Subsim guys - I know 2nd Flotilla didn't use type VIIB's, but i didn't want the player to be sent back to Kiel.
ID= F2VIIB
NameDisplayable= Type VIIB U-boat
AvailabilityInterval= NULL, NULL
IDLinkUserPlayerUnitType= VIIB
UnitTypeCommonality= 8 ; to be used when a random choice is assigned
IDFlotillaLinkTransferTo= NULL

Look at the starting base for 2ndflotilla:-
[Flotilla 2.Base 1]
ID= F2Memel
NameDisplayable= Memel-Base-Name
Info= Memel-Base-Info
ExternalBaseName= Memel
AvailabilityInterval= 1937-09-01, 1939-09-01
DepartureDescription1= 2535165.891907, 6684654.470551, 217.590399
DepartureDescriptionOut1= 2534940, 6684283, 120

Key info from Memel is:-
AvailabilityInterval= 1937-09-01, 1939-09-01
this is the date range for that base

DepartureDescriptionOut1= 2534940, 6684283, 120
This is the coords in meters for the starting point for your boat - note the 120 is the heading

So with this infor you can add new bunkers (with object editor) and/or move the boat start point or date range.


If you want a simple way to start TotalGermany in Kiel - you can just edit the flotilla file so the the date for Memel is outside campaign date and adjust the kiel base so that it is used at the start date for that campaign

Hope that helps:up:


Hi Trevally.
Many thanks and cheers for sure :up: