Starting with AI

Posted By: Sunn

Starting with AI - 09/14/08 19:29

I just want to know which AI tutorial for the begginers. And which AI is better for opponents in racing game and which AI for 1st person shooter. Thanks
Posted By: Anonymous

Re: Starting with AI - 09/14/08 20:10

If you want the get some basic informations about the AI then take a deeper look here: http://en.wikipedia.org/wiki/Artificial_intelligence

For a racing game or a 1st-person game (shooter?) I don't think you should implement AI. Some good managed triggers and a pathfinding (for the shooter) should do it.


Posted By: Sunn

Re: Starting with AI - 09/14/08 20:21

Thanks. Your link is very helpful.
Posted By: Oxy

Re: Starting with AI - 09/14/08 23:35

well pathfinding is a part of AI.

To explain AI in short:

Its a search-algorythm, ment to find solutions similar to a human
counterpart.
Posted By: Anonymous

Re: Starting with AI - 09/15/08 06:16

If you want to dive in: http://www.gameai.com/
Posted By: Sunn

Re: Starting with AI - 09/15/08 16:19

2 Oxy
thank for your post . I know what is the AI and pathfinding.
I just want to hear which method/realization of AI using in racing games and which in 1st person shooters.thanks
Posted By: Sunn

Re: Starting with AI - 09/17/08 20:54

Hi everybody.I guess i find the cool method for ai in racing games.But i don't know how to realize it yet.
So...

the car is rolling on the road and it has its own path but when the road is blocked the car must drive by blockin object(just don't cross over the borders)...
Am i on the right way?=) I want to hear from you some advises...
Posted By: Anonymous

Re: Starting with AI - 09/20/08 07:12

Yes thats a good start.

Now add a statemashine to handle what action the car currently follows (drinvin staigth to next node, detecting a block, finding the best way arround, set point beneath the path to drive arround, drive to block, return to path).

With the path (and waypoints) you can also manage the position calculation).

Here's a techdemo of such a racing game with paths:

(you see the human controlled car)

PS: to give the cars more AI you should let them brake/accelerate with blocking obstacles.

© 2024 lite-C Forums