(10-08-2011, 09:03 AM)santtex Wrote: yes i know that but...how i do working animations on my own model .. without crash..
Make sure that you skinned model is by track vertex (2 bones can´t work over same vertex)
Export it (Model, bones and animation "first" pose with a little natural movement for test) you can try to export how dae file with standar Maya Collada with settings how below:
.................................................................
bakeTransforms=0
exportPolygonMeshes=1
bakeLighting=0
isSampling=1
curveConstrainSampling=1
removeStaticCurves=0
exportCameraAsLookat=0
exportLights=1
exportCameras=1
exportJointsAndSkin=1
exportAnimations=1
exportTriangles=0
exportInvisibleNodes=0
exportNormals=1
exportTexCoords=1
exportVertexColors=1
exportVertexColorsAnimation=0
exportTangents=1
exportTexTangents=0
exportConstraints=1
exportPhysics=1
exportXRefs=1
dereferenceXRefs=0
cameraXFov=0
cameraYFov=1
.........................................................................
-Load the bone-animed dae file in your Model Viewer... just make sure the bones is loades with the model. -Exit Model viewer
-make sure a mesh file was created
- go to at your Amnesia root folder ---> open the modelviewer.log ---> go to end and make sure you have some like this:
ANIMATION Name: 'F:/JUEGOS Y PROGRAMAS.old/STEAM/steamapps/common/amnesia the dark descent/entities/mTK/test/test_1.msh' Tracks: 3 Length: 3.333333 Name: 'node-cabeza' Keyframes: 101 Name: 'node-cuerpo' Keyframes: 1 Name: 'node-cola' Keyframes: 1 ----- - ANIM DEBUG: -----
SKELETON Bones: 3 Name: 'node-cabeza' Pos: (-0.182132 : 5.895278 : 0.000000) Name: 'node-cuerpo' Pos: (4.717011 : -0.000000 : 0.000000) Name: 'node-cola' Pos: (7.921375 : -0.000002 : 0.000000)---------------------------------------
- Now run ModelViewer, load your dae animated model... you will see any movement if you firts pose was correctly.. if done you can create a Animations folder where your custom model and put here the rest of animations, do not rename it now, just test the dae animation file for each pose in your Model viewer, when all poses are done load the first pose in your model editor.. save it how *.ent, exit and reopen editor for test all animations pose over the entitie file