YesNoOk
avatar

"standing in the air" glitch (Read 4371 times)

Started by fer619, July 17, 2008, 08:59:17 pm
Share this topic:
"standing in the air" glitch
#1  July 17, 2008, 08:59:17 pm
  • ****
  • ANGRY BIRDS GONNA DESTROY DEM PIGZ!
    • Mexico
    • www.mugenevolution.co.uk/fer619/
Well, after i released my first char, chargin chuck, i noticed a little glitch where chucky, when AI-controlled, ends up "standing" in the air after an aerial move like a jumping strong punch. here's a screenshot of the glitch.



i've tried several methods to fix it and nothing seems to work. i guess it's because i don't know what is causing the glitch. can anyone help me with this little problem?

Re: "standing in the air" glitch
#2  July 17, 2008, 09:03:26 pm
  • ******
    • Portugal
    • network.mugenguild.com/pots/
Check if those aerial moves have type=A in their Statedefs.
You can help with Ikemen GO's development by trying out the latest development build and reporting any bugs on GitHub.
My Mugen and Ikemen content can also be found here.

Aadmi

Re: "standing in the air" glitch
#3  July 17, 2008, 09:11:58 pm
or Maybe there's a move where, you forgot to say, statetype!=A,  also you should check the Physics=A for jumping normal attacks it's normal to have physics=A, so they come back down without the need of velsets or a changestate.

Cheers,RajaBoy
Re: "standing in the air" glitch
#4  July 17, 2008, 11:32:27 pm
  • ******
  • [E]
    • Mexico
check the changestate in yoru jumping punch, most likely you are changing to 0 instead of 50.
Re: "standing in the air" glitch
#5  July 18, 2008, 03:19:22 am
  • ****
  • ANGRY BIRDS GONNA DESTROY DEM PIGZ!
    • Mexico
    • www.mugenevolution.co.uk/fer619/
Check if those aerial moves have type=A in their Statedefs.

yes, they all have type=A

or Maybe there's a move where, you forgot to say, statetype!=A,

the only moves that don't say statetype!=A are my crouching and standing attacks

also you should check the Physics=A for jumping normal attacks it's normal to have physics=A, so they come back down without the need of velsets or a changestate.

yes, the jumping attacks all say physics=A

check the changestate in yoru jumping punch, most likely you are changing to 0 instead of 50.

are u referring to the cns or the cmd?

Aadmi

Re: "standing in the air" glitch
#6  July 18, 2008, 05:18:38 am
He's Refering to the Cns.

if you have, Physics=A then you can just loop the Animation after the attack with th Fall from Jumping up anim and use a ctrlset=1 Instead.

Cheers,RajaBoy

BC

Re: "standing in the air" glitch
#7  July 18, 2008, 12:46:33 pm
  • avatar
  • ****
    • UK
ive had this glitch before, the problem was in one of my standing moves i never added triggerall = statetype !=A
also make sure chuck has ctrl before doing the move.

not sure if the statetype !=S is nessecary but it wouldnt hurt
Accepting commissions
Re: "standing in the air" glitch
#8  July 18, 2008, 08:02:28 pm
  • ****
  • ANGRY BIRDS GONNA DESTROY DEM PIGZ!
    • Mexico
    • www.mugenevolution.co.uk/fer619/

BC

Re: "standing in the air" glitch
#9  July 18, 2008, 11:27:31 pm
  • avatar
  • ****
    • UK
i never bother with control set, all my air attacks have is a statedef a hitdef and thats it, no need for changestate or ctrlset,

this is all my air attack consits of

[StateDef 650]
type = A
movetype= A
physics = N
juggle  = 1
ctrl = 0
anim = 650
poweradd = 31
sprpriority = 2

[State 650, StateTypeSet]
type = StateTypeSet
trigger1 =  animelemtime(1)>0
physics = A

[State 200, PlaySnd]
type = PlaySnd
trigger1 = animelem = 1 && random <200
value = 0,ifelse(random <500,1,0)
volume = 150

