YesNoOk
avatar

AI patch for Elecbyte's KFM (for Mugen 1.0) (Read 996 times)

Started by Zzyzzyxx, June 14, 2018, 05:56:18 pm
Share this topic:
AI patch for Elecbyte's KFM (for Mugen 1.0)
#1  June 14, 2018, 05:56:18 pm
  • ***
  • I hate coding helpers.
First of all, I don't even know if Projects is the most appropriate section to post this thread. Maybe Idea Engineering could be the best option, but still.



Originally I had the idea of using KFM as a template for a tutorial about AI creation, showing how to use the relevant data from the .air file of your char to build a simple, but solid enough AI.

However, I suck at explaining things, and the despite I finished his AI, the cmd file ended up looked horrible, which so many comments scattered through it. In the end, I removed all the comments I had planned.



I gave my best attempt to make a copy-paste friendly AI, by mixing templates by P.o.t.S and Rajaa's chars, but I don't know how successful I was. His hitboxes are too inconsistent to make a solid job.

Nonetheless, I tried to use as few lines of code as I could in order to make it non-intimidating for somebody who would like starting to create AIs (and to not making him too hard. He should keep his status of a basic character, after all).



Even though the work is only at its beginning (I didn't spend more than 4 hours making what you guys are about to see) I'd really appreciate if you guys give him a try, especially at higher levels and tell your opinions if he's too smart or too idiot. The idea of using him as a template for creation of AIs for beginners still persists.

http://www.mediafire.com/file/uj1216g1zfrahbw/kfm_AI_07_01_2018.rar/file

I didn't make any modification in his attack states, or hitboxes, or frame data. All I did was overwriting the states 40, 100, 120-155, 1051 and 1061 with AI relevant codes, and add basic guidelines for all of his moves in his cmd.

I hope you guys enjoy the result.
Last Edit: July 02, 2018, 03:58:07 am by Zzyzzyxx
Re: AI patch for Elecbyte's KFM (for Mugen 1.0)
#2  July 02, 2018, 04:00:56 am
  • ***
  • I hate coding helpers.
Updated the moron, in an attempt of making him less moron. New link at the first post.

1 - Fixed a bug that allowed him to use his throw in combos.

2 - He cancels lights into strongs more often, and lights into lights slightly more often

3 - Made so that the AI can execute the follow-up to EX Fung Fu Knee

4 - Reduced the probability of canceling basics into moves that are unsafe on block (i.e. any other special move than Kung Fu Blow).