magnusmarcus
Prince
I'm good with it as well
I seem to recall (and it would make sense) that if we are at war with another AI (i.e. Toku), then an AI (such as Hammy) will have greater incentive to declare war on us.ZPV said:Preparation time = 10 turns. If he still hasn't decided he's ready after an additional 10 turns, he drops WHEOOHRN.
He decides he is ready, if the landmass gets AREAAI_OFFENSIVE.
If Hatty used Iron to build a Spearman, Axeman, or Swordsman, would any of those units appear in place of the War Chariot bragging, either replacing the War Chariot message or else alternating between the War Chariot message and its own message?LowtherCastle said:Note: Hatty completed IW on T65, but doesn't threaten with anything but War Chariots so far. Hammy does not have IW yet.
I'm fine with putting a Chop into an Axeman and delaying the Granary by building 1 or more additional Axemen. What I would suggest, though, is that:LowtherCastle said:We could finish the chop this turn into a scout or an axe, either completed next turn. An axe shouldn't have any problem surviving a barb and is useful as a defender.
True, although it will help more against Combat I Axes, and the AIs don't tend to build stacks with purely City Raider I promotions. Still, it's a moot point as we don't really have the Worker turns available at the present moment.ZPV said:@Dhoom: a fort won't really provide much benefit against a CR1 axe.
@ZPV -- Urgent
Dhoom triggers some interesting and perhaps critical code-diving questions.
1. Will Hammy DoW if he encounters our axe out in the field or wil he wait till his SoD arrives at our borders?
2. If borders, does he DoW on the turn he's able to enter our borders?
3. If DoWing before entering, will he do that from a tile we occupy? (Because the act of DoWing will teleport his SoD 1NW, closer to his nearest city. Or does he prefer to move 1S to a vacant tile, then DoW the ensuing turn?
4. If he only DoWs next to our border froma vacant tile, can we essentially prevent him from ever DoWing us, by occupying all three western tiles, adjacent to our borders?
Found it. He needs a SoD and a target city. If he has those, he can even switch war plan early.
He'll be coming once the stack is together.
ZPV, just to double-check my understanding, your code-diving shows that DanF is wrong that this occurs only AFTER a fixed number of turns?After a fixed number of turns it checks whether it has accomplished to spam enough offensive units to attack (I have also described it in this post to understand what was going on in Sisiutil's ALC#24). If yes the battle plans change to AREAAI_OFFENSIVE / AREAAI_ASSAULT and the war plans change to WARPLAN_LIMITED or WARPLAN_TOTAL which is followed by the actual DoW.
ZPV, just to double-check my understanding, your code-diving shows that DanF is wrong that this occurs only AFTER a fixed number of turns?
Toku is also protective and the XML has his preferred unit as CITY_COUNTER.As part of his (Saladin) personality he also favors to build units with (the wrong) UNITAI_COUNTER (XML-value UnitAIWeightModifier) during times of peace. Together with his protective trait this turns him more into a strong defender than a real threatening offensive aggressor (compare to Monty!).
If we don't meet an AI, it cannot dogpile us.Dhoom:
If we are at war, there is a chance for AIs to spontaneously dogpile, without even being bribed.
Then maybe we shouldn't explore to the north-west of our empire with either a Warrior or an Axeman. Having a Barb unit between us and Hammurabi might slow down Hammurabi a bit when he comes, by luring his forces away or to split up.Sending out the warrior to scout rather than the axe is risky, because there might be barbs trapped between us and the Great-Walled Hammy.
But if he DoWs by "entering" our territory, while his units are standing on top of the chokepoint that we are standing on top of, assuming that the chokepoint is neutral territory, what will happen to his units? Will they just bypass the chokepoint? Will his first unit bypass the chokepoint and the rest be teleported to the NW of the chokepoint?If we DoW, our units get teleported. If he DoWs, his units get teleported towards his nearest city.
There will be no large SoD build. That's only happening while preparing a MAX_WAR. ATTACK or ATTACK_CITY units will collect up to 2 units to form a mini stack.
ATTACK and COUNTER units will prefer to stack with an ATTACK_CITY group head, if not available then ATTACK. ATTACK_CITY will not stack at all to other units.
As soon as the AI has enough CITY_DEFENSE, ATTACK and CITY_ATTACK (based on number of cities and population), it wants all the other stuff also (with the RNG playing a big role).
What's the birthmark of the sword . That's a random number set when the unit was born.
OK, the sword (assuming attack city) can only leave via target city, if nothing to attack is in range. As the AREAAI is defensive for Fred (WARPLAN_ATTACKED_RECENT), this is only possible if the stack size is greater or equal stackOfDoomExtra. This number is 2 + birthmark % 7, so a random number between 2 and 8. Still the city is not allowed to get under defended by them leaving.
Here's some stuff from SG7, which was Vanilla, btw, but maybe hasn't changed significantly.Another thing: Counter and reserve units group with the stackOfDoom boolean set.
That means the stack size they still add to, is not only 2 (as it looks at the first glance ), but 4-10 depending on the birthmark of the group head.
And another fact that might be a problem. An attack city or attack group head and his stack will wait for units that want to stack with them, if located inside own territory.
The possibilities are:Then maybe we shouldn't explore to the north-west of our empire with either a Warrior or an Axeman. Having a Barb unit between us and Hammurabi might slow down Hammurabi a bit when he comes, by luring his forces away or to split up.
Better to have him encounter the Barb units than to have our unit clear a path for his full stack, right?
Another way of looking at the situation: let's say that Hammy sends, say, 4 Axemen and 1 Spearman. It could be that by having 2 defending Axes on our chokepoint, we could lose both of our units in those battle. But, if we have 2 defending Axeman and a defending Warrior, our Warrior will likely die but will come up as a defender ahead of a badly-wounded Axemen of ours, saving an Axeman and even maybe winning a fight versus an attacking Spearman. So, perhaps having our Warrior stay on the chokepoint along with the Axeman is going to be the best approach, followed by building yet another Axeman for that chokepoint. Doing so would ruin the "lure Hammy's stack" idea, but if by not going toward the NW, we keep at least 1 Barb unit alive, then this luring might already end up taking place, thereby delaying Hammurabi's war.
Even if a Barb unit attacks Hammurabi's stack and wounds a unit in it, the time that Hammurabi will spend (1 or 2 turns) healing with his stack could buy us some valuable time.
Knowing when Hammurabi will come won't change the timing of when he does come, so perhaps we should just assume that Hammurabi is "already on his way" and make appropriate preparations with that assumption in mind.
But if he DoWs by "entering" our territory, while his units are standing on top of the chokepoint that we are standing on top of, assuming that the chokepoint is neutral territory, what will happen to his units? Will they just bypass the chokepoint? Will his first unit bypass the chokepoint and the rest be teleported to the NW of the chokepoint?
We want to leverage each war for tech "trading." We're going to need Iron Working before we can bulb Machinery+Engineering, so we'd like to get it with a DoP. To do that with Hammy, we'll need to be able to threaten one of his cities, in addition to some war success. So we need to know where his nearest cities are and have a unit on location to threaten it. Of course, Hammy will also have to research IW for us, but we could take other tech(s) instead, and get IW from a DoP with Hatty. (And we need to get Alpha from Toku before any other tech trade.)Knowing when Hammurabi will come won't change the timing of when he does come, so perhaps we should just assume that Hammurabi is "already on his way" and make appropriate preparations with that assumption in mind.
Here's some stuff from SG7, which was Vanilla, btw, but maybe hasn't changed significantly.
We know that Hammy must be preparing for Total_War (what klarius is calling MAX_WAR I think) because we are not a land target of his, assuming he went WHEOOHRN because of us. So my takeaway from this is that he will want to create SoDs as large as the birthmark of the group head allows, 2, 4, 6, 8, or 10. Or, as large as is required by the current TotPop+#ofCities, which would be 6, if 5 is not possible for boolean reasons.
Also, it shouldn't be a problem that TOku likes to create CITY_COUNTER, because they happily attach to group heads, so he only needs enough group heads (1, 2 or 3) to collect 6 units total. Those group heads need to be ATTACK_CITY or ATTACK and he needs at least one of them.
Does that sound about right, ZPV?
Okay, ZPV, the question is, should I continue now or not?
Do we need to test my idea of preventing the DoW? What's the easiest way to set up an AI to WHEOOHRN us? I suppose we could make ourselves a land target of Monty, but using mountain tiles for the common borders, so that we could set up a 3-tile window along our border and put units on the 3 tiles outside our borders and see if his SoD will DoW when it lands on an occupied tile.
Okay. So it goes.He will DoW. I've just tested it.