FOnline Development > 3D Development
Character Animations
Karpov:
Hi, so I finished converting the animations to female. Now it's about spotting errors and make the corrections they need.
But also special death anims. If I could make it work right, it would be great. I think it can be done with scripts, but I need people that knows what they're doing, and that's not me ;).
I found this piece of code:
--- Code: ---{
int anim1 = cr.GetAnim1();
int anim2 = ANIM2_3D_KNOCK_FRONT;
switch(actionExt)
{
case COND_DEAD_FRONT: anim2 = ANIM2_3D_DEAD_PRONE_FRONT; break;
case COND_DEAD_BACK: anim2 = ANIM2_3D_DEAD_PRONE_BACK; break;
case COND_DEAD_BURST: anim2 = ANIM2_3D_DEAD_BURST; break;
case COND_DEAD_BLOODY_SINGLE: anim2 = ANIM2_3D_DEAD_BLOODY_SINGLE; break;
case COND_DEAD_BLOODY_BURST: anim2 = ANIM2_3D_DEAD_BLOODY_BURST; break;
case COND_DEAD_PULSE: anim2 = ANIM2_3D_DEAD_PULSE; break;
case COND_DEAD_PULSE_DUST: anim2 = ANIM2_3D_DEAD_PULSE_DUST; break;
case COND_DEAD_LASER: anim2 = ANIM2_3D_DEAD_LASER; break;
case COND_DEAD_EXPLODE: anim2 = ANIM2_3D_DEAD_EXPLODE; break;
case COND_DEAD_FUSED: anim2 = ANIM2_3D_DEAD_FUSED; break;
case COND_DEAD_BURN: anim2 = ANIM2_3D_DEAD_BURN; break;
case COND_DEAD_BURN2: anim2 = ANIM2_3D_DEAD_BURN; break;
case COND_DEAD_BURN_RUN: anim2 = ANIM2_3D_DEAD_BURN_RUN; break;
default: break;
}
--- End code ---
I don't understand much , and it does not matter what this says, but I believe there is a Condition for each type of death that triggers an action.
What I would need is ,for example: when COND_DEAD_BURST is called, it triggers some command that changes my character body, and after that play ANIM2_3D_DEAD_BURST.
But I doubt the game would understand that line ;D Is it possible to do so?
Of course, I'll work on the animations anyway. That's all, goodbye. I might post some vid later.
EDIT: I got it working!! :) not perfect but it works. Now I have to go, it's late.
barter1113:
*Waiting for new video*
Karpov:
There. It worked better than I expected.
https://www.youtube.com/watch?v=G6asBjSy5W8
Perteks:
Melting should be more bloody i think :P And first burst death uh missing red dots on him? But Overall very cool
Karpov:
--- Quote from: Perteks on March 18, 2012, 07:06:50 pm ---Melting should be more bloody i think :P And first burst death uh missing red dots on him? But Overall very cool
--- End quote ---
Definately. Now that I made it work in the game, I'll start adding some blood and stuff, and making better animations.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version