Decades have passed since the war erupted between the United Space Federation and The Alliance of Free Worlds. A bloody conflict that seemed to have reached a stalemate is now about to change, when a thrid faction suddenly appears. Take control of a fleet commander returned from exile, rise through the ranks of the United Space Federation forces and join an epic war across the stars. Start with a small group of frigates, and climb your way to controlling battleships, carriers and planetary bases, in huge space battles and boarding actions. Build space stations and orbital facilities to fortify your position, build your fleet, extract minerals and research upgrades. Execute boarding actions using marine special forces, and bombard your enemies with orbital long range cannons.

Report RSS Gemini Wars skirmish development

A preview and explanation of what we're doing in skirmish mode.

Posted by on

Hello everyone,

As the title says, we've been working on the AI for Skirmish maps. It does share a lot of things with the AI we use in the Campaign, but the master brain is a bit different. The AI in GW is divided in 2 major brains: the upper brain that commands major actions (attack here, defend here, research this, move there), and the minor brain that controls actions of individual ships (jump here, avoid this ship, shoot that ship).

So, when the AI decides that it's time to attack the player, it searches a fleet that can do that, and if there's no immediate threat, searches a good target for the attack. Once it finds the fleet, it sends each of the ships of that fleet the instructions to jump to a certain asteroid field, and there they go. From that point, the minor brain of the ships takes over.

This is a very basic explanation of how the AI is working.
Most of these things already happen in the Campaign AI, but a Campaign scenario is much different from a Skirmish scenario. In a skirmish scenario both factions start from zero, and in campaign scenarios the AI is already established, so the requirements from the point of view of the AI are different.

The following screenshots show the AI working in a test map. The player is the blue faction; we simply built 3 mining stations and 1 military station, and we didn't do anything, we just watched what the AI is doing (you won't be able to see this in the game like we're showing here, because of the fog of war).

The AI starts by expanding to the systems in range, builds 1 military station, and starts building mining stations to get resources, it then continues building an additional military station and research stations. With the research stations, starts researching better engines to get more range, and once it gets it stars expanding further. Defensive turrets are built, defensive shields, better ships, better weapons and armor researched, and it starts pressing on the player.

With our holy coder powers we start deleting their fleets that approach our positions, to give some more time to the AI to expand without eliminating us this soon. We let them get us on the last image. Overall, it's already working pretty good, but still needs some work, balancing and difficulty settings adjusted.

So below, some shots for your enjoyment.

Balanced forces:

Skirmish


2 Military stations and 4 Mining stations:

Skirmish


It seems the AI already made a fleet for scouting. Here they come near Sigma Field.

Skirmish


3 planets with Military stations and Research stations, 4 Mining stations, several turrets around Sooran Field.

Skirmish


1 Colony founded in Sharru. It's the only earth like planet nearby; the other 2 are gas planets and the AI doesn't have the technology to colonize them yet.

Skirmish


Several more asteroid fields are being explored; most of the map is already in control of the AI.

Skirmish


One of our Mining stations in Wei field is under attack.

Skirmish


We lost Wei Field, and the AI keeps pressing on.

Skirmish


Another of our Mining stations is under attack, and so is our only planet!

Skirmish


Ok, we lost everything except 1 Mining station.

Skirmish


And game over :-D.

Skirmish

Post comment Comments
RagnarokX
RagnarokX - - 104 comments

Funny. All screenshots are the same.

Reply Good karma Bad karma+4 votes
BCamel
BCamel - - 68 comments

they are not. You can check the AI expanding

Reply Good karma Bad karma+3 votes
RagnarokX
RagnarokX - - 104 comments

Oh my. Im sorry. After checking for details, i have to agree with you. Sorry.

Reply Good karma Bad karma+2 votes
DonJaket Author
DonJaket - - 55 comments

The shots are shown from far away so the enemy progress can be visible on the entire map :-)

Reply Good karma+2 votes
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: