Home Gallery Resources The Team Rules chat Login Register
Pages: [1]
Author Topic: How to use Super Armor in attacks  (Read 2283 times)
0 Members and 1 Guest are viewing this topic.
TNT3530
Newbie Kitten
*
Offline Offline

Posts: 2

  • Awards Tutorial Writer

  • View Profile Awards
    « on: June 07, 2015, 03:50:04 PM »


    Recently, while I was making a Little Mac PSA (like everybody else), I remembered that Mac doesn't flinch (has super armor) in his side smash. After some research, I figured out how to do it in PSA.

    Here is my side smash code with working super armor (You can at least punch through explosives)

    1E000200: 0-1, 1-0
    Asynchronous Timer: frames=2
    Offensive Collision: (Normal attack data here)
    Offensive Collision: (Normal attack data here)
    Offensive Collision: (MORE NORMAL ATTACK DATA HERE)
    Asynchronous Timer: frames=10
    1E000200: 0-0, 1-0
    Goto 0x000121A8

    Basically, use the first parameter of (flag?) 1E000200 to toggle the armor. 1=On 0=Off.
    Honestly, I have no clue what the second parameter does.

    If this is already known by most, feel free to delete this thread. Else, I'm glad to help.
    If you find out what the second param does, post that here so I can know too please.
    « Last Edit: June 07, 2015, 03:51:42 PM by TNT3530 » Logged

    ABloodyCanadian
    Ellipsis Abuser…
    Heroic Kitten
    **
    Offline Offline

    Posts: 2949


    Background processes...

  • Awards KCMM Veteran Super Saiyan Topic Hey! Listen! Famous Hacker

  • View Profile Awards
    « Reply #1 on: June 07, 2015, 04:30:44 PM »


    For future Reference, post your A/A Help topics here.

    To answer your question, the 1st Parameter is actually used to toggle On or Off Super Armor (1), Knockback Based Armor (2), or Damage Based Armor (3).

    The second parameter simply sets how much the armor can hold out for until it'll eventually no longer work, and will not apply if your 1st parameter is 0 or 1.
    Logged


    KingJigglypuff
    Meme Machine
    Moderator
    ****
    Offline Offline

    Posts: 7206


  • Awards RAGE!! >9000 Hyperactive Contributor Heart Container

  • View Profile Awards
    « Reply #2 on: June 07, 2015, 04:31:35 PM »


    The Super Armor command was already defined for quite a while now. But there's no need to delete.

    First Parameter (Value): 0 (None), 1 (True Super Armor), 2 (Knockback-Based Armor), 3 (Damage-Based Armor)
    Second Parameter (Scalar): Minimum damage or knocback that will cause the character to flinch when using Knockback/Damage-Based Armor. Set to 0 is using True Super Armor.

    For future Reference, post your A/A Help topics here.
    It wasn't a question. The user was showing how to use the Super Armor command, but didn't know what the parameters really did. So I moved the thread to tutorials.
    « Last Edit: June 07, 2015, 04:38:18 PM by KingJigglypuff » Logged

    I don't take requests.

    My PSA Thread

    ABloodyCanadian
    Ellipsis Abuser…
    Heroic Kitten
    **
    Offline Offline

    Posts: 2949


    Background processes...

  • Awards KCMM Veteran Super Saiyan Topic Hey! Listen! Famous Hacker

  • View Profile Awards
    « Reply #3 on: June 07, 2015, 04:40:55 PM »


    Thinking about it now, since you don't have the event defined, you may want an updated Data Folder that'll give you more descriptions for the events you use. I'll offer what I have.

    https://www.dropbox.com/s/1k7zmhfm71bwgfp/Smash%20Attacks%20Data.zip?dl=0

    If there is by any chance a better version of it, let me know, and I can update it.



    The user was showing how to use the Super Armor command, but didn't know what the parameters really did. So I moved the thread to tutorials.

    Well derp... 1st impressions and inability to read screwed me over again... lol...
    « Last Edit: June 07, 2015, 04:42:22 PM by A Bloody Canadian » Logged


    TNT3530
    Newbie Kitten
    *
    Offline Offline

    Posts: 2

  • Awards Tutorial Writer

  • View Profile Awards
    « Reply #4 on: June 07, 2015, 04:48:22 PM »


    Thanks guys
    Logged

    Pages: [1]
    Print
    Jump to: