Forum > Serverside Modding
[QUESTION] Can't spawn an npc I created
(1/2) > >>
Смердокрыл:
Hey! I copied an npc, giving it a new Id and an new displayId (I created the displayid myself). There are no errors when executing the sql code, and the npc does show up in creature_template, but I can't spawn it. I type .npc add 59073 and the game just shows me the syntax of the .npc add comand.
Смердокрыл:
I just checked the log, and it says Creature (Entry: 59073) has no model defined in table `creature_template`, can't load. But it has a defined model!
Смердокрыл:
I fixed the problem by adding an entry in creature_model_info (which is strange because I've never done it before, and everything worked fine). But now I have the following problem: [attachment=0:1128m7tw]WoWScrnShot_111515_233610.jpg[/attachment:1128m7tw]
Amaroth:
You always have to add displayID into creature_model_info table whenever you are creating a new displayID. creature_template reffers to that table and if displayID is missing there, it simply won't work. Server needs some extra data for displayIDs which are not stored in DBCs in order to make NPCs work correctly.
About your green-ish error, green always means that texture was not found or could not be applied on model. Do you have:
- baked NPC texture name specified in CreatureDisplayInfoExtra.dbc? - texture with correct size (like 256x256, 512x512...)? - texture in Textures/BakedNPCTextures/.. folder in your MPQ?
Смердокрыл:
--- Quote from: "Amaroth" ---- baked NPC texture name specified in CreatureDisplayInfoExtra.dbc? - texture with correct size (like 256x256, 512x512...)? - texture in Textures/BakedNPCTextures/.. folder in your MPQ? --- End quote --- If you mean the last column in CreatureDisplayInfoExtra.dbc, I just wrote "CreatureDisplayExtra-<ID(same as in column 1)>.blp"
Navigation
[0] Message Index
[#] Next page
|