- Joined
- Mar 28, 2015
- Messages
- 3
- Reaction score
- 0
Hey guys,
i've got a problem with creating complete flyff models with animations.
I create a monster with 3ds max and add some bones, after i create the animation, i want to safe it as an .ASE file. When i open Cola now and import the for example "mvr_xxxx.ASE", then i see no animation. But the timeline at the bottom of Cola is running (so there is an animation but the mesh isn't moving)
I know it's a problem with the correct export from 3ds max into a .ASE file.
I found that script:
It should work with it but i just don't know how it works? (Well, i know how to run it in 3ds max but i get an error):
Do i need to add something? The creator of the script said that i need to add the format and the object name, but WHERE? :?::?::?:
Hope i get some help
You can also add me on skype: Jaudatus
Thx
i've got a problem with creating complete flyff models with animations.
I create a monster with 3ds max and add some bones, after i create the animation, i want to safe it as an .ASE file. When i open Cola now and import the for example "mvr_xxxx.ASE", then i see no animation. But the timeline at the bottom of Cola is running (so there is an animation but the mesh isn't moving)
I know it's a problem with the correct export from 3ds max into a .ASE file.
I found that script:
Code:
[COLOR=#666600]([/COLOR] [COLOR=#666600]--[/COLOR]BOOKMARKING
[COLOR=#660066]GetVertexWeightCount[/COLOR] [COLOR=#666600]=[/COLOR] skinOps[COLOR=#666600].[/COLOR][COLOR=#660066]GetVertexWeightCount[/COLOR]
[COLOR=#660066]GetVertexWeight[/COLOR] [COLOR=#666600]=[/COLOR] skinOps[COLOR=#666600].[/COLOR][COLOR=#660066]GetVertexWeight[/COLOR]
[COLOR=#660066]GetVertexWeightBoneID[/COLOR] [COLOR=#666600]=[/COLOR] skinOps[COLOR=#666600].[/COLOR][COLOR=#660066]GetVertexWeightBoneID[/COLOR]
[COLOR=#660066]GetBoneName[/COLOR] [COLOR=#666600]=[/COLOR] skinOps[COLOR=#666600].[/COLOR][COLOR=#660066]GetBoneName[/COLOR]
[COLOR=#666600]--[/COLOR]FUNCTION
fn saveSkin obj [COLOR=#666600]=[/COLOR]
[COLOR=#666600]([/COLOR]
[COLOR=#666600]--[/COLOR]SELECT THIS OBJECT
objskin [COLOR=#666600]=[/COLOR] obj[COLOR=#666600].[/COLOR]skin
modPanel[COLOR=#666600].[/COLOR]setCurrentObject objskin
[COLOR=#666600]--[/COLOR]START
createms [COLOR=#666600]=[/COLOR] [COLOR=#008800]""[/COLOR] [COLOR=#000088]as[/COLOR] stringstream
[COLOR=#666600]--[/COLOR]GET NUMBER OF VERTS
numVerts [COLOR=#666600]=[/COLOR] getNumVerts obj[COLOR=#666600].[/COLOR]mesh
format [COLOR=#008800]"*SKIN_VERTEX_DATA % {\n"[/COLOR] numVerts to[COLOR=#666600]:[/COLOR]createms
[COLOR=#666600]--[/COLOR]LOOP THROUGH VERTS
[COLOR=#000088]for[/COLOR] v [COLOR=#666600]=[/COLOR] [COLOR=#006666]1[/COLOR] to numVerts [COLOR=#000088]do[/COLOR]
[COLOR=#666600]([/COLOR]
[COLOR=#666600]--[/COLOR]GET THE WEIGHTS
weights [COLOR=#666600]=[/COLOR] [COLOR=#880000]#()[/COLOR]
_bones [COLOR=#666600]=[/COLOR] [COLOR=#880000]#()[/COLOR]
[COLOR=#000088]for[/COLOR] b [COLOR=#666600]=[/COLOR] [COLOR=#006666]1[/COLOR] to [COLOR=#660066]GetVertexWeightCount[/COLOR] objskin v [COLOR=#000088]do[/COLOR]
[COLOR=#666600]([/COLOR]
append weights [COLOR=#666600]([/COLOR]weight [COLOR=#666600]=[/COLOR] [COLOR=#660066]GetVertexWeight[/COLOR] objskin v b[COLOR=#666600])[/COLOR]
append _bones [COLOR=#666600]([/COLOR]_bone [COLOR=#666600]=[/COLOR] [COLOR=#666600]([/COLOR][COLOR=#660066]GetBoneName[/COLOR] objskin [COLOR=#666600]([/COLOR][COLOR=#660066]GetVertexWeightBoneID[/COLOR] objskin v b[COLOR=#666600])[/COLOR] [COLOR=#006666]1[/COLOR][COLOR=#666600])[/COLOR] [COLOR=#666600])[/COLOR]
[COLOR=#666600])[/COLOR]
[COLOR=#666600]--[/COLOR]PRINT THE WEIGHTS
numBones [COLOR=#666600]=[/COLOR] _bones[COLOR=#666600].[/COLOR]count
format [COLOR=#008800]"\t*VERTEX % % {\n"[/COLOR] [COLOR=#666600]([/COLOR]v[COLOR=#666600]-[/COLOR][COLOR=#006666]1[/COLOR][COLOR=#666600])[/COLOR] numBones to[COLOR=#666600]:[/COLOR]createms
[COLOR=#000088]for[/COLOR] n [COLOR=#666600]=[/COLOR] [COLOR=#006666]1[/COLOR] to numBones [COLOR=#000088]do[/COLOR]
[COLOR=#666600]([/COLOR]
format [COLOR=#008800]"\t\t*BONE \t\"%\" \t%\n"[/COLOR] _bones[COLOR=#666600][[/COLOR]n[COLOR=#666600]][/COLOR] weights[COLOR=#666600][[/COLOR]n[COLOR=#666600]][/COLOR] to[COLOR=#666600]:[/COLOR]createms
[COLOR=#666600])[/COLOR]
format [COLOR=#008800]"\t}\n"[/COLOR] to[COLOR=#666600]:[/COLOR]createms
[COLOR=#666600])[/COLOR]
format [COLOR=#008800]"}\n"[/COLOR] numVerts to[COLOR=#666600]:[/COLOR]createms
[COLOR=#666600]--[/COLOR]SAVE
skinFile [COLOR=#666600]=[/COLOR] createFile [COLOR=#666600]([/COLOR][COLOR=#008800]"c:\\"[/COLOR] [COLOR=#666600]+[/COLOR] obj[COLOR=#666600].[/COLOR]name [COLOR=#666600]+[/COLOR] [COLOR=#008800]".txt"[/COLOR][COLOR=#666600])[/COLOR]
format [COLOR=#008800]"%"[/COLOR] [COLOR=#666600]([/COLOR]createms [COLOR=#000088]as[/COLOR] [COLOR=#000088]string[/COLOR][COLOR=#666600])[/COLOR] to[COLOR=#666600]:[/COLOR]skinFile
close skinFile
[COLOR=#666600])[/COLOR]
[COLOR=#000088]for[/COLOR] obj [COLOR=#000088]in[/COLOR] selection [COLOR=#000088]do[/COLOR]
[COLOR=#666600]([/COLOR]
[COLOR=#000088]if[/COLOR] isProperty obj [COLOR=#880000]#skin do saveSkin obj[/COLOR] [COLOR=#000000] [/COLOR][COLOR=#666600])[/COLOR]
It should work with it but i just don't know how it works? (Well, i know how to run it in 3ds max but i get an error):
Do i need to add something? The creator of the script said that i need to add the format and the object name, but WHERE? :?::?::?:
:Enjoy. You'll need to add another format " " yourself and the object name. You'll see it when you look through the files.
Hope i get some help
You can also add me on skype: Jaudatus
Thx

