| View previous topic :: View next topic |
| Author |
Message |
MarkShot
Joined: 07 Jul 2002 Posts: 491
|
Posted: Tue May 31, 2005 1:32 pm Post subject: Campaign completion? |
|
|
I completed my third campaign last night. The first two resulted in being sunk and this was the first one where survived the war.
I was a little dissappointed, since the final patrol did not seem to update my cumulative results in the campaign score board and cumulative results screens. It was as if the I had never even played that patrol.
Is there any way that I can create a dummy last patrol SDF so that the next time I play it will not throw out the results from my final patrol?
Thanks.
---
I found this file called:
Atlantic.cam
containing:
| Quote: |
;
; Campaign file for Pacific Aces
;
; Automatically generated by PACG on 30-May-2005 at 22:23
;
[CAMPAIGN]
ScenarioBase = Scenario
[BLOCK1]
Text = PAces43
ScenarioFirst = 1
ScenarioCnt = 4
Date1 = 19430302
Date2 = 19430422
Date3 = 19430912
Date4 = 19431107
ClassChoices = 1
ShipClass1 = Balao
[SCENARIO1]
Scenario = Pacg_001
NonRandom = TRUE
ScoreMin = 10
[SCENARIO2]
Scenario = Pacg_002
NonRandom = TRUE
ScoreMin = 10
[SCENARIO3]
Scenario = Pacg_003
NonRandom = TRUE
ScoreMin = 10
[SCENARIO4]
Scenario = Pacg_004
NonRandom = TRUE
ScoreMin = 10
|
If I change the "ScenarioCnt", add another "Date5 =", add "[SCENARIO5]" section, and create a dummy Pacg_005, then would I prevent the game from throwing away my final patrol's data?
Now, that I look, it seems that PACG always generates six patrols even if the player is assigned less.
Thanks. |
|
| Back to top |
|
 |
MarkShot
Joined: 07 Jul 2002 Posts: 491
|
Posted: Tue May 31, 2005 2:29 pm Post subject: |
|
|
He! he!
I just wrote another little mod script to post process PACG.
;*****************************************************
; Pacific Aces 1.1 Game Over - Dummy Patrol so you get
; all results
;
; Mark Kratzer on 05/31/05; modified 05/31/05
;*****************************************************
CampControlFile = "E:\Games\SH2 PA\Shell\CampaignFiles\Atlantic.cam"
wFileOpen(CampControlFile)
wTopOfFile() ; position cursor
wFind("ScenarioCnt = 4",1,0,0,0)
If WGetLineNo() <> 1 Then
NewCnt = "ScenarioCnt = 5"
NewDate = "Date5 = 19490531"
DateSearch = "Date4"
ScenarioBlock = "[SCENARIO5]"
Goto Process
EndIf
wFind("ScenarioCnt = 5",1,0,0,0)
If WGetLineNo() <> 1 Then
NewCnt = "ScenarioCnt = 6"
NewDate = "Date6 = 19490531"
DateSearch = "Date5"
ScenarioBlock = "[SCENARIO6]"
Goto Process
EndIf
wFind("ScenarioCnt = 6",1,0,0,0)
If WGetLineNo() <> 1 Then
NewCnt = "ScenarioCnt = 7"
NewDate = "Date7 = 19490531"
DateSearch = "Date6"
ScenarioBlock = "[SCENARIO7]"
Goto Process
EndIf
Message("Error", "Unexpected number of patrols!")
Exit
:Process
wInsString(NewCnt)
wFind(DateSearch,1,0,0,0)
wEnd()
wNewLine()
wInsString(NewDate)
wEndOfFile()
wInsString(ScenarioBlock)
wNewLine()
wInsString("Scenario = PacgGameOver")
wNewLine()
wInsString("NonRandom = TRUE")
wNewLine()
wInsString("ScoreMin = 10")
wNewLine()
:Done
wFileSave()
wWinClose()
Message("MKPACGOVER", "Dummy final patrol added - to save career data!")
Exit |
|
| Back to top |
|
 |
Hitman
Joined: 14 Sep 2002 Posts: 3059 Location: Spain
|
Posted: Thu Jun 02, 2005 2:27 pm Post subject: |
|
|
Very nice I never noticed that bug in SH2/PA...though I admit that I never played the campaign to the end. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|