mugen吧 关注:69,144贴子:1,449,339
  • 3回复贴,共1

已奔溃,求神助

只看楼主收藏回复

吐血啊,只是想绑定个特效在P2上,但是无法实现啊


回复
1楼2017-03-25 22:25
    [State 1301]

    Type = Hitdef
    Trigger1 = Time = 0
    Attr = S,SA
    Animtype = Heavy
    Damage = 53,10
    Getpower = 26,26
    Hitflag = MAF
    Guardflag = HA
    Pausetime = 12,13
    Sparkxy = 0,-78
    Sparkno = S7002
    Guard.Sparkno = S7301
    Hitsound = S2,3
    Guardsound = S3,1
    Ground.Type = High
    Ground.Slidetime = 22
    Ground.Hittime = 22
    Ground.Velocity = -6,-3.5
    Air.Velocity = -3.5,-3.5
    P2stateno = 1302
    Fall = 1
    Fall.Recover = 0
    Envshake.Time = 3
    Envshake.Ampl = 3
    Envshake.Freq = 100


    ;-------------
    [Statedef 1302]
    Type = A
    Movetype = H
    Physics = N
    Velset = 0,0
    Ctrl = 0


    [State 1302]
    Type = Changeanim2
    Trigger1 = Time = 0
    Value = 1302


    [State 1302]
    Type = Changestate
    Trigger1 = Hitshakeover = 1
    Value = 1303


    ;-------------
    [Statedef 1303]
    Type = A
    Movetype = H
    Physics = N
    Ctrl = 0


    [State 1303]
    Type = Hitvelset
    Trigger1 = Time = 0
    X = 1
    Y = 1


    [State 1303]
    Type = Veladd
    Trigger1 = 1
    Y = .45


    [State 1303]
    Type = Changeanim2
    Trigger1 = Time = 0
    Value = 1303


    [State 1303]
    Type = Changestate
    Trigger1 = Pos Y >= 5
    Trigger1 = Vel Y > 0
    Value = 1304


    ;-------------
    [Statedef 1304]
    Type = L
    Movetype = H
    Physics = N
    Velset = -6 + (P2Dist X < 0) * 12,0
    Ctrl = 0


    [State 1304]
    Type = Explod
    Trigger1 = Time = 1
    Anim = 1305
    Id = 1305
    Postype = P1
    Pos = 0,0
    Ownpal = 1
    Sprpriority = 5


    [State 1304]
    Type = Velset
    Trigger1 = Animelem = 2
    X = 0


    [State 1304]
    Type = Veladd
    Trigger1 = Time >= 0
    Trigger1 = Time <= 14
    X = .3 - (P2Dist X < 0) * .6


    [State 1304]
    Type = Posset
    Trigger1 = Time = 0
    Y = 0


    [State 1304]
    Type = Makedust
    Trigger1 = Time = 1
    Trigger2 = Time = 9
    Trigger3 = Time = 17
    Pos = 0,0
    Spacing = 1


    [State 1304]
    Type = Playsnd
    Trigger1 = Time = 1
    Value = 9,4


    [State 1304]
    Type = Changeanim2
    Trigger1 = Time = 0
    Value = 1304


    [State 1304, 1]
    Type = Selfstate
    Trigger1 = Alive
    Trigger1 = Animtime = 0
    Value = 5120


    [State 1304, 2]
    Type = Selfstate
    Trigger1 = !Alive
    Trigger1 = Animtime = 0
    Value = 5150


    回复
    2楼2017-03-25 22:26
      以上是代码,1302是自定义状态,1304是想绑定特效的状态,但是用explod的话,除非P2的1305和我一样,不然显示的就是P2的动画,没有的话就不显示


      收起回复
      3楼2017-03-25 22:36