Modcraft - The community dedicated to quality WoW modding!

Content creation => Modelling and Animation => Topic started by: kojak488 on September 10, 2012, 10:31:32 am

Title: [QUESTION] Custom Wow Weapon Model
Post by: kojak488 on September 10, 2012, 10:31:32 am
Hey, I've been working to try and get a custom weapon model into the game using various tutorials from here.  I'm stuck and can't figure it out.  I'm probably skipping over some small detail and I hope you guys can enlighten me.

I tried using the custom item tutorial. (http://modcraft.io/viewtopic.php?f=20&t=35)  Here are the files I used: the 3DS model, the converted model into .m2 with its .skin and .blp files: http://scorpionshare.com/download/439/Kunai.zip (http://scorpionshare.com/download/439/Kunai.zip" onclick="window.open(this.href);return false;)

So the model converts fine and looks to be scaled/positioned properly as its in the same location and size when I import other weapon models from WOW Model Viewer.  I've placed the files into the MPQ and added the item with the right display ID, 70070, into the SQL server: http://scorpionshare.com/download/440/patch_5.MPQ (http://scorpionshare.com/download/440/patch_5.MPQ" onclick="window.open(this.href);return false;)

Unfortunately when I look it up in game or in WOW Model Viewer it's invisible/not there.
(http://i.imgur.com/6YIjV.png)

When playing around earlier I solved a few errors.  I had the blue/white cube error and realised I hadn't added. mdx in the ItemDisplayInfo.dbc.  On another occasion I got something to display in game, but as you can see it wasn't right:
(http://i.imgur.com/ziTMQ.png)

I've also tried the tutorial for doing it the .obj way and patching it in using Glitchy's MES method.  Same result: invisible item.

Finally I tried the tutorial for converting it to .mdx, which worked.  I could load it into mdlvis.  I could even get it into a .m2 using the converter.  Unfortunately the .m2 crashes both WOW Model Viewer and the game client.

Anyone have some ideas on where I might be going wrong?
Title: Re: [QUESTION] Custom Wow Weapon Model
Post by: kojak488 on September 12, 2012, 10:01:01 am
No ideas?
Title: Re: [QUESTION] Custom Wow Weapon Model
Post by: schlumpf on September 12, 2012, 10:39:08 am
Try a really simple model, just to test if that works. Maybe your model is too complex or has something special breaking converters. Also, try scaling.
Title: Re: [QUESTION] Custom Wow Weapon Model
Post by: Malice on September 12, 2012, 05:45:57 pm
i don't know what have you done,because i can't download your files.Maybe you haven't added a .skin file?
Title: Re: [QUESTION] Custom Wow Weapon Model
Post by: kojak488 on September 13, 2012, 03:31:14 pm
Quote from: "schlumpf"
Try a really simple model, just to test if that works. Maybe your model is too complex or has something special breaking converters. Also, try scaling.

I tried a simple cylinder with no luck.  I've scaled the model to fit the reference model exported from WOW Model Viewier.  I've also tried the scale option in 3dstom2 using 0.25.  No difference.

http://imgur.com/a/3EFl8#0 (http://imgur.com/a/3EFl8#0" onclick="window.open(this.href);return false;)

Quote from: "Tindashi"
i don't know what have you done,because i can't download your files.Maybe you haven't added a .skin file?

The converter makes the skin file and it's included in the MPQ.  I have no way of opening the skin file to see what's in it though.  Opening it in notepad and it's just gibberish.
Title: Re: [QUESTION] Custom Wow Weapon Model
Post by: kojak488 on September 13, 2012, 06:01:04 pm
I've just tried a proof of concept type thing (not creating anything new, but just doing the methods to see if it's my process that's wrong).  I got the same issue.  An invisible item.

What I did was load a weapon model in WOW Model Viewer and export it to Milkshape 3D: http://scorpionshare.com/download/444/s ... _a_01.ms3d (http://scorpionshare.com/download/444/stave_2h_etherial_a_01.ms3d" onclick="window.open(this.href);return false;)

I exported that to a 3DS file inside Milkshape 3D: http://scorpionshare.com/download/445/DKunai.3ds (http://scorpionshare.com/download/445/DKunai.3ds" onclick="window.open(this.href);return false;)

I went through this tutorial again (http://modcraft.io/viewtopic.php?f=20&t=35) and turned it into an editable poly, checked the Unwrap UV, added the material to it and then do the subdivide option.  I then exported that as a 3DS: http://scorpionshare.com/download/446/DKunai2.3ds (http://scorpionshare.com/download/446/DKunai2.3ds" onclick="window.open(this.href);return false;)

I ran it through 3dstom2.exe using the following options: [spoiler:101sr8ji](http://imgur.com/3t9PX.jpg)[/spoiler:101sr8ji]

That created the following .m2 and .skin and here is the .blp too: http://scorpionshare.com/download/447/DKunai.zip (http://scorpionshare.com/download/447/DKunai.zip" onclick="window.open(this.href);return false;)

Here's my patch.  Please ignore the previous attempt files that are in there: http://scorpionshare.com/download/448/patch_5.MPQ (http://scorpionshare.com/download/448/patch_5.MPQ" onclick="window.open(this.href);return false;)

The result... the invisible item.  So there must be something wrong with my conversions, original model, exporting... I don't know.  [spoiler:101sr8ji](http://i.imgur.com/dkOe7.jpg)[/spoiler:101sr8ji]
Title: Re: [QUESTION] Custom Wow Weapon Model
Post by: kojak488 on September 13, 2012, 06:12:05 pm
It looks like it was a scaling issue.  I increased the scale in the 3DS and also used a scaling option of 50 on the converter and this was the result:

(http://i.imgur.com/Xtrlm.jpg)
Title: Re: [QUESTION] Custom Wow Weapon Model
Post by: kojak488 on September 13, 2012, 08:20:26 pm
Still needs a bit of work, but I'm getting there!

http://imgur.com/a/ttxff#0 (http://imgur.com/a/ttxff#0" onclick="window.open(this.href);return false;)
Title: Re: [QUESTION] Custom Wow Weapon Model
Post by: Malice on September 13, 2012, 08:22:29 pm
send me this model by PM and i will make that for you.