Advertisement

I'm 16 and I want know how to program AI.

Started by October 13, 2001 09:29 PM
25 comments, last by madhatter256 23 years ago
I''m 16 and I want know how to program AI.
I''m 17 and I want to know how to write Quake4! ( I hope topic is a joke...)

No, seriously, pickup one of the following books...
Tricks Of The Windows Programming Gurus
Windows Game Programming For Dummies

They both introduce AI in a very simple way.

"So much fun, so little time."
~Michael Sikora
Advertisement
Get a book with ''AI'' in the title.

-Mezz
How to program AI in three easy steps:

1) Think about what you want the AI to do.

2) Think about how you would achieve it at the most basic, simple level, if you were in the same situation.

3) Take the information the AI needs from the simulated world and program it to carry out the tasks in the same way you would do it.

For instance, how do you pathfind from A to B? How do you avoid dynamic objects while walking? How do you decide the right way to fire a gun to hit a moving target? How do you decide which kind of building to build next in an RTS?

Sure, there''s different, more complex ways of doing this stuff, but the best way of understanding it is just to play about based on what you''d do in the same situation.

Mike

"Experience is something you get just after you need it"
could you specify the kind of AI you want?
There are many kinds.
pathfinding, npc AI, hunter seeker, etc.
"Luck is for people without skill."- Robert (I Want My Island)"Real men eat food that felt pain before it died."- Me
quote: Original post by madhatter256
I''m 16 and I want know how to program AI.


Get any of the FPS games and their associated SDKs/kits, such as Quake II or Halflife . You''ll get a full game, a zillion examples on building ''bots on the various web sites supporting the games, and you can just focus on the AI ideas without worrying about a game or anything else.




Ferretman

ferretman@gameai.com
www.gameai.com

From the High Mountains of Colorado

Ferretman
ferretman@gameai.com
From the High Mountains of Colorado
GameAI.Com

Advertisement
its easy to code the ai but thinking about what u want the ai to do is the challenge
how is 16 important
the only thing I can think of is that you are telling us you are probably old enough to read, so we might suggest a library
Knowing he''s 16 gives an indication about how much education he has...

e.g.
I''m 14, how do I implment a 3D free-time physics engine?
>Study math and calculus for 4 years, try then.

or

I''m 4, how do I program AI?
>Finish programming your own brain, then try programming someone elses.

I''m 16, how do I program AI?
Can you write some C code yet? If not learn C first. Then buy that book, or mod this this game
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
*hmpf* I''m 14 and know, how to implent a physics Engine *pf*

This topic is closed to new replies.

Advertisement