NvC-DmN-CH / AutoMDL

Blender plugin allowing to pretend that the source engine reads .blend files
18 stars 2 forks source link

Requires Blender 4

Installation:

In this page:

In Blender:


Fast iteration thanks to Hammer++'s hotloading ability:


Simplify workflow, as if the engine reads .blend files:

All the setup needed is that the .blend needs to be inside a models folder, or any subdirectory inside it!

compiling_showcase


Where the addon appears:

The AutoMDL tab will appear in the Sidebar (press N)


How to use:

e


By default, the materials search path mirrors the blend path:

Shows exactly where the VMTs are expected to be:

image

(In this case, there is 1 material called metal)



You can also define a different search path if needed (or multiple search paths):

image


You can compile without a collision model. If you choose a mesh for it, collision specific options appear:

image

Some details: Automatically detects whether the collision should be $concave or not, and counts loose parts to set the correct amount of $maxconvexpieces

Misc:


Todo:

This is my first addon and my first time coding in python so the code is so so bad

But if you have a suggestion or a bug, do make an issue


Note

Hopefully this addon inspires change in other more sophisticated tools to do things in a similar way