View Full Version : AI Movement
hepden
October 7th, 2003, 12:25 AM
Hey, can anyone help? i am in the middle of making a game, for a assignment, its a fighting style game, i found it easy to do the 2player type mode, but i need help with the AI movments of the computer, i want it to be realistic and stuff. Can anyone please help asap! it would be greatly appreciated.
things that would help maybe some examples. i have looked everywhere trust me and theres nuffin i can find about the enemy movement. so please help if you know what i want!
cheers
Michael
zylum
October 7th, 2003, 04:59 PM
2 player fighter like MK?
Marz
October 7th, 2003, 11:10 PM
Actually.. if you do a search.. I typed up something a long time ago about AI.. Unfortunately I never got to finish it up...
This would be regional movements and acting upon keypresses..
Basically.. You would need a couple of variables... One variable stating how far you are away from your opponent.. One stating the last move that you did was (keypress)... And another stating the last move that he did.. (another keypress cept more decision based)..
Then basically you could state that.. Since the last command you did was jump forward.. combined keypress of up and right.. And that you were close.. To block for the high kick possibility...
Get how I'm coming up with this..? THne just make a net of different options and commands and then have dummy modes for when these commands will not function correctly.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.