ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» º PANZER GENERAL II Campaign SPEC. º º For v1.00 to 1.02 of Panzer General II. º º COPYRIGHT (c) 2000 by LHJWORLD 1993-2000. º º Version : 1.29 Date : 09/03/2000 º ---------------------------------------------------- º Made by º º Lasse Hintze Jensen º º Lasse_Jensen1@online.pol.dk º º Denmark º ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ ------------------------------------------------------------------------------- Panzer General II Campaign file (*.CAM) breakdown. ------------------------------------------------------------------------------- [Overall] The PG2 campaign file is always 31944 byte big. It can hold a maximum of 50 scenarios as it is. The campaign files has to be in the SCENARIO directory. There can be a maximum of 8 campaigns in that directory. Its not that the game goes down if there is more, the game only sees the 8 first. The flag in front of a campaign is made by the game it self, not the *.CAM file. That means that only the first 5 has a flag. A campaign file can have any name, and the displayed list of campaign is in alphabetic order. That means you can end up with different/wrong flags in front of a campaign. All scenarios (*.SCN) in the campaign has to be in the SCENARIO directory. All MUS files has to come from the Panzer General II CD ! So you cant make your own MUS files - to bad ! All SMK files also has to come from the CD. ------------------------------------------------------------------------------- Fileheader : 44 Byte. --------------------- 2 byte Word : Number of scenarios in campaign. 2 byte Word : Prestigs point for player at start of campaign. 20 byte Array[1..20] of Char : Winning the campaign SMK filename ?. 20 byte Array[1..20] of Char : Loseing the campaign SMK filename ?. - If prestige goes higher then 65535 i will role over to 0, and you will lose it all ! - The winning SMK and loseing SMK, seams to not work, or set out of function ?? In the UK version of PG2 (there is also and US, German and France version) the winning SMK for ALL 5 campaigns is not on the CD !! (Germwin.smk, UKwin.smk ..) The Brilliant Victroy SMK you see between scenarios is demanded by the game itself. It is non-changeable :( It is demanded by player1's main country in every scenario in the campaign. If the main country is not Germany, US, UK or Sojvet, the SMK used is the German one. Ex : if the main country was Denmark, the brilliant victory SMK used is the German one. ------------------------------------------------------------------------------- Scenario data : 50x636=31800 byte. ---------------------------------- 2 byte Word : Total max prestige. This has to do with prestige. It demandes if you get your victory/loss prestige. If you have more prestige, then "Total Max", at the end of a scenario you DONT get the victory/loss prestige! NOTE: its the NEXT SCENARIOS "Total Max" that deside for the CURRENT scenario. If you have less, you get as much of the victory/loss prestige until you run over "Total max". 2 byte Word : Start Max prestige. "Start Max" demandes if you get the "Start player", at the start of a scenario. If you have more prestige, then "Start Max", at the start of a scenario , you DONT get whatever is numbered in "Start player". 2 byte Word : ?? (maybe AI start prestige). 2 byte Word : Start prestige for player. This is prestige you get, at the start of a scenario, if you have less the "Start Max". 20 byte Array[1..20] of Char : Scenario file. 20 byte Array[1..20] of Char : Scenario SMK intro file. 20 byte Array[1..20] of Char : Scenario MUS intro file. 20 byte Array[1..20] of Char : Scenario TXT intro file. 2 byte Word : Prestige point for brilliant victory. 20 byte Array[1..20] of Char : SMK file for brilliant victory. 20 byte Array[1..20] of Char : MUS file for brilliant victory. 20 byte Array[1..20] of Char : TXT file for brilliant victory. 20 byte Array[1..20] of Char : SMK for brilliant victory after TXT. 2 byte Word : Prestige point for victory. 20 byte Array[1..20] of Char : SMK file for victory. 20 byte Array[1..20] of Char : MUS file for victory. 20 byte Array[1..20] of Char : TXT file for victory. 20 byte Array[1..20] of Char : SMK for victory after TXT. 2 byte Word : Prestige point for tactical victory. 20 byte Array[1..20] of Char : SMK file for tactical victory. 20 byte Array[1..20] of Char : MUS file for tactical victory. 20 byte Array[1..20] of Char : TXT file for tactical victory. 20 byte Array[1..20] of Char : SMK for tactical victory after TXT. 2 byte Word : Prestige point for loseing. 20 byte Array[1..20] of Char : SMK file for loseing. 20 byte Array[1..20] of Char : MUS file for loseing. 20 byte Array[1..20] of Char : TXT file for loseing. 20 byte Array[1..20] of Char : SMK for loseing after TXT. 2 byte Word : Brilliant victory, goto to scenario $FF lose campaign $FE end campaign 2 byte Word : If scenario xx has been played goto- 2 byte Word : this scenario. 24 byte Array[1..24] of Byte : Unknown (not used?). 02 byte Word : Victory, goto to scenario. $FF lose campaign $FE end campaign 2 byte Word : If scenario xx has been played goto- 2 byte Word : this scenario. 24 byte Array[1..24] of Byte : Unknown (not used?). 2 byte Word : Tactical victory, goto to scenario. $FF lose campaign $FE end campaign 2 byte Word : If scenario xx has been played goto- 2 byte Word : this scenario. 24 byte Array[1..24] of Byte : Unknown (not used?). 2 byte Word : Loseing, goto to scenario. $FF lose campaign $FE end campaign 2 byte Word : If scenario xx has been played goto- 2 byte Word : this scenario. 24 byte Array[1..24] of Byte : Unknown (not used?). 100byte Array[1..100] of byte: Unknown (not used?). - If prestige goes higer then 65535 it will role over to 0, and you will lose it all ! - The scanarios start by 0 and goes to 49, not 1 to 50. - Its not possible to write a path/filename as the scenario filename. The scenarios has to be in the SCENARIO directory. - The after SMK, is a SMK that comes after the MUS/TXT. Normally used only when loseing the campaign. - Well the prestige setting needs some explanation. The "start prestige" in the "Fileheader" is what you start the campaign with. The "start prestige" in the "Scenario data" is what you get at the start of every scenario in the campaign. BUT you only get it if the "end prestige" is higher or the same ?. Also it is in 10. That means ex. 5 is 0, 28 is 20, 134 is 130......... The "end prestige" is what you have at the upgrade screen, between scenarios no matter what you had before. Lets take an ex : "start prestige" in the fileheader is 500. "start prestige" in scenario data is 150. "end prestige" is 1000. You start the campaign and it is first turn. You will now have "start prestige"+"start prestige"+first turn prestige (from the scenario file) = 650+first turn prestige. Ok you end the scenario with 1328 prestige points, you score a victory. Lets say points for victory is 1000. You will now have 2000 points at the upgrade screen. You just lost 328 points, because "end prestige" say you can only have 1000. - EXTREM IMPORTEND : The TXT file created by the PG2 editor for every scenario, with the same name as the scenario, MUST be in the SCENARIO directory for the Campaign to work. THE CAMPAIGN WILL NOT WORK WITHOUT !!!!!!!!!!!!! The file is used very much by the scenario it self (see Scenario SPEC). - If you use 3 or 4 player scenarios for the campaign, you will get stucked ! When the turn comes to player 3 you will not be able to comtrol the player. You can´t move his units or even end the turn - your stuck. ------------------------------------------------------------------------------- End of campaign file : 100 byte. -------------------------------- 20 byte Array[1..20] of Char : TXT Filename for campaign intro. 80 byte Array[1..80] of Char : Unknown (not used?). - Intro is the text you see, when selecting a campaign in PG2 This file MUST be in the SCENARIO directory, or the campaign will not be selectable !!! ------------------------------------------------------------------------------- END.