Author Topic: Slinging raid  (Read 5299 times)

Offline Nibelung44

  • Jr. Member Mark II
  • **
  • Posts: 75
Slinging raid
« on: November 04, 2009, 03:00:23 pm »
Is it possible that the AI manage to "sling" a raid from a warp gate in system A (that it owns) to system B, if the wormhole from A to B is under my control (with shield, tractor beam and tachyon)?

I fear the answer is yes, although it would not be fair! The ships are supposed to go through this wormhole to pass to B.

Related question, I find a bit silly and illogical that the AI is able to create (100% built) turrets under my force field, when it owns a system. Shields should prevent that. That is also the interest of a beachhead no?

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Slinging raid
« Reply #1 on: November 04, 2009, 03:53:39 pm »
Yes, it's a slingshot effect.  For more on that, please see here:  http://arcengames.com/mediawiki/index.php?title=AI_War_-_Gate_Raids#Warp_Gates  The ships are not supposed to have to go past the wormhole to pass to B, unless they are coming locally from A.  These other ships never existed at A, but are being sent directly to B using nav data from the warp gate on A, rather.

The only way to effectively defend against raids is by building on your planet, and/or destroy the warp gate on the AI's planet.   Building defenses on the AI's planet is completely ineffective, as you've noted.

On the related question, all of the AI reinforcements arrive 100% built -- and in the case of turrets, the AI builds those around wormholes or command posts, and fixed-position ships aren't "pushed" by force fields.  So those turrets are under there, but they can't actually hurt your guys, they are hitting the force field itself.  Think of them as still being outside the force field, just on the Z axis instead of on the X/Y axis.  Your ships will still rip through them without taking a scratch (forcefield aside) if it happens.

In general, it is often a good idea to not build beachheads right on top of wormholes unless you have a force stationed there to take out the stuff that the AI spawns at the wormholes.  If you need the forcefield clear then placing on top of it is a great idea, if you just want an independent beachhead that isn't being harassed the entire time, then building it a bit away from the wormhole in empty space is better.

Hope that helps!
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline Nibelung44

  • Jr. Member Mark II
  • **
  • Posts: 75
Re: Slinging raid
« Reply #2 on: November 05, 2009, 05:16:23 am »
ok thanks... it clarifies things at least!

Why not disabling turret generation if the position would be under an enemy force field? This is not very logical currently? But I can live with that.

I need to enemy side of the wormhole, because I want to have a sheltering place for some stuff without killing the enemy station and gate (too costly in AI progress). So in this case, sadly, I'll need to control both side of the same wormhole to be safe, either against the locals and a raid sent.

Only slightly related questions:
Why removing all command posts is called neutering a planet? If a station is  there, it can still receive reinforcements I believe?
Also, can a warp gate allows reinforcements (not speaking of a wave), but the usual reinforcements.
Last, 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 capital ships worths 1 reinforcement as any other ship, or you set also a kind of budget here (based on the worth in resources) ...

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Slinging raid
« Reply #3 on: November 05, 2009, 10:45:25 am »
ok thanks... it clarifies things at least!

Why not disabling turret generation if the position would be under an enemy force field? This is not very logical currently? But I can live with that.

Well, it's entirely logical if you think of this as pseudo-3D space, which is one premise of the game.  That's why ships are able to fly "on top" of each other without any problem, is that their Z axes vary.  In this case, the turret is outside your force field, just "under" it in the sense of the Z axis.

I need to enemy side of the wormhole, because I want to have a sheltering place for some stuff without killing the enemy station and gate (too costly in AI progress). So in this case, sadly, I'll need to control both side of the same wormhole to be safe, either against the locals and a raid sent.

Avoiding killing the command station at a planet (and the warp gate) comes at the cost that the AI will still viciously try to defend it.  And with Warp Gates, regardless of what else you leave on a planet with it, it will warp raids against adjacent planets (and the planet itself if you take over that planet but leave the warp gate), by design.  That's the price you pay for saving some AI Progress -- if there wasn't a tradeoff, no one would ever kill these things on non-resource-bearing planets.

