YesNoOk
avatar

Help with Helper, please (Read 406 times)

Started by JJKnezovicz, November 22, 2010, 07:01:03 pm
Share this topic:
Help with Helper, please
#1  November 22, 2010, 07:01:03 pm
  • ***
  • Ursus Shock
    • www.broadlyhillmugen.webs.com/
I have problems with coding a helper.
Here are the codes I used and there's gotta be a problem because the move isn't appearing not even in the Debug display.
Spoiler, click to toggle visibilty

Help please...  :(
Re: Help with Helper, please
#2  November 22, 2010, 07:14:47 pm
  • avatar
  • ****
I'm not sure what's going on under your hit def.

I'd check here first

trigger1 = AnimTime(5) = 1

this is the first thing I would think isn't working.


second, can you tell if this is working ?

[State 3000, ChangeAnim]
type = ChangeAnim
trigger1 = !AnimTime = 0
value = 0
ctrl = 1

wouldn't this be putting the character into it's standing animation.
Re: Help with Helper, please
#3  November 22, 2010, 08:25:53 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
You have other problems but

[mcode][State -1, NightSlash]
type = ChangeState
value = 3000
triggerall = !numhelper(3001)
triggerall = command = "NightSlash"
triggerall = statetype != S
trigger1 = ctrl
[/mcode]
Is the main one. You have told it, "This attack can be done when statetype is not standing"

statetype != A


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Help with Helper, please
#4  November 22, 2010, 08:34:21 pm
  • ***
  • Ursus Shock
    • www.broadlyhillmugen.webs.com/
Fixed, there's another problem!
When he uses the move the next happens


The Helper doesn't stays there it just  slides down from p1's groin to the button and disappeares. I can't find the problem   :???:
Re: Help with Helper, please
#5  November 22, 2010, 08:49:56 pm
  • avatar
  • ****
I can't say why it's moving down but that doesn't look like the helper. it looks like you have called the standing animation.
Re: Help with Helper, please
#6  November 22, 2010, 08:57:49 pm
  • ***
  • Ursus Shock
    • www.broadlyhillmugen.webs.com/
I can't say why it's moving down but that doesn't look like the helper. it looks like you have called the standing animation.

I know, and how the hell I did that  :S
I used to had problems with coding a helper and now I'm having it  --;
Re: Help with Helper, please
#7  November 22, 2010, 09:18:43 pm
  • avatar
  • ****
[State 3000, ChangeAnim]
type = ChangeAnim
trigger1 = !AnimTime = 0
value = 0
ctrl = 1

what happens when you change the value.
Re: Help with Helper, please
#8  November 22, 2010, 09:26:18 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Nothing because that's a different problem.

[mcode][StateDef 3001, Night Slash 2]
type = S
physics = N
movetype = I
velset = 0,0
ctrl = 0[/mcode]

Now, how does your slash animation know what it's supposed to be? You haven't defined an animation for it. You have for state 3002, not for 3001.

Oh and if it's meant to do damage it won't because you've done movetype = I

Your character will never leave the original state because you have used changeanim rather than changestate.


In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Last Edit: November 22, 2010, 09:31:25 pm by Cyanide
Re: Help with Helper, please
#9  November 22, 2010, 09:32:33 pm
  • avatar
  • ****
maybe there should be only one night slash.
 the helper can only be 3001 so what is 3002?
Re: Help with Helper, please
#10  November 23, 2010, 12:07:26 pm
  • ***
  • Ursus Shock
    • www.broadlyhillmugen.webs.com/
I changed everything, fixed and that... but still it wont work  :-\

EDIT:
I've fixed it the animation with the slash appears now  ;D. The problem was I forgot to input in the helper's statedef the anim =   ;P
Now I need to figure why it doesn't cause no damage  :computer:

EDIT: Everything is fixed now and it works properly  ;D, but still thanks guys for helping me with the other stuff
Last Edit: November 23, 2010, 02:11:45 pm by Glalie
Re: Help with Helper, please
#11  November 23, 2010, 08:22:48 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
I gave you the answer to BOTH of those. If you're going to ask for help, please make sure you actually read the posts.

Quote
Now, how does your slash animation know what it's supposed to be? You haven't defined an animation for it. You have for state 3002, not for 3001.

Oh and if it's meant to do damage it won't because you've done movetype = I



In M.U.G.E.N there is no magic button

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance.
Re: Help with Helper, please
#12  November 23, 2010, 08:47:43 pm
  • ***
  • Ursus Shock
    • www.broadlyhillmugen.webs.com/
Oh yes, sorry to mention it, I've fixed it too  ;D
Anyway thanks for the help Cyanide, I appreciate it