Page 1 of 1

Need assistance with AI SEE ME & ATTACK ME

Posted: Fri Dec 03, 2004 10:36 pm
by dawasw
Hello again, instead of eating my keyboard in cause of non good map editor for irrlicht, maybe i would try from something else. ANYONE MADE A LITTLE ai SIMPLE, EASY function, where md2 will go up right below mine fps camera eyes and attack me ?? Any types of this little ai function or any sugesstions would be very nice. I mean lovely. (But please , DON'T tell me -> GO LEARN c++ YOU n00b) ((don't tell mu such thing because i'm too lazy and crazy of computer software bugs to do something with learning of c++, i mean window$ already made me sooo nervous that i sometimes think about playing "monitor ping-pong" )

Posted: Fri Dec 03, 2004 11:48 pm
by Robomaniac
Go Learn C++ you noob ;) (semi-j/k)

Sorry, but to get anywhere in game programming, you can't be lazy, and you prolly should lean some c++ or programming in general

Posted: Sat Dec 04, 2004 4:43 am
by Guest
learning c++ would definetly help ya.

now here's one thing ive learned: when you wanna figure out how to do something, it doesnt hurt to take a glance at the way its been done before, even in simple cases, and figure out whats really happening for yourself.

the problem with AI is that it is not simple.

Take it slow, the progress will be rewarding and feel great.

http://www.cprogramming.com is a great start!

Posted: Sat Dec 04, 2004 11:40 am
by dawasw
Hmm maybe you are right...

Posted: Sat Dec 04, 2004 4:14 pm
by Tyn
What I would do is to have a function that is called every frame and handle the AI. So, it may check if an enemy is visible and if it is then stop doing what it was doing and attack, or carry on patrolling ( or whatever else you have them doing ).

Posted: Sun Dec 05, 2004 4:14 am
by dingo
Also try researching on gamedev.net and similar places AI.

You'll get some great introductory material and then you'll be able to tell others the theory behind it as well as using it