Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Serverside Modding => Topic started by: Смердокрыл on November 15, 2015, 08:53:46 pm
-
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]
-
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?
-
- baked NPC texture name specified in CreatureDisplayInfoExtra.dbc?
- texture with correct size (like 256x256, 512x512...)?
- texture in Textures/BakedNPCTextures/.. folder in your MPQ?
If you mean the last column in CreatureDisplayInfoExtra.dbc, I just wrote "CreatureDisplayExtra-<ID(same as in column 1)>.blp"
-
You need to fill there name of your NPC's texture. And you need to create that texture (by dressing your model in WMV and exporting its texture via Export Model to OBJ function), and add its BLP version into Textures/BakedNPCTextures/.. folder. Check blizzlike displayIDs which use CreatureDisplayInfoExtra.dbc (and thus are working with model on which items are equipable) to see what I'm talking about.
-
give us the blp file and the creaturedisplayinfoextra.dbc
and you check that you put in your custom patch file this folder path TexturesBakedNpcTextures
and then put your blp file
-
Ok, I created the blp using this guide (http://modcraft.io/viewtopic.php?f=61&t=272) and everything works perfectly. Thanks!
-
good to hear that it worked for you :)