Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
jotomicron
21
Years of Service
User Offline
Joined: 17th Nov 2002
Location: Portugal
Posted: 18th Nov 2002 00:48
Maybe it is something a little BIG. However,
would like to learn a bit about AI. It's i don't understand how can one make some other "player" (a PC controled one) be as smart as one player human controled?
GCEclipse
21
Years of Service
User Offline
Joined: 23rd Sep 2002
Location: United Kingdom
Posted: 18th Nov 2002 11:26
Theres a few approaches to AI you can take...

One approach is to make the computer controlled character react to stimulus with pre-scripted actions. For example, have the computer react to being hit by running away.

Another is to have the computer "remember" how they've been treated by you and react to you accordingly.

Or you could just use random numbers to generate behaviour. (Although - the computer would seem to react to actions randomly and stupidly)


I think that a good starting point for any AI is to setup the functions which enable the computer to do things. What I mean is set up routines for pathfinding, heading for player, fleeing from player, attacking, hiding, searching for the player - so they can then be called by the AI routines.

I hope this helps. Bear in mind this is just my own approaches to AI and others may have different ideas on the subject.

Mirthin
21
Years of Service
User Offline
Joined: 13th Oct 2002
Location: Land of the Rising Haggis
Posted: 18th Nov 2002 19:18
You may be interested in this.

http://www.darkbasicpro.com/apollo/view.php?t=924&b=6

3rd person I've used the same post for

This has "Fiasco" written all over it.
jotomicron
21
Years of Service
User Offline
Joined: 17th Nov 2002
Location: Portugal
Posted: 19th Nov 2002 00:23
hey, eclipse. thank u very much!

Login to post a reply

Server time is: 2024-04-20 06:45:41
Your offset time is: 2024-04-20 06:45:41