This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: Exported M2 into Creature Model | Item Model  (Read 3518 times)

TudvariHUN

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 17
    • View Profile
Exported M2 into Creature Model | Item Model
« on: July 27, 2013, 10:13:25 am »
Hi!

I have exported some creatures from Model Viewer (MoP),And I have set the correct datas in 010 editor.
But I can't add it into the dbc,because the dbc says it needs .mdx file.
So How I can add a Mop Creature Model into WoW so I can use it as a model ID in a Creature?

And Does somebody can tell me how to do this with items too?
Thanks for you future answers.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Exported M2 into Creature Model | Item Model
« Reply #1 on: July 27, 2013, 01:14:44 pm »
* the dbc can't "say it needs .mdx file".
* I guess you refer to some documentation.
* the client replaces .mdx and .mdl with .m2 upon loading, thus just giving the m2 filepath is fine.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

TudvariHUN

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 17
    • View Profile
Re: Exported M2 into Creature Model | Item Model
« Reply #2 on: July 27, 2013, 02:23:49 pm »
Then thx :D
That's why I thought this:
3    ModelPath   String    *.MDX!

Then I will write the path to the .m2 file.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

TudvariHUN

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 17
    • View Profile
Re: Exported M2 into Creature Model | Item Model
« Reply #3 on: July 28, 2013, 12:51:54 pm »
I have done all the things,but I think that I didn'T do something with nparticles.
I tried to spawn Lei Shen and Yu'lon.
I changed:
Version to 264
nTextUnits to 1
ofsTextUnits to the value of ofsTransLookup
nCameras to 0
nCameraLookup to 0
nParticleEmitter to 0
ofsParticleEmitters stayed the same

In the skin:
every TEXU TExtureUnits:
enum TEXTUNITFLAGS flag to 0
uint16 order to 0
uint16 d4 to 1

But ingame the game says " has no model defined in table creature_template."
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Exported M2 into Creature Model | Item Model
« Reply #4 on: July 28, 2013, 01:19:02 pm »
The server says that. It is not related to the model. The server also tells you what to do.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

TudvariHUN

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 17
    • View Profile
Re: Exported M2 into Creature Model | Item Model
« Reply #5 on: July 28, 2013, 03:24:01 pm »
it is defined in the dbc,but I set seomthing wrong (I think)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: Exported M2 into Creature Model | Item Model
« Reply #6 on: July 28, 2013, 03:27:18 pm »
"creature_template" is a database table, not a dbc.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

TudvariHUN

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 17
    • View Profile
Re: Exported M2 into Creature Model | Item Model
« Reply #7 on: July 28, 2013, 04:05:06 pm »
I know.I set the modelid in creature_template,but I think the server says this,because I made a mistake in the dbc-s.There can't be a problem in creature_template,because I only have to type in an id.
I tried it with Mjollna's converter (a cataclysm model),but still the same problem.

I set the modelid in creature_template to the value of column  #0 in CreatureDisplayInfo.dbc
I converted 4 models: Lei Shen,Yulon,Blood Golem,Ammunae.None of them works.  

Do I have to replace the .m2 to .mdx in the path?

I converted worgenmale.m2 and the skin file then put all the files which were exported from modelviewer.I added them to DBC both with .mdx and .m2,but neither of them works.I think the other values cause the problem.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

clifton

  • Registred Member
  • MWCS Enthusiast
  • *****
  • Posts: 2
    • View Profile
Re: Exported M2 into Creature Model | Item Model
« Reply #8 on: September 20, 2013, 05:52:54 pm »
At your Database search for the table "Creature_Model_Info" and add this: Modelid: "the displayid" Bounding_radius: "2" <--- NOT "0" if you do that the model won't work! Combat_reach: "2"  <--- ALSO NOT "0" if you do that the model won't work! Gender: "2" <--- not sure what this means Modelid:other_gender: 0

Better View:
ModelID............ Bounding_radius...........  Combat_reach .......... Gender........... Model_other_gender
(DisplayID) ................2.......................................2............................2..................................0
......^------ This is the ID You made in CreatureDisplayidInfo.dbc
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

ayahne

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 88
    • View Profile
Re: Exported M2 into Creature Model | Item Model
« Reply #9 on: September 21, 2013, 12:10:59 am »
First of all make DBC compatible to patch 3.3.5a then move it with ported Creature model and dbc's to Patch file and try to morph in game if it works You can Try to create a Npc model if not there something wrong with your DBC or creature that you have ported
« Last Edit: January 01, 1970, 01:00:00 am by Admin »