Forum > Modelling and Animation
[question] replace animation on character model
(1/1)
doresain:
i find this http://www.youtube.com/user/hareticdeat ... w8DGuOBpuM and this http://over-game.org/world-warcraft-mod ... tions.html (but i can't speak french) on animation swap between models
i want to create a bloodelf and nightelf with forsaken animation (man and female) to create new scourge alternatives
i work with ubuntu 11.04 and modit doesn't work on wine (i should try to install visual c++ 2008 dll and headers but i won't corrupt my wine install :P)
can someone write the information for bones of bloodelf and nightelf?
example for skeleton SkeletonMale: rleg: 5 lleg: 6 rshoulder: 11 lshoulder: 10 head: 9 else: (0,1,2,3,4)
thanks
doresain:
i find this http://www.elitepvpers.com/forum/wow-mo ... rting.html tutorial
i try to import hfemale anim in satyr model
--- Code: ---#! /usr/bin/python from m2 import *
from RaceInfo import *
input = HumanFemale
output = Satyr
inName = HumanFemale.M2
outName = Satyr.m2
im2 = M2File(inName)
om2 = M2File(outName) --- End code ---
--- Code: ---##########################################################
#the 5 following blocks define the porting of different #
#parts of the anim-skeleton #
##########################################################
#r shoulder
if (Dependent(i,om2,8,ic) & Dependent(j,im2,17,jc)) & (Depth(i,om2) == Depth(j,im2)):#check if bone is at the same position on each model
ChangeAnims(i,j) #change model
break # no need to check the other bones anymore
#l shoulder
if (Dependent(i,om2,7,ic) & Dependent(j,im2,16,jc)) & (Depth(i,om2) == Depth(j,im2)):
ChangeAnims(i,j)
break
#r leg
if (Dependent(i,om2,5,ic) & Dependent(j,im2,5,jc)) & (Depth(i,om2) == Depth(j,im2)):
ChangeAnims(i,j)
break
#l leg
if (Dependent(i,om2,4,ic) & Dependent(j,im2,6,jc)) & (Depth(i,om2) == Depth(j,im2)):
ChangeAnims(i,j)
break
#head
if (Dependent(i,om2,15,ic) & Dependent(j,im2,20,jc)) & (Depth(i,om2) == Depth(j,im2)):
ChangeAnims(i,j)
break
#the other bones
--- End code --- but don't work (no errors and no change on satyr.m2) can someone help me? satyr looks good with armor (no shoulder or helm) but need some basic animation like mount sit sleep etc etc
Uploaded with ImageShack.us
gorq:
I have used animporter and change/add scripts from pym2 repository. Animporter seems to not work ok but u should use changeanimations.py instead.it has worked for me but u can only swap existing anims or add a solo new one.
Tell me if u need help to use them.
Satyr model is fantastic.it is almost alike a nelf. I want to make it playable too :D i have tried with animporter (all anims bad) but i have to test with scripts. Ill post the results
doresain:
for me this way doesn't work well (i got a very buggy animated model) it's more simple (for me) to replace animation with blender and m2mod.exe, but you must remap all boneket added to the vertex , i'll make a try soon! ps. with m2mod and blender toy can see real bone tree of model fith real place of bones, and you can understand the real bonetree and bones to replace in animationport script
gorq:
I use modit to see and compare bones.i will see it in blender, thx
Navigation
[0] Message Index
|