YesNoOk
avatar

Helper Custom Hit State (Read 498 times)

Started by Bluecross, March 01, 2009, 11:45:54 pm
Share this topic:
Helper Custom Hit State
#1  March 01, 2009, 11:45:54 pm
  • **
  • Just a thinker...
    • mugenzxplus.187inc.net
Hi. I was messing around with a new character who uses a helper as a partner. The helper itself uses his own states as an independent character(Walk, Idle, attack, etc) But when p2 hits my helper sometimes it goes to the custom hit state i made using hitoverride but sometimes the helper transform into a clone of me. Is there any other way to make the helper go to a custom hit state without having this identity issue :P?

The helper is in statedef -2 because it has to be around the whole time.

Here's how a state of the helper and the custom hit state looks like:

Spoiler, click to toggle visibilty

It works but if the helper gets too much hits it becomes a clone. Hope someone can help me.

Also before i forgot. It's there a way to put an amount of life to the helper and when that reaches 0, destroy itself? Thanks in advanced
Re: Helper Custom Hit State
#2  March 01, 2009, 11:54:50 pm
  • ******
    • www.mugenguild.com/pots/
Try this on all its HitOverrides:

[State 0, HitOverride]
type = HitOverride
trigger1 = 1; not that stateno didn't work in this case, just that 1 is the persistent trigger
attr = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT
StateNo = 105000
time = -1; infinite
ignorehitpause = 1
Use anything you want from my works.  If you need to contact me use email, not private messages.
Last Edit: March 01, 2009, 11:58:44 pm by P.o.t.S.
Re: Helper Custom Hit State
#3  March 02, 2009, 12:32:32 am
  • **
  • Just a thinker...
    • mugenzxplus.187inc.net
Thanks a lot P.o.t.s problem solved! Now if anyone is willing to help me with the other task? the Life value thing. Thanks.
Re: Helper Custom Hit State
#4  March 02, 2009, 12:41:47 am
  • ******
    • www.mugenguild.com/pots/
Oh sorry, I didn't notice your last question.

It depends on whether you want the helper to have the same max life as the char or not.  If yes, just add a ChangeState in the get hit state that sends it to the KO/destroyself state if life<=0.  If not, you'll have to use a var to keep track of damage.
My Strength Training bonus has helpers that KO after X damage, feel free to check it out.
Use anything you want from my works.  If you need to contact me use email, not private messages.
Re: Helper Custom Hit State
#5  March 25, 2009, 09:01:22 am
  • avatar
can someone here teach how to code a simple animation with sprites from another character to come help me in battle?

i got my sprites.. anim.hit boxes,etc..
i was messing around trying to do some helper state... but my new animation just remplace my Main CHAR and sometime multiply the main char when the helper disappear..

i just really dont understand how i can use the helper state without losing my main character <- almost all i want to know.

hope you guys will be kind enough to help me , im still a noob but im learning very fast.

thanks
Re: Helper Custom Hit State
#6  March 25, 2009, 10:22:19 am
  • ******
Would you mind not hjiacking other people's topics ?? You got questions, post a new topic.
If I struggled to the end of my determination, to the end of my way of life with my followers, if the result is ruin, then this ruin is inevitable. Grieve. Shed tears. But you cannot regret.