But I've certainly used your tactic in various situations (generally I kill the warp gate, though, which solves the one issue).  But as far as setting up defenses at the AI wormholes so that I can send my ships through territory that I intend to leave hostile, etc.  Often I'm doing that with the core planets around the AI's home planet, where they often have far too many high-level ships to combat them all directly.

Why removing all command posts is called neutering a planet? If a station is  there, it can still receive reinforcements I believe?

Yes, the station can still received reinforcements, but its cap is much lower.  Each guard post at a planet allows the AI more ships at that planet, so when you destroy them all the AI might max out at around 500 or 1000 ships instead of 4000 or 5000, for instance.  Also, especially if the command station is out of the way, it can allow you really unfettered travel through the planet aside from those forces it puts at the wormholes (which you can lock down via the methods you are already using, though you have to keep a garrison there to keep them free).

You haven't killed the AI on a given planet when you do this, but you've severely muzzled/hamstrung/neutered/decimated/pick-your-word them, is the idea. :)

Also, can a warp gate allows reinforcements (not speaking of a wave), but the usual reinforcements.

If you look in the abilities listing (the purple text in the hover tooltip) for any unit, it will tell you if it functions as a Warp Gate (Wave Only), Warp Gate (Reinforce Only), or Warp Gate (Full), which applies to both reinforcements and waves.  In the case of Warp Gates (the unit by that name), they are Full, which means both.  So as long as they exist, or the command station exists -- or, for that matter, as long as a special forces guard post exists -- the AI can get reinforcements at that planet.

Last, 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 capital ships worths 1 reinforcement as any other ship, or you set also a kind of budget here (based on the worth in resources) ...

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:
1. The type of the AI (turtles get a huge number of reinforcements, for instance, but no offensive waves)
2. how many guard posts are at that planet (the fewer, the lower the AI's ship cap for that planet)
3. any special reinforcement-affecting ships at that planet (AI Troop Accelerators, etc)
4. A random factor
5. 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), at the wormholes (if the command station 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, turrets, and mines, and for the other main mobile military ships.  So different types of AIs have a different chance to built turrets 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.

These were great questions!  I'm going to make sure and add these to the wiki.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!

Offline laxrulz777

  • Full Member
  • ***
  • Posts: 104
Re: Slinging raid
« Reply #4 on: November 05, 2009, 12:31:20 pm »

 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.


Is this true at all AI levels or does the AI place units more "intelligently" at higher skill levels (for example, building ships and turrets good against bombers and raid starships when a force field is present or placing sniper turrets in far out of the way places rather than the wormhole that I'm going to warp in at)?

Offline x4000

  • Chris McElligott Park, Arcen Founder and Lead Dev
  • Arcen Staff
  • Zenith Council Member Mark III
  • *****
  • Posts: 31,651
Re: Slinging raid
« Reply #5 on: November 09, 2009, 11:27:10 am »

 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.


Is this true at all AI levels or does the AI place units more "intelligently" at higher skill levels (for example, building ships and turrets good against bombers and raid starships when a force field is present or placing sniper turrets in far out of the way places rather than the wormhole that I'm going to warp in at)?

Oops, somehow I managed to miss this for days.  Yes, the above is true for all levels.  Bear in mind, there is a heavy mix of intelligence versus scenario-building there.  For example, it follows certain build rules and has certain bounds on what it can do (so that it doesn't do anything too stupid, etc).

And it also has some map-building heuristics in there that cause it to build more of whatever ship it has the most of at a location, too.  So if you have been attacking them heavily and that is the ship that survives your attacks the best, the AI will tend to build more of those, etc.  That's something that I built in to make for more uniqueness in map building in general, but a lot of things like that also have strategic implications, making them a bit more intelligent and directed than something that is just random or whatever.

In general, a lot of the AI in AI War is like that -- bounded, directed, fuzzy logic/randomness.  I've talked about the benefits of this sort of thing at great length on my blog, and in a well-received presentation at AIGameDev.com, and elsewhere.  Let me know if there are more questions, though.
Have ideas or bug reports for one of our games?  Mantis for Suggestions and Bug Reports. Thanks for helping to make our games better!