AI War:AI Reinforcement
How Do Basic AI Reinforcements Work?
A: In addition to the incoming waves that the AI players send against the human players, the AI gets occasional reinforcements to its own planets. These are the two major ways in which the AI is able to get new ships after the game has started.
AI reinforcements come in cycles per AI player, like the offensive waves do. These reinforcement cycles are a bit randomized, and a bit based on the difficulty level of the AI player (higher difficulty level AIs get more frequent reinforcements, same as they launch more waves).
There are two basic determinants to how an AI player reinforces: how many planets does the AI player NOT control (so, unclaimed planets and player planets), and what the AI Progress is. During a reinforcement, the AI player can do a full reinforcement to however many planets they don't control, and the number of ships added to each planet scales upward based on the AI Progress.
An AI player can never do full reinforcements on more than around fifteen planets in one cycle (the highest difficulties -- 8, 9, and 10 have planet limits of sixteen, seventeen, and nineteen, respectively). It is possible that the AI will choose to do a double-reinforcement to certain high-value planets, in which case it reinforces fewer planets overall, but reinforces them more heavily. Either AI player can reinforce planets belonging to either of them. So if a very important planet is attacked, they might together put as many as 4x reinforcements into that planet in a single pair of cycles (which might be staggered, or might come nearly all at once).
At each planet that is reinforced, the AI player will get ships at every command post and also at the command station. The number of ships added at each post/station is based on the AI Progress. There is ship cap per planet with the AI: 250 x the number of guard posts and command stations (note: this also includes the perma-cloaked wormhole guard posts, which don't die until the command station dies, usually. So planets with more wormholes have higher ship cap intrinsically), with a minimum cap of 250 and a maximum cap of 2500 (per AI player). After that number of ships per AI player is reached they won't keep reinforcing. They'll fill up all the planets on the map to that degree and then stop. They won't reinforce to any non-alerted planets unless all of the alerted planets are full up, in which case they will reinforce any other planet they control. It is possible for a single reinforcement to send the AI over the per-planet limit, but no further reinforcements will be made once the per-planet limit is passed per AI player.
Examples
Take the following map as an example. I own A, computer owns B, C, and D:
A - B - C | D
Q: If I turtle on A the computer will stack all his reinforcements on B?
A: Yes. Until B fills up, in which case he will start putting them elsewhere -- maybe on C and D, or maybe on E, F, Q, Z, A1, A2, etc.
Q: If I conquer B the computer will split the same number of reinforcements between C and D, assuming I do not attack any of the command stations on them, which will each receive roughly 1/2 the amount of reinforcements that would have gone on to B with the full number of command stations.
A: Yes, you can be assured that he will not place reinforcements on any planets that do not have an alert level on them, unless all of the planets with an alert level have filled up. "Filling up" depends on the number of guard posts and command stations at that planet.
Q: If I move on to B, kill everything but the main command and warp gate, the retreat back to A... what now? Will he still reinforce C and D, or will he still put all his reinforcements on B? Is a reinforcement a set # of ships or does it depend on the number of command centers on that planet? For example, will he reinforce 100 ships, but he is only able to put 10 on B because I killed all the command centers rather than the full 100, so the rest go elsewhere?
A: The number of ships that it takes to "fill up" B will then be vastly reduced, and so it will more quickly start spilling over to wherever else in the galaxy. Maybe C and D, but often not. Sometimes on their home planet or other planets they want to defend more for whatever reason. They can't do any more to short-term defend against the planets you directly threaten, so they move out and accomplish other stuff instead.
Q: I guess the question is does the AI get a set number of planets to reinforce (he can reinforce 100 ships to a planet with 5 command posts or 20 to a planet with 1 command post as 1 reinforcement) or a set number of ships to reinforce that he must spread out according to the available command centers?
A: Yes, a set number of planets per reinforcement event. This is dependent on how many planets do not belong to the AI, as discussed in the main body of the article above. The ships are a set number per planet, roughly speaking, so if there are fewer guard posts then it will reinforce more heavily at the remaining ones. But it's using rough percentiles, not fixed numbers, so the numbers won't line up exactly. It's in your favor to have fewer posts there, let's just say.
Q: Also, if I neuter a planet will he ever rebuild the guard posts? Do the guard posts on metal and crystal harvest points do anything for the AI reinforcement wise?
A: "Neutering" a planet refers to leaving the command station, but destroying all the guard posts -- so the planet still belongs to the AI. The AI will never add more guard posts. They gain no resource benefit from any structures, as the AI does not use resources. It's productivity is based on: AI Progress, # Planets it does not control, # guard posts at each planet. So when you cut down on the guard posts at a planet, you majorly hamper its productivity locally, but that does nothing to affect the overall productivity of the AI elsewhere.
Contents
AI Alert Level
What Causes An AI Planet To Go On Alert?
The main cause is being near planets that the AI perceives as being hostile. Any AI planet that is next to a human planet OR a neutral planet will be on alert. When an AI planet is on alert because of being next to a human/neutral planet, that AI planet will be on alert for the rest of the game (since the AI never recaptures planets from human players).
A second, more temporary way for the AI planets to come on alert is based on being near to scary forces. If a human player has a force of at least around 50 ships (or one golem, or two starships) on a planet, then all adjacent AI planet will temporarily be on alert. As soon as the human forces move on, the alert level will go back down. Hostile-to-the-AI Minor factions such as the Dyson Sphere, Marauders, Resistance Fighters, Rebel Human Colonies, the Devourer, etc, will also cause the AI to go on alert until those forces have moved on. In the case of the Dyson Sphere or Rebel Human Colonies, which do not move, those adjacent planets are likely to remain on alert permanently.
How Does The AI Alert Level Affect Where The AI Reinforces?
AI players will generally try to do more reinforcements to highly-contested planets, planets they feel are more threatened by the players, or their home or core planets. The galaxy map contains information on which planets are likely to be reinforced based on actions the human players are taking -- these planets are shown with a red border in the galaxy map, and show "AI Alerted To Your Presence - Reinforcement Is Likely." This indicator is not a guarantee that an AI will reinforce any given planet -- far from it -- but it's an indicator that the AI is at least considering it. Keeping aware of this indicator as you expand into the galaxy is a good idea, since if you alert the AI too much to your presence, the going might get too rough.
In particular, it is a VERY good idea to not get too close to the core or home AI planets until you are ready to take them. Since they both will reinforce with Mark V/Core ships, it can make things very difficult on you if you tip them off to your presence too soon. Deep raids are always a good idea when it comes to that point in the game! When the AI sees your raid, it will then start trying to reinforce, but if your raid fails or withdraws, the reinforcements won't keep ticking upward. This can make all the difference between success and a stalemate...
How Do AI Reinforcements Work At An Individual Planet?
Q: Is the AI gifted with a kind of reinforcement value, that it expends to place new ships or lost turrets? In this hypothesis, is a starship worth 1 reinforcement as any other ship, or you set also a kind of budget here (based on the worth in resources)?
A: It's a bit more complex than that, and isn't a real linear resource system. Instead, it's more of a random population system (like the zombies in Left 4 Dead, for instance), using procedural generation algorithms that you might liken to Perlin Noise or similar, but heavily layered.
What the AI does get is "reinforcement points" in general, which it can spend on reinforcing any given planets it deems as needing a reinforcement. When it does the reinforcement, then that planet receives various ships that depend on:
- The type of the AI (turtles get a huge number of reinforcements, for instance, but no offensive waves)
- How many guard posts are at that planet (the fewer, the lower the AI's ship cap for that planet)
- Any special reinforcement-affecting ships at that planet (AI Troop Accelerators, etc)
- A random factor
- The tech level of the planet and the tech level of the AI doing the reinforcement (it uses whichever is higher).
That algorithm then goes through and populates ships at the command station (if it exists) and at each guard post. If there are fewer guard posts, that will "squeeze" more reinforcements into the remaining guard posts and the command station, so you'll see those reinforce faster.
There are separate sub-algorithms for things like starships and mines, and for the other main mobile military ships. So different types of AIs have a different chance to built ships of an appropriate level during each reinforcement, or to add more starships or mines, etc. The AI does not care about "rebuilding" per se, as it does not keep track of past events. But rather, it looks at the current scenario and builds more based on the needs and caps at the current time.
In general, the goal of the reinforcement portion of the AI logic at a given planet is not to be intelligent, but rather is to provide variety. This is the core of the "scenario building" part of the AI, and having variances is much more important than the AI acting intelligently at that time. Once the ships are down, the AI's goal is then to act as intelligently as possible with the ships it has been given, following the rules of guards/special forces/planetary defenders/etc.
The AI in AI War is doing double-duty, in many senses: it is both your opponent, and it is also the map-creation/scenario-builder tool. In the case of which planets to reinforce, it is acting as your opponent. And in the case of how it then attacks you or defends against your attacks, the same as true. In the case of how a specific planet is reinforced once it is targeted for reinforcement, however, it is acting purely as a map-creator/scenario-builder.
How Do Reinforcements Work After All The Planets "Fill Up?"
Q: As I understand it, guard posts put a cap on reinforcements the local planet receives, but reinforcements will still arrive elsewhere in the galaxy to other planets.
Now my question is, what if you destroyed every single guard post the computer owns? Would it receive overall less reinforcements throughout the universe because now every planet it has is capped? Or in that case does it "ignore" the planet local cap and still receive the same reinforcements?
A: If you play long enough, any AI planet will "fill up" to whatever its max number of ships are based on guard posts, etc. But when that happens, typically the galaxy-wide ship count is north of 70,000 units, so the AI starts combining its ships. Two Mark I ships equals 1 Mark II ship, and so forth. That logic is actually a short term loss for the AI, but it lets them consolidate and then do more reinforcements, so planets keep getting more difficult as the game progresses, even after all the planets have all hit their cap -- they are simply "teching up" instead of getting larger in numbers.
If you were to play a single campaign long enough (at least 30-40 hours, it seems, from player reports), you eventually end up with all AI planets being fully capped out with Mark V ships. This is not really a worry unless you are playing a super completionist game. If you are to that point, you also have the resources and such to deal with it. That's what keeps the game interesting and from just hitting an "end state" for the AI at any point remotely near the length of most player campaigns (sub 20 hours).
Neutering AI Planets
Q: What does it mean to "neuter" an AI planet, and why would I do it?
A: "Neutering" refers primarily to killing all of the normal guard posts on a planet without actually killing the command station. Typically special forces guard posts and astro train stations would also be killed during this process. Based on how the per-planet AI ship caps work (see above), this neutering process basically makes an AI planet much less fearsome because it keeps the number of ships that the AI can maintain at that planet extremely low compared to the overall cap they would have if no neutering was done.
Neutering is also an excellent way to prevent border aggression from the AI on specific planets. The great thing about neutering a planet is that it creates no -- or very low -- increase in AI Progress for the benefits that it provides.
The bad thing is that it doesn't help with AI reinforcements coming to the wormholes or to the command station itself on these planets -- thus travel through the neutered planet is unfortunately not made significantly easier in most cases. One other drawback is that it can cause the AI to spend more reinforcement points on other planets, since it may find itself unable to do so on the neutered planets. This can create increasingly entrenched non-neutered planets if too many planets are neutered all around the galaxy -- think of it like water pressure, as you are backing the AI into a corner and it has nowhere else to go except to entrench in what territory it does have left.
Creating False Alarm Distractions On AI Planets
A: Normally when an AI planet is "alerted to your presence," that is considered a bad thing because it makes reinforcements to that planet likely. This is particularly bad if the planet is high-level, and/or has a lot of objectives on it for you.
But! This same effect can be used to your advantage. The AI is not omniscient, so the more planets you put on alert, the more spread out its defenses become. If you have only alerted a single planet, it will focus on that planet pretty heavily. If you've alerted 50 planets, then the reinforcements become comparably diffuse and confused. It's trying to protect a much larger area from potential incursions, and has trouble doing so.
Think of it this way: if you had 50 of your own planets that bordered hostile AI plants, you'd never be able to effective defend that whole surface area with your limited resources. The same thing is true for the AI. The one caveat is that, as you take more planets and increase the AI Progress, the AI becomes increasingly able to deal with that sort of threat. So trying to alert 50 planets is probably self-defeating.
However, when used in moderation, this tactic can work wonders. Whenever you have a chance to put a few more non-goal-containing planets on alert, all else being equal, it's something you should consider doing. That in turn will make your offense less of a grind. This works best with larger maps, 80 planets or up is ideal. On the smaller maps there is just too much density for there to be room for this to work as well as it otherwise could.