Advertisement

Brand new to AI

Started by December 09, 2011 12:00 PM
2 comments, last by alvaro 12 years, 11 months ago
I have never ever done anything in AI but the game that I am currently making requires quite a bit of it, so where should I start? I have never done even the slightest bit of AI so I am really confused :|
If someone can give me a link for AI for the absolute beginner that would be really helpful.

Thanks
What type of game is it?
Advertisement
It is a flight combat game
I already have the plane flying done, you can fly a plane around and crash but now I need enemy planes
Have you read the sticky at the top of this forum? That has some good general recommendations.

You need to decide how you want the enemy planes to behave (What are the basic actions they can take? Do they use predefined maneuvers? What could possibly affect the decision of what action to take next?) and then write that in code. Some of the standard techniques (finite state machines, behavior trees, utility maximization) can help you with the general structure of the code. But in the end a lot of game AI consists of this: Start with some basic behavior; find where it's not doing what you want; fix it; rinse; repeat. Once it behaves the way you want, you are done.

This topic is closed to new replies.

Advertisement