[State 200, PlaySnd]
type = PlaySnd
trigger1 = animelem = 1
value = 250,0
volume = 100

[State 650, 1]
type = HitDef
trigger1 = AnimElem = 2
attr = A, NA
damage = 50
animtype = Hard
guardflag = MA
hitflag = MAF
priority = 3, Hit
pausetime = 5, 14
sparkno = S6000+(random%4)
guard.sparkno= S8010
sparkxy = -25,-60
HitSound = S250,1
GuardSound = S55,12
ground.type = High
ground.slidetime = 14
ground.hittime  = 12
ground.velocity = -7
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 12
Accepting commissions
Re: "standing in the air" glitch
#10  July 18, 2008, 11:57:09 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Ok that's just a strange way to code it. Why have physics set to N then change them to 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.

BC

Re: "standing in the air" glitch
#11  July 19, 2008, 11:53:01 am
  • avatar
  • ****
    • UK
oh lol soz i forgot to take that out.......i set them all as A now....that code was from a while back where i was testing how statetype set worked and how physics = A gives gravity and N doesnt whoops  --;
Accepting commissions
Re: "standing in the air" glitch
#12  July 21, 2008, 07:40:30 pm
  • ****
  • ANGRY BIRDS GONNA DESTROY DEM PIGZ!
    • Mexico
    • www.mugenevolution.co.uk/fer619/
if you have, Physics=A then you can just loop the Animation after the attack with th Fall from Jumping up anim

hmmm...ok, i'll try that and i'll see if it works

dammit, didn't work. i looped the jumping anims but nothing changed.  :( maybe if someone who downloaded chucky could take a close look at him and tell me what the problem could be, because i tried everything i could.

Re: "standing in the air" glitch
#13  July 22, 2008, 01:00:05 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Post the code of the jumping strong punch.


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.

BC

Re: "standing in the air" glitch
#14  July 22, 2008, 01:05:16 am
  • avatar
  • ****
    • UK
also post the state -1 triggers for the move
Accepting commissions
Re: "standing in the air" glitch
#15  July 22, 2008, 03:12:04 am
  • ****
  • ANGRY BIRDS GONNA DESTROY DEM PIGZ!
    • Mexico
    • www.mugenevolution.co.uk/fer619/
Jumping Strong Punch code:

; Jump Strong Punch
; CNS difficulty: easy
[Statedef 620]
type    = A
movetype= A
physics = A
juggle  = 4
poweradd= 50
ctrl = 0
anim = 620
sprpriority = 2

[State 620, 1]
type = HitDef
trigger1 = Time = 0
attr = A, NA
damage = 25, 1
animtype = Med
guardflag = HA
hitflag = HAF
priority = 3, Hit
pausetime = 12, 12
sparkno = 1
sparkxy = 11, -19
hitsound = 5, 3
guardsound = 6, 0
ground.type = High
ground.slidetime = 17
ground.hittime  = 17
ground.velocity = -5
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -3, -4
air.hittime = 12

[State 620, 2]
type = PlaySnd
trigger1 = AnimElem = 1
value = 0,1
volume = 0
channel = 3
freqmul = 1.0
loop = 0
pan = 0

[State 620, 5]
type = CtrlSet
trigger1 = Time = 20
value = 1


in statedef -1:

; Jump Strong Punch
[State -1, Jump Strong Punch]
type = ChangeState
value = 620
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 || stateno = 640
trigger2 = movecontact

Re: "standing in the air" glitch
#16  July 22, 2008, 04:14:16 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Sounds to me like the AI is trying to use a standing move (something you wouldn't do) and stopping. That code should function fine, therefore you have a random command somewhere that is allowed to activate under those conditions and that returns you to state 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: "standing in the air" glitch
#17  July 22, 2008, 06:50:49 pm
  • ****
  • ANGRY BIRDS GONNA DESTROY DEM PIGZ!
    • Mexico
    • www.mugenevolution.co.uk/fer619/
