Death animation crash
by ken · in Artist Corner · 06/20/2008 (5:49 pm) · 11 replies
Hi,
I have problem and i can not solve that ,
i make my death animation in maya and i export it like other sequence,
but when my npc death the engine just crash !!!!!!!!!!!!!!!!!!
please somebody help me .
I have problem and i can not solve that ,
i make my death animation in maya and i export it like other sequence,
but when my npc death the engine just crash !!!!!!!!!!!!!!!!!!
please somebody help me .
About the author
#2
08/08/2008 (3:59 pm)
I am not sure, but I think the death animation needs some ground transform. I shall give it a shot. Can anybody make it sure?
#3
08/08/2008 (4:32 pm)
Yes you need Ground Transform set for a death anim or it'll crash your game. And you probably need ski0 and ski1 bones/nodes if your working with a scratch built skeleton/armature.
#4
08/08/2008 (4:37 pm)
Yea.. thanks for making sure :)
#5
08/14/2008 (9:04 am)
Mae sure that you sequence has ground transform (set keyframe on bounds cube at frame 1) and cycle=false
#6
03/31/2009 (7:43 am)
i know that but where is this ground transform in maya exporter
#7
I guess it is due to something that is missing in the script and the engine is looking for it. Is there something special that i am missing?
It would be great if someone give me and explanation about how to stop the engine crash when i kill myself.
10/26/2009 (8:37 pm)
guys i run into this problem earlier today. In fact I have all needed nodes like "ski0" and "ski1", ground transform to the death1...to death11 animations and the engine still crash when i kill myself via some shots.I guess it is due to something that is missing in the script and the engine is looking for it. Is there something special that i am missing?
It would be great if someone give me and explanation about how to stop the engine crash when i kill myself.
#8
10/26/2009 (9:26 pm)
Make sure your death animations have ALL the nodes set throughout, regardless of whether they're doing anything or not. Making it the highest priority anim can't hurt either.
#9
actually the crash happens due to other things. I managed to kill the player via some functions. The death animation played without crashing the engine. First I thought that it could cause the engine to crash because I have never spent enough time to investigate what happens when the player dies.
In my situation the player spawns not one but seven projectiles. And when I am very close to a wall and fire them the engine crashes. May be somebody else has faced such a bug? By the way I've removed the Player class from the CollisionMaks of the Projectile. And the engine still crashes in these circumstances.
10/26/2009 (11:34 pm)
thanks for your answer Steve,actually the crash happens due to other things. I managed to kill the player via some functions. The death animation played without crashing the engine. First I thought that it could cause the engine to crash because I have never spent enough time to investigate what happens when the player dies.
In my situation the player spawns not one but seven projectiles. And when I am very close to a wall and fire them the engine crashes. May be somebody else has faced such a bug? By the way I've removed the Player class from the CollisionMaks of the Projectile. And the engine still crashes in these circumstances.
#10
I've got a simple shotgun which works fine, 8 projectiles every time, slight dip in fps when they spawn all together, nothing noteable in game play though.
Try your crash occurance in Basic Lighting and see if it still does it.
10/26/2009 (11:41 pm)
Are you using particle emitters on the projectiles?I've got a simple shotgun which works fine, 8 projectiles every time, slight dip in fps when they spawn all together, nothing noteable in game play though.
Try your crash occurance in Basic Lighting and see if it still does it.
#11
Yes, the projectiles have particle emitters. They are simple.
The projectiles also have explosions.
The crash only happens if I am very close to something that could be hit when i fire. In the other cases I could shoot all the day just in the air and nothing would crash the engine at all.
[EDIT - RESOLVED]
I found my pack/unpack projectile routines wrong,there was some missing network bits. I should look out with this.
10/27/2009 (12:47 am)
In fact I am always in Basic Lighting.Yes, the projectiles have particle emitters. They are simple.
The projectiles also have explosions.
The crash only happens if I am very close to something that could be hit when i fire. In the other cases I could shoot all the day just in the air and nothing would crash the engine at all.
[EDIT - RESOLVED]
I found my pack/unpack projectile routines wrong,there was some missing network bits. I should look out with this.
ken