Question about editing campaign.pzdat

A forum to discuss custom scenarios, campaigns and modding in general.

Moderators: Slitherine Core, Panzer Corps Moderators, Panzer Corps Design

Post Reply
MickMannock
Staff Sergeant - Kavallerie
Staff Sergeant - Kavallerie
Posts: 331
Joined: Fri Jul 22, 2011 8:09 am

Question about editing campaign.pzdat

Post by MickMannock »

I need some help editing the campaign.pzdat-file.

Lets say I let the player chose if he wants to do Barbarossa or North Africa after the Greece scenario. I have edited the scenario ending-files accordingly, but what do I do with the campaign.pzdat-file? As it is now, there is only one alternative in the 'next label' column.

Do you understand my question?

As you can see below that's the row in the file for Greece. All outcomes indicate the Barbarossa scenario comes next. But if the player can chose between Barbarossa and North Africa, how do I channel the player into the correct scenario?

Greece GreeceA.pzbrf Greece.pzscn Barbarossa 1520 GreeceB_decisive.pzbrf Barbarossa 1520 GreeceC_marginal.pzbrf Barbarossa 1520 GreeceD_loss.pzbrf

*edit*

Looking further down the rows I notice at the Barbarossa row (decisive victory column) there is a blank. I think that is when you can chose between Rush to Moscow and Kiev.

So is that how it is done, leaving it blank?
El_Condoro
Panzer Corps Moderator
Panzer Corps Moderator
Posts: 2119
Joined: Tue Jun 03, 2008 9:32 am

Re: Question about editing campaign.pzdat

Post by El_Condoro »

This is an example. At the end of Metz I want the player to chose to go to the Ardennes or Strasbourg if they get a DV.

1. Edit the DV briefing with this:
The id is the name of the next scenario file with the option text the player sees.

<p>
Where would you like to refit your units; the quiet of the Ardennes forest, or the bars of Strasbourg with its French skirt and champagne?
</p>

<p>
<button type="radio" name="NextScn" id="MS_US_Ardennes">Ardennes forest</button><br/>
</p>

<p>
<button type="radio" name="NextScn" id="MS_US_Nordwind">Strasbourg</button>
</p>

2. Where the DV cell is in the Metz line in campaigns.pzdat - empty it of contents (as you have seen for Barbarossa)

The player will then get the option button - the option enters the value in the pzdat and away they go...
MickMannock
Staff Sergeant - Kavallerie
Staff Sergeant - Kavallerie
Posts: 331
Joined: Fri Jul 22, 2011 8:09 am

Re: Question about editing campaign.pzdat

Post by MickMannock »

As I suspected then.

Thanks for the help, El_Condoro!
Post Reply

Return to “Panzer Corps : Scenario Design”