Modcraft - The community dedicated to quality WoW modding!

Content creation => Modelling and Animation => Topic started by: Zim4ik on June 09, 2011, 05:41:25 pm

Title: Pandaren Monk model
Post by: Zim4ik on June 09, 2011, 05:41:25 pm
Hello. I`m started to make custom race model edits. I`m using cromon tools and pymodeleditor.
1 my try... Model wont open in pymodel edit
2 my try.
I`ve used tuskarr moddel and decombile to m2i pandaren model. Rename all bones in model.
Compiling of model was ok. It eve shown up in pymodel editor. But it has really wierd animations.

Please, someone, help me)
or give me openable model pandarenmonk (in creatures). I`l try to convert it and realese it in my RP project.
Title: Re: Pandaren Monk model
Post by: doresain on June 09, 2011, 09:27:38 pm
i think pandarenmonk model has a not standard submesh and animation that pym2 can't handle
i try to modify it in blender (m2i) but m2mod isn't able to "merge" m2 and m2i files (give me an error in console)

pym2 error:
Code: [Select]
Traceback (most recent call last):
  File "/home/doresain/pym2/pym2-read-only/pymodeleditor/pymodeleditor.py", line 206, in openM2
    self.m2 = M2File(openname)
  File "/home/doresain/pym2/pym2-read-only/pymodeleditor/m2.py", line 1180, in __init__
    self.particle_emitters = ReadBlock(f,hdr.particle_emitters,Particle,self.anim_files)
  File "/home/doresain/pym2/pym2-read-only/pymodeleditor/wowfile.py", line 31, in ReadBlock
    temp = func().unpack(f,animfiles)
  File "/home/doresain/pym2/pym2-read-only/pymodeleditor/m2.py", line 758, in unpack
    self.Enabled = AnimBlock().unpack(f,DATA_INT,animfiles)
  File "/home/doresain/pym2/pym2-read-only/pymodeleditor/m2.py", line 356, in unpack
    temp = AnimSub().unpack(f,type)
  File "/home/doresain/pym2/pym2-read-only/pymodeleditor/m2.py", line 248, in unpack
    temp, = struct.unpack("i",f.read(4))
