YesNoOk
avatar

New collapse anim states! (Read 2749 times)

Started by 外音リザ, December 05, 2004, 10:15:03 am
Share this topic:
New collapse anim states!
#1  December 05, 2004, 10:15:03 am
  • ****
  • 君の事、マスターにしてあげる! 御願い、信じてマスター!♥
    • Philippines
    • Skype - o_hermanm
    • www.rotbrc.com
After months of empty promises of bringing out the said standard, now it is in use with Orochi.

Its fitting that I update my other characters with this too.

Here is the state below.  5130 AND 5131.

; Collapse
[Statedef 5130]
type = S
movetype = H
physics = S
anim = 5130

[State haha]
type = DefenceMulSet
trigger1 = 1
value = 1
ignorehitpause = 1

; Insert bits of coding here, including hurt sound, or whatever

[State haha]
type = ChangeState
Trigger1 = anim = 5130
trigger1 = animtime = 0
value = 5131

; Collapse (lying Down)
[Statedef 5131]
type = L
movetype = H
physics = C
anim = 5131

[State haha]
type = PosAdd
trigger1 = AnimElem = 1
x = 30 ; measure this from the original animation. If your character does not have a posadd in their collapse anim, you may remove this controller.

[State haha]
type = ChangeAnim
;trigger1 = !animexist(5130)
;trigger1 = !animexist(5131)
trigger1 = Anim = 5131
trigger1 = AnimTime = 0
value = IfElse(SelfAnimExist(5111), 5111, 5110)

[State haha]
type = ChangeState
trigger1 = Anim = [5110,5111]
value = 5110 + IfElse(Alive, 0, 40) ;;HIT_BOUNCE
Orochi Herman: MUGEN Creator, Producer and Web Programmer
https://www.facebook.com/OrochiHerman/
Re: New collapse anim states!
#2  December 06, 2004, 01:02:42 pm
  • ****
  • 君の事、マスターにしてあげる! 御願い、信じてマスター!♥
    • Philippines
    • Skype - o_hermanm
    • www.rotbrc.com
Hm? I don't quite get your drift on this one. Explain more pls.
Orochi Herman: MUGEN Creator, Producer and Web Programmer
https://www.facebook.com/OrochiHerman/
Re: New collapse anim states!
#3  December 06, 2004, 03:00:32 pm
  • ****
  • 君の事、マスターにしてあげる! 御願い、信じてマスター!♥
    • Philippines
    • Skype - o_hermanm
    • www.rotbrc.com
That's easy to program. But give me a character that has collapse animations in standing and crouching.

I think we can allocate actions 5132 and 5133 for that. The states can be easily changed to accomodate those modifications.
Orochi Herman: MUGEN Creator, Producer and Web Programmer
https://www.facebook.com/OrochiHerman/