FPools.txt questions

Post bug reports and ask for game support here.
Post Reply
Aetius2
Posts: 136
Joined: Sat Dec 11, 2010 3:56 pm

FPools.txt questions

Post by Aetius2 »

Hi Steve,

During playtesting of a new grand campaign for my Radzymin'44 mod i messed up the save game file by changing quantities in the FPools.txt during an ongoing campaign.

I'm at turn 15 (3 turns per day), about halfway into the campaign playing soviets Vs germans single player.
When i make moves (or don't make moves) the game crashes to desktop once i hit execute.

I had increased quantity of reinforce units that had already arrived in turn 7 (FPools.txt), presumably this is the cause of the crash.
Can you confirm that changing quantities of reinforce units mid-campaign would interfere with an ongoing saved game?

Some more questions about the FPools:

from the workbook:
------------------------------------------
Change Record Count (0+)

EACH CHANGE RECORD: Force Pool change records allow you to add or remove teams on a specific turn of the campaign. The turns are counted with 0 being the first possible turn, through the normal number of turns per day, including night turns if applicable.
Change Turn Required Supply (0 = none, 2 = full) Retry (0/1) Team Class (as above) Quantity (negative to remove, positive to add) Team Class Quantity Team Class Quantity Team Class Quantity Team Class Quantity Team Class Quantity Team Class Quantity Team Class Quantity

Reserved (0)
-----------------------------------------------

What does the retry(0/1) do?
What does the Reserved(0) do?

Thanks in advance

Aetius
User avatar
SteveMcClaire
Posts: 4341
Joined: Mon Nov 19, 2007 9:31 pm

Re: FPools.txt questions

Post by SteveMcClaire »

I can't confirm with 100% certainty without trying it myself, but changing the data files out from under a saved game could certainly lead to crash. Many of the values in the saved game are indexes into the data files, and if these indexes end up pointing to something different due to data file changes you will get strange behavior and a crash is possible. You can generally tweak the values of an existing entry in the data files, or add completely new entries at the very end of a data file, but anything other than that is likely to cause a problem.
Aetius2
Posts: 136
Joined: Sat Dec 11, 2010 3:56 pm

Re: FPools.txt questions

Post by Aetius2 »

"You can generally tweak the values of an existing entry in the data files"
I do this constantly to tweak weapons and vehicles data and never had a crash.

Now i've changed only quantity of a few teams in the fpools.txt that arrived as reinforcements on turn 7 ("team class" remained the same).
How does the engine keep track of quantity of teams?
-Store initial quantity of "team class" in save game and decrease that number with teams lost during campaign?
-Engine loads quantity of "team class" each time from Fpools.txt, decreases it with stored "teams lost" during campaign?
User avatar
SteveMcClaire
Posts: 4341
Joined: Mon Nov 19, 2007 9:31 pm

Re: FPools.txt questions

Post by SteveMcClaire »

The FP reinforcement change records are saved as part of the campaign save file. If you then change the data file you have a mismatch between the data in the saved game and the FPools.txt data file, which I suspect is what is leading to your crash.

Regarding the other questions you had on FP change records:

1) Retry with a value of '1' means to keep checking the BG's supply level each turn until it reaches the level required by the change record. A value of '0' means that if the BG supply level isn't high enough on the turn when the change record first occurs then the change is lost/never takes place.

2) The Reserved field doesn't do anything at the moment. Just leave it as 0.
Aetius2
Posts: 136
Joined: Sat Dec 11, 2010 3:56 pm

Re: FPools.txt questions

Post by Aetius2 »

Thanks for your answers Steve, much appreciated
Post Reply

Return to “Tech Support”