Skip to main content
gamedev.net
🔒 Locked

Ai Engine?

Started by Xeno Apr 22, 2000 at 3:42 PM 14 replies 800+ views
Original Post
Xeno
Xeno
well, all of u talking on game engine and graphics engine that u are doing , but is there somebody who doing something like AI engine, its sounds very cool. if there is one, i really want to know how u doing it. Posted By Xeno. Kobe Bryant- "Just believe in yourself"
------------------------------- Goblineye Entertainment------------------------------
WhatEver
WhatEver
Are you asking how to make an AI work? Are you asking how to make an AI react to other sprites on in the game?
Chris F
Chris F
No I think its pretty obvious he''s asking if anyone is programming an AI engine and if so how they are doing it.
"I have realised that maths can explain everything. How it can is unimportant, I want to know why." -Me
WhatEver
WhatEver
I guess I don''t know what an "AI engine" is then *shrug*.

I''m really new talking to people about programming. I don''t know all the terms people use related to programming. I''m mostly a programming book worm, and I''ve had 4 years hands on experience programming in c/c++. Most of the game ideas I use now I learned on my own before I ever read about them, so I kinda came up with my own naming conventions.
aDasTRa
aDasTRa
I was just about to start on one for a 3-d game i am working on. I have also done some work in the past on ai learning and also "talking" (natural language processing and conversations). Fun stuff it all is, i think.

<(o)>
<(o)>
WhatEver
WhatEver
Thanks :D. I understand now.

I''ve made one AI, and I find them fun to make. I was planning on it to have multiple personalities determined by his level of health, then I decided not to because it was only an Asteroids game. It was good practice though.
aDasTRa
aDasTRa
I have worked with the whole multiple personnality thing. I found it is relatively easy to implement, and you don''t even really need to hard code a lot of it, let the game determine each individual ai''s mental state based on stuff life, health, ammo remaining, proximity to enemy, proximity to friends and support, visiblity (can it clearly say the player, can the player see it, etc). It is suprising how much variance you can get with a relatively simple model

<(o)>
<(o)>
WhatEver
WhatEver
aDasTRa, it''s implimented in my Asteroids type game, I just haven''t set them up.
Ingenu
Ingenu
I''ve thought of a AI engine, but not done it sofar.
(I''ve a 2d/3d to get working actually)

However there are some AI engine sold by professionnal, so it''s possible to make one.

One of them (the most adavanced I know) is DirectAI, made by a frensh firm.


-* Sounds, music and story makes the difference between good and great games *-
-* So many things to do, so little time to spend. *-
Kylotan
Kylotan
quote:
Original post by WhatEver

I''ve made one AI, and I find them fun to make.


Ah, you seem to use ''AI'' as some sort of noun referring to an actor in the game that isn''t player controlled. Quite a few people do this, but I prefer to call them NPCs (Non-Player Characters) to distinguish them from generic AI which is generally just your system for making so-called intelligent decisions for those NPCs. Of course, as long as you understand what everyone is talking about, that''s fine.
Xeno
Xeno
where i can find some reading stuff about adding AI to my characters in my game?

Posted By Xeno.
Kobe Bryant- "Just believe in yourself"
------------------------------- Goblineye Entertainment------------------------------
Yanroy
Yanroy
Look here on gamedev... one of the things on the main page says something like programming resource. If you do a search for AI, you get tons of stuff! It is probably a good idea to do a search for a specific type of AI.

--------------------


You are not a real programmer until you end all your sentences with semicolons;

Yanroy@usa.com

Visit the ROAD Programming Website for more programming help.

--------------------

You are not a real programmer until you end all your sentences with semicolons; (c) 2000 ROAD Programming
You are unique. Just like everybody else.
"Mechanical engineers design weapons; civil engineers design targets."
"Sensitivity is adjustable, so you can set it to detect elephants and other small creatures." -- Product Description for a vibration sensor
Xeno
Xeno
thanks a lot guys , all of u.

Posted By Xeno.
Kobe Bryant- "Just believe in yourself"
------------------------------- Goblineye Entertainment------------------------------
WhatEver
WhatEver
Kylotan, I''m not sure what you mean exactly. The AI(I need to no more about the NPC definition) that I made was controled by states, as is my player, but I control my player states through KB commands. My enemies are controled by things that happen on the screen. My origional idea was to make the way he reacts to things on the screen change when he''s at a certain level of health, ie full health=timid, 75% health=timid, 50% health=cautious, 25% health=kamakazi .

Imagine this to be an Asteroids game with free floating characters.

Details of the AI went like this. If the space ship was greater than the small sphere(real close to player), and less than the attcking sphere, the AI would fire his weapons at me for 1.5 seconds, then back up for a fraction of a second, spin exactly 180 degrees from the enemy, then re-attack once it came back within the attack sphere. If the enemy came within the players small sphere, it would stop shooting and fly in revers to avoid hitting me.

I also made it possible for enemy characters to lock on and kill other enemy characters if one of their bullets should hit them :D.

Is what I described an AI?

Did you think I was calling "a character" an AI instead of saying "AI"? Funny, that''s probably what you meant when you spoke of it being a noun. Anyway, I had to clear this up so I know what to say in the future.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.