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 make your Display Id for NPC  (Read 1607 times)

wowerwork

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 7
    • View Profile
[QUESTION] How to make your Display Id for NPC
« 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/5lqarv
http://prntscr.com/5lqaw3
http://prntscr.com/5lqbot
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Milly

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 503
    • View Profile
Re: [QUESTION] How to make your Display Id for NPC
« Reply #1 on: December 28, 2014, 09:04:08 am »
Did you remember to include the dbc file in both the client and the server?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [QUESTION] How to make your Display Id for NPC
« Reply #2 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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

kojak488

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 351
    • View Profile
Re: [QUESTION] How to make your Display Id for NPC
« Reply #3 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

wowerwork

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 7
    • View Profile
Re: [QUESTION] How to make your Display Id for NPC
« Reply #4 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
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

wowerwork

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 7
    • View Profile
Re: [QUESTION] How to make your Display Id for NPC
« Reply #5 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?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

kojak488

  • Registred Member
  • Creator of Worlds
  • *****
  • Posts: 351
    • View Profile
Re: [QUESTION] How to make your Display Id for NPC
« Reply #6 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.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »