Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jul 22nd, 2008, 1:14 AM   #1
JOORDEE
Programming Student
 
Join Date: Feb 2008
Location: Baltimore,MD,USA
Posts: 28
Rep Power: 0 JOORDEE is on a distinguished road
Ai

Does anyone here know anything about AI
__________________
I Want Dat Pie
JOORDEE is offline   Reply With Quote
Old Jul 22nd, 2008, 6:46 PM   #2
King
Professional Programmer
 
King's Avatar
 
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 380
Rep Power: 3 King is on a distinguished road
Re: Ai

Yes… but you are going to have to be more specific. There are many areas to cover when it comes to AI. Are you looking into AI for a game you are making? Maybe start by looking on Wikipedia for some general info on AI and then come back for any specific questions you have about it (mainly in the area of programming it as that is what this forum is for ).
__________________
I am Addicted to Linux!
King is offline   Reply With Quote
Old Jul 22nd, 2008, 10:38 PM   #3
ZenMasterJG
Hobbyist Programmer
 
ZenMasterJG's Avatar
 
Join Date: Nov 2004
Location: Boston, MA
Posts: 148
Rep Power: 4 ZenMasterJG is on a distinguished road
Send a message via AIM to ZenMasterJG
Re: Ai

Quote:
Originally Posted by JOORDEE View Post
Does anyone here know anything about AI
Yes.
ZenMasterJG is offline   Reply With Quote
Old Jul 23rd, 2008, 12:00 AM   #4
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Re: Ai

Quote:
Originally Posted by JOORDEE View Post
Does anyone here know anything about AI
Yes.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Jul 23rd, 2008, 12:45 AM   #5
JOORDEE
Programming Student
 
Join Date: Feb 2008
Location: Baltimore,MD,USA
Posts: 28
Rep Power: 0 JOORDEE is on a distinguished road
Re: Ai

ok my question is exactly wat the deal wit it. What I mean is I dont know anything about AI at all, all I know is that its the technology used in games that makes non human players do stuff. Can someone enlighten me
__________________
I Want Dat Pie
JOORDEE is offline   Reply With Quote
Old Jul 23rd, 2008, 1:26 AM   #6
rhish.franks
Programmer
 
Join Date: Feb 2008
Location: India
Posts: 58
Rep Power: 1 rhish.franks is on a distinguished road
Re: Ai

AI is a desciplin which makes you possible to make games, robots, expert agents to work and think some what like humans(not so to great extend). read the book of elein rich and night.it's good for primars like you. then if u don't understand something ask here.
rhish.franks is offline   Reply With Quote
Old Jul 23rd, 2008, 11:05 AM   #7
King
Professional Programmer
 
King's Avatar
 
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 380
Rep Power: 3 King is on a distinguished road
Re: Ai

Start here:
http://en.wikipedia.org/wiki/Artificial_intelligence

This will give you some general info on AI. At the bottom there is a link to a Game Logic section which goes into more in-depth topics regarding AI in games. After you read those then come back with more specific questions.

If you ask crap questions you will get crap answers.
__________________
I am Addicted to Linux!
King is offline   Reply With Quote
Old Jul 24th, 2008, 12:13 AM   #8
JOORDEE
Programming Student
 
Join Date: Feb 2008
Location: Baltimore,MD,USA
Posts: 28
Rep Power: 0 JOORDEE is on a distinguished road
Re: Ai

Thanks, I guess my question is, if you wanted to make a video game, where would you get ai or how would you program ai so that enemy characters will actually fight back against you in a relatively intelligent way
__________________
I Want Dat Pie
JOORDEE is offline   Reply With Quote
Old Jul 24th, 2008, 12:30 PM   #9
King
Professional Programmer
 
King's Avatar
 
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 380
Rep Power: 3 King is on a distinguished road
Re: Ai

I think the first thing you might want to look into is Path finding for your NPCs (I am sort of assuming a shooter type game, but does not have to be). Your enemies will need to know how to find/navigate their own way around a map. There are many different path finding algorithms you can use for your NPCs to find the best way around objects and all that type of stuff. For large maps I use the A* algorithm because it's fast. If you need absolute precision there are other algorithms that you can use. I think this would be a good place to start for programming enemy AI. Take a look at this for a bit more information: http://en.wikipedia.org/wiki/Pathfinding

After this it shouldn't be hard to get the enemy to start shooting back once they find you. It can be as simple as checking if the person they are shooting is close enough and has a decent line of site and if so shoot. Programming game AI is going to take a lot of tweaking to get it right after the fist implementation. Hope this helps a bit.
__________________
I am Addicted to Linux!
King is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Coder's Block Arena - The Game AI Platform Sane Existing Project Development 23 May 6th, 2008 10:12 PM
AI programming Freaky Chris Coder's Corner Lounge 6 Mar 26th, 2008 7:22 AM
Ai JOORDEE Coder's Corner Lounge 3 Feb 29th, 2008 8:30 PM
Qoute system with AI gurumaniac Project Ideas 3 Jul 30th, 2007 6:06 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:52 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC