View Full Version : Interesting AI observation

07-15-2011, 11:19 AM
I have been writing a lot of AI code these last couple weeks and it is kind of strange. I have been working on AI for the different races in the galaxy. They need to be able to scout, colonize, defend planets, guard important ships, and attack enemy planets and fleets. All of this is pretty typical for a strategy game and in a normal strategy game the AI needs to be pretty smart about all of this because they are playing against a human. Except we aren't making a strategy game. The races in our game are competing with each other, not the player.

This changes the goal of the race AI. In a strategy game the goal of the AI is to make it challenging and fun for the player to win. In our game the goal of the AI is to create an interesting setting and provide the player with lots of opportunities to effect the outcome of the struggle for supremacy of the various races. For example, in a strategy game if a race needed to send a freighter between planets to transport some goods around, it would probably have to consider how to protect the shipment from the player. In our game destroying that freighter might be a quest. The game wants you to go over there and destroy the freighter. The race that owns the freighter might still try to make this challenging for the player to accomplish though. The difference ends up being subtle, but it's there and it's strange.

07-15-2011, 11:57 AM
I guess if the AI decides to do a quest without the player, like take down the freighter, it could send more than one ship to accomplish this, but if you do it you're on your own. So for the AI it would be a 5 on 5 battle (maybe a stronger faction would send more help to tip the scales) and relatively even, but for the player it's 5 on 1 - statistically uneven but simply a good challenge for a human vs. the AI.

07-20-2011, 05:43 PM
Excited about this game..
Was wondering though - As the AI is waging war in the background with other AI races, would you code the game where it would be possible for an AI to actually win? Would this bring about a sort of end game as missions for the player would dry up if its only one ruling AI race left?

Would you have the possibility of new AI races popping up mid game? Maybe an alien invasion from out of system, or a rebel faction which breaks off from the main race and starts trying to colonize and spread?

07-21-2011, 09:07 AM
Right now I'm thinking that your overall goal in each galaxy is to help 1 race "win".

It could be possible to add in a new race in the middle of the game.

07-24-2011, 12:37 PM
Maybe player could let be free a computer virus that take controls of few ships and become a new AI-controlled race in war with everything ? D