Subcategories
-
53 Topics421 Posts
-
0 Votes7 Posts1k Views
-
2 Votes1 Posts314 Views
-
0 Votes5 Posts602 Views
-
0 Votes4 Posts678 Views
-
1 Votes27 Posts7k Views
-
4 Votes4 Posts891 Views
-
1 Votes4 Posts1k Views
-
0 Votes30 Posts6k Views
-
3 Votes4 Posts928 Views
-
0 Votes5 Posts1k Views
-
0 Votes5 Posts771 Views
-
3 Votes4 Posts687 Views
-
1 Votes4 Posts1k Views
-
2 Votes27 Posts6k Views
-
0 Votes5 Posts904 Views
-
0 Votes2 Posts321 Views
-
0 Votes2 Posts899 Views
-
0 Votes8 Posts1k Views
-
1 Votes14 Posts2k Views
-
0 Votes2 Posts538 Views
Recent Posts
-
I am very sorry for my above post. I do think that you have a legitimate bug/issue. I have found the cause to your problem (review issues #14447 and #14457). While investigating this issue I uncovered other problems with how the AI handles the placement of units. To me these fixes seemed simple, so I submit a PR to make those changes. A test was created to check the output of the file I wanted to change.
The file passed all the tests. I took issue with the test file because it failed to test the broken functionality of file. Some changes were made to the test but none of the testing covered any of the issues which I raised. So again, I took issue with the test.
Now I'm being told to find the rules.
When a Human places an isConstruction unit, either given or purchased, there are certain rules the player follows. These are the same rules the AI player follows when placing a purchased isConstruction unit. But the rules change for the AI player when placing a given isConstruction unit. Why? So now I have to find a rule that governs the placement of a given unit because it's not the same as placing a purchased one.
A human player as to follow certain guidelines with respect to the use of "placementAnyTerritory", "placementAnySeaZone" or "placementCapturedTerritory" but the AI does not have to follow the same guidelines unless there is a rule?Why are there different sets of rules for placement given that a player is Human vs AI?
Again, sorry for the rant. The fixes are easy. But without a rule they will not be made.
Cheers...
-
Let me see if I can explain things better. For reference I'll be looking at the "Axis & Allies Anniversary Edition" rule book. Page 10
*The U.S. player places the new Chinese units at the same time that the new U.S. units are placed. They may be placed on
any Chinese-controlled territories, however those units cannot be placed on any territory that already contains three or
more units. *To be rule complaint "World War II v3 1941" has:
<attachment name="rulesAttachment" attachTo="Chinese" javaClass="games.strategy.triplea.attachments.RulesAttachment" type="player"> <option name="movementRestrictionTerritories" value="Chinghai:Ningxia:Sikang:Yunnan:Hupeh:Fukien:Suiyuan:Manchuria:Kiangsu:Kwangtung"/> <option name="movementRestrictionType" value="allowed"/> <option name="productionPerXTerritories" value="2"/> <option name="placementAnyTerritory" value="true"/> <option name="placementCapturedTerritory" value="true"/> <option name="placementPerTerritory" value="3"/> </attachment>"placementAnyTerritory" allows a player to place any non-isSea unit into any land territory that was owned at the start of the players turn (Human player only not AI players). can you place in any LAND territory you owned at the beginning of the turn? (Does not include newly captured territories for Human players only.)
"placementCapturedTerritory" allows a Human player only, not used by the AI player to place these units because "placementAnyTerritory" assumes placement into newly captured territories as a default, to place units into newly captured territories, but still follows production rules. can you place in territory you captured this turn?
Even though these are handled/enforced differently they are both considered rule complaint and so it will not be changed.
And don't get started on "placementAnySeaZone" (For Human player only) can you place in any SEA territory beside a LAND territory you owned at the beginning of the turn? But because there is no rule for placement of sea units without production, the AI will not be changed this.
One would think that the same rules would apply to the placement of a purchased factory would apply to the placement of a given factory. They do not. And because there are no rules that govern the placement of a given factory do not expect this to change ant time soon.Cheers...
-
You can only give Human players factories with triggers but you can't give them to AI players.
Yes, its wrong, TripleA should allow the AI to place Factories, because the Player can.
@wc_sumpton
Is this a question because the Devs want confirmation that, the AI should be allowed to place Factories like a human player?
-
So in the PoS2 it states:
isConstruction values: allows the unit to be placed in territories that don't contain factories.But because this is not a rule, requiring the AI to place isConstruction units in territories with factories is not a bug.
There you have it @thedog. You can only give Human players factories with triggers but you can't give them to AI players.
Cheers...