YesNoOk
avatar

[SOLVED] Explod problem... (Read 358 times)

Started by ChubbyPotato, April 13, 2011, 12:41:46 am
Share this topic:
[SOLVED] Explod problem...
New #1  April 13, 2011, 12:41:46 am
  • ***
  • You deserve respect and justice, so we demand it!
    • USA
Every time I add an explod to my character, when the explod is done in the game, my character cant move after that... As in for example, I have an explod of a laser... and then test it. Then, when the I pull the move off, it works fine, but now my character cant move...

Anyway to fix this... ?
YouTube | Google

Spoiler: You want to know what really pisses me off? (click to see content)
Last Edit: April 15, 2011, 04:21:58 pm by Raggie

2OS

Re: Explod problem...
#2  April 13, 2011, 01:38:46 am
  • ****
  • Ich schicke dich zur HOELLE ! ¡ ! ¡
    • Egypt
    • deuceovspadez.webs.com/
What the hell ? Surely it's not the explods fault, do your changestates to state 0 have ctrl=1 ?


[ 052012 ] Inazumachi 181/256  /  deviantART   /  2OS Grafphicsxz  Dead Anims ( Orochi/Mizuchi )  /  608's FX Volume 3
Re: Explod problem...
#3  April 13, 2011, 01:45:20 am
  • ***
  • You deserve respect and justice, so we demand it!
    • USA
Oh no, I see what I did wrong now, thanks! But now I have this one little simple problem that im sure can be solved very quick.

The explod command is "Down, Right, A" and its a bomb animation. I was wondering how to stop the spam. As in like, I can do the command over and over again, and the bomb (explod) comes as much as I pull the command off.

So is there anyway you can make the explod wait until the animation is over and THEN you can do the move again?  :???:
YouTube | Google

Spoiler: You want to know what really pisses me off? (click to see content)
Re: Explod problem...
#4  April 13, 2011, 01:48:15 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Give your explod an ID. In the command changestate use

triggerall = numexplod(ID you just gave the explod goes in these brackets) = 0



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: Explod problem...
#5  April 13, 2011, 02:11:18 am
  • ***
  • You deserve respect and justice, so we demand it!
    • USA
Great! IT WORKED! :D

Just one more thing and my explod should be finished...
Im trying to figure out how to add a HitDef to the explod. I believe all I do is add a "Hitdef" below the explod and change the state # to match the explods state and just adjust the setting from there.

But I just want to make sure if im not forgetting anything on adding a Hitdef to the explod. My bomb does need to be able to cause damage obviously...  ;P
YouTube | Google

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

GT

Re: Explod problem...
#6  April 13, 2011, 02:38:06 am
  • *****
  • Don't fuck with me, Jack!
    • USA
You don't add hitdefs to explods. They're only for show and don't actually interact with the characters (Unless that character is using that explod in a trigger but I don't think it would even count in that instance).

You need to make that explod into a helper, because helpers can use hitdefs,  OR make a helper that's connected to the explod and give the helper the hitdef.
Yeah Titiln, in fact, You Made Him
Re: Explod problem...
#7  April 13, 2011, 02:52:11 am
  • ***
  • You deserve respect and justice, so we demand it!
    • USA
Oh really???  :o

Aww man, Im not too familiar with helpers....
How can I convert this...

[State 7400, Explod]
type = Explod
trigger1 = AnimElem = 1
anim =  7400
ID = 7400
pos = 0,0
postype = p1
facing = 1
vfacing = 1
bindtime = 1
vel = 0,0
accel = 0,0
random = 0,0
removetime = 209
supermove
pausemove
scale = 1,1
sprpriority = 0
shadow = 0,0,0
ownpal = 0
removeongethit = 0
ignorehitpause = 1
;persistent =


