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] Custom Entry/ModelID for Creatures  (Read 1982 times)

Sprucey

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 16
    • View Profile
[QUESTION] Custom Entry/ModelID for Creatures
« on: September 26, 2014, 05:16:04 pm »
Hey guys,

I've been trying to create my own NPCs off the backs of the relatively old tutorials lay around. I've come fairly far on my own though hit a wall and not exactly sure what it is I'm missing.

I've created everything, made the changes to CreatureDisplayInfo.dbc and CreatureDisplayInfoExtra.dbc to correctly call the .blp texture, set the display ID and model ID within them. I've also used HeidiSQL to edit Creature_Template, duplicated an NPC and changed entry, modelid1 and the strings.

In testing, I can use .npc set model and .npc set entry to change an existing NPC, and get the results I want - displaying the new model, changing the entry and displaying the proper name. However if I try to use .npc add the server throws an error:

Creature <Entry: 50000> has no model defined in table 'creature_template', can't load.

The model obviously works, in this case modelID 33000, because I can use GM commands to assign it. Adding this number to creature_template doesn't seem to allow it to spawn though.

Am I missing something? Do I need to include the modelid elsewhere in the database?

Thanks.
« 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] Custom Entry/ModelID for Creatures
« Reply #1 on: September 27, 2014, 10:44:27 am »
world.creature_model_info - add new row for your new displayID there (3.3.5a).
« 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