YesNoOk
avatar

Simple Question... (Read 388 times)

Started by ChubbyPotato, June 09, 2011, 07:43:52 am
Share this topic:
Simple Question...
#1  June 09, 2011, 07:43:52 am
  • ***
  • You deserve respect and justice, so we demand it!
    • USA
How can I add a SND specifically for when my character KO's my opponent with its Hyper Combo?

Thank you...  :)
YouTube | Google

Spoiler: You want to know what really pisses me off? (click to see content)
Re: Simple Question...
#2  June 09, 2011, 07:53:08 am
  • ******
  • Limited time to use Infinite power !
    • France
    • network.mugenguild.com/cybaster/
Either in the state of your Hyper Combo, either in state -2, trigger the sound when trigger1=Win && movehit (optionally, MatchOver, if you want it only when you win the match, and not just a round), as well as persistent=0 to avoid it triggering over and over again.
If coded in state -2, obviously, you'll have to add stateno=hypercombo_state
Re: Simple Question...
#3  June 09, 2011, 08:29:53 am
  • ***
  • You deserve respect and justice, so we demand it!
    • USA
Thank you so much! :cool4:
YouTube | Google

Spoiler: You want to know what really pisses me off? (click to see content)

2OS

Re: Simple Question...
#4  June 09, 2011, 11:26:37 am
  • ****
  • Ich schicke dich zur HOELLE ! ¡ ! ¡
    • Egypt
    • deuceovspadez.webs.com/
Use WinKO, not Win.

Though highly unlikely, if you're in the middle of a hit during Time Over and you win that way, well, obviously, that's gonna be pretty stupid if it triggers then.


[ 052012 ] Inazumachi 181/256  /  deviantART   /  2OS Grafphicsxz  Dead Anims ( Orochi/Mizuchi )  /  608's FX Volume 3
Re: Simple Question...
#5  June 09, 2011, 06:51:14 pm
  • ***
  • You deserve respect and justice, so we demand it!
    • USA
Sorry, I have another question, but I didn't think making a new topic for something this little would be necessary.

Is it possible to give specific win poses to a certain character just like how you can with an intro?
YouTube | Google

Spoiler: You want to know what really pisses me off? (click to see content)
Re: Simple Question...
#6  June 09, 2011, 07:00:00 pm
  • ****
    • www.justnopoint.com/Masters/
Yeah you can eather do a simple IfElse if won by WinKO so you play a specific pose if you won by your hyper state and normal pose if won normaly. (I think I actualy did a tutorial on that. I think I posted it eather here or Mugen-Infantry) Or use random& or VarRandom to determine poses.
Re: Simple Question...
#7  June 10, 2011, 12:11:20 am
  • ******
  • Limited time to use Infinite power !
    • France
    • network.mugenguild.com/cybaster/
Do you mean specific to winning by a move, or specific against a certain character ?

Use WinKO, not Win.

Though highly unlikely, if you're in the middle of a hit during Time Over and you win that way, well, obviously, that's gonna be pretty stupid if it triggers then.
Doh! You're right, gotta change a few triggers in my Goku, just in case.
Re: Simple Question...
#8  June 10, 2011, 02:10:51 am
  • ***
  • You deserve respect and justice, so we demand it!
    • USA
Do you mean specific to winning by a move, or specific against a certain character ?

I meant against a certain character, but I know how to do that now...
My biggest trouble now is giving my character a specific Win Pose for when he KO's the opponent with his Hyper Combo. But heres the thing, his hyper combo involves a helper... and the helper does the whole attack, he just calls him out. So Im trying to figure out how to get my character into a different Win State when the helper KO's the opponent.
  o_O

I know its confusing, but you seem like a pro Bastard!  ;P
YouTube | Google

Spoiler: You want to know what really pisses me off? (click to see content)
Re: Simple Question...
#9  June 10, 2011, 02:59:48 am
  • ******
  • Limited time to use Infinite power !
    • France
    • network.mugenguild.com/cybaster/
For triggers related to specific characters, use enemy,name="Blabla" (as well as enemy,AuthorName="Blabla2" if needed). Note that "enemy" may need to be changed by "Target" if needed, and will require numtarget in addition to avoid any debug flood).

As for your helper killing the opponent, two choices (from the top of my head) :
- You trigger a varset in state -2, using trigger1=numhelper("helper ID"); trigger2=helper("helper ID"),movehit && WinKO. Then, in state 180, you add a changestate depending on the variable previously set.
- You trigger the varset in the helper itself, using parentvarset sctrl, triggered by WinKO and MoveHit after the HitDef of your helper. Then you use the same changestate method in state 180 of your character.

If you don't know about these sctrls and triggers, you'll have to check them in the Mugen Docs :
[mcode]
name
authorname
numhelper
winKO
parentvarset
NumTarget
[/mcode]
Re: Simple Question...
#10  June 10, 2011, 03:18:56 am
  • ***
  • You deserve respect and justice, so we demand it!
    • USA
I'm a little confused on how to add that ChangeState in 180... What previous variable? And what triggers do I use? Can you be a little specific?  :-\

 
YouTube | Google

Spoiler: You want to know what really pisses me off? (click to see content)
Last Edit: June 10, 2011, 05:40:34 am by Raggie
Re: Simple Question...
#11  June 10, 2011, 05:49:31 am
  • ******
  • Limited time to use Infinite power !
    • France
    • network.mugenguild.com/cybaster/
I'm not posting the whole code, you have to learn. :P

- Either in state -2 or in the helper, as said previously, set a variable (let's say var(5)) to 1 when you meet the good conditions :
[mcode]
type = varset
trigger1 = enemy,name="How should I know who you want to trigger this against"
trigger1 = winKO && MoveHit && blablabla
var(5) = 1
[/mcode]

In statedef 180, you add a changestate depending on the variable you've just set (var(5)) :
[mcode]
type=changestate
trigger1 = !time && var(5)=1
value = 181
[/mcode]

- And now you code your specific winpose in Statedef 181.
Of course, if you don't know what a variable is, I suggest you go read Rajaa's tutorial in the tuto section.
Re: Simple Question...
#12  June 10, 2011, 06:28:58 am
  • ***
  • You deserve respect and justice, so we demand it!
    • USA
That's what I needed! It worked! Thank you!  8)
Sorry for the stress... I'm no rookie, nor am I a pro, but I'm in between. And I'm learning little by little... xD

Thank you all for the help! This was one of the hard coding I got out of the way...  :D Now I know...

Thanks again!  :sugoi:
YouTube | Google

Spoiler: You want to know what really pisses me off? (click to see content)