YesNoOk
avatar

Sprite Multiplies!? (Read 1941 times)

Started by Tomoyasu, May 17, 2010, 06:31:44 pm
Share this topic:
Sprite Multiplies!?
#1  May 17, 2010, 06:31:44 pm
  • ***
  • RWAR RWAR \ ( ˙ ▽ ˙ ) /
Victim: Kyo AKOF (Helper type edited to "Player")
Suspect: Gustav & Yukino (Zelgadis')

The problem happened if:
1. Kyo's Mushiki got countered by Gustav's Counter SDM.
2. Kyo got hit by Yukino's Lightning Reincarnation HSDM while performing Mushiki.

While Kyo got thrown by either move, he WILL clone himself.
In Yukino's case, after he falls and stand up, he reverts to normal (no clones)
But in Gustav's case... His clone will remain...  --;

Any solution to this?

PS: Sorry, no screenshots. Haven't figured out yet how to put screens...  --;

Credits for the sig goes to my friend, Ignis.
Re: Sprite Multiplies!?
#2  May 17, 2010, 07:30:17 pm
  • *****
  • Thanks and God bless
    • USA
    • ricepigeon.neocities.org
More than likely this is an issue involving either helpers being put into custom states due to not having a HitOverride or a Reversaldef coded without an "attr = " parameter.
Re: Sprite Multiplies!?
#3  May 17, 2010, 08:26:08 pm
  • ***
  • RWAR RWAR \ ( ˙ ▽ ˙ ) /
Wait, wait *take notes*
Which character is responsible?
Any example on the coding?

BTW, tried Kyo's Mushiki against Orochi's Bright Light and Gelato's Full-Screen. Nothing happened.

Credits for the sig goes to my friend, Ignis.
Re: Sprite Multiplies!?
#4  May 18, 2010, 05:00:43 am
  • ******
  • all is love in fair and war
need hitoverride and destroy self for the helper involved in kyo's mushiki.
Re: Sprite Multiplies!?
#5  May 18, 2010, 03:16:33 pm
  • ***
  • RWAR RWAR \ ( ˙ ▽ ˙ ) /
Like this?

Spoiler, click to toggle visibilty

Doesn't work, sadly. :(

Credits for the sig goes to my friend, Ignis.
Re: Sprite Multiplies!?
#6  May 18, 2010, 03:42:11 pm
  • ******
  • all is love in fair and war
hmm, try to hitoveride it into another statedef (sort of state dedicated for destroying unwanted helper)  and there add destroyself, I think it is a sure way to turn off the helper.

Quote
; bombslow helper
[Statedef 1004]
type    = S
movetype= A
physics = N
velset = 0.6,0
anim = 6005   

[State 1004, 1]
type = nothitby
trigger1 = 1
value = ,NA,SA,NT,ST,HT

[state 1004, void]
type = hitoverride
trigger1 = 1
attr = SCA, AA, AP, AT
time = -1
stateno = 4000

[State 1004, exit]
type = DestroySelf
trigger1 = anim = 6015 && animtime = 0
trigger2 = movecontact

;------------------------------------------------------

[Statedef 4000]
type = S
movetype = I
physics = N
anim = 4000
velset = 0,0
ctrl = 0

[State 4000, exit]
type = DestroySelf
trigger1 = time = 0
Re: Sprite Multiplies!?
#7  May 18, 2010, 03:54:32 pm
  • ***
  • RWAR RWAR \ ( ˙ ▽ ˙ ) /
In your example, anim 4000 is an empty animation, right? Will try.

Credits for the sig goes to my friend, Ignis.
Re: Sprite Multiplies!?
#8  May 18, 2010, 04:13:06 pm
  • ******
  • all is love in fair and war
yes, an empty anim
Re: Sprite Multiplies!?
#9  May 18, 2010, 04:16:22 pm
  • ***
  • RWAR RWAR \ ( ˙ ▽ ˙ ) /
Mushiki Helper
Spoiler, click to toggle visibilty

Part of MAX Mushiki Helper
Spoiler, click to toggle visibilty

Destroy Helper
Spoiler, click to toggle visibilty

Still not working... :(
It's like, Gustav and Yukino able to attack Kyo's helper...

Credits for the sig goes to my friend, Ignis.
Re: Sprite Multiplies!?
#10  May 18, 2010, 04:48:12 pm
  • *****
  • Thanks and God bless
    • USA
    • ricepigeon.neocities.org
Try adding a slot number to the hitoverrides and see if that changes anything. I doubt that it will though, but if all else fails then its probably a problem with the characters attacking Kyo. Is it a specific move they're using? If its a counter move then I see the problem. If not then check to see if they have a Reversaldef active.
Re: Sprite Multiplies!?
#11  May 18, 2010, 04:58:46 pm
  • ***
  • RWAR RWAR \ ( ˙ ▽ ˙ ) /
Slot number?

For Gustav, yes. It's a counter SDM.
For Yukino, however, it's a full-screen attack.

Credits for the sig goes to my friend, Ignis.
Re: Sprite Multiplies!?
#12  May 18, 2010, 05:05:49 pm
  • *****
  • Thanks and God bless
    • USA
    • ricepigeon.neocities.org
Slot number?

For Gustav, yes. It's a counter SDM.
For Yukino, however, it's a full-screen attack.

might wanna post the code for those.. I have a strong suspicion about Gustav
Re: Sprite Multiplies!?
#13  May 18, 2010, 05:11:59 pm
  • ***
  • RWAR RWAR \ ( ˙ ▽ ˙ ) /
Gustav's
Spoiler, click to toggle visibilty

Yukino's
Spoiler, click to toggle visibilty

Credits for the sig goes to my friend, Ignis.
Re: Sprite Multiplies!?
#14  May 18, 2010, 05:30:14 pm
  • *****
  • Thanks and God bless
    • USA
    • ricepigeon.neocities.org
My suspicion with Gustav was right

Add the following line to Gustav's code (the one thats bolded):

Quote
[State 1000, ReversalDef]
type = ReversalDef
trigger1 = 1
pausetime = 0,0
sparkno = -1
sparkxy = 0,0
hitsound = S13,17
reversal.attr = SCA, NA, SA, HA
attr = S, HT
numhits = 0
ignorehitpause = 1
p1stateno = 1135


[State 800, Repel]
type = ReversalDef
trigger1 = anim = 2006
reversal.attr = SCA, NA, SA, HA
attr = S, HT
pausetime = -2,0
priority = 99, hit
numhits = 0
sparkno = -1
sparkxy = 100, -100
ground.cornerpush.veloff = 0
air.cornerpush.veloff = 0
down.cornerpush.veloff = 0
guard.cornerpush.veloff = 0
airguard.cornerpush.veloff = 0
fall.xvelocity = -3.27272725105286
fall.yvelocity = -3.25555985694885
p2stateno = 2006

see if that resolves anything.

As for Yukino, I dont see what might be causing it, unless its in the code for his helpers?
Re: Sprite Multiplies!?
#15  May 18, 2010, 05:39:48 pm
  • ***
  • RWAR RWAR \ ( ˙ ▽ ˙ ) /
Will try right on.

Credits for the sig goes to my friend, Ignis.
Re: Sprite Multiplies!?
#16  May 18, 2010, 05:49:57 pm
  • ***
  • RWAR RWAR \ ( ˙ ▽ ˙ ) /
Still not working... :(

Credits for the sig goes to my friend, Ignis.
Re: Sprite Multiplies!?
#17  May 18, 2010, 05:50:51 pm
  • *****
  • Thanks and God bless
    • USA
    • ricepigeon.neocities.org
Re: Sprite Multiplies!?
#18  May 18, 2010, 05:57:47 pm
  • ***
  • RWAR RWAR \ ( ˙ ▽ ˙ ) /
I don't know why, but if I changed the helper type to "Normal", his helpers will go through the enemy. If you do a zero distance Mushiki, the helpers wont hit.
Will try, though.

Credits for the sig goes to my friend, Ignis.
Re: Sprite Multiplies!?
#19  May 18, 2010, 06:04:35 pm
  • *****
  • Thanks and God bless
    • USA
    • ricepigeon.neocities.org
I don't know why, but if I changed the helper type to "Normal", his helpers will go through the enemy. If you do a zero distance Mushiki, the helpers wont hit.
Will try, though.

If its not hitting at close range then thats most likely a problem with the Width controller, or lack thereof.
Re: Sprite Multiplies!?
#20  May 18, 2010, 06:13:56 pm
  • ***
  • RWAR RWAR \ ( ˙ ▽ ˙ ) /
This?
Quote
[Statedef 3510]
type = S
movetype = A
physics = S
anim = 3302
poweradd = 0
velset = 0
ctrl = 0
sprpriority = 9

[state 1000]
type = hitoverride
trigger1 = 1
attr = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT
stateno = 20000
time = -1

[State 170, –³“G]
type = NotHitBy
trigger1 = 1
value = SCA,NA,SA,HA,NP,SP,HP,NT,ST,HT
ignorehitpause = 1

[State 210, •¨—“I‚ȃLƒƒƒ‰‚Ì•]
type = Width
trigger1 = 1
edge = 20,0

BTW, still no luck, either... :(

Credits for the sig goes to my friend, Ignis.
Re: Sprite Multiplies!?
#21  May 21, 2010, 04:23:10 pm
  • ***
  • RWAR RWAR \ ( ˙ ▽ ˙ ) /
Since I can't figure out the problem either, I decided to use an alternative method.
Even though it bugs me, for now, this case is closed.

Credits for the sig goes to my friend, Ignis.

2OS

Re: Sprite Multiplies!?
#22  May 21, 2010, 06:47:49 pm
  • ****
  • 608 Wannabe
  • Ich schicke dich zur HOELLE!! STIRB DU FEIGLING!!
    • Egypt
I'm kinda lost on exactly what it is you're trying to do here, my guess is a helper is being reversed resulting in an unwanted clone, If I'm right then I have a solution
Re: Sprite Multiplies!?
#23  May 21, 2010, 07:10:07 pm
  • ***
  • RWAR RWAR \ ( ˙ ▽ ˙ ) /
A helper being reversed? You mean... being countered? Yep.

Credits for the sig goes to my friend, Ignis.

2OS

Re: Sprite Multiplies!?
#24  May 21, 2010, 07:24:42 pm
  • ****
  • 608 Wannabe
  • Ich schicke dich zur HOELLE!! STIRB DU FEIGLING!!
    • Egypt
A helper being reversed? You mean... being countered? Yep.

Ok then

If you haven't already done so, find common1.cns in your data, make a copy of it, and put it in your character folder

Open your copied common1.cns and put this code in EVERY common state

[State DestroyHelper]
type=destroyself
trigger1=ishelper
ignorehitpause=1
pausemovetime=9999999
supermovetime=9999999

I actually recommend every creator / editor do this, being a former ""nukewar"" author, I know very well how annoying reversaldefs can be if they lack attr, cloning your helpers left and right to a point where the system can no longer generate them, if you do this, you should pretty much never ever have to worry about clones again
Re: Sprite Multiplies!?
#25  May 21, 2010, 07:30:59 pm
  • ***
  • RWAR RWAR \ ( ˙ ▽ ˙ ) /
Will try.

Wait? If the char already got his own common.cns? Is it OK to modify that one instead?

Credits for the sig goes to my friend, Ignis.
Last Edit: May 21, 2010, 07:38:57 pm by Tomoyasu
Re: Sprite Multiplies!?
#26  May 21, 2010, 08:26:22 pm
  • ***
  • RWAR RWAR \ ( ˙ ▽ ˙ ) /
It worked flawlessly. Thanks a bunch.

One last question, though. With the code of yours, if I do a helper-based move (eg: Yami Barai), then Kyo got hit before the helper hits the enemy, will the Yami Barai disappear?

Credits for the sig goes to my friend, Ignis.

2OS

Re: Sprite Multiplies!?
#27  May 21, 2010, 08:41:46 pm
  • ****
  • 608 Wannabe
  • Ich schicke dich zur HOELLE!! STIRB DU FEIGLING!!
    • Egypt
Re: Sprite Multiplies!?
#28  May 22, 2010, 10:01:10 am
  • ***
  • RWAR RWAR \ ( ˙ ▽ ˙ ) /
Ah, I see. Thanks a bunch, friend.

This case is as good as closed!

Credits for the sig goes to my friend, Ignis.