• Content Count

  • Joined

  • Last visited

Everything posted by Balkron

  1. What file format do you need? WMO/OBJ?
  2. There is no rule 'pay to be chosen'. This small group of testers was created by Skarn to imporve bug-finding process and make a little 'share' with the community. But Skarn also appreciates any help and donations, so it's better to write to him directly. @Skarn Discord: Skarn#6841
  3. Oh, sorry, my bad. This branch of WoW Blender Studio is still in development. It can be used by small amount of people in alpha-testing group. You need to wait until the WoW Studio will be finished, Skarn continued his work on the addon.
  4. You should fill this path. Then, you should type in the search (hit 'Space' in the viewport) 'Creature Editor': If your game path to the model is correct, there will be an option to choose texture from DBC.
  5. THE ADDON IS OUT OF DATE! THE UPDATE WILL COME ~ ON SUMMER Introduction Hello, Model Changing Network. In this tutorial I want to show you how to edit and create WMO models using Blender WMO addon. Actually, this addon is much more than a usual import/export Blender plugin. Besides core functionality of importing and saving edited WMOs, this addon is also a powerful editor supporting nearly all (you still cannot create working transport objects with it) features of World of Warcraft World Model Object (WMO) files. What is World Model Object? World Model Object or just a WMO is a special compound 3D structure used in the game World of Warcraft for making buildings, dungeons and other big complicated 3D objects. It does not only contain traditional 3D model parts as geometry, UV maps, materials and so on; but it does also support features like liquids, complex lighting system, portal culling system and much more. Donation The provided software is available completely free of charge, however, if you want to support the development, here is Skarn's PayPal account. He is also working on a similar Blender plugin for .M2 models. So, by helping him, you can speed up the development of two tools at once. Currently supported features: Geometry Materials Lightmaps Double-UVs Collision and more. Portals Liquids Lights Fogs Doodad Sets Various WMO settings Requirements Blender WMO addon WoW Model Viewer BLPConverter Part 1. Installing addon and configuring your Blender Download and install the latest Blender version (2.78c or newer). Download WMO addon and place it into addons folder inside of your Blender folder: blender\x.xx\scripts\addons\io_scene_wmo\ Download WoW Addon Pack which contains WoW Model Viewer and BLPConverter and place it into your WoW Tools folder: In this tutorial I will use this path: D:\Work\WoWTools\ Step 1. Enable the WMO addon Step 2. Fill your tools paths Always click on Save User Settings button after editing the addon preferences Now you are able to export and import .wmo models right from your Blender Part 2. Basics and peculiarities of WMO editing using Blender This addon is designed in quite a special way and it would probably be better to import some existing .WMO model from WoW to learn how to operate it because the WMO from WoW will be already configured correctly by itself. For this purpose, I am going to use a small human farm. In this tutorial I won't explain how to create models in Blender. I will just tell you how to make them work as a .wmo in the game. I will cover the unusual parts that are different from the normal Blender usage. Quick WMO Tab This tab is the easiest way to edit your model. There are few main sections: Display - used for displaying different object types on the scene Add to scene - used for adding different object types to the scene Game data - used for loading your WoW MPQ patches from your data folder (Part 1 Step 2) Selected - used for converting selected objects and materials Apply - used for applying different actions to objects Doodads - used for doing different actions with the doodads on the scene Material This addon uses his own special material properties called WoW Material which are bound to Blender material. There you can specify the texture you apply to the model by setting a path to it and a few other less important settings: Shader used for producing special WoW render effects Terrain Type used for producing footsteps sounds and footprints Blending used to control texture blending on rendering Texture 1 diffuse texture (object) Texture 2 environment texture (blending) Flags used for defining special render options for the texture Emissive Color the color of the object when no light falls on it Diffuse Color base color of the object Flags Unlit disable world lighting effect Unfogged disable world fog effect TwoSided render from both sides Exterior light ignore local WMO lighting, use world lighting instead NightGlow used for windows to glow at nighttime Window has no description yet, used for windows In order to assign the texture to the geometry you need to assign a usual (Blender) material to it Go to material properties, find a tab called WoW Material and specify the required settings there: When you assign and tweak all of them, the textures will be visible in-game Collision In order to create collision for a model you need to go to Quick WMO Tab and click on Quick Collision: That's all! One button click - pretty easy, isn't it? WMO groups World of Warcraft WMO supports two group types - indoor and outdoor. Outdoor is used for exterior objects and is influenced by the zone lighting. Indoor is used for interior models, interior parts of models. It is not getting influenced by the external light. If you are planning to use indoor groups in your scene you will have to create portals for them. I will explain how to make them later. For setting group types, select your objects and click to Convert selected --> To WMO group and also specify a type of the group: In the same preference tab you can also see various settings: Name - Object's name is saved into the files and is only used for development purposes, for example, when you inspect your model using a 010 editor. Please do not name as "Antiportal", an internally reserved name that actually makes sense for the game. Description - group description, which is also used only for development purposes. Name it whatever you want or leave blank. Place Type - select type for your group: indoor or outdoor. Flags - enable/disable different flags for your model. You can always see the description of each flag when you hover it: DBC GroupID - connected with AreaID for WMO. Used to detect indoor groups for example, so the server can dismount you when you enter them. LiquidType - fills this WMO group with selected liquid. Portals Portals are used to connect indoor groups to outdoor groups or other indoor groups. If the portal is not set but the indoor group is used, you will have the indoor group rendered only while standing in it, everything else will look like emptiness. A portal is a plane that, in most cases, contains only 4 vertices and one face. Portals are created as separate objects (you can see them in the outliner if you import some original WMO like I did with human farm). If the portal is bugged in-game: Step 1. Select your portals Step 2. Use Bake portal relations button Step 3. Use Set portal direction button with Auto option selected If it is still bugged, try one either Positive or Negative unless the portal starts working. If it does not help, make sure that relation baking algorithm has bound the correct WMO groups to the portal object. Creating custom portal geometry There is nothing complicated in making custom portal geometry. Though, remember that it should be precisely on the edges that connected groups share between each other. So, in order to create a correct plane for a custom portal select one of the groups. Simply select 4 corner vertices and press F. It will generate a plain between them. Then select this plane and press P. In the opened menu choose By selection. It will detach the plane to a separate an object, so that you can fill in the settings. If you move the portal from that point it will be bugged in-game on camera rotation. Be careful with that. Step 1. Convert your plane to WMO Portal: Step 2. Bake portal relations. Step 3. Set portal Auto direction if set otherwise. Done! Much easier than in previous addon version. Just make your plane and click on these 3 buttons. Easy peasy Vertex color You can paint vertex colors on WMO groups. It is used for lighting and coloring particular places of a group. For doing that switch to Vertex paint mode. You can learn vertex painting features by practice or by using some Blender tutorials or documentation. Don't forget to enable Vertex color flag in WoW WMO Group tab else the color won't be seen in game. The flag is forced on export for indoor groups, though. For filling, pick up a color and press Shift + K Better than Photoshop, right? Fog The fog effect mimics the scattering of light in a fog. Objects in the distance become less contrasting and acquire a fog color. In night scenes fog is usually dark, in daytime - whitish or slightly bluish, just like real fog. In Blender WoW Fog looks like transparent sphere. In order to add a fog, you just need to click on Add Fog button in Quick WMO Tab: Fog has some simple options to work with: Ignore Radius (probably) makes fog global Inner Radius a radius of fog starting to fade Farclip anything further away from the eye than the far clipping distance isn't displayed (it's too far away) Nearclip anything closer to the eye than the near clipping distance isn't displayed (it's too close) Color fog color Underwater farclip same as Farclip, but under the water Underwater nearclip same as Nearclip, but under the water Underwater Color fog color under the water One-button-action. Again?! Water Water - used to make WoW liquid in your model. In order to add water you need to click on Add Water button in Quick WMO tab: You can't scale water! Just edit your water size (subdivisions) in left bottom corner when you're creating it. WoW Liquid group has own options: LiquidType - type of liquid in WoW. There are lots of variants to work with: Color - water color WMO Group - parent group for this liquid. Use an eyedropper or type the WMO group name to select a parent object. Flags If you switch to vertex paint mode when the water plane is selected, you will be able to set flags to quads that control the rendering of the water. We do not yet know what most of them means, so if you figure that out, please tell Skarn, he will rename the buttons. There is an easy way to work with water. Just tweak your options to get a perfect result. Scale This function is used to add a visual placeholder for taking some information about your model proportion. Just click on the button: You can edit your Scale Type in the left bottom corner when you're creating it: Batch Types. Lightmaps. Blendmaps. Second UV Batches are groups of faces which are used to accelerate rendering. World of Warcraft WMO supports two batch types - Batch A and Batch B. Batches are usually used only for interior groups. Batch A is influenced by the outdoor (zone) lighting. Batch B is not getting influenced by the external light from outdoor groups. Lightmaps - used to accelerate light rendering. Normally used in Batches A in order to blend the geometry with world lighting. See the entrance of the human farm in order to see how it works. Blendmaps - used to accelerate texture blending. If your material is using one of the TwoLayer shaders, you enter a second environment texture path, which will blend with the diffuse texture according to lightmap values. SecondUV - used to define the UV map for double texture materials. Just create a new UVmap, edit it and bind to this property. Step 1. Enable Edit Mode Step 2. Assign faces to vertex group Step 3. Select your group in batch vertex group In order to work with Lightmaps: Step 1. Create vertex group, enable Weight Paint Mode and do your edits Step 2. Select your group in Lightmap vertex group Weight Paint palette: Weight = 1 - red color. Maximum effect Weight = 0 - blue color. Nothing happens. You can learn weight painting features by practice or by using some Blender tutorials or documentation. Blendmaps are painted by the same way. Just try it by yourself. Not so long for making your model looks realistic. Just keep improving your skills at it. Doodads and models importing This function is used to import WoW models (.M2 and .WMO) directly from WoW Model Viewer in a very fast way. Add WMO - used to import the last selected .WMO model from WoW Model Viewer. Imported model will be just a usual Blender object to be edited. Add M2 - used to import last selected .M2 model from WoW Model Viewer. This model is just a visual placeholder for real WoW model. Imported model will have the property WoW Doodad assigned. WoW Doodad has own options: Path - real WoW model path in your patch Color - Doodad color (overlayed effect) Accept Projected Texture - keep textures with enabled Projected Textures in WoW game options Adjust lighting - applying local doodad lighting For WoW Doodad you can edit only position, rotation and 3-axes scaling. You can't scale one or two axes. You won't probably be able to see the changes correctly in game in that case. Doodadset Doodad sets are used to group doodads on your scene into sets. The model can have multiple sets which can be chosen in the map editor to be displayed in one particular WMO instance. Normally they are used to create different furniture blocks to add some variations to the appearance of the model. See the human farm once again as an example. Another common usage is to create the normal set of furniture and the broken set of furniture, see Westfall packs of human buildings. There is always one global doodad set which is displayed along with the selected set. Global doodad set cannot be turned off, however, it may be empty. See the global doodad set in human farm once again - it contains a few crates, some barrels, and smoke coming from the chimney. Those doodads are displayed on all the sets available. If you do not create a global doodad set, empty one will be created on export automatically. In order to add doodads to the doodad set: Select them and click Add to doodadset, there you will be able to create a new doodad set, create a new global doodad set or add to existing doodad set. Choose whatever you need. Export There are some export settings to be observed when you are ready to see your awesome model in the game: Operator presets - allows you to store "favorite" export settings for WMOs. Export selected objects - makes the exporter export only selected objects on the scene. Fill texture paths - automatically fills empty WoW Material texture paths based on texture filenames. Does not change the properties, in contrast to the same operator from the Quick WMO panel. Part 3. Balkron's tips & tricks 1. The fastest way to add anything You can press Shift+A hotkey to add anything to your scene very fast: 2. Disabling black vertex color As you can see, sometimes when you import models, they are black as night. So you can disable this problem: just create new vertex color layer and fill it with white color by Shift+K hotkey: 3. Disabling doodads lines 4. My tips for viewport You can switch your Viewport Shading options: My tips: modeling - Solid + disabled Textured Solid Simplified white models without textures. Easy to work with. bug-finding - Texture That way I can easily find UV-bug or geometry-bug, because there is no shading, but it keeps the textures. overview - Solid + enabled Textured Solid + white vertex color layer It ts the best way to take a look at your model without distortions. difficult model parts - Wireframe Just enable and select what you want without clipping and camera moving. 5. Numpad buttons I'm always using numpad buttons to navigate my models: Num 1 - front view Num 3 - right side view Num 4/6 - horizontal rotation Num 2/8 - vertical rotation Num 5 - orthographic mode Num 7 - top view Num 9 - flip to top/bottom view 6. Hotkeys Always try to learn Blender hotkeys. They will speed-up your work significantly. 7. Other addons You can download other addons to improve your workflow. I recommend F2, Magic UV, Loop Tools and Quad Unwrap. 8. Customize it Always keep making your workflow to be better. Custom hotkeys, themes, tabs placement - just try to make Blender work with you in the fastest way. 9. First person navigation (from Gratural) One more trick - Fly mode. Perfect tool for overwiev and camera move across your WMO's. Hotkeys: Shift+F - enable mod WASD - moving Shift - moving acceleration Space - jump to target face G - enable gravity LMB/Enter - disable fly mode Scroll Up/ Scroll Down - increase/decrease speed 10. Balkron's gifts I decided to share my settings-files with you. There are custom settings, hotkeys and theme. I hope you will find it cool and helpful Settings startup.blend userpref.blend Setup: %AppData%\Roaming\Blender Foundation\Blender\x.xx\config Theme balkron.xml Setup: Blender\2.78\scripts\presets\interface_theme Thanks for reading! This tutorial is relevant to the recent version of WMO addon for Blender. If the addon gets updated, the tutorial will be updated too. startup.blend userpref.blend balkron.xml
  6. Version 1.0


    Supported Formats Windows x64 Windows x86 (32-bit) Mac OS X 10.6 (Lion)+ CS4 6.0 CS5 CS5 7.0 CS6 CS6 CS CC CC CS2 CC 2014 CC 2014 CS3 CS4 CS5 CS6 CC CC 2014 InstallationWindows Find your Photoshop Folder (x64) C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\ (x32) C:\Program Files\Adobe\Adobe Photoshop CS6\ From that folder, go to \Plug-ins\File Formats\ (create "File Formats" folder if it doesn't exist) Drop the appropriate plugin (x64 or x86) in that folder. Run Photoshop OS X Find your Photoshop Folder e.g. \Applications\Photoshop CS6\ From that folder, go to \Plug-ins\File Formats\ (create "File Formats" folder if it doesn't exist) Drop BLP.plugin in that folder Run Photoshop Supported VariantsIt was my goal to support every variant of the BLP format that Blizzard uses in WoW - for both opening and saving. The end result is a total of 11 different combinations of compression and transparency. Below is a listing of these.Alpha Bit DepthsThis is the amount of detail allowed in transparency of your image. 0-bit - No transparency at all 1-bit - simple transparency, similar to GIFs. It's either transparent or not. 4-bit - slightly better range of transparency, but will turn smooth fades into visible "steps" 8-bit - This is the same level of transparency you'll ordinarily see in PNG/TGA formats, with 256 levels of transparency. Compression Types Indexed (256 Color) - Very similar to a GIF, as it uses a palette that can fit up to 256 colors, but BLP files have indipendent transparency. Indexed BLPs can make use of all 4 types of alpha. DXT - This is the defacto compression type used in modern games, with the most popular format that uses this, being .dds. DXT compression gives you a better color range, with a slightly larger size, than indexed. It also supports all 4 levels of transparency. DXT-5 - Would normally be lumped in with the above category, however it's the second DXT type that supports 8-bit alpha. The result is a bit better color, and a slightly larger file size than the 8-bit alpha under the DXT category. Uncompressed - Very much like a Bitmap, with no compression to speak of. It can support either 0-bit or 8-bit alpha. This version is only used by Blizzard for sky textures, where every bit of color detail is necessary.
  7. It's export extension plugin. If you want to export your file as .blp (instead of png or tga, for example) you need to choose BLP option in the export filetype list.
  8. Version 2.0


    All the patches will be done as non-encrypted soon! This file contains HD characters and NPC models and textures for WotLK. The archive contains 4 patches: patch-w.mpq contains: NPC models Animations BakedNPCTextures patch-x.mpq contains: Character models Animations patch-enUS-w.mpq and patch-enUS-x.mpq contain: DBCs If you have questions/requests feel free to ask it in the comments or by PM, I will answer it as soon as possible. P.S. The previous versions of files by @Roarl were deleted, because of the wrong and non-existed links. All thanks should be given to him.
  9. Client-server architecture As we all know, World of Warcraft is an online game(!). A fully-fledged multiplayer process requires a connection between the client (the game executable on a player's computer) and the server, which manages player interaction and the content not located client-side. The diagram below presents an abstract overview of the game's client-server architecture. Each of the elements presented is, to various extents, a potential subject for your modifications. Do not worry if you find yourself confused by some of these definitions - each will receive a detailed explanation in the upcoming tutorials. The MPQ Files All WoW client data is stored in MPQ files. You can find them in the folder: your_wow_folder/Data/ And also in the local subfolder. This folder is named with your language code. It can be named as enUS, enGB, ruRU, frFR etc. MPQ files are archives like ZIP or RAR. They contain all the files the game needs e.g. models, maps, textures etc. Blizzard uses several own filetypes where you need special applications to edit them. But also mp3 or simple text files for Lua and XML code. In the following I will explain some files you will find in the MPQs. To mod WoW you have to extract the files, edit them and pack them again in MPQ patch, so the client will load them. In the next tutorials we will show you how it works. Common WoW File Types Below you can see short description of WoW File types. We will describe them individually in the next part of the turorial. BLP - Blizzard Picture Blizzard's own image format. You can find textures, maps and interface elements with this type DBC - DataBase Client DBCs store the data for the client. This is a table of values that contains data about particular area of the game client. E.g. what maps you have, how spells should work and much more LUA - script files in the Lua programming language These files define the actions for the interface. For example what happens if you click the Login button XML - files in the XML (Extensible Markup Language) These files define the look of the interface. It places images, models and UI elements M2 These models are used for doodads (decoration objects), players, monsters and really everything in the game except for Terrain and WMOs SKIN Contains the information about different levels of detail and geosets for M2s WMO - World Models Models like houses, bridges or even full cities and dungeons like Stormwind or Deathmine ADT Contain terrain and object information for map tiles WDT - map definition file It defines what ADTs on the map exist or the map is built only out of one WMO like instances WDL Low-res heightmap of all ADTs of the map. This file is used to display far away mountains. Wav/mp3 Sound files for music and effects
  10. Version 1.1


    This template allows you to create World of Wacraft-styled Blizzlike world maps. Video tutorial coming soon! P.S. Since video isn't done yet, I recommend paying attention to Skarn's (out-of-date, but still) world map tutorial to learn how to use it.
  11. 1. BLP Lab Very buggy variant for you, but there is a possibility for a batch conversion 2. Photoshop BLP plugin There were no bugs for me, stable thing. If you know how to handle photoshop actions, you can also do batch conversion there. P.S. There is also WIP converter from Skarn and Cromon, but this one is not finished yet.
  12. @yopel2 Your screenshots are broken, please, reupload them. Btw, we need to know how exactly you trying to convert your models into wow file formats.
  13. Testing your work without MPQs This tutorial explains how to test your edits without repacking the MPQ every time you change something. At the end of the tutorial your WoW client will be reading directly from its folder to save your time. Installation: Download the patched Wow.exe and replace the original one with it. Recommended to make a backup of an original one Create a folder named Patch-X.MPQ (any letter or number instead of X) and put your edited files in there. WoW client reads patches in alphabetical order. First is reading of numeric patches (from 1 to 9), then reading of letter patches (from A to Z) Since in 3.3.5a there are already patches from 1 to 3 you can name your patch as patch-4.mpq or patch-5.mpq etc. The count of available patch names is limited by unused numbers and letters Now your client can read directly from that folder, so you don’t have to create patches. Though, there are ways to make your work more convinient in Noggit too. Find a string called Project Path and fill its value with a path to your patch-folder. An example: C:/Work/World of Warcraft/patch-4.mpq Once done your Noggit will save files directly to this folder. You can run both Noggit and game client at the same time. In order to see the changes you saved, you will need to reload the map in game. You need to teleport to a different zone and back. Type these commands in your chat window (you can also create a macro for that): .tele gmisland (teleports you to GM Island zone) .recall (teleports you back to your initial teleport location) Make sure not to save anything in Noggit while the client is loading a map and vice versa. It can be dangerous for your files Advanced. Patching your own .exe and understanding how it works You may want to do a similar hack to your own WoW.exe because it can be modified with something else. Here we will explain the way to do it. Credits for the .exe patch go to schlumpf and Mjollna. Start Sweetscape 010 Editor and open your WoW.exe in it Edit > Search Turn on Use wildcards, set the seach type to Hex bytes and search the following pattern: E8 ?? ?? ?? ?? 6A 00 E8 ?? ?? ?? ?? 6A 02 Replace the beginning of the pattern with (for any version of WoW): 90 90 90 90 90 6A FF or the entire string for WoW 3.3.5a with: 90 90 90 90 90 6A FF E8 2A EC 01 00 6A 02
  14. "Отказано в доступе" - означает, что блендер запускается не от имени администратора. Иными словами - недостаток пермиссий для программы. Да, помимо этого способа есть импорт вмо и м2 через WMV (WoW Model Viewer). Shift+A > WoW > WMO
  15. Balkron

    help Error Crash

    99% sure there is a bad converted or exported model. Make sure your WMOs and M2s do not crash your client and Noggit. Also you don't need to paste all of your crash log, it's pretty useless for us. The whole error message is just: ERROR #132 (0x85100084) Fatal Exception Program: C:\ProjectFolder\Client335aNoggit\Wow.exe Exception: 0xC0000005 (ACCESS_VIOLATION) at 0023:007B31F8 The instruction at "0x007B31F8" referenced memory at "0x00000010". The memory could not be "read".
  16. Тестирование вашей работы без MPQ-патчей В этой части урока объясняется, как протестировать свои изменения без создания MPQ всякий раз, когда вы что-то меняете. Результатом данного руководства будет возможность вашего клиента производить чтение патча непосредственно из папки, для экономии вашего времени. Установка: Загрузите модифицированный файл Wow.exe и замените им оригинальный Рекомендуется сделать резервную копию оригинального файла Создайте папку с именем «Patch-X.MPQ» и поместите туда свои отредактированные файлы. Почему X? Дело в том, что клиент WoW'a устроен так, что осуществляет чтение патчей в алфавитном порядке. Сначала происходит чтение числовых патчей (от 1 до 9), далее читаются буквенные наименования патчей (от A до Z) Так как существующая структура игры (рассматривается версия 3.3.5) уже имеет патчи с первого по третий, вы можете назвать свою папку patch-4.MPQ или patch-5.MPQ и так далее. Количество патчей ограничено лишь количеством незанятых цифр и букв латинского алфавита Теперь ваш клиент может читать файлы прямо из этой папки, и теперь вам не нужно создавать патчи. Помимо этого, есть возможность упростить свою работу и для Noggit'a. В настройках Noggit (вкладка Noggit > Settings) найдите параметр Project Path и вставьте путь к вашей папке-патчу. Пример: C:/Work/World of Warcraft/patch-4.mpq После того, как Noggit сохранит файлы непосредственно в этой папке, вы можете запускать одновременно и Noggit, и игровой клиент. Чтобы сразу увидеть изменения, которые вы сохранили, вам нужно будет перезагрузить карту в игре посредством телепортации в другую зону и обратно. Телепортация осуществляется с помощью ввода команд в окно чата: .tele gmisland (телепортирует вас на ГМ Остров) .recall (возвращает вас в предыдущую локацию, из которой вы совершили телепорт) Не сохраняйте ничего в Noggit'e, пока клиент загружает карту и наоборот: это может повредить ваши файлы
  17. @Anomaex Загрузил файл (выделен в тексте зелёным)
  18. WMO in WoW always contain few files (as many as group quantity in WMO). That means you should to put all of wmo group files to import: wmo_name.wmo wmo_name_000.wmo wmo_name_001.wmo wmo_name_002.wmo etc.
  19. Version 1.0


  20. This tutorial is out of date. You can watch this video to know how to manipulate with the layers: This tutorial is for subozone map, but overall concept is the same. Tutorial for World Map will be recorded later.
  21. Version 0.21a


    Description coming soon...
  22. Which one of the patches did you used?
  23. Thank you for the info. Afaik, all Legion IDs are known since Blizzard leaked all of them with the Classic patch.
  24. Yeah, skel file format is already supported ? We just need to wait and help to Skarn as much as we can. Presumably release coming on winter.