hmmm....alright, well i'll double check my commands.

Or would you like to see them yourself?

BC

Re: "standing in the air" glitch
#18  July 22, 2008, 07:29:33 pm
  • avatar
  • ****
    • UK
well if you double check them and still cant find the error, post the AI triggers for the move
Accepting commissions
Re: "standing in the air" glitch
#19  July 23, 2008, 06:40:59 pm
  • ****
  • ANGRY BIRDS GONNA DESTROY DEM PIGZ!
    • Mexico
    • www.mugenevolution.co.uk/fer619/
nope, don't see anything wrong with my AI triggers. but before i post them, just one question (i'm sure cyanide won't like to hear this): i used the Elecbyte template for chucky, and i've recently heard that it's not really a good template because it's corrupted or something. could the template have anything to do with this glitch? just wondering

BC

Re: "standing in the air" glitch
#20  July 23, 2008, 06:48:16 pm
  • avatar
  • ****
    • UK
fighter factory has absolutely nothing to do with that glitch.

i used the template, and alot of people i know have, and they have including my self have had glitches like that but that was entirely to do with the AI triggers trying to use the move in the air when it was suposed to have a standing statetype.

lets see your AI triggers please..
Accepting commissions

Aadmi

Re: "standing in the air" glitch
#21  July 23, 2008, 07:55:32 pm
It shouldn't be the templates fault at all.very unlikely.....

if those are all of the codes pertaining to this specific moves i think it's afe to say that it's not really this moves Fault..maybe yo have a wrong movecontact somewhere, that makes him transitio into a standing state?
i honestly don't see the problem if you tried all of the suggestions, one of them should atleast work. my suggestions is to to take careful look at your triggers in the moves in your cmd.

I'm sure we'll get you to fix to this rather annoying issue in time  ;)


Cheers,Rajaboy :D

Re: "standing in the air" glitch
#22  July 23, 2008, 08:39:04 pm
  • ****
  • ANGRY BIRDS GONNA DESTROY DEM PIGZ!
    • Mexico
    • www.mugenevolution.co.uk/fer619/
lets see your AI triggers please..

Supers and Specials:

; Super Baseball Throw
[State -1, Super Baseball Throw]
type = ChangeState
value = 1100
triggerall = command = "Super Baseball Throw"
triggerall = power >= 1000
triggerall = statetype != A
trigger1 = ctrl
trigger2 = hitdefattr = SC, NA, SA
trigger2 = movecontact = 1
trigger3 = stateno = 220
trigger3 = MoveHit

;---------------------------------------------------------------------------
; Baseball Throw
[State -1, Baseball Throw]
type = ChangeState
value = 1000
triggerall = command = "Baseball Throw"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = StateNo = 220
trigger2 = MoveGuarded

;---------------------------------------------------------------------------
; Jumping Baseball Throw
[State -1, Jumping Baseball Throw]
type = ChangeState
value = 1010
triggerall = command = "Jumping Baseball Throw"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = numproj = 1

;---------------------------------------------------------------------------
; Football Kick
[State -1, Football Kick]
type = ChangeState
value = 1020
triggerall = command = "Football Kick"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = p2bodydist x >= 100
trigger2 = p2statetype = A


Basic hits:

; Stand Light Punch
[State -1, Stand Light Punch]
type = ChangeState
value = 200
triggerall = command = "x"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
; Stand Strong Punch
[State -1, Stand Strong Punch]
type = ChangeState
value = 220
triggerall = command = "y"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl
trigger2 = stateno = 200 || stateno = 240
trigger2 = movecontact

;---------------------------------------------------------------------------
; Standing Kick
[State -1, Standing Kick]
type = ChangeState
value = 240
triggerall = command = "a"
triggerall = command != "holddown"
trigger1 = statetype = S
trigger1 = ctrl

