Page 1 of 1

Player select first scenario in campaign

Posted: Mon Oct 08, 2012 10:07 am
by Erik2
Hi
I want the player to select between two campaign threads at the very start of the campaign, ie select between two scenarios.

I have managed to create the briefing with the appropriate buttons.
Image

But when I select the button with the scenario, PzC hangs and I have to manually kill the process.
The scenarios in the campaign runs fine if I remove the first selection screen (and edit the campaign file of course).

Any tips how to get this to work?

The selection briefing is written like this:

<p><b>December 15th, 1944 'Wacht Am Rhein Campaign'</b></p>

<p><b>From Feldmarschall Manteuffel.
<p>Herr General, please select wether you will command the XLVII Panzer Korps or the I SS Panzer Korps.

<p>
<button type="radio" name="NextScn" id="Race For Bastogne">XLVII Panzer Korps</button><br/>
</p>
<p>
<button type="radio" name="NextScn" id="Elsenborn Ridge">I SS Panzer Korps</button>
</p>

The campaign file (the first thread) looks like this:
Image

Re: Player select first scenario in campaign

Posted: Mon Oct 08, 2012 1:23 pm
by fsx
Perhaps, you should try to make a first scenario, that allways ends with a decisive victory (in turn 1). After that you could ask for the real starting scenario.

It could be, that PC needs a scenario after briefing.

Re: Player select first scenario in campaign

Posted: Mon Oct 08, 2012 4:57 pm
by Chris10
fsx wrote:Perhaps, you should try to make a first scenario, that allways ends with a decisive victory (in turn 1). After that you could ask for the real starting scenario.

It could be, that PC needs a scenario after briefing.
+1

Iam almost sure the engine is not made to let you choose at the very campaign start...fsx approach is the best,quickest and most painless workaround

Re: Player select first scenario in campaign

Posted: Wed Oct 10, 2012 11:33 am
by El_Condoro
You'll notice in the stock campaign and elsewhere that the choice is contained in the debrief rather than in the briefing. In other words, as fsx and chris10 have said, the choice follows a scenario. A quick one turn scenario will give the choice. You could set it up with the briefing explaining that if the player does this action e.g. Capture a town or something, they will command this unit, if not, something else. Otherwise, add the choice in the debrief pzbrf file.

Re: Player select first scenario in campaign

Posted: Wed Oct 10, 2012 11:47 am
by Erik2
Thanks guys, will test this as soon as I can get the editor to work again. Currently it will not open, even after a re-install.

Re: Player select first scenario in campaign

Posted: Wed Oct 10, 2012 12:19 pm
by El_Condoro
If you can remember what the last scenario you had open in it, move it and try to open the editor again - there might be a problem with that scenario.

Re: Player select first scenario in campaign

Posted: Wed Oct 10, 2012 5:30 pm
by Erik2
I had a backup of the offending scenario that fixed the editor problem.

The campaign selection worked fine with a dummy scenario with one single unit already in place on the one objective location needed for an automatic win.
Added some explanatory text in the briefing.
Of course I had to set all core units in the first real scenario to arrive at turn-1, but a small price to pay for a working solution.

Thanks everyone!