@Funcioneta:
A very important question: is there a limit for the number of powers that can do convoy damage? I can make all the other powers do damage, but the last 2 powers in the list (China and France) cannot do convoy damage, no wonder what I try. I don’t care about China (at least in this module), but France is important because of the Madagascar dd. I cannot change the positions of India and France because it’s needed that axis can raid India’s Income
I cannot specifically remember what my discovery was on this matter, but you are quite likely right that it can only support up to 8 (idk why Attila didn’t think of the Globabl game when he instituted the system for P40). If this is the case, I guess you will have to find some way to work around it until a someone with C/C++ programming know-how to remedy the deficiency.
@Funcioneta:
@Stoney229:
• Subsequent lines identify listed powers as allied together. This information is used, for example, for convoy route or “national objectives” purposes, where a sector or group of sectors must be controlled by a power’s side for that power to receive an amount of income. These lines must begin with the word “allied”, followed by a list of single-digit integers representing powers. The line “allied 1 3 6” shows that powers 1, 3, and 6 are allied together. Powers are numbered by their order in ToolPieces.bmpG and BigPieces.bmpH. Note that powers numbered 10 or greater cannot be a part of these lists (as far as I can tell).
Not totally true: since it’s a hexadecimal system, the max number is f (15). In my G40 module, France uses ‘a’ and still sums the income right. However, I’m not sure if powers with a number greater to 8 can do convoy damage (based on my experience)
that’s what I would have assumed, but I tried “a” and it didn’t work for me. Either my trial had some other error, or you are misunderstanding (slash-I have miscommunicated) the function of these ally groupings. Where I have written “convoy route” here in this post, I am speaking of the “convoy routes” of games released before AAP40 (as opposed to the “convoy disruption” system of the AA1940 series), which functionally work in the modules basically the same way as the National Objectives (since the old system of convoy routes was that you had to control a specific sea zone in order to get the income of a certain territory or something like that). So in the 1940 modules, the only function of the ally grouping in the MapInfo text file, which is only a function IF you implement automatic NO-calculation in your module, is that (in accordance with the rules) any one of a power’s listed allies can control the sectors required for NO fulfillment in order for that power’s NO to be automatically calculated. This is why, in my P40 module, the USA (Oki + Iwo) NO requires the special “OCVR” designation (which was specifically created by Atti for that NO), since the rules state that the USA only receives income for that particular NO if the USA (specifically) controls both territories (e.g. UK or ANZ owning either one or both means USA does not get the NO). Does that make sense? This is why I had said before that I could not include France in the auto-NO calculations.
Now that I have tediously explained all this to you, you will tell me that you already understood all this and that France being listed as “a” actually works (and my own trials were somehow erroneous) so my explanation was pointless. I’ll be happy anyway, because that only makes it easier for you if you are wanting to implement Auto-NOs. If you are not implementing Auto-NOs, then the ally groupings have no function (that I can think or am aware of)