Modcraft - The community dedicated to quality WoW modding!
Content creation => Modelling and Animation => Topic started by: Darkkang on May 27, 2011, 04:08:02 am
-
Hi, sorry for my english, I'm Spanish and I would like your help giving me the M2 or skins of goblins and Worgens of Cataclysm for wotlk or provide me how to get them because they do not know much about this but your if help me a lot because we have a RP server and we need these races Equippable so I put them as playable.
Thank you very much, Darkkang
-
It's not the first request like that, before getting the new models, at least try to make the old one (goblin) playable, once you manage that you can use the new models, because along with that you need to edit the DBC files, the GlueXML and the core of your server, there should be a guide about that if i'm not mistaken, also you can look for infos on WoWDevWiki ;)
-
Thanks for replying, but I need M2, I have edited the gluesXml, core, db, dbc and I have the goblin and worgen male of Cataclysm Beta, but I need the M2, skins and anims current Cataclysm as not work in wotlk.
Thanks.
-
as there are no tools for that, i think you either will have to write your own, or do it by hand.
I doubt that anyone will do this for you cause it actually is some shitload of work and a thing of days/weeks and not a 5min thing^^.
Btw right under your topic was already a discussion about that.
viewtopic.php?f=7&t=553 (http://modcraft.io/viewtopic.php?f=7&t=553" onclick="window.open(this.href);return false;)
-
as there are no tools for that, i think you either will have to write your own, or do it by hand.
I doubt that anyone will do this for you cause it actually is some shitload of work and a thing of days/weeks and not a 5min thing^^.
Btw right under your topic was already a discussion about that.
viewtopic.php?f=7&t=553 (http://modcraft.io/viewtopic.php?f=7&t=553" onclick="window.open(this.href);return false;)
will this not work then?
import four.m2 as CataM2
import four.skin as CataSkin
from pym2_3.m2 import *
from pym2_3.skin import *
cata = CataM2.M2File("Male\GoblinMale.M2")
cataskin = CataSkin.SkinFile("Male\GoblinMale00.skin")
wotlk = M2File()
wotlk.hdr = cata.hdr
#change header version
wotlk.hdr.version = 264
wotlk.name = cata.name
wotlk.gSequ = cata.gSequ
wotlk.animations = cata.animations
wotlk.anim_files = cata.anim_files
wotlk.anim_lookup = cata.anim_lookup
wotlk.bones = cata.bones
wotlk.key_bones = cata.key_bones
wotlk.vertices = cata.vertices
wotlk.colors = cata.colors
wotlk.textures = cata.textures
wotlk.transparency = cata.transparency
wotlk.uv_anim = cata.uv_anim
wotlk.tex_replace = cata.tex_replace
wotlk.renderflags = cata.renderflags
wotlk.bone_lookup = cata.bone_lookup
wotlk.tex_lookup = cata.tex_lookup
#wotlk.tex_units = cata.tex_units #no
#add texunit
tu = Lookup()
tu.Id = 0
wotlk.tex_units.append(tu)
wotlk.hdr.tex_units.count += 1
wotlk.trans_lookup = cata.trans_lookup
wotlk.uv_anim_lookup = cata.uv_anim_lookup
wotlk.bounding_triangles = cata.bounding_triangles
wotlk.bounding_vertices = cata.bounding_vertices
wotlk.bounding_normals = cata.bounding_normals
wotlk.attachments = cata.attachments
wotlk.attach_lookup = cata.attach_lookup
wotlk.events = cata.events
wotlk.lights = cata.lights
#wotlk.cameras = cata.cameras #no
for i in cata.cameras:
t = Camera()
t.Type = i.Type
t.FOV = i.UnkAnim.KeySubs[0].values[0]
t.FarClip = i.FarClip
t.NearClip = i.NearClip
t.TransPos = i.TransPos
t.Pos = i.Pos
t.TransTar = i.TransTar
t.Target = i.Target
t.Scaling = i.Scaling
wotlk.cameras.append(t)
wotlk.camera_lookup = cata.camera_lookup
wotlk.ribbon_emitters = cata.ribbon_emitters
wotlk.particle_emitters = cata.particle_emitters
wotlkskin = SkinFile()
wotlkskin.header = cataskin.header
wotlkskin.indices = cataskin.indices
wotlkskin.tri = cataskin.tri
wotlkskin.prop = cataskin.prop
wotlkskin.mesh = cataskin.mesh
wotlkskin.texunit = cataskin.texunit
for i in wotlkskin.texunit:
i.texunit = 0
wotlk.write("WMale\GoblinMale.m2")
wotlkskin.write("WMale\GoblinMale00.skin")
-
for when i posted i not this tool need another scripts in python
-
more easy you can "cojerlos" of the cata alpha version and i have a cata worgen alpha working but have a lot of bugs XD but work good i am sorry for mi spanish word, because i don't know a lot of english and darkkang stay in my staff and is spanish
-
hey darkkang i have the models of Cataclysm Full