Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Miscellaneous => Topic started by: wowerwork on December 28, 2014, 06:41:08 am

Title: [QUESTION] How to make your Display Id for NPC
Post by: wowerwork on December 28, 2014, 06:41:08 am
hi all . I recently tried to make Disp ID. And I got error Invalid ID
http://prntscr.com/5lq90d (http://prntscr.com/5lq90d" onclick="window.open(this.href);return false;)
http://prntscr.com/5lqarv (http://prntscr.com/5lqarv" onclick="window.open(this.href);return false;)
http://prntscr.com/5lqaw3 (http://prntscr.com/5lqaw3" onclick="window.open(this.href);return false;)
http://prntscr.com/5lqbot (http://prntscr.com/5lqbot" onclick="window.open(this.href);return false;)
Title: Re: [QUESTION] How to make your Display Id for NPC
Post by: Milly on December 28, 2014, 09:04:08 am
Did you remember to include the dbc file in both the client and the server?
Title: Re: [QUESTION] How to make your Display Id for NPC
Post by: Amaroth on December 28, 2014, 10:35:12 am
I can't see a ****, those screens are maybe too wide for me :D. You also could mark your rows.

Screen #2 - I can't see your link to CreatureDisplayInfoExtra.dbc, which should be in 3rd column. Enter your extra's ID there.
Screen #4 - Name of NPC's texture in last column must NOT be empty. That will cause client to crash. Create NPC's texture by using export model option in WMV, put it into TexturesBakedNPCTextures and place its name there.

If .morph command tells you that displayID is invalid, it means you didn't event place your DBCs into patch, but I suspect you get that error when you try to already spawn NPC which is using this displayID. You need to do 2 things then, maybe you did already one, but clearly forgot at least one:
- place your DBCs into your server's data folder
- create new row in world.creature_model_info database table for your new displayID
Title: Re: [QUESTION] How to make your Display Id for NPC
Post by: kojak488 on December 28, 2014, 03:44:06 pm
If memory serves from working on display IDs there are still a few things you're missing.  As Amaroth mentioned you need to add an entry to the creature_model_info DB.  Furthermore, your DBC looks incomplete.  The display IDs you used for the armor pieces only tell it which geosets to use.  It doesn't, IIRC, define the texture.  You do that through column 21, which you haven't defined.
Title: Re: [QUESTION] How to make your Display Id for NPC
Post by: wowerwork on December 29, 2014, 06:19:04 am
Quote from: "kojak488"
If memory serves from working on display IDs there are still a few things you're missing.  As Amaroth mentioned you need to add an entry to the creature_model_info DB.  Furthermore, your DBC looks incomplete.  The display IDs you used for the armor pieces only tell it which geosets to use.  It doesn't, IIRC, define the texture.  You do that through column 21, which you haven't defined.
A CreatureDisplayinfo, CreatureDisplayinfoExtra, CreatureModelInfo
Display ID must be the same
Title: Re: [QUESTION] How to make your Display Id for NPC
Post by: wowerwork on December 29, 2014, 06:29:24 am
Quote from: "Amaroth"
I can't see your link to CreatureDisplayInfoExtra.dbc, which should be in 3rd column. Enter your extra's ID there.

There Gender 0-male a 1-female is not it?
Title: Re: [QUESTION] How to make your Display Id for NPC
Post by: kojak488 on December 30, 2014, 04:15:42 am
Quote from: "wowerwork"
Quote from: "Amaroth"
I can't see your link to CreatureDisplayInfoExtra.dbc, which should be in 3rd column. Enter your extra's ID there.

There Gender 0-male a 1-female is not it?

That's not what he's saying.  He's saying that your screenshot of the CreatureDisplayInfo.dbc doesn't link to the ID from your CreatureDisplayInfoExtra.dbc.  You just have a 0 in column 3 for ID 51486 and really it should have the ID from your Extra.dbc, which is 21382.

You seem to have thought he was talking about the column 3 in the Extra.dbc, which he wasn't.