percentage = death like the T-Rex PSA?

Started by arcray20, March 26, 2013, 06:14:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

i was trying to figure it out myself, but with no prior knowledge of how PSA works exactly im just looking at jumbled numbers.

i wish that KingJigglyPuff had made a tutorial for it.
I AM THE TWILIGHT!






There is something i added for all characters in the Wait1 subaction.
If Compare : IC-Basic[2] >= XXX
Sub Routine YYYYYYYY
End if
And in the new subroutine i added :
Change Action: action=BD, requirement=On Ground
So when the XXX damages are reached, the character simply disappears and lose a life, of course when he's on ground and not attacking.

No more into brawl hacking as long as Fighter.pac remains not editable, also i don't have time for that anymore for the moment.
PSA/Moveset HERE : http://forums.kc-mm.com/index.php?topic=41974.0
STAGES HERE : http://forums.kc-mm.com/index.php?topic=60399.0

thanks. i *think* i understand and i believe i got it like yours, but i'll have to test it later when i have time.
I AM THE TWILIGHT!






I know this is very simple and it can be much better (like doing a true death animation with more coding and maybe with a motion file too) but... no time to do so. At least it will allow you to do what you requested in a simple and easy way.

No more into brawl hacking as long as Fighter.pac remains not editable, also i don't have time for that anymore for the moment.
PSA/Moveset HERE : http://forums.kc-mm.com/index.php?topic=41974.0
STAGES HERE : http://forums.kc-mm.com/index.php?topic=60399.0

i have tested it and it doesnt seem to work. what am i doing wrong in the psa?
I AM THE TWILIGHT!






March 27, 2013, 11:38:29 AM #5 Last Edit: March 27, 2013, 11:39:37 AM by Chaoszard
Ok... I don't know what your PSA skills are, so i'm going to give you more details.
Create a new subroutine. Insert the following code inside :

Change Action: action=BD, requirement=On Ground
Your subroutine have an offset ( 0x1EDB8 for example). Note it somewhere to not forget it. Warning : each time you add a line of code in a subroutine, its offset changes !
Now in the Sub Action 0 (Wait 1), insert the following code :

If Compare : IC-Basic[2] >= XXX (XXX is the % of damages you want the character to lose a life)
Sub Routine YYYYYYYY (in my example, i had to replace Y by 0001EDB8)
End if
It must work now.

No more into brawl hacking as long as Fighter.pac remains not editable, also i don't have time for that anymore for the moment.
PSA/Moveset HERE : http://forums.kc-mm.com/index.php?topic=41974.0
STAGES HERE : http://forums.kc-mm.com/index.php?topic=60399.0

Make a Sub Routine, and put this coding in it.

If Compare : IC-Basic[2] >= X (X=any number. Make sure the variable for this one is Scalar.)
Change Action: action= Any unused Action in your PSA. requirement= 00
End If


Make sure you put this Sub Routine command in every single used Sub Action. And make sure there is no other coding except the Sub Routine in the tab you put the Sub Routine command into.

Then in your Action that you directed the Sub Routine to, put this in.

Change Action: action= BD (Hex) 189 (Decimal). requirement: Animation End
If: On Ground
Change Sub Action: sub action= Y (Y= any unused Sub Action)
Else
Change Sub Action: sub action= Z (Z= any unused Sub Action)
End If
I don't take requests.

My PSA Thread
[move][/move]

the King them self!

i thank you for coming all the way down here to help.  ;D
sadly i cant seem to get this right as i am still having a hard time figuring out how PSA works.

this is literally my first time trying to use it, but tell me if this is even close to correct:
http://i.imgur.com/CBFQnKq.jpg
I AM THE TWILIGHT!






Not even close.

You have to use an Action that isn't used in your PSA that is in the Specials Tab.

The top three commands are the ones that are only supposed to be in the Sub Action.

The rest of the coding is supposed to be in the Action that you're going to use. And the Sub Actions should be different (one for ground, and one for air).

And that Action isn't BD189, it's only BD if you're using PSA. It's 189 if you're using BrawlBox.
I don't take requests.

My PSA Thread
[move][/move]

alright, i think understand better what you mean now.

is this any better?:
http://i.imgur.com/trZrvX0.jpg

also, is there a good reason why the sub routine keeps erasing when i click on a different tab even if i hit save?
I AM THE TWILIGHT!






Quote from: arcray20 on March 28, 2013, 08:10:31 PM
is this any better?:
http://i.imgur.com/trZrvX0.jpg
Reverse those and put the Sub Action coding into Action 117.

Quote from: arcray20 on March 28, 2013, 08:10:31 PM
also, is there a good reason why the sub routine keeps erasing when i click on a different tab even if i hit save?
Keep watching the Offset below the text box. That will usually change when new commands are put in.
I don't take requests.

My PSA Thread
[move][/move]

ok, so when i tried reversing those i got this:
http://i.imgur.com/PJ4C1mo.jpg

i had put in the data in the sub action tab first, the left is what i saw when clicking back on the sub action tab after i input the sub routine data, then when i went back again to the sub routine it was erased too. :notimp:

im starting to wonder how people ever figured this out to begin with. :o its so darn confusing and not user friendly. (for me at least)
i feel like i have misunderstood all that you have said on every step. lol  :-\

im sorry that im not getting this yet, as i know you are doing your best to help me understand.
I AM THE TWILIGHT!






No no. That's not it either. :/

Download my T-Rex PSA, and look at it in PSA. You should be able to get it.
I don't take requests.

My PSA Thread
[move][/move]

taking a look at the unused action '117' in the data there is the only familiar peice of data i see that i have told to use here. even then there is this "Subactions 02:" that i havent been told to use and all the sub routines are empty despite also being told to create some before starting.
im also not seeing what would show the "100HP limit" variable, but i believe that would be in the sub routine?

do i have to wrong version of PSA 2.70 or am i missing the point entirely?
i knew this would be hard to learn, but more so than i would have thought.
I AM THE TWILIGHT!






Ignore the Subactions 02 commands.

And no, you have the correct version of PSA.

As for Sub Routines, look at the number next to the Offest above the coding, and compare it to the Sub Routine Offset that's in the text box (box in which you type into).

I don't take requests.

My PSA Thread
[move][/move]