Advertisement

AI in realtime RPG games

Started by November 24, 2001 04:55 PM
16 comments, last by js_530 22 years, 11 months ago
I guess all that Visual Basic coding slowed his brain a little.

Edited by - Davaris on November 25, 2001 5:23:30 PM
"I am a pitbull on the pantleg of opportunity."George W. Bush
quote:
So, what I advise you to do is to slow down, TAKE A DEAP BREATH and start learning.


(no pun intended??)lol, he's already holding his breath for that code.

Try these sites to LEARN something instead of just taking a hand out man!!

http://www.gameznet.com/genesis/pages/gamelinks.html

http://www.generation5.org/

http://www.cs.berkeley.edu/~russell/ai.html

http://www.skoardy.demon.co.uk/rlnews/index.html



Edited by - GalaxyQuest on November 26, 2001 3:31:43 PM
Advertisement
Dude, js_530, programming AI is just like programming anything else. You just get the NPC to do <this> if <this> is true and <this> if <this> is true. There is no big secret to the whole thing...Just start out simple (try getting NPC to chase your character or something) and add bits as you go along. Oh yeah, and I think u can breathe now...

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

I finally got it all together...
...and then forgot where I put it.
Great stuff!

On a more serious note, I''m keen to know what techniques people are using in RPGs at the moment. I seriously hope something more advanced than "If <this> do <that>"...

Myself, I have A* for pathfinding, 1 simple heuristic decision maker, 1 brute force search algorithm, some knowledge (hopefully some basic form of NLP), and a partridge in a hash(code) tree (hohoh oh...).
also look up nueral nets...not fast but great results and very dynamic and can be combined with the other methods (if this run nueral module (A) else run module (B) ) but thats just my two cents worth
I found some AI pathfinding code in VB. Its at http://www.vbexplorer.com/show.asp?id=99&itemid=208
Advertisement
Talyssan:

I''m making an RPG engine too. I use A* for path finding, steering behaviours for path following and I wrote a script compiler to handle the plot, combat and to initialise the objects and creatures.
"I am a pitbull on the pantleg of opportunity."George W. Bush
Anonymous, I think you sent your code to the wrong email! My email is pretty similar to JS''s, so I can understand the error.

Anyways, this code is really amazing! The program you sent me works perfectly. I really like the 3d-rendering of the giant spider. The damn thing is just too intelligent for me to destroy with my alpha fighter!
2b v ~2b

This topic is closed to new replies.

Advertisement