Forum MUGENATION: Problema con presa - Forum MUGENATION

Salta al contenuto

Pagina 1 di 1
  • Non puoi iniziare una nuova discussione
  • Non puoi rispondere a questa discussione

Problema con presa

#1 L   demongorne 

  • Senpai
  • PuntoPuntoPunto
  • Gruppo: Membro
  • Messaggi: 533
  • Iscritto: 07-November 06

  Inviato 20 December 2008 - 12:46

sto programmando una presa in cui mr.karate afferra x la testa l'avversario poi si gira e lo butta aterra con uno skienamento...il problema è ke il primo frames dell'anim di subire la presa viene visualizzato fino al 3 frame dell'anim di afferrare l'avversario(faccio notare ke ho messo gli statessi gametick di tempo sia x l'anim di presa ke x quella di subire la presa in modo tale ke abbiano la stessa durata)

posto il codice
;cns

[Statedef 900]
type = S
movetype= A
physics = S
juggle = 0
velset = 0,0
ctrl = 0
anim = 900

[State 900, 1]
type = HitDef
triggerall = P2MoveType != H
Trigger1 = Time = 0
attr = S, NT
hitflag = M
priority = 1, Miss
sparkno = -1
sprpriority = 1
p1facing = ifelse (command = "holdfwd", -1, 1)
p2facing = 1
p1stateno = 910
p2stateno = 920
fall = 1

[State 900, 2]
type = ChangeState
Trigger1 = AnimTime = 0
value = 0
ctrl = 1

;----------------------------------------------------------------------
[Statedef 910]
type = S
movetype= A
physics = N
anim = 910
poweradd = 60

[State 910, Bind 1]
type = TargetBind
trigger1 = AnimElem = 1
pos = 10, 0


[State 910, Bind 2]
type = TargetBind
trigger1 = AnimElem = 2
pos = 25, -10


[State 910, Bind 2]
type = TargetBind
trigger1 = AnimElem = 3
pos = 27,-21

[State 910, Bind 2]
type = TargetBind
trigger1 = AnimElem = 4
pos = 3,-50

[State 910, Hurt]
type = TargetLifeAdd
trigger1 = AnimElem = 2
value = -78

[State 910, Throw]
type = TargetState
trigger1 = AnimElem = 2
value = 920

[State 910, State End]
type = ChangeState
trigger1 = AnimTime = 0
value = 0
ctrl = 1

;----------------------------------------------------------------------
[Statedef 920]
type = A
movetype = H
physics = N
velset = 0,0

[State 920, 1]
type = ChangeAnim2
Trigger1 = Time = 0
value = 905

[State 903, Vel]
type = VelSet
trigger1 = AnimElem = 4
x = 5
y = -5.5



[State 903, EnvShake]
type = EnvShake
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
time = 60

[State 0, SelfState]
type = SelfState
trigger1 = Animtime = 0
value = 5050
ctrl = 1
;----------------------------------------------------------------------
[Statedef 921]
type = A
movetype = H
physics = N
velset = 0,0
poweradd = 40

[State 921, 1] ;Gravity
type = VelAdd
Trigger1 = 1
y = .4


[State 921, 4] ;Hit ground
type = SelfState
trigger1 = Vel Y > 0
trigger1 = Pos Y >= 0
value = 5100 ;Hit ground

;Air

;0
[Begin Action 910] --------------------------------il p1 afferra il p2
Clsn2: 2
Clsn2[0] = -22, -86, 22, 0
Clsn2[1] = -7, -102, 12, -83
900,0, 0,0, 12
Clsn2: 3
Clsn2[0] = -30, -77, 16, 0
Clsn2[1] = -9, -102, 14, -71
Clsn2[2] = -35, -93, -16, -74
900,1, 0,0, 6
Clsn2: 3
Clsn2[0] = -26, -72, 0, -37
Clsn2[1] = -23, -48, 25, 1
Clsn2[2] = -51, -84, -32, -65
900,2, 0,0, 5
Clsn2: 3
Clsn2[0] = -16, -76, 33, 0
Clsn2[1] = -49, -73, -8, -40
Clsn2[2] = -62, -55, -43, -36
900,3, 0,0, 4
Clsn2: 2
Clsn2[0] = -20, -77, 27, 0
Clsn2[1] = -35, -80, -16, -61
900,4, 0,0, 2
Clsn2: 2
Clsn2[0] = -14, -102, 5, -83
Clsn2[1] = -20, -88, 27, 0
901,0, 0,0, 2



;0
[Begin Action 905] ------------------------ il p2 subisce la presa
Clsn2: 2
Clsn2[0] = 1, -85, 31, -15
Clsn2[1] = 7, -99, 34, -80
5000,10, 0,0, 12,H
Clsn2: 3
Clsn2[0] = -17, -30, 10, -7
Clsn2[1] = -22, -17, 13, 17
Clsn2[2] = -37, 13, 22, 56
5011,10, 0,0, 6,H
Clsn2: 3
Clsn2[0] = 42, -43, 66, -17
Clsn2[1] = 34, -24, 92, 12
Clsn2[2] = 60, 1, 101, 37
5031,40, 0,0, 5,V
Clsn2: 3
Clsn2[0] = -4, -68, 33, -23
Clsn2[1] = -15, -32, 20, 17
Clsn2[2] = -2, -2, 22, 23
5011,20, 0,0, 4,V
Clsn2: 3
Clsn2[0] = -54, -106, -1, -71
Clsn2[1] = -12, -81, 25, -41
Clsn2[2] = -1, -52, 20, -24
5030,40, 0,0, 2,H
5040,20, 0,-48, 2,H
0

Condividi questa discussione:


Pagina 1 di 1
  • Non puoi iniziare una nuova discussione
  • Non puoi rispondere a questa discussione

1 utenti stanno leggendo questa discussione
0 utenti, 1 ospiti, 0 utenti anonimi