YesNoOk
avatar

i stay in the air after doing a hurricane kick in the air..!!WHY?? (Read 804 times)

Started by joski, February 24, 2008, 09:26:47 pm
Share this topic:
i stay in the air after doing a hurricane kick in the air..!!WHY??
#1  February 24, 2008, 09:26:47 pm
  • avatar
  • *
after performing a hurricane kick in mid-air,i remain in the air why ,,heres what my coding looks like...


;hurricankickair
[Statedef 1806]
type    = A
movetype= A
physics = A
juggle  = 8
poweradd= 65
ctrl = 0
velset = 0,0
anim = 1805


[State 1806, 1]
type = PlaySnd
trigger1 = Time = 2
value = 0, 1

[State 1806, 2]
type = HitDef
trigger1 = animelem = 1
attr = S, SP
animtype  = LIGHT
damage    = 20,3
guardflag = MA
pausetime = 6,6
sparkno = 1
sparkxy = -15,-59
hitsound   = 5,2
guardsound = 6,0
guard.sparkno = S8004
air.type = Low
air.hittime = 20
air.slidetime = 20
air.hittime  = 20
air.velocity = -1
air.velocity = 2,-4
air.animtype = Back
air.fall = 1



[State 1806, 3]
type = HitDef
trigger1 = animelem = 8
trigger2 = animelem = 12
trigger3 = animelem = 16
trigger4 = animelem = 20
trigger5 = animelem = 24
trigger6 = animelem = 28
trigger7 = animelem = 32
attr = S, SP
animtype  = light
damage    = 20, 3
guardflag = MA
pausetime = 6,6
sparkno = 1
sparkxy = -15,-59
hitsound   = 5,2
guardsound = 6,0
guard.sparkno = S8004
air.type = low
air.hittime = 20
air.slidetime = 20
air.hittime  = 20
air.velocity = -1
air.velocity = -6,-4
air.animtype = Back
air.fall = 1



[State 1806, PlaySnd]
type = PlaySnd
trigger1 = animelem = 8
trigger2 = animelem = 12
trigger3 = animelem = 16
trigger4 = animelem = 20
trigger5 = animelem = 24
trigger6 = animelem = 28
value = 5,0

[State 1806, Playsnd]
type = Playsnd
trigger1 = time = 1
value = S1000,2
Re: i stay in the air after doing a hurricane kick in the air..!!WHY??
#2  February 24, 2008, 09:35:18 pm
  • ****
  • Aka ShadesTeam/Zeckle
need to have a changestate to state 50 in it
Shades 2 site:Shades of Manhattan
Re: i stay in the air after doing a hurricane kick in the air..!!WHY??
#3  February 24, 2008, 09:50:12 pm
  • avatar
  • *
can you explain in more detail..i tryed

[State 1806, ChangeState]
type = ChangeState
trigger1 = animelem = 28
value = 50
ctrl = 50


and got the same effect,,, what iam i doing wrong???
~~THANKS~~
Re: i stay in the air after doing a hurricane kick in the air..!!WHY??
#4  February 24, 2008, 10:38:28 pm
  • avatar
  • *
[State 1806, ChangeState]
type = ChangeState
trigger1 = AnimTime = 0
value = 50
ctrl = 1

 --; --;
this is not working....???
any other suggestions
Re: i stay in the air after doing a hurricane kick in the air..!!WHY??
#5  February 24, 2008, 10:41:46 pm
  • **
  • Loco
you stay in the air but doing what?? is the hurrican kick looping?

edit: You have a htdef at animelem 28, maybe if you try to put the changestate on Anim Elem 32 or 33.

Or you can have a CtrlSet at time 30 or so...
Last Edit: February 24, 2008, 10:45:13 pm by Metal_Sniper_63
Re: i stay in the air after doing a hurricane kick in the air..!!WHY??
#6  February 24, 2008, 10:50:13 pm
  • avatar
  • *
no,, the move doesnt loop..i just remain in the air after doing it...
Re: i stay in the air after doing a hurricane kick in the air..!!WHY??
#7  February 24, 2008, 10:56:39 pm
  • avatar
  • *
i only fall back to the ground after jumping again...
i did have this problem with throwing air-projectiles but,the way i fixed that isnt working either,,,
Re: i stay in the air after doing a hurricane kick in the air..!!WHY??
#8  February 24, 2008, 10:57:51 pm
  • avatar
  • *
i tried your suggestions... got any others ,, they didnt work.
Re: i stay in the air after doing a hurricane kick in the air..!!WHY??
#9  February 24, 2008, 11:02:55 pm
  • **
  • Splowshunsz :D
try adding gravity


[State 0, Gravity]
type = Gravity
trigger1 =
;ignorehitpause =
;persistent =
Re: i stay in the air after doing a hurricane kick in the air..!!WHY??
#10  February 24, 2008, 11:22:03 pm
  • avatar
  • *
 :'(
damn,,,this is really pissing me off,,, i cant figure out whats wrong my command state =  A
the physics = a ..everything... heres my new code PLEASE see if you see any errors..

;hurricankickair
[Statedef 1805]
type    = A
movetype= A
physics = A
juggle  = 8
poweradd= 65
ctrl = 1
velset = 0,0
anim = 1805
sprpriority = 2

