DigitalEro Offline

Blender users ?

Wed, 30 Jan 2013 15:17:28

byzboo

is any of you using blender to build/port models/props to source ? I used blender a looong time ago and got back to it when I found there was a proper import/export plugin but there are some features like flex properties which I cannot figure out how to properly do :/ Right now I figured most of what I need except this.
Wed, 30 Jan 2013 16:41:45

Dr.Bigbob

I use blender and I can probably help you. You can create flexes with shapekeys, just look around on youtube there are many tutorials about this. This shapekeys in blender will be your flexes in source, they will be automatically exported with the plugin as a .vta file. Then you just have to write a .qc file, compile it and your model is done. This is just a simple instruction, if you need help or more information you can send me a PM.
Sat, 09 Feb 2013 13:24:13

douji

I don't mean to hijack this thread, but would someone kindly write a tutorial for blender to source? I've looked around and I've found the export plugin, but I don't know what to do with the files and how to properly compile them.
Mon, 18 Feb 2013 19:18:39

PotatoCator

Download the SMD Tools zip. In Blender goto User Preferences -> Addons and click the Install Addon.. button Select the .zip file. This will install the addon. All you've gotta do is enable it. Then it's properties will appear in the Properties window on the Scene tab at the bottom. For flex export you simply create a bunch of shapekeys and then it will automatically export both an .smd and .vta or just .dmx depending on what you're exporting as.
Mon, 18 Feb 2013 19:37:07

FigureSculptor

Is there any way to preserve the textures on import? When I use the SMD import, everything is great except the textures all get lost. It's only a minor pain having to re-link them, but if I could avoid it, I'd be happy.
Mon, 18 Feb 2013 19:42:22

PotatoCator

Make sure the model has the name of the VMT it will load in the end. Like 'citizen_sheet' for example. Then in the QC file make sure $cdmaterials browses will make the model look in the right material directory for the game. The texture itself you'll have to convert to a VTF using VTFEdit and then you'll also have to create a VMT for it. Most plugins don't automatically export your images with them as far as I know. It would make them rather bloated anyway. :)
Fri, 22 Feb 2013 07:33:50

douji

Thanks for the help Potato, but I'm having trouble the export tools I think. Or compiling it with a QC file atm. I knew about the smd tools, but whenever I tried to export, it always failed.
Fri, 22 Feb 2013 11:44:49

PotatoCator

What does it say in console? Also make sure you've got the latest version. Current version is 1.6.3 which is for 2.65 if I'm correct. His SVN trunk contains the latest version though for 2.66.