struct.error: unpack requires a string argument of length 4
Title: Re: Pandaren Monk model
Post by: Zim4ik on June 09, 2011, 09:37:05 pm
Yes. I have the same log!
I`ts freaking me out!
Title: Re: Pandaren Monk model
Post by: doresain on June 11, 2011, 09:16:11 am
this is the error-log with m2tool

Code: [Select]
doresain@makrov-x64:~/M2Lib3$ ./M2Mod
M2Mod version: v1.1 for WotLK
Loading M2:    /home/doresain/Worlk_model/Creature/PandarenMonk/PandarenMonk.M2
Importing M2I: /home/doresain/Worlk_model/Creature/PandarenMonk/PandarenMonk.m2i
M2Mod: /home/doresain/Scaricati/M2ModSource/M2Lib3/M2Lib/CM2Skin.cpp:289: void M2Lib::CM2Skin::BuildMaxBones(): Assertion `!( ( Vertices[Indices[j]].Bones[0] == 0 ) && ( Vertices[Indices[j]].BoneWeights[0] != 0 ) )' failed.
Annullato
doresain@makrov-x64:~/M2Lib3$
Title: Re: Pandaren Monk model
Post by: Zim4ik on June 11, 2011, 09:40:47 am
Humm.... I`ve got 1.2 version and its normaly converted. Now, i`m renaming bones to connect pandaren.m2i with tuskarr model))) if some could help me)) I dont really know blender to good) When i rename one bone to (example) 24 it renames to 24.001 etc
Title: Re: Pandaren Monk model
Post by: doresain on June 11, 2011, 10:30:55 am
no you are modifing geoset's name
you must rename bones on geosets, there are in vertex groups in the link and materials tab
(http://img860.imageshack.us/img860/2227/vertex.jpg)
Title: Re: Pandaren Monk model
Post by: Zim4ik on June 11, 2011, 10:35:13 am
No) i`m modifing bone name)) not the geoset) (but geosets i`m modifing to.
Title: Re: Pandaren Monk model
Post by: doresain on June 11, 2011, 12:40:46 pm
i'm trying to mapping pandaren model to tuskarr model, on left is pandaren bone scheleton, on right tuskarr bone scheleton, pandaren model use 43 bones, you must rename it as tuskarr scheleton
(http://img718.imageshack.us/img718/570/bonesz.jpg)
Title: Re: Pandaren Monk model
Post by: Zim4ik on June 11, 2011, 12:51:31 pm
Umm.. I do the same. But i`m to lazy) but i try to.
One question. How to make mesh invisible in blender? just draw the bones so i can rename them.
Title: Re: Pandaren Monk model
Post by: doresain on June 11, 2011, 01:22:46 pm
i use / key on numpad
Title: Re: Pandaren Monk model
Post by: Zim4ik on June 11, 2011, 01:29:23 pm
Thank You)
Title: Re: Pandaren Monk model
Post by: doresain on June 11, 2011, 04:14:42 pm
after some try it's my alpha pandaren (for now a mix between pandaren and tuskarr)
animation works (same as tuskarr)
(http://img823.imageshack.us/img823/6013/pandaren.jpg)
Title: Re: Pandaren Monk model
Post by: Zim4ik on June 11, 2011, 04:17:48 pm
Wow!! Man you`re awesome. But you should delete geosets of tusk`s.))
Title: Re: Pandaren Monk model
Post by: doresain on June 11, 2011, 04:24:23 pm
it's only a test, and geoset can be deleted in dbc
i forgot to import eyeballs in this model, with some fix it will be perfect!
Title: Re: Pandaren Monk model
Post by: Zim4ik on June 11, 2011, 04:32:00 pm
I believe you will give to me and Serifaz link. We need this model.

and how long u use blender? (your felelves are awesome. It reminds me elfs from allods online))
Title: Re: Pandaren Monk model
Post by: doresain on June 11, 2011, 04:42:46 pm
i never used blender before my felelf, but long time ago i worked on q3radiant (quake3arena maps) and UnrealEd (for Unreal maps)
it's my working m2i file http://www.mediafire.com/?lc2n8mxi2mz1chg (http://www.mediafire.com/?lc2n8mxi2mz1chg" onclick="window.open(this.href);return false;)
merge it with tuskarr model with m2mod.exe (i'm working on wotlk version on models)
Title: Re: Pandaren Monk model
Post by: Zim4ik on June 11, 2011, 04:46:40 pm
Thank You))
I`l mod it.
Title: Re: Pandaren Monk model
Post by: Zim4ik on June 11, 2011, 05:42:15 pm
Yay))
I`ve fixed some geosets. Now pandaren can wear robes)))
Title: Re: Pandaren Monk model
Post by: doresain on June 11, 2011, 07:55:32 pm
this is an official pandaren image , i think it's possible to replace tusk geoset with hair and hacialhair from other model (someone china style)
(http://www.toplessrobot.com/pandaren%20brewmaster01.jpg)
(http://img855.imageshack.us/img855/7310/pandaren1.jpg)
Title: Re: Pandaren Monk model
Post by: Zim4ik on June 11, 2011, 08:04:07 pm
Pretty nice! Good job))
If i`l finish model in couple hours, i`l post some screen shots)
and then i`l make pandaria location)
Try to edit worgen male alpha model. It have the same hair style.
Title: Re: Pandaren Monk model
Post by: Zim4ik on June 11, 2011, 08:17:54 pm
And how did u fix eyes? oups. fixed)
Title: Re: Pandaren Monk model
Post by: Zim4ik on June 11, 2011, 10:14:58 pm
(http://cs4169.vkontakte.ru/u17483925/100620254/y_5afacbc2.jpg)
(http://cs4169.vkontakte.ru/u17483925/100620254/y_481d6064.jpg)
(http://cs4169.vkontakte.ru/u17483925/100620254/y_a6339ec1.jpg)

And bald pandaren. ;))
Now making textures)


EDIT:
(http://cs4169.vkontakte.ru/u17483925/100620254/y_0d0101ac.jpg)
Title: Re: Pandaren Monk model
Post by: Herbalism on June 11, 2011, 11:52:06 pm
Holy duck fuck!
Dude, you really impress me ._.
Title: Re: Pandaren Monk model
Post by: doresain on June 12, 2011, 12:02:31 am
wip hairstyles
(http://img204.imageshack.us/img204/5326/pandarenhair.jpg)
Title: Re: Pandaren Monk model
Post by: Zim4ik on June 12, 2011, 12:32:49 am
Nice job) I think, i`l add this hairstyle too)
Title: Re: Pandaren Monk model
Post by: gorq on June 12, 2011, 04:45:57 am
i have problems adding meshes..i think it does not support it
Title: Re: Pandaren Monk model
Post by: Zim4ik on June 12, 2011, 05:14:52 am
Decompile normal tuskarr model and compare names of geosets.
Title: Re: Pandaren Monk model
Post by: gorq on June 12, 2011, 05:29:21 am
oh no, im tryin to add new hairstyles to ogres ^^ (yes ogres). I duplicate a mesh, separate it to a new mesh and rename to SubMeshX where X is a number. It compiles to a m2 but this m2 is really really fucked up xD Any idea?

oh, i have no idea bout blender xD so maybe im doing all the wrong way
Title: Re: Pandaren Monk model
Post by: Zim4ik on June 12, 2011, 06:09:26 am
one little tip: the size of .m2i cannot be larger then 200kb!!
Title: Re: Pandaren Monk model
Post by: doresain on June 12, 2011, 07:57:04 am
try to duplicate body and save it.
now import model with hair geoset, delete all bun no the hair geoset, then import the duplicated ogre, ctrl+p and ctrl+j between hair geoset and duplicated body and save, reload it and delete duplicated body
i think exporter can't handle a lots of changes on m2 in a single step, and sometime it fail to save new geoset, but after some try it works
Title: Re: Pandaren Monk model
Post by: Herbalism on June 12, 2011, 11:42:37 am
You two should make a tutorial about this, I bet people would appreciate it.
Title: Re: Pandaren Monk model
Post by: doresain on June 12, 2011, 03:13:19 pm
it requires a lot of knowleges in blender, but exporting model is simple:

modify m2mod.ini
run m2mod.exe
copy m2i_import.py and m2i_export.py in blender plugin folder
edit m2i with blender and export it as m2i
modify m2mod.ini to merge m2i and m2 files
run m2mod.exe
now you should have your modified m2 model
Title: Re: Pandaren Monk model
Post by: gorq on June 12, 2011, 04:39:18 pm
Quote from: "doresain"
try to duplicate body and save it.
now import model with hair geoset, delete all bun no the hair geoset, then import the duplicated ogre, ctrl+p and ctrl+j between hair geoset and duplicated body and save, reload it and delete duplicated body
i think exporter can't handle a lots of changes on m2 in a single step, and sometime it fail to save new geoset, but after some try it works

Thx for ur attention. I have tried to duplicate a mesh in blender. It becomes a blank bugged model.
I have tried using pymodel and copygeoset.exe. It had worked only one time.all other times m2mod crashes or i get a blank bugged model.

I can add new geoset to existing ones as u said, but i cannot add new ones to work as hairstyle.

I have no skills in blender, maybe im doin something the wrong way.
Title: Re: Pandaren Monk model
Post by: Eluo on June 12, 2011, 06:12:12 pm
Quote from: "Herbalism"
You two should make a tutorial about this, I bet people would appreciate it.
:)
Title: Re: Pandaren Monk model
Post by: doresain on June 17, 2011, 02:05:01 am
new model http://filebeam.com/1f4ed71e756357b8555f5ebcafb824de (http://filebeam.com/1f4ed71e756357b8555f5ebcafb824de" onclick="window.open(this.href);return false;)
Title: Re: Pandaren Monk model
Post by: Zim4ik on June 17, 2011, 06:50:28 am
Humm... As i can see. All what you done is just fixing legs and... maybe 501+++ geosets.
For me that tooks.. 1-2 hours +hairstyles. But you have show me how great is mod3 tool is.
 :lol:
Title: Re: Pandaren Monk model
Post by: doresain on June 17, 2011, 10:58:44 am
fixed new hairstyles (only two for now)
(http://img232.imageshack.us/img232/5326/pandarenhair.jpg)
(http://img269.imageshack.us/img269/6929/pandfarenhair2.jpg)
need some new textures ^^
Title: Re: Pandaren Monk model
Post by: Zim4ik on June 17, 2011, 12:25:27 pm
Yes, thats what i`m talking about! Nice!
Title: Re: Pandaren Monk model
Post by: Herbalism on June 17, 2011, 12:27:16 pm
Wait what? A hair hat?
Title: Re: Pandaren Monk model
Post by: Zim4ik on June 17, 2011, 12:34:20 pm
I can see that you use the model m2i of pandarenmonk)
Title: Re: Pandaren Monk model
Post by: doresain on June 17, 2011, 01:24:33 pm
for the hat i must replace textures with hardcoded one
Title: Re: Pandaren Monk model
Post by: doresain on June 17, 2011, 05:23:50 pm
other 2 hairstyles
(http://img89.imageshack.us/img89/2642/pandarenhair3.png)
(http://img87.imageshack.us/img87/7937/pandarenhair4.png)
Title: Re: Pandaren Monk model
Post by: Zim4ik on June 17, 2011, 06:03:32 pm
holy cow!)
Thats awesome )
which model u used to get this hairstyles?
Title: Re: Pandaren Monk model
Post by: Herbalism on June 17, 2011, 06:14:25 pm
Those two looks like the blood elf and human hairstyles so I guess it would be those two.
Title: Re: Pandaren Monk model
Post by: magickmenace on November 24, 2012, 04:56:57 am
Quote from: "doresain"
it requires a lot of knowleges in blender, but exporting model is simple:

modify m2mod.ini
run m2mod.exe
copy m2i_import.py and m2i_export.py in blender plugin folder
edit m2i with blender and export it as m2i
modify m2mod.ini to merge m2i and m2 files
run m2mod.exe
now you should have your modified m2 model
Not working using m2modv4  :cry:
Title: Re: Pandaren Monk model
Post by: doresain on November 29, 2012, 09:32:00 am
it must works, i've tested it with a lot of models v3 & v4
you must use blender 2.49b, newer doesn't work
link here the error log