YesNoOk
avatar

jumping special move error. (Read 221 times)

Started by GMONEY, December 27, 2009, 06:01:14 am
Share this topic:
jumping special move error.
#1  December 27, 2009, 06:01:14 am
  • **
My SECOND to last question. :haw:
[mcode]
FIG-GA-DOH
[StateDef 508]
type = S
movetype= I
physics = A
ctrl = 0
anim = 508
velset = 0,-16

[State 0, PlaySnd]
type = PlaySnd
trigger1 = Time = 1
value = S1,3
volume = 100

[State 508, end]
type = ChangeState
trigger1 = Time = 18
value = 509
ctrl = 1

;---------------------------------------------------------------------------
;T6 Kazuya mishama lol
[StateDef 509]
type = A
movetype= I
physics = A
velset = 0,12
ctrl = 0
anim = 509

[State end, ChangeState]
type = ChangeState
trigger1 = statetype = C
value = 510
ctrl = 0
;---------------------------------------------------------------------------
;POP goes teh weasel.
[StateDef 510]
type = S
movetype= A
physics = S
juggle  = 1
velset = 0,0
ctrl = 0
anim = 510
poweradd = 20
sprpriority =2

[State 0, PlaySnd]
type = PlaySnd
trigger1 = AnimElem = 1
value = S40,1
volume = 100

;dun be hittin' me.
[State 510, 1]
type = HitDef ;JAM  VEN DETTA
trigger1 = AnimElem = 1
attr = S, NA
damage = 0
animtype = Diagup
;guardflag = MA
hitflag = MAFDLC
priority = 7, Hit
pausetime = 0, 0
;sparkno = 0
;sparkxy = -10, -76
;hitsound = 5, 0
;guardsound = 6, 0
ground.type = High
ground.slidetime = 5
ground.hittime  = 12
ground.velocity = 6, -12
airguard.velocity = -1.9,-.8
air.type = High
air.velocity = -1.4,-3
air.hittime = 0
fall = 1
fall.damage = 60
yaccel = 0.7

;ooohh nastee
[State 0, EnvShake]
type = EnvShake
trigger1 = Time = 1
time = 30
freq = 1260

[State 0, Explod]
type = Explod
trigger1 = AnimElem = 1
anim = 921
ID = 921
pos = 20,-10
postype = p1  ;p2,front,back,left,right
facing = 1
vfacing = 1
bindtime = 1

[State 510, end]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1
[/mcode]

The problem is he lands as if he just did a normal jump. I know it has something to do with the physics suggestion, because if I set it to Aerial (A), he falls through the ground offscreen  In the orignal game, once he makes contact onto the ground, he lands on his two feet with his upper torso craned out which sends the victim flying into the air.
Re: jumping special move error.
#2  December 27, 2009, 06:08:46 am
  • ******
  • Legendary XIII
  • I am the eye of the storm to come!
    • New Zealand
    • network.mugenguild.com/cyanide/
[mcode][State end, ChangeState]
type = ChangeState
trigger1 = statetype = C
value = 510
ctrl = 0[/mcode]
Uh?

Physics is N. Use [mcode]gravity[/mcode] to fall towards the floor. Use pos Y>= 0 to change state.

In the next state velset to 0,0 and use a posset to y = 0 to put yourself correctly at floor level. Leave Type = A though. Don't change that or it'll break hit sprites.


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: jumping special move error.
New #3  December 27, 2009, 11:44:18 pm
  • **
Yes! Thankz.....

Actually I used my own code in state 510

[State 510, posset]
type = Posset
trigger1 = AnimElem = 1
y = 0

So mr. golden dinosaur would automatically attach to the ground when he stomps the ground.
Last Edit: December 27, 2009, 11:50:02 pm by GMONEY