;---------------------------------------------------------------------------
; Crouching Light Punch
[State -1, Crouching Light Punch]
type = ChangeState
value = 400
triggerall = command = "x"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
; Crouching Strong Punch
[State -1, Crouching Strong Punch]
type = ChangeState
value = 420
triggerall = command = "y"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
; Crouching Kick
[State -1, Crouching Kick]
type = ChangeState
value = 440
triggerall = command = "a"
triggerall = command = "holddown"
trigger1 = statetype = C
trigger1 = ctrl

;---------------------------------------------------------------------------
; Jump Light Punch
[State -1, Jump Light Punch]
type = ChangeState
value = 600
triggerall = command = "x"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 640
trigger2 = movecontact

;---------------------------------------------------------------------------
; Jump Strong Punch
[State -1, Jump Strong Punch]
type = ChangeState
value = 620
triggerall = command = "y"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600 || stateno = 640
trigger2 = movecontact

;---------------------------------------------------------------------------
; Jump Kick
[State -1, Jump Kick]
type = ChangeState
value = 640
triggerall = command = "a"
trigger1 = statetype = A
trigger1 = ctrl
trigger2 = stateno = 600
trigger2 = movecontact

Aadmi

Re: "standing in the air" glitch
#23  July 23, 2008, 09:16:37 pm
they are not not AI commands. ???


BC

Re: "standing in the air" glitch
#24  July 23, 2008, 09:34:55 pm
  • avatar
  • ****
    • UK
all i can suggest is for the moves that have, trigger1 = statetype = A, trigger1 = ctrl add a triggerall above stating triggerall = statetype !=S and vice versa for trigger1 = statetype = S, trigger1 = ctrl, add above triggerall = statetype !=A

wouldnt hurt to try


and yea as raja said they're not AI commands, but are read by default AI. was that what you meant?
Accepting commissions
Re: "standing in the air" glitch
#25  July 23, 2008, 10:57:45 pm
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
Quote
; Jumping Baseball Throw
[State -1, Jumping Baseball Throw]
type = ChangeState
value = 1010
triggerall = command = "Jumping Baseball Throw"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = numproj = 1
It's either that, cos you can access it if jumping provided a projectile is on the screen. Or it's one of your other jumping attacks, check none of them have a changestate to 0 at the end.


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: "standing in the air" glitch
#26  July 23, 2008, 11:20:40 pm
  • ****
  • ANGRY BIRDS GONNA DESTROY DEM PIGZ!
    • Mexico
    • www.mugenevolution.co.uk/fer619/
all i can suggest is for the moves that have, trigger1 = statetype = A, trigger1 = ctrl add a triggerall above stating triggerall = statetype !=S and vice versa for trigger1 = statetype = S, trigger1 = ctrl, add above triggerall = statetype !=A

wouldnt hurt to try

ok, i'll try that

they're not AI commands, but are read by default AI.

well, yeah, my char only uses default AI, i didn't set any variables for AI or anything

Quote
; Jumping Baseball Throw
[State -1, Jumping Baseball Throw]
type = ChangeState
value = 1010
triggerall = command = "Jumping Baseball Throw"
trigger1 = statetype != A
trigger1 = ctrl
trigger2 = numproj = 1
It's either that, cos you can access it if jumping provided a projectile is on the screen. Or it's one of your other jumping attacks, check none of them have a changestate to 0 at the end.

no, none of chucky's jumping attacks have a changestate to 0, i use ctrlset for those moves in the cns

Aadmi

Re: "standing in the air" glitch
#27  July 23, 2008, 11:43:25 pm


thats weird, so you use ctrl, set so thats your problem, with ctrlset you can attak during a certain moment during the air attack like if your doing it and his pos y< 0 he gonna stay at that pos y if you do a standing light punch since you set ctrl. try using actual change states.

like from the jumping football try a change state to state 50

BC

Re: "standing in the air" glitch
#28  July 23, 2008, 11:45:58 pm
  • avatar
  • ****
    • UK
you dont really need to have a ctrl set at the end none of my attacks do.

physics,type,movetype all equaling A is really all you need,

i dont even use changestate

