Titan Quest Fans Forum

Titan Quest - Anniversary Edition => Modifications => Installation and Tools => Topic started by: vim on 17 November 2019, 21:22:14

Title: [Tool] Titan Quest addon for Blender 2.8
Post by: vim on 17 November 2019, 21:22:14
Trying to learn blender and python programming so here is my first steps on a Blender addon for Titan Quest. So far it can import some meshes (.msh) from the game and sometimes it even manage to export them again  ::). If you use blender and have any suggestions of what to add next for TQ modding let me know.

If you test it be aware i'm a Blender noob so best to unload the plugin when you are not using it so it does not mess up any other things for you  :).
 

Title: Re: [Tool] Titan Quest addon for Blender 2.8
Post by: sunnysideup886089 on 18 November 2019, 05:22:17
cool
Title: Re: [Tool] Titan Quest addon for Blender 2.8
Post by: nargil66 on 18 November 2019, 13:51:19
Thank you for this. I'm also a noob in Blender (i use it only for re-sculpting) but the program is great. I'll test the addon and give you some impressions.
Title: Re: [Tool] Titan Quest addon for Blender 2.8
Post by: WNG on 18 November 2019, 13:55:13
I can't enable it, it returns an error.

(https://i.imgur.com/J8k2S6U.png)
Title: Re: [Tool] Titan Quest addon for Blender 2.8
Post by: vim on 18 November 2019, 14:44:17
I can't enable it, it returns an error.

It looks like you use 2.79. You need to upgrade to 2.80 to try the add-on as many things have change since the last version.
Title: Re: [Tool] Titan Quest addon for Blender 2.8
Post by: nargil66 on 18 November 2019, 14:56:56
It worked for me. Do you plan to add support for bones/animations in the future? That would be great.
Title: Re: [Tool] Titan Quest addon for Blender 2.8
Post by: vim on 18 November 2019, 19:56:28
It worked for me. Do you plan to add support for bones/animations in the future? That would be great.

Yes there will be bones and animation support. Aim to support all the max plugin does.
Title: Re: [Tool] Titan Quest addon for Blender 2.8
Post by: WNG on 19 November 2019, 14:41:27
Alright, after I updated, I could enable the add-on. Then I tried some .msh files only to find out that I get another error now.

Here's what the console returns :

(https://i.imgur.com/YcM7SzU.png)

Edit : Nevermind, the access path was the issue. kill me pls
Title: Re: [Tool] Titan Quest addon for Blender 2.8
Post by: WNG on 22 November 2019, 22:19:25
Now I'm at the step of exporting a mesh and I get an error (which probably is reponsible for another error when I create the asset in the AM.)

(https://i.imgur.com/FnlO0xg.png)

Title: Re: [Tool] Titan Quest addon for Blender 2.8
Post by: vim on 23 November 2019, 16:50:24
To export something one object need to be selected in blender. I add some code to check so it does not crash if nothing is selected :).
Title: Re: [Tool] Titan Quest addon for Blender 2.8
Post by: Medea Fleecestealer on 23 November 2019, 17:44:28
Thanks vim.  :)  Nice to have you here btw. 
Title: Re: [Tool] Titan Quest addon for Blender 2.8
Post by: WNG on 25 November 2019, 00:47:40
Okay... slowly but steadily I'm getting there. Now I have an error when I export it to a .msh, however building it in the ArtManager doesn't return a warning anymore. In-game, it appears invisible, so it has to do with the textures or the UVs, I don't know.

(https://i.imgur.com/BAZ5MLa.png)
Title: Re: [Tool] Titan Quest addon for Blender 2.8
Post by: vim on 25 November 2019, 19:57:23
New version now, use the same link to get version 1.2. Next up i will do the import of the bones and hitboxes after that improve the exporter.



Okay... slowly but steadily I'm getting there. Now I have an error when I export it to a .msh, however building it in the ArtManager doesn't return a warning anymore. In-game, it appears invisible, so it has to do with the textures or the UVs, I don't know.

Think you have a unsupported shader. Most often from importing an existing mesh and exportingit again. I modifed the export code a bit to see if it works. I'll add more shaders when doing the export next.
Title: Re: [Tool] Titan Quest addon for Blender 2.8
Post by: WNG on 29 November 2019, 02:26:49
Now, I updated and found the menu and gave a proper mesh (standardskinned IIRC), then exported it, built its asset in the AM, but it stills appear invisible in-game. Now I tried to see if I could open it with MeshViewer, but get this error :

(https://i.imgur.com/oaZBKW9.png)

Now I don't see what I could be doing wrong...
SimplePortal 2.3.7 © 2008-2024, SimplePortal