[State 1805, 1]
type = PlaySnd
trigger1 = Time = 2
value = 0, 1


[State 1805, 2]
type = HitDef
trigger1 = enemyNear, Anim != 5070
trigger1 = AnimElemTime(1) = 2
attr = S, SA
animtype  = LIGHT
damage    = 20,3
guardflag = MA
pausetime = 6,6
sparkno = 1
sparkxy = -15,-59
hitsound   = 5,2
guardsound = 6,0
guard.sparkno = S8004
ground.type = Low
air.hittime = 20
ground.slidetime = 20
ground.hittime  = 20
ground.velocity = -1
air.velocity = 2,-4

[State 1805, 3]
type = HitDef
triggerall = enemyNear, Anim != 5070
trigger1 = animelem = 8
trigger2 = animelem = 12
trigger3 = animelem = 16
trigger4 = animelem = 20
trigger5 = animelem = 24
trigger6 = animelem = 28
trigger7 = animelem = 32
attr = A, SA
animtype  = High
damage    = 20, 3
guardflag = MA
pausetime = 6,6
sparkno = 1
sparkxy = -15,-59
hitsound   = 5,2
guardsound = 6,0
guard.sparkno = S8004
ground.type = High
air.hittime = 20
ground.slidetime = 20
ground.hittime  = 20
ground.velocity = -1
air.velocity = -6,-4



[State 1805, PlaySnd]
type = PlaySnd
trigger1 = animelem = 8
trigger2 = animelem = 12
trigger3 = animelem = 16
trigger4 = animelem = 20
trigger5 = animelem = 24
trigger6 = animelem = 28
value = 5,0

[State 1805, Playsnd]
type = Playsnd
trigger1 = time = 1
value = S1000,2

[State 1805, Gravity]
type = Gravity
trigger1 = animelem = 8
trigger2 = animelem = 12
trigger3 = animelem = 16
trigger4 = animelem = 20
trigger5 = animelem = 24
trigger6 = animelem = 28
trigger7 = animelem = 32


...if you see i even set gravity to all animelem's but still i do not fall back down..
Re: i stay in the air after doing a hurricane kick in the air..!!WHY??
#11  February 24, 2008, 11:48:57 pm
  • avatar
  • *
 ;D

GOT IT,,,,,(yes,,si,,,)
working code below... i think it was just mu puter acting up and not saving my changes ..after rebooting it
i just simply did the following code..

;hurricankickair
[Statedef 1806]
type    = A
movetype= A
physics = S
juggle  = 8
poweradd= 65
ctrl = 0
velset = 0,0
anim = 1805
sprpriority = 2

[State 1806, 1]
type = PlaySnd
trigger1 = Time = 2
value = 0, 1


[State 1806, 2]
type = HitDef
trigger1 = enemyNear, Anim != 5070
trigger1 = AnimElemTime(1) = 2
attr = S, SA
animtype  = LIGHT
damage    = 20,3
guardflag = MA
pausetime = 6,6
sparkno = 1
sparkxy = -15,-59
hitsound   = 5,2
guardsound = 6,0
guard.sparkno = S8004
ground.type = Low
air.hittime = 20
ground.slidetime = 20
ground.hittime  = 20
ground.velocity = -1
air.velocity = 2,-4

[State 1806, 3]
type = HitDef
triggerall = enemyNear, Anim != 5070
trigger1 = animelem = 8
trigger2 = animelem = 12
trigger3 = animelem = 16
trigger4 = animelem = 20
trigger5 = animelem = 24
trigger6 = animelem = 28
trigger7 = animelem = 32
attr = A, SA
animtype  = High
damage    = 20, 3
guardflag = MA
pausetime = 6,6
sparkno = 1
sparkxy = -15,-59
hitsound   = 5,2
guardsound = 6,0
guard.sparkno = S8004
ground.type = High
air.hittime = 20
ground.slidetime = 20
ground.hittime  = 20
ground.velocity = -1
air.velocity = -6,-4

[State 1806, PlaySnd]
type = PlaySnd
trigger1 = animelem = 8
trigger2 = animelem = 12
trigger3 = animelem = 16
trigger4 = animelem = 20
trigger5 = animelem = 24
trigger6 = animelem = 28
value = 5,0

[State 1806, Playsnd]
type = Playsnd
trigger1 = time = 1
value = S1000,2


[State 1806, 4]
type = PosAdd
trigger1 = AnimElem = 7
x = 12

[State 1806, 5]
type = ChangeState
trigger1 = AnimTime = 0
value = 50
ctrl = 1
Re: i stay in the air after doing a hurricane kick in the air..!!WHY??
#12  February 24, 2008, 11:51:21 pm
  • **
  • Loco
i was just ging to sujest the posadd  :D :D :D :sugoi: :sugoi:
Re: i stay in the air after doing a hurricane kick in the air..!!WHY??
#13  February 25, 2008, 12:01:14 am
  • ****
  • Aka ShadesTeam/Zeckle
lol take out the velset in the first part of the code
Shades 2 site:Shades of Manhattan
Re: i stay in the air after doing a hurricane kick in the air..!!WHY??
#14  February 25, 2008, 12:21:34 am
  • avatar
  • *
no...i already fixed it