Home Gallery Resources The Team Rules chat Login Register
  Show Posts
Pages:  1 2 [3]
31  Super Smash Bros. Brawl Hacking / Programming / Re: [AI coding]AIScriptpad2.0 Support Thread on: September 16, 2013, 05:47:44 PM
I managed to clean up my L-canceling code for Project M by a lot. It still only works for individual attacks but it's much made progress. Unfortunately, there are some issues when dealing with platforms. I would assume the Y Coordinate is relative to what's directly below a character. This is still a good thing since it won't end up only L-canceling at the very ground. However, when moving around, the Y coordinate (assuming I'm correct) changes drastically when moving over a platform (ground is lowest -> platform is lowest).

Here's an example for Marth's Nair:


Code:
if FrameGE 1 && !(FrameGE 2)
    Button A
endif
if FrameGE 3 && !(FrameGE 24) && InAir
    if FrameGE 15 && !(FrameGE 16) && InAir  // Ideal Fast Fall Frame
        Stick 0 (-1)
    endif
    if YCoord <= 1  // L-cancel when close to the ground
        Button R
        Finish
    endif
Return
endif
if FrameGE 24 || !(InAir)
    Finish
endif
Return
32  Super Smash Bros. Brawl Hacking / Programming / Re: [AI coding]AIScriptpad2.0 Support Thread on: September 12, 2013, 06:12:36 PM
If it weren't for the older version, I wouldn't have made that AI mod for L-canceling. I'm surprised you even continued working on this! I'll be using this in the future and hopefully I can be more efficient with it.

I like that it looks like C++ by the way.
Pages:  1 2 [3]