Can someone explain the fix for AI armies?

jackdubl

Benevolent Dictator
Joined
Dec 19, 2002
Messages
67
I read if you change some line from "x=y" to "x=y-1" then the AI will load units with the same speed into armies and fix the problem of the AI not loading its armies. Is this correct? Can anyone tell me exactly how to do this? Does it change anything with regards to my own armies?
 
This thread might help you, but there's nothing that can be changed in the Conquests.INI file, or any other text file that would change the AI's behavior with Armies, AFAIK.

The way I handle the situation is I change the Army unit in the editor to a 'Corps' with One Transport Slot, and +4 HP.

Hope that helps.
 
I refuse to believe that Firaxsis released this game without ever knowing that Armies and Artillery, and SGL's in Conquests were so broken that they are all on the fence of unusable.

I do believe they released the expansion, knew that they were broken, and just didn't care, since a patch was never released. Bad! Bad Firaxsis!

They are correct though, 1 unit armies are pretty much the only way to go... otherwise AI will sit it's army waiting for a faster speed unit forever.
 
On the other hand, the other day I was playing the good ol' Teturkhan mod and encountered an army of 24 cavalry (out of a possible 40 i think). Not only was it encountered, but it actively attacked me! I had to make an army of tanks to defeat it. This mod was done for PTW, so things still worked in the editor then, but i was playing it with conquests... so if you just set up armies using the PTW editor it seems to solve the problem? sorta short sighted, but it was a fun experience.
 
tom2050 said:
Conquests added the +1 speed to an Army I believe... which is what causes the problem (AI doesn't want to load slower units into an Army I think).

Hmmm...has anyone tried loading a movement 2 infantry unit into the army? Would the AI use it I wonder?
 
I believe that PTW would keep army speed at 2 for a 2 speed infantry. So AI would keep loading other fast units into it.

Conquests, in all it's brilliance, made an Army that had a 2 speed infantry unit loaded, suddenly become a 3 speed unit. Most of the time, there are not 3 speed units around, so Army just sits there waiting forever for more units to load.

If the Army if filled though, it will actively use it. I believe that is why 1 unit armies are really the only way to go to ensure that AI at least uses them immediately.
 
Strange, in my mod armies are used a lot by the AI, they're loading units fine, moving aggressively around on the map and attacking. Don't know what caused this, though.
 
Strange, in my mod armies are used a lot by the AI, they're loading units fine, moving aggressively around on the map and attacking. Don't know what caused this, though.

Alright, so what "stat" and numbers did you use for your Army ????
 
Strange, in my mod armies are used a lot by the AI, they're loading units fine, moving aggressively around on the map and attacking. Don't know what caused this, though.

What units are loaded though, and how many?
The AI will sometimes fully load armies, but the scenario has to be:

1. Some Infantry (MP1)
2. Knight/Tank (MP2)
3. Cavalry/Modern Armor (MP3)
4. Nothing, unless you have a unit with 4 MPs

That's the best scenario assuming the AI doesn't load 2 or 3 first.

Such weird armies I've seen moving around even in unmodded Conquests, but with 1-unit armies and auto-produced armies they are seen more frequently and used at full power compared to the human player.

If your AI loads 3 Knights or 3 Tanks into 1 army, then you must be cheating ;)
 
What I do in my game is I make the Battled-Create Unit=Army instead of leader, I only allow one unit in the army and I give the army a HP bonus of +9.

Battle-Created Unit=Army means that each civ can only have one army at any one time, because a Battle-Created Unit must be destroyed before another can be created.

I do the same, and I also have another Army unit with a few less HP spawned from the Military Academy. (AFAIK the AI will not build Army units either)

I read if you change some line from "x=y" to "x=y-1" then the AI will load units with the same speed into armies and fix the problem of the AI not loading its armies.
That sounds like exactly what needs to be changed in the code. :hmm:
 
Ok these are my settings:

Spoiler :

army1.jpg



This is a shot from a random test game (= "brick on the enter key" method, no preplaced units):

Spoiler :

army2.jpg



In the shot above alone are 7 AI armies, all fully loaden. Only thing I noticed is that there is often one foot unit (1MP) in it, but not necessarily:

Spoiler :

army3.jpg



Most civs are using a lot of armies, and I don't have any wonder that would generate them. The AI builds them like regular units:
Spoiler :

army4.jpg



I'm using the NoRaze patch in my game.

:)
 

Attachments

  • army1.jpg
    army1.jpg
    282.9 KB · Views: 108
  • army2.jpg
    army2.jpg
    247.4 KB · Views: 147
  • army3.jpg
    army3.jpg
    238.8 KB · Views: 169
  • army4.jpg
    army4.jpg
    485.6 KB · Views: 139
Can't find anything special in the Army settings. At first I thought it's OK because technically MP 1 + 2 + 2 should be possible if MPs are rounded down e.g. an army with infantry(1MP) and knight(2MP) may still have 2 MPs - I don't remember if that was the case but probably yeah. Still, that doesn't explain the middle army with 3 x 2 MP units :eek:

EDIT: What are the MPs of Mameluk and Cavalry in your mod? If i'm not mistaken there's no 3x2 MP in those screenshots, it's 1+2+3, 1+2+2 and 2+3+3 in all of them, is that right?
 
Unless I'm mistaken it's still the same bug, except that by having units with 3 MP available all around, the AI is much more likely to fill armies capped at 3 (but not 4, so don't use the wonder thingy) with these combos (1-2-2, 1-2-3, 2-3-3) and possibly, as a consequence of having filled one army, it's more likely to build another and so on.

In default C3C you have no 3 MP units until Cavalry, and then until Modern Armor, so armies are not that common. Wouldn't work in MEM either, most Western civs have no 3 MP units at all until like 4th era.

At least until you guys can "spot the difference", that's my guess ;) If playing as Carthage, the Human player would be able to create 4 MP armies (with 3 cavalry/mamluks) which the AI can't do. So it's not PTW-like, at least not in the above screenshots (assuming Mamluk has 3 MP).
 
EDIT: What are the MPs of Mameluk and Cavalry in your mod? If i'm not mistaken there's no 3x2 MP in those screenshots, it's 1+2+3, 1+2+2 and 2+3+3 in all of them, is that right?

Both have 3 MP. So it's an 3x3MP Army, and no, I'm NOT cheating. ;)

And yes, it's a Conquests game.
 
Back
Top Bottom