into a helper??? <:[
(Its supposed to be a bomb that explodes within seconds... like Ronald for example... he has that one exploding apple...)

I dont have any idea on how to code Helpers....>.<
YouTube | Google

Spoiler: You want to know what really pisses me off? (click to see content)
Re: Explod problem...
#8  April 13, 2011, 02:55:40 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
[mcode]Helper[/mcode]

Just create a normal state, the way you would for any attack. Add your hitdef etc, at the end of the state use destroyself 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.
Re: Explod problem...
#9  April 13, 2011, 03:06:57 am
  • ***
  • You deserve respect and justice, so we demand it!
    • USA
[Statedef 7400]
type    = S
movetype= A
physics = S
velset = 0,0
ctrl = 0
anim = 7400
sprpriority = 2

[State 0, Helper]
type = Helper
trigger1 =  Time = 0
helpertype = normal
name = "BOMB"
stateno = 7400
pos = 0,0
postype = p1
facing = 1
keyctrl = 0
ownpal = 0
supermove
pausemove

[State 0, DestroySelf]
type = DestroySelf
trigger1 = Time = 209


Thats what I have so far, but my character either turns into the animation, or he just freezes...  --;
All I want is for the animation to just be put there as soon as the command is pulled off... THATS IT!  :S

Gosh im so confused.... when I try to look at another character codes, that have a similar helper, the make it look easy....  :-\ IDK what im doing wrong.... but im pretty sure there is a whole extra add on to this helper code thing.... idk.... im just confused... I wish there was some kind of tutorial that is all about helpers... but I hvent found any...  :'(

STATE "7400" is the state number of the bomb animation FYI......
YouTube | Google

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

GT

Re: Explod problem...
#10  April 13, 2011, 03:28:49 am
  • *****
  • Don't fuck with me, Jack!
    • USA
You don't put this


[State 0, DestroySelf]
type = DestroySelf
trigger1 = Time = 209
.

in the statedef of a player (That's where it is now). You have the helper block in the right area, take the destroyself and create a state for the helper to use. That's where the destroyself goes. Put your changestate back.

In the end you should have 2 statedefs. The statedef where the helper is summoned, and the statedef that the helper uses. The state you set the helper to
"name = "BOMB"
stateno = 7400"
shouldn't be the same as the player's helper summoning state.
Yeah Titiln, in fact, You Made Him
Last Edit: April 13, 2011, 03:33:08 am by GT Yzan
Re: Explod problem...
New #11  April 13, 2011, 06:10:30 am
  • ***
  • You deserve respect and justice, so we demand it!
    • USA
I have a few more questions before I end this topic...

1. Like I told Cyanide, how can I make the "helper" wait until the animation is done until I can do the helper again? So that way my character doesn't spam.

2. Can I make the helper in the back layer, so that way its not in front of everything in its path?

3. How can I make my opponent fly into the air after he gets hit by the bomb?

The rest I can look up in the docs folder.... these three are just what im a little stuck on...  :-X

And then I should be good...  8)
I also would like to give thanks to all of you who helped me... Im finally going to finish my character!  :sugoi:
YouTube | Google

Spoiler: You want to know what really pisses me off? (click to see content)
Last Edit: April 13, 2011, 11:48:38 pm by Raggie

2OS

Re: Explod problem...
#12  April 13, 2011, 06:34:11 am
  • ****
  • Ich schicke dich zur HOELLE ! ¡ ! ¡
    • Egypt
    • deuceovspadez.webs.com/


[ 052012 ] Inazumachi 181/256  /  deviantART   /  2OS Grafphicsxz  Dead Anims ( Orochi/Mizuchi )  /  608's FX Volume 3
Re: Explod problem...
New #13  April 13, 2011, 11:42:53 pm
  • ***
  • You deserve respect and justice, so we demand it!
    • USA
Thank you! My helper/explod is now done...  8)

Thanks guys!
YouTube | Google

Spoiler: You want to know what really pisses me off? (click to see content)
Last Edit: April 14, 2011, 12:24:10 am by Raggie