Page 1 of 1

Branches

Posted: Tue Dec 13, 2016 11:03 am
by Erik2
I've tried setting up branches using the boB as an example, but the campaign always picks the first scenario in the branch.
So I would appreciate some help.

The relevant part of the data.cmp files looks like this:

[BRANCHES]
0 = Poznan
1 = Danzig Corridor North, Danzig Corridor South
2 = Lodz

.....

[Danzig Corridor North]
location = 1.049,-0.720
scenario = 2DanzigN
specs = germany, 5
result = 2,2,2,2,2
core = wehrmacht 0.833,0.345
flag = germany -0.081,-1.414
flag = poland 1.838,-1.247
arrow = 50,50,50 0.938,0.004 1.049,-0.720
arrow = 50,50,50 0.298,-1.380 0.897,-1.323

[Danzig Corridor South]
location = 1.049,-0.720
scenario = 2DanzigS
specs = germany, 5
result = 2,2,2,2,2
core = wehrmacht 0.833,0.345
flag = germany -0.081,-1.414
flag = poland 1.838,-1.247
arrow = 50,50,50 0.938,0.004 1.049,-0.720
arrow = 50,50,50 0.298,-1.380 0.897,-1.323

Thanks

Re: Branches

Posted: Wed Dec 14, 2016 9:15 am
by Horst
Is it actually possible to manually select which mission you take during a campaign with the current coding?
I've once merged the Morning and the Rising Sun campaign in the past, but I'm only used to the automatic result-progression from there.

Re: Branches

Posted: Wed Dec 14, 2016 2:16 pm
by Erik2
The official mod Battle of Britain is supposed to give the player a choice which scenario to start with.

Re: Branches

Posted: Wed Dec 14, 2016 3:07 pm
by Erik2
I ran the BoB mod and it does not give you the option to choose between the unit demo scenario and the 'real' one. It just opens the first scenario.
So it seems branching is currently not supported.

Re: Branches

Posted: Thu Dec 15, 2016 12:14 pm
by adherbal
It works fine for me in the BoB mod. What do you mean by "it does not give you the option to choose between the unit demo scenario and the 'real' one"?

Re: Branches

Posted: Thu Dec 15, 2016 8:31 pm
by Erik2
adherbal wrote:It works fine for me in the BoB mod. What do you mean by "it does not give you the option to choose between the unit demo scenario and the 'real' one"?
BoB always start with the unit presentation scenario. I was expecting to be able to skip it by choosing the second scenario in the branch. Some kind of letting the player select between scenarios in a branch.

Re: Branches

Posted: Sat Dec 24, 2016 4:41 pm
by adherbal
I'm confused. I click the "BoB" scenario marker which selects it and then click launch. Now I'm playing the BoB scenario instead of the unit demo. Is that not what you are seeing?

Re: Branches

Posted: Sun Dec 25, 2016 3:07 pm
by Erik2
Updated the mod in v2.9.9

Launching the campaign opens the unit demo scenario. There's no option to choose between this and the other scenario. I would expect to be able to do this is a branch, select between them.
Or does branch mean something different in OOB?