Met@

Members
  • Content Count

    88
  • Joined

  • Last visited

Everything posted by Met@

  1. Almost exactly like you Just for fun, because I like pixel art And another I like
  2. Hi guys, someone asked how to import models from HotS to blender, but this 3D software doesn't have a lot of plugins to do it. I'll share with you my researches and how I personally do it for me. Tools CascViewBlenderAddons for Blender (links in the section dedicated to this program)Heroes of the Storm game folder3DSmax 2012 and up (for the second technique)(if you take a lower version, you'll need an older plugin)This addon for 3DSmaxExtract models from the game First, you need to have the game installed. Open the Casc Viewer, click onGame Storage, and select your game folder. Now, explore the folders and choose the model that you want. In my case I'll take Uther. Now, right-click (or F5) on it to extract the model. Choose your folder and save it. Direct to Blender I've searched on the web after some plugins for Blender, but have not managed to make them work. Some are too old, others not compatibles, etc... The new M3 file format from HotS is a little bit different of M3 files from StarCraft, so SC modders are using a converter to make the models compatible with their tools..Heroes M3 To Sc2 M3 Converter Here's some M3 blender plugins, maybe you'll have more chance than me to make them work :This one is 5 years old, so I think it can possibly work with older versions of Blender.This second seems more complete and more up to date.This last is normally compatible with the 2.71 version.Sadly, no one was working for me (and I don't have time to test all blender versions with all plugins), so I've chosen the second solution. To Blender with 3DSmax 3DSmax part I don't really like this program for now, I have not taken the time to understand all the tools, but I can use it for simple things. So first, open 3DSmax. Click on the MAXScript pannel and choose Run Script. In the new window, you'll see the scripts that you can run. You can just drag and drop the M3 addon in this folder, or add it manually in your program folder (in my case " C:\Program Files\Autodesk\3ds Max 2013\scripts " ). And open it. Go to the right side of your screen, in the tools section. Switch to Utilities and click on MAXScript. Scroll down to see the new pannel called TM's M3 Import (v2.1) and choose Select file. Choose your file and open it. Once your file is selected, check what you want to keep in the model (bones, animations, etc...) and import it. Now you have your model. You can export it in *.obj file, click on the Autodesk logo and choose export. Choose a name and the file format to open in Blender later. Blender part Now launch Blender, go to import option and open your file. And here it is ! In my case, I have a blue pill (hitbox). Your *.obj will be like a *.fbx, it will keep all the informations like materials, bones, and animations. Just keep and remove what you want. And voilà. After that you can work on the modell as you wish. Let's paint Uther with abdalrahman9's technique. (all the red is the material color, not the weight paint) And I rework the face to fit well with the human model. I hope it was helpful, and good luck.
  3. Hi bnet-dev ! I'm happy to share with you my knowledges about custom wmo's. After months of research and work, I've decided to make a tutorial for those who want to make their own wmo's. Special thanks to stan84, Supora, Waveworms (from Modcraft) and other peoples who helped me. Tools Used Summary Blender (you can use another 3D program)Notepad++010 editor010 editor templatesMODRChunk fileBLPconverterMirrorMachineMPQ editorWMO editor 1] Build the model before conversion2] Conversion of *.obj to *.wmo3] Add some doodads with WMOeditor4] Add a doodadset5] Additional informations2) Collisions3) Adding lights4) Coming soon and WIP...1) Use textures with transparency 1]Build the model before conversion To begin, you should know what you want to do. Do some research to find references that will help you give more "credibility" to your building. If you work in a particular architectural style, do not hesitate to find your inspiration from photography, if you are not in a specific style look anyway how Blizzard constructed houses, castles, and other buildings, so your model fits well and is coherent with its environment. The style of Blizzard is particular with its distortions and its side a little "used". I will not teach you how to make 3D models (I'm not a professional) but I will give you some tips to make it a little bit "optimized" for WoW. Here I am working on new models of houses for Kul Tiras. The island is in a Mediterranean / Tuscany theme, I did some research to see how the houses are built in these regions. To be sure that your home is at the right scale, you can use (and it is even advisable) the human model humanmalescale.m2 (because it is the "basic" scale in WoW), but open it large enough for passing a Tauren because it must be accessible to all races (a Tauren can enter in a human house without much problem because of its wide input) . The goal is that the player's camera could pass without taking the door jamb in the head. Don't forget to delete useless faces. For your model is well composed, it takes several geosets, the number varies depending on the number of "large parts" (as the capitals for example, who have a lot, by districts, house interiors, etc ...). For mine, I based on basic models of human houses, so it will be two geosets: inside and outside. For the instance of Gnomeregan the model has 73 geosets, because it's a big model. Each rooms and tunnels are geosets, sometimes divided into several parts. This palace (from Phantomx) has 63727 polygons and 58997 faces, it's a really huge model ingame, but it has only 24 geosets. In fact, the number of geosets really depends on how you organize your model, you can't have a wmo with only one geoset if it's a big piece because MirrorMachine can't convert it, you must divide it. To have a better render with light and shadows, remember to apply the smooth shading on the concerned parts (mainly for use on curved surfaces, straight walls don't necessarily need it). 2]Conversion of *.obj to *.wmo We will go to the conversion of the model. First, save it in .obj with the correct options as below. Once done, you have two files: your model in .obj and a .mtl file with informations about materials and textures. Open the .mtl file with your notepad, you will see the names of materials and patchs of the textures used. Simply change for that of .blp's in the mpq patch. Do it for each texture. (Insert the extension .blp instead of .jpg or .png it's not really important because the converter will add it automatically) When finished, save and close the .mtl and open MirrorMachine to convert your .obj in .wmo . Select "OBJ File " instead of "WMO v14 ", "Open File " to select and open your model, "Settings " to check that your options are much like on this screenshot. Click "Start Convertion", if your model is well built, it should work without problems. After conversion, you must have your wmo + his group files (the 00 .wmo) corresponding to geosets, so I have two in my case. To verify that the paths of the textures are good, open your wmo main file in 010 editor with wmo template. Here you can see that's good. Once everything is checked, you just have to put it in a patch and test it. Here is the result with a basic human house next for comparison. 3]Add some doodads with WMOeditor A house that's fine, but without furniture it's a little empty. We are going to fill it with WMOeditor and 010 editor. This time, open the group file in which you want to add doodads. Do CTRL+F to open the search window. In Type you must have "ASCII String (a)" and write "NBOM" in Value, then click on Find All. You will have a line including what you want that appears in the lower part of the window. Now do CTRL + I to open an insert window and look for the file containing the chunk for upgrading your sub -parts of wmo. If you compare with your original line and it has changed, then it is good. Save it. Repeat for each subpart involved in your wmo. Time to get serious and open WMO editor . At first it can be a little confusing to use because it displays models with a mirror effect. So once your wmo is opened, go to Root File to find the geosets that compose it. Click Edit to see their options, check "Has Doodads". Close the window and repeat on the other remaining. We can finally start placing those famous doodads. Now go to Doodad, in the bottom box is the doodadset that indicates how many m2 it has in total. Most houses have several doodadsets, but I have not figured out how to add a second, I'm working on it. Click on the [...] to open a window with a list of m2 similar to WoW Model Viewer. Once your selected an object, double-click on it, the window will then leave and you can place it in your wmo. Please note that the window does not close so far, it just comes up behind the first one. To navigate through the window of your building, the controls are the same as Noggit. Once you have decided where you want to place your object, place your cursor there and made CTRL + V to paste it. Here are the commands that allow you to move your objects as you like. Once you're done, save your work in File>Save. Your wmo completed will be saved in the WMO editor folder, in world. You just have to go in game to see the result. Congratulations, you are with a furnished house! 4]Add a doodadset 4) When you are finished with first doodadset you can add another one. For this you need only to edit the root_wmo file. So agan load it in 010 Editor. Go to MOHD and change the nSets to "2". Then ctrl+F NDOM and insert "this" just like we did earlier. But now it's time for some differences: when we added a new row for MODS chunk we need to change the name of our second doodadset like this: Then you need to change the index of first doodad used in this set to summ number of doodads used in previous sets(if you already have 2 doodadsets and wanted to add third you set this value to number of doodasds in first set + number of doodads in second. etc etc). In my case I've added only second set when first have only 9 doodads used. So I've change the "first doodad index(FDI)" to "9": That's it. You can save the file. Pack to mpq and load in WMOEditor. 5]Additional Informations 1) Use textures with transparency In your buildings, you may be asked to use textures with transparency as a grid for example. On blender, you can see the transparency with the rendered mode or other stuff like that, and the material clearly indicates that there is transparency. In game you will have opaque texture like all other. To set the transparency, we have to open the wmo in 010 editor and look in the MOMT chunk. In it, find your texture, at the line " UINT32 blendMode " you will see that the value is 0, it corresponds to the opaque mode, just put 1 in place in order to transparent mode. It's as simple as that. Save everything and voila. 2) Collisions Normally Mirror Machine manages well enough collisions each surface must have. If some places are little bullshit on collisions or you want to make collisions as Blizzard putting invisible walls to avoid falling into a ditch, or just block passages, well I'll tell you how. Here is an example of collisions that Blizzard has done in Gnomeregan, most of the time there are "boxes" goshawks some pipes or rounded elements such as barrels and also invisible walls to avoid falling in some holes. Collisions are in fact a double of the model but with the same number or sometimes fewer polygons and fully transparent. To do the same, you just have to use an invisible texture on your geoset. 3) Adding lights a) Manually with hex editor. You can look at the video made by PhilipTNG, it's pretty well explained. http://modcraft.superparanoid.de/viewtopic.php?f=20&t=927 Maybe later I'll add this part in text with images. 4) Coming soon and WIP... I wanted to wait a bit to publish my tutorial and put in more informations, but they need intensive work and research, so I'll put it later by updating this tutorial. What I want to show you: add music in the wmoadd footstep noises on the floor (wood, metal,...)add more lights (glowing windows,...)add liquids (water, lava, ...)And here are some WIP screens: I hope this has been helpful. Enjoy. (ps: sorry for my bad english if there are strange sentences)