The Mugen Fighters Guild

Help => M.U.G.E.N Development Help => Topic started by: QuickFist on September 09, 2020, 11:32:51 PM

Title: Hitsparks not showing in the move
Post by: QuickFist on September 09, 2020, 11:32:51 PM
I'm trying to change the hitsparks in this Jotaro. But they won't show up. I've tried turning them into helpers but it doesn't work either.
Spoiler, click to toggle visibilty
Title: Re: Hitsparks not showing in the move
Post by: Odb718 on September 11, 2020, 06:04:45 AM
So instead of ALL of the triggers, you could consolidate the triggers into
triggerAll = movehit
trigger1 = AnimElem >= 3
trigger1 = AnimElem <= 31
But you'd have to come up with how you want the positioning to happen. I'm trying to find a link to explain Time%3=0 but I can't find it.
Basically you can use
Time%3=0;1,and 2
mixed in with Time/animelem>= Time/animelem <= to get your 31 numbers. IF all the frames are the same amount of tics.
You may be spawning so many explods mugen can't handle it. Make sure you have debug up.

If you still haven't gotten an single explod to happen, put
Spoiler, click to toggle visibilty
Into State 200, or your basic attack of your choice, and see what happens.  If you don't get anything, make sure you're not instantly deleting it in Statedef -2 some how. Once it pops up in state 200, try adding a couple of the differences back in. Do Position, then Scale, then the triggers.
Title: Re: Hitsparks not showing in the move
Post by: QuickFist on September 11, 2020, 05:52:58 PM
Ok the explod stops popping up when I add MoveHit as a trigger. It works If I use P2MoveType = H. But in my sistem that has a lot of chain combos it looks wrong.
The problem seems to be MoveHit as a trigger.
Title: Re: Hitsparks not showing in the move
Post by: Odb718 on September 13, 2020, 01:32:05 PM
Does it look wrong on the screen or just feel wrong in the code? Is this topic solved?
Title: Re: Hitsparks not showing in the move
Post by: QuickFist on September 13, 2020, 07:36:48 PM
I don't understand what you mean. Whenever the trigger is MoveHit, the sparks don't pop up
Title: Re: Hitsparks not showing in the move
Post by: Odb718 on September 16, 2020, 07:27:13 AM
It works If I use P2MoveType = H. But in my sistem that has a lot of chain combos it looks wrong.
I thought you were going to use this method and try to figure out why the combos don't look good.
This is taken out of
;|Lei-Lei by Phantom.of.the.Server |
trigger1=movetype=A&&hitdefattr=SCA,AA
trigger1=movehit&&numtarget
trigger1=(target,movetype=H)&&!(target,time)
look for
[State -2, bloodsparks]
Mess around with this and see what you get.

It could be the movehit is dropping too fast somehow.

You may want to restrict the sparks to only 1 on screen for testing. I'm not sure how mugen would handle firing a ton off real fast.  Something like
&&!numexplod(7200)
should work