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: [QUESTION] How to add new Game Objects, or swap them  (Read 2780 times)

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
[QUESTION] How to add new Game Objects, or swap them
« on: June 22, 2011, 03:47:53 am »
Hey all I have been building models for the Pandaren houses. I have a couple done.. But I'm thinking I may have wasted my time... I tried figuring out how to add new custom models as game objects but couldn't so i figured I would copy over one that isn't in the game officially...
So I took the m2 of a different object and swapped it but when I spawn it in game nothing shows up...

Sorry I know I'm still figuring stuff out... but any help would be greatly appreciated:)

P.s. if it is possible to make new entries for new game objects I would love to know how.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Eluo

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 509
    • View Profile
Re: [QUESTION] How to add new Game Objects, or swap them
« Reply #1 on: June 22, 2011, 04:37:02 am »
Should be easy ;)
One entry in GameObjectDisplayInfo.dbc and serverside a entry into gameobject_template(trinity) or the table for gameobjects of your server core.

Why your models wont show up could have multiple diffrent causes...hmm...just check everything again it should definitly work.


btw /moved to database as it is dbc related
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
One is a genius, the other\'s insane!

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
Re: [QUESTION] How to add new Game Objects, or swap them
« Reply #2 on: June 22, 2011, 05:38:51 am »
thanx Eluo... just a question I don't see any m2 files in the gameobject dbc file... they are all mdx or wmo... does my file have to be a mdx or can it be an m2 ... if so, should I inter the m2 file in the dbc. or refer to it as a mdx / wmo?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Excon

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 15
    • View Profile
Re: [QUESTION] How to add new Game Objects, or swap them
« Reply #3 on: June 22, 2011, 06:55:44 am »
m2 files are for characters and npc's the others are objects.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Eluo

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 509
    • View Profile
Re: [QUESTION] How to add new Game Objects, or swap them
« Reply #4 on: June 22, 2011, 11:52:14 am »
mdx was the old model format for smaller models in for example warcraft 3 and so on. As blizzard has its own structure , wow was based on this , and this is also how we got .dbcs and so on.
Some formats have changed and we now have .m2 but in most of the dbcs and also in adt files, models are internally handeled as .mdx and not as .m2 files. For what purpose? I dont think even blizzard knows a reason :D

If you ever see many .mdx paths , then just replace just in the path of course the .m2 with .mdx as the only .mdx models in wow are vanilla groundeffect doodads ;)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
One is a genius, the other\'s insane!

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] How to add new Game Objects, or swap them
« Reply #5 on: June 22, 2011, 01:32:05 pm »
Actually, internally all .mdl and .mdx files are interpreted as .m2 when opening / creating a model. There is no difference if you name the entry bla.mdx or bla.m2, the client can use both.

MDX is still used internally.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Serifaz

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 293
    • View Profile
Re: [QUESTION] How to add new Game Objects, or swap them
« Reply #6 on: June 24, 2011, 01:58:49 am »
O.k. I have a test .m2 for an object, it can be anything...
but if I make a 3ds file of a house, will 3dstom2 convert it to an m2 that can be placed in game once the dbcs are updated, and entries are in the database?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [QUESTION] How to add new Game Objects, or swap them
« Reply #7 on: June 24, 2011, 10:02:02 am »
I have tested around with this and never get any model converted cleant that i could use it in WoW. If anyone get this to work it whould be nice to se a tutorial online.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Nils54

  • Registred Member
  • Race Changer
  • *****
  • Posts: 37
    • View Profile
Re: [QUESTION] How to add new Game Objects, or swap them
« Reply #8 on: August 06, 2011, 07:02:38 pm »
Hello want to build you a completely new object?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »