Bots: AI Battlefront allows you to write your own bot-controlling programs, the Artificial
Intelligence (AI) that drives them in the game, using any programming language that targets the
Microsoft® .NET platform, such as Visual C#®, Visual Basic®, and others.
When you set up a game in the Game Viewer, you assign an AI program to each bot that will tell it
what to do. Depending on its program it will move, look around, fire the weapon, transmit
information to allies, make decisions based on its surroundings, and so on.
Just how intelligent a bot is depends on its program, and that's totally up to you as its
programmer. It might simply roam around the battlefield, scanning for an enemy and firing when
one is found. It could gather information about its surroundings and use that to its advantage,
such as remembering a place to go for cover during a retreat. It might be team-oriented so that
bots can work together and share information, like the positions of enemies. The possible
strategies are infinite, limited only by the imagination.
This guide is designed to give you the information you need to start writing AI, such as how the
gaming system works, how to set up your Visual Studio® solution, and the basics of writing code.
Recommended Topics