STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
256
IN-GAME
1,753
ONLINE
Founded
8 November, 2013
All Discussions > Bug Reports > Topic Details
Banan 21 Feb, 2017 @ 5:42am
Cannot export to SMD GoldSrc, Traceback Error
Reseting settings multiple times and still doesn't work. Source export works fine. Clicking on "Launch HLMV" gives similar error.

http://imgur.com/a/7PSV3

My export settings may not be correct, I coulnd't find any help about GoldSrc export though.
Last edited by Banan; 21 Feb, 2017 @ 5:45am
< >
Showing 1-15 of 23 comments
Pte Jack 21 Feb, 2017 @ 5:53am 
What purpose are you exporting for? A model to go back into a goldsrc game, trying to put it into Garry's Mod or trying to put it into SFM? Which version of StudioMDL do you plan to use to compile. A screen shot of your BleST setup might help.
Banan 21 Feb, 2017 @ 6:02am 
Goldsrc game. I added screen of configuration to previous link.
Pte Jack 21 Feb, 2017 @ 6:40am 
I'm only guessing on this one because the last time I tried anything for Goldsrc is when I miserably failed trying to create a tfc character the first time i thought I'd try.

But, from this it looks like you've made a crate or some sort of box model and you want to put it into the Sven goldsrc engine. Looking at the setup that looks correct, you're pointing to creating a goldsrc model and the engine path points to the sven engine studiomdl.

So looking at the error it's failing on line 1109 (writing a SMD bone) and the weight info is throwing the error, so I have to ask, is the model weighted properly to the armature?

Again, I'm only guessing here and trying to help.
Banan 21 Feb, 2017 @ 6:58am 
Thank you for response.
Is armature required for static props? I have no amarture attached to model. Unfortunately I don't know yet how to add any.
Pte Jack 21 Feb, 2017 @ 7:19am 
Ok, throwing things together quickly here, I created a cube, gave it a material, did not give it an armature, set up BleST to export a Goldsrc model and pointed to the sven studiomdl then attempted an export. I get the exact same error you did.

http://i.imgur.com/YuZ3Yv4.png
Pte Jack 21 Feb, 2017 @ 7:35am 
And now after adding a bone and assigning the mesh to the bone (weight painting), I tried the export and got the SMD. So yeah, I think you need a bone, even for a static prop.

http://i.imgur.com/iCHHsvF.png

To add a bone, Go to object mode, press Shift=A, Select Armature and the Single Bone.

To Postion the bone (if you have to), Take the bone into edit mode and move it where you want it. The BIG end (the head) is where the object is going to pivot in poses and is the point that will be the base for the object.

To weight paint it quickly, Select the Mesh object, Goto the Object Data panel, (the one that looks like a Triangle in the properties panel) Add a vertex Group and name it exactly the same name as the bone. (Including Case). Take the object into edit mode and select the vertexes you want to assign to that bone and press assign.

Once that is done, try to export your object again. I think you'll find it successful.
Banan 21 Feb, 2017 @ 7:52am 
Should I group them or create blank animation? Because it's still not working.
Edit: Oh I got smd, there is a new error but I got the model.
Last edited by Banan; 21 Feb, 2017 @ 7:53am
Pte Jack 21 Feb, 2017 @ 7:57am 
What is the new error?
Pte Jack 21 Feb, 2017 @ 8:02am 
Umm, that's the same error you originally posted.
Banan 21 Feb, 2017 @ 8:06am 
Oh.. There must be something wrong then. I did everything you posted. I'll try again.
Edit: added bone, added vertex group, named it as the bone and exported. The smd is generated, this time is 0kb file so I guess it's wrong.
Last edited by Banan; 21 Feb, 2017 @ 8:13am
Pte Jack 21 Feb, 2017 @ 8:11am 
Nope, I'm an idiot, I forgot a step in that process.

After assigning the mesh to the bone, Add an Armature modifier and point it at the Armature.

If you didn't do that, yeah, everything is set up, but the model doesn't know what bone to use.

It will throw the same error.
Last edited by Pte Jack; 21 Feb, 2017 @ 8:12am
Banan 21 Feb, 2017 @ 8:16am 
Tried, still the same error. Any specific settings for this modifier? And hiow exactly can I assign mesh to the bone? Normally by parenting them?
Last edited by Banan; 21 Feb, 2017 @ 8:21am
Pte Jack 21 Feb, 2017 @ 8:23am 
Give another couple of minute and I'll link you to a video
Pte Jack 21 Feb, 2017 @ 8:24am 
Here you go, sorry, no audio, this is just a training aid for you.

https://youtu.be/gfAiIqVQ_ns
< >
Showing 1-15 of 23 comments
Per page: 1530 50

All Discussions > Bug Reports > Topic Details