DuckAzz Posted July 28, 2014 Posted July 28, 2014 Hello,tomorow i will release some character and i need to finish one hyper move where after that hyper, character dies with other animation and state... so can you explain me how to code that?
0 Darklight Posted July 29, 2014 Posted July 29, 2014 this would be awesome for chuck rock considering if you press start and select it makes him kill him self. wouldn't mind knowing this cold my self
0 Ryon Posted July 29, 2014 Posted July 29, 2014 i imagine a simple [State 0, maybe] type = lifeadd trigger1 = animelem = 1 value = -9999 would kill someone. - Characters - / - Stages - / - Screenpacks - / - Lifebars - / - Fonts - / - Full Games - / - Templates -
0 DuckAzz Posted July 29, 2014 Author Posted July 29, 2014 I ALLREADY USED THAT ONE,p1 needs to die with collapse animation after hyper move so should i need to make some var? But how?
0 Ryon Posted July 29, 2014 Posted July 29, 2014 no.. at the end of your state, have the death animation, and then bring his life to 0 ? ... that doesnt work? - Characters - / - Stages - / - Screenpacks - / - Lifebars - / - Fonts - / - Full Games - / - Templates -
0 NotAGoodName Posted July 29, 2014 Posted July 29, 2014 I don't know exactly how this works, but I do know that for it to look right, you have to override 5150 so that it has a condition to use your animation for laying collapsed. And I guess that your hyper should changestate to 5150 after it executes the life drain and plays the collapse animation.
0 Алексей Posted July 29, 2014 Posted July 29, 2014 All you need to do is send the player to 5150 after their animation has gotten to a point where they look dead. 5150 doesn't have it's own animation from what I remember. It just uses whatever your previous animation was and doesn't reset it or anything. That's why you're able to SelfState to 5150 from a custom state to make a custom death. -[Все слова это только слова.]-
0 DuckAzz Posted July 29, 2014 Author Posted July 29, 2014 SO i need to make change anim (because i have loop in first anim) and selfstate with 5150 right?
0 Алексей Posted July 29, 2014 Posted July 29, 2014 SO i need to make change anim (because i have loop in first anim) and selfstate with 5150 right?It depends. If you're in a custom state, then use SelfState. If you're not, simply use ChangeState. And yes, make sure your animation never ends or it will loop and look weird. Create either a loop near the end of the animation or (if for example, your character is on the floor) you can end the last frame with a time of -1. -[Все слова это только слова.]-
0 DuckAzz Posted July 29, 2014 Author Posted July 29, 2014 OK I tried, but it shows anim 5110,so it didn't change to mine :-/ so should i make another state 5150?
0 DuckAzz Posted July 29, 2014 Author Posted July 29, 2014 WAIT! IT WORKED! I JUST MADE ANOTHER 5150,everything else with normal dead is working fine. thanks :-)
0 Алексей Posted July 29, 2014 Posted July 29, 2014 WAIT! IT WORKED! I JUST MADE ANOTHER 5150,everything else with normal dead is working fine. thanks :-)No problem. However, making a second state shouldn't be necessary. You'd just be overriding the original one, which would be fine unless you have changed something in the CNS. In any case, I'm glad that you fixed it. :) -[Все слова это только слова.]-
Question
DuckAzz
Hello,tomorow i will release some character and i need to finish one hyper move where after that hyper, character dies with other animation and state... so can you explain me how to code that?
12 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now