Accepting commissions
Re: "standing in the air" glitch
#29  July 24, 2008, 12:22:05 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
But it's not what the problem is unless one of his jumping attacks has a type of S in the statedef. See if the jumping attacks don't have changestates, then another changestate is being activated somehow that is a standing attack. Why not see if you can achieve what the PC does? Jump, attack with each button in turn, then button mash. If he winds up standing, repeat with all your buttons until you find out what causes it. Then you can bypass it.


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: "standing in the air" glitch
#30  July 25, 2008, 08:19:32 pm
  • ****
  • ANGRY BIRDS GONNA DESTROY DEM PIGZ!
    • Mexico
    • www.mugenevolution.co.uk/fer619/
try using actual change states.

tried it.....and nothing.

you dont really need to have a ctrl set at the end none of my attacks do.

physics,type,movetype all equaling A is really all you need,

i dont even use changestate

i left the codes without ctrset or changestate.....and nothing

Why not see if you can achieve what the PC does? Jump, attack with each button in turn, then button mash. If he winds up standing, repeat with all your buttons until you find out what causes it. Then you can bypass it.

tried to "duplicate" the glitch myself, without success.

thanks for all the help, but i've decided to move on with other things. besides, i left chucky as open source, so if anyone manages to fix the bug, go ahead and make a fixpatch, or let me know.

Aadmi

Re: "standing in the air" glitch
#31  July 25, 2008, 09:10:40 pm
This is a really wierd issue.

i don't think you should give up if you plan on creating in the future, i remember you saying this was a test sorta character and that afterwards you would make, the real deal , my point.... now is the time to fix little annoying mistakes so in the future thier just overlooked mistakes that take a second to fix. Giving up is not the spirit.

not at Mugen or at everything else in your life more important than mugen. you give up now and you set a point in yourself where giving up is okay...in my opinion thats not a bad example or precedent you should set for yourself. it'll come back to haunt you.


Cheers,Rajaboy
Re: "standing in the air" glitch
#32  July 26, 2008, 03:06:40 am
  • ****
  • ANGRY BIRDS GONNA DESTROY DEM PIGZ!
    • Mexico
    • www.mugenevolution.co.uk/fer619/
yeah, i know i shouldn't give up but it's just that i don't know what else to do, and it's discouraging. and now here's another piece of discouragement: this glitch now seems to be happening on the ground, too. now it seems that when chucky does a move like the super baseball throw, sometimes it suddenly stops right in the middle of the move and goes to its state 0, and stays stuck there. so apparently there is something here that is making chucky stop in the middle of a move, whether in the air or on the ground, and sends him to state 0 and stays stuck there.

so any more ideas?

Re: "standing in the air" glitch
#33  July 26, 2008, 04:10:05 am
  • *****
  • DAT SAX
See, this is why I make a state 52 and an animation 44 for my characters.

State 52 is the Jump Down state that I feel like only I use. Anim 44 is the jump down animation.

AKA the characters state for when they are coming down from the air.

I would suggest that instead of using that CtrlSet, make a jump down animation, put anim = (jumpdown) in state 52 statedef (state 52 should already be in the common1 if you are using it), and put one Null controller in state 52. Have him switch to state 52 after all air moves have finished their animations, and boom.

                  ~*The Last Quincy*~         ~Sig by [TempesT]
My MUGEN shit:
MvC2 Tron Bonne, MvC Kim Kaphwan, Barns (Destruction Desire),
and Burai Yamamoto (Arranged)

Aadmi

Re: "standing in the air" glitch
#34  July 26, 2008, 05:27:09 am
but doing that will just leave him in the Air or magically transport him to the ground.

if it's happening on the ground and just going to the stand state and freezing, then maybe when it happens you can see if it gives debug spam?

Cheers,RajaBoy

BC

Re: "standing in the air" glitch
#35  July 26, 2008, 01:53:15 pm
  • avatar
  • ****
    • UK
if you dont know how to turn on debug its ctrl + D
Accepting commissions