Search the Community
Showing results for tags 'photshop'.
Found 2 results
Hello ! Today we will learn how to create an NPC from nothing ! Summary Required tools NPC dressing CreatureDisplayInfo editing CreatureDisplayInfoExtra editing Patch creation DB addition Looks like it's time to gear up ! - Software like Photoshop or Gimp. Personally I use Photoshop because of this : BLP Plugin - Wow Model Viewer or something similar - BLP Converter (useless if you use the Photoshop's plugin) - My DbcEditor - MPQ Editor - Your 3.3.5 client ! Looks like it's time to dress up ! I only mentionned one tool which can dress up our future NPC, so, let's go to Wow Model Viewer ! First, we have to select the race of our NPC, I'll choose... Human male ! You can select this in the menu on the left, in the character part. Now, here's the interesting part. Quick explanation : The menu in the top right corner defines the look of your npc, face type, hair color... ATTENTION ! In CreatureDisplayInfoExtra, hair color and hair style are inversed ! Below this menu, it's seems to be obvious, you can set your Npc's stuff. Below again, Oppa tabard style ! 8-) I let you prepare your NPC, I'll create mine and after, we compare who made the most beautiful ! Time's up ! Here's mine : Ok I used WoD stuff, I cheated... a bit Now, you can screen the whole right menu, that way you will not forget the character's characteristics ! Sometimes you can see two numbers to the right of the object name, they are important, the first is the itemID, the second his DisplayID, keep them two ! Our NPC is created, now we need to extract its texture. In my WMV version I do this : Once exported, a single file will interest us : body.tga Open it with Photoshop or your software, and you'll see this : You're free to customize the face, adding scars or whatever ! If you don't use the BLP plugin, save this file as png, and slide it on your BLP Converter. We have finished the texture ! "But, Hyakki-master ! And weapons ?!" Creature_equip_template, world database ! Your turn CreatureDisplayInfo ! Open this DBC with the software provided by this tutorial (MyDBCEditor) You'll see lines. Lines everywhere ! Scroll to the last line, right click and select "Insert line...", your ID MUST be unique ! I'll choose 70010. Quick explanation 2 : First column : unique ID Second column : Model ID that is registered in CreatureModelData.dbc (for a human male it's 49, a human female 50...) Third column : Dunno, let zero. Fourth column : ExtraDisplay : We'll see it in CreatureDisplayInfoExtra.dbc, it must be unique too. Fifth column : Let 1. Sixth colum : Creature opacity. 255 means your npc is opaque, 0 means... yes it's transparent. Seventh and Eighth column : "Extra texture", when you npc isn't a character but a creature, these colums set their skin. The next columm : Contains an ID or 0, the ID corresponds to sound ID in NPCSounds.dbc. Last column : Let zero. Here's the look of my NPC column : You must to put this DBC in your MPQ patch and in serverside. Next ! Braces yourselves CreatureDisplayInfoExtra is coming ! This is where it all take shape. Documentation time ! 1 : ID, that one you choosed in the fourth column in CreatureDisplayInfo. 2 : Character's race, 1 for human... IDs are situated in ChrRaces. 3 : Gender. 0 for male (It is also the degree of intelligence of the person who wrote this guide) and 1 for female. 4, 5, 6, 7 & 8 : SkinColor, FaceType, HairStyle, HairColor, BeardStyle. (Don't forget, in WMV, hair style & hair color are inversed) 9 : Head DisplayID (that one you choosed in WMV, if not, set to 0). 10 : Shoulders DisplayID (that one you choosed in WMV, if not, set to 0). 11 : Shirt DisplayId (that one you choosed in WMV, if not, set to 0). 12 : Chest DisplayID (that one you choosed in WMV, if not, set to 0). 13 : Belt DisplayID (that one you choosed in WMV, if not, set to 0). 14 : Legs DisplayID (that one you choosed in WMV, if not, set to 0). 15 : Boots DisplayID (that one you choosed in WMV, if not, set to 0). 16 : Bracers DisplayID (that one you choosed in WMV, if not, set to 0). 17 : Gloves DisplayID (that one you choosed in WMV, if not, set to 0). 18 : Tabard DisplayID (that one you choosed in WMV, if not, set to 0). 19 : Cape DisplayID (that one you choosed in WMV, if not, set to 0). 20 : 0. 21 : Your texture name, in my case, it'll be admerin.blp Fill your DBC line with your items's DisplayID that you choosed for your NPC. Be careful, sometines the first digit is valid, sometines it's the second. Here's mine : Save it ! Upload it to your server, put it into your Patch ! But... Where in my patch ?! I assume you know how to create a MPQ patch. So, open your MPQ with MPQ Editor ! If they don't exist, create two folders at the root of the patch. Call them : DBFilesClient Textures You can put your two DBCs in DBFilesclient Now, go in Textures, create a folder called BakedNpcTextures and put your .blp in there. Your patch is ready. Last step ! Creature_model_info Serverside part ! In your world Database, find this table and open it ! Quick explanation... Oh no, copy/paste the content of an other line. EXCEPT ONE THING ! Your ID must be the same as the one in CreatureDisplayInfo, in my case : 70010. This digit is the DisplayID that you MUST use for your creature. Once your line is written and your NPC created... This tutorial is finished ! Don't hesitate to show your NPCs here ! Original Guide Credits - Oldaron @ Model-Changing