YesNoOk
avatar

Z2's Super KO Background problems (Read 2165 times)

Started by Balthazar, October 13, 2012, 07:03:13 pm
Share this topic:
Z2's Super KO Background problems
#1  October 13, 2012, 07:03:13 pm
  • ******
    • Netherlands
    • network.mugenguild.com/balthazar/index.html


The above video shows a variety of the mentioned 'problems'.
I'd like Cybaster to have some outside help with this, since it's a recurring problem that's been in the chars since Goku :mtongue:
Most Super KO Backgrounds seem to either not happen at all, or just appear randomly,
most times not appearing on the actual 'dead-hit'. This happens with some Supers more then others.
Basicly, it's been my biggest bother for almost 2 years now, so getting that to work properly at all times would be sweet!
Re: Z2's Super KO Background problems
#2  October 13, 2012, 07:06:54 pm
  • ***
  • Figuring things out, one sprite at a time.
    • irwt.iammanyninjas.com
Just to check it out, how well does the Super KO background effect work with attacks that are physically based rather than projectiles? Goku has one or two supers that apply; do those suffer from similar issues?
Re: Z2's Super KO Background problems
#3  October 13, 2012, 07:20:30 pm
  • ******
    • Netherlands
    • network.mugenguild.com/balthazar/index.html
Now that you mention it, I think it's mostly projectile-based supers. Goku's Kamehameha has that problem as well.
His Bicycle Kick had it too but I don't think so anymore.
Re: Z2's Super KO Background problems
#4  October 13, 2012, 07:22:04 pm
  • ***
  • I hate coding helpers.
    • Brazil
I could blame the var(13) but probably is the same reason why Goku's Intermediate Challenge #13 ( ( + P) x3,    + P,    + 2P ) fails sometimes. This bug happens much more often when you release a projectile while another projectile hits the opponent, so it's a good idea that Cybaster checks via debug how the var(18) behaves in Goku's statedef 21220 (Challenge 13).
Last Edit: October 13, 2012, 07:26:01 pm by Zzyzzyxx
Re: Z2's Super KO Background problems
#5  October 13, 2012, 07:50:52 pm
  • ******
  • Limited time to use Infinite power !
    • France
    • network.mugenguild.com/cybaster/
Need confirmation from Balthazar, but I think the problems only occur on projectile based Super BG.

All of them are coded as helpers, and triggered in state -2 with these types of triggers :
Code:
trigger1 = NumHelper(2001)								;Galick Ho
trigger1 = helper(2001),movecontact
trigger2 = NumHelper(2301) ;Bakuhatsuha
trigger2 = helper(2301),movecontact
trigger3 = NumHelper(2321) ;Bakuhatsuha LV2
trigger3 = helper(2321),movecontact

As Balthazar said, they kinda seem to trigger at random for whatever reason.
You have both Vegeta and Goku, so you can check their code if you have time. :P

Edit : Wait, should I blame var(13) or var(18) :???:
Gonna check that.
Re: Z2's Super KO Background problems
#6  October 13, 2012, 08:09:12 pm
  • ***
  • I hate coding helpers.
    • Brazil
You have both Vegeta and Goku, so you can check their code if you have time. :P
It will take more time than what I have available, but I'll try something.

      Posted: October 13, 2012, 08:52:11 pm
Some tests later:

I used this code in Vegeta's -2:

[State -2,Lifeset]
type = lifeset
trigger1 = life >= 100
value = 100
ignorehitpause = 1

With this he starts the round with 100 life. A Galick Ho from a fullscreen distance doesn't trigger the bgfinisher in this condition.

I changed his triggers in the state 2002 from this

[State 1316, End]
type=destroyself
trigger1= !animtime

to this:

[State 1316, End]
type=destroyself
trigger1 = !numtarget
trigger2 = numtarget
trigger2 = target, time <= 1 && !(target, hitshakeover)

It seems to solve some BG Finisher problems for Galick Ho. The problem indeed seems to be in the states that the helpers use when they want to use destroyself.
Last Edit: October 13, 2012, 08:53:00 pm by Zzyzzyxx
Re: Z2's Super KO Background problems
#7  October 14, 2012, 07:45:25 am
  • ***
    • Canada
Need confirmation from Balthazar, but I think the problems only occur on projectile based Super BG.

All of them are coded as helpers, and triggered in state -2 with these types of triggers :
Code:
trigger1 = NumHelper(2001)								;Galick Ho
trigger1 = helper(2001),movecontact
trigger2 = NumHelper(2301) ;Bakuhatsuha
trigger2 = helper(2301),movecontact
trigger3 = NumHelper(2321) ;Bakuhatsuha LV2
trigger3 = helper(2321),movecontact

As Balthazar said, they kinda seem to trigger at random for whatever reason.
You have both Vegeta and Goku, so you can check their code if you have time. :P

Edit : Wait, should I blame var(13) or var(18) :???:
Gonna check that.

Add that code under state -3. I have a similar setup and it works best under-3 since it stays active. So it looks like this.

Code:
[State -3, Super KO Background]
type = helper
trigger1 = 1 && !numhelper(xxxx)
helpertype = Normal
id = xxxx
postype = p1
name = "Super K.O."
stateno = xxxx

[State -3, Hyper Attack Helpers]
type = VarSet
triggerall = roundstate = 3
trigger1 = NumHelper(2001) ;Galick Ho
trigger1 = helper(2001),movecontact
v = 20
value = 1
ignorehitpause = 1
Last Edit: October 14, 2012, 07:54:06 am by KojiroBADNESS
Re: Z2's Super KO Background problems
#8  October 14, 2012, 07:58:56 pm
  • **
All of them are coded as helpers, and triggered in state -2 with these types of triggers :
Code:
trigger1 = NumHelper(2001)                        ;Galick Ho
trigger1 = helper(2001),movecontact
trigger2 = NumHelper(2301)                        ;Bakuhatsuha
trigger2 = helper(2301),movecontact
trigger3 = NumHelper(2321)                        ;Bakuhatsuha LV2
trigger3 = helper(2321),movecontact

Complete shot in the dark : if your projectiles switch to a "vanish" state upon MoveContact, you might want to add a MoveHitPersist=1 to those states.
Re: Z2's Super KO Background problems
#9  October 14, 2012, 08:21:12 pm
  • ******
  • Limited time to use Infinite power !
    • France
    • network.mugenguild.com/cybaster/
Thanks guys.

Added code by Zzyzzyxx and Demented Fortune Cookie. Tested a little, and it seems to work much better.
I'll send Goku and Vegeta to Balthazar and he'll test them in Arcade mode and see if I didn't break anything in the process... :ninja:
Re: Z2's Super KO Background problems
New #10  October 14, 2012, 08:26:17 pm
  • ***
  • I hate coding helpers.
    • Brazil
You use this var for the state 2001 of Vegeta's Galick Ho:

[State 3005, hitvar]
type=varadd
trigger1= !time
var(2)=1

Use this one as well:

[State 2001, movehitvar]
type = varset
trigger1 = movecontact && numtarget
trigger1 = !(target, ishelper)
var(3) = 1
ignorehitpause = 1



With this, change the triggers for Super BG Finishers from

trigger1 = NumHelper(2001)                        ;Galick Ho
trigger1 = helper(2001),movecontact

to

trigger1 = numhelper(2001)
trigger1 = helper(2001), var(3)

The final hit of Galick Ho uses the var(3). It's a good idea to use it in the statedef 2001 as well.
Last Edit: October 14, 2012, 08:35:05 pm by Zzyzzyxx