STEAM-GRUPPE
Blender Source Tools BleST
STEAM-GRUPPE
Blender Source Tools BleST
139
I SPIL
702
ONLINE
Grundlagt:
8. november 2013
Alle diskussioner > Bug Reports > Trådoplysninger
Banan 21. feb. 2017 kl. 5:42
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.
Sidst redigeret af Banan; 21. feb. 2017 kl. 5:45
< >
Viser 1-15 af 23 kommentarer
Pte Jack 21. feb. 2017 kl. 5:53 
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 kl. 6:02 
Goldsrc game. I added screen of configuration to previous link.
Pte Jack 21. feb. 2017 kl. 6:40 
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 kl. 6:58 
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 kl. 7:19 
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 kl. 7:35 
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 kl. 7:52 
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.
Sidst redigeret af Banan; 21. feb. 2017 kl. 7:53
Pte Jack 21. feb. 2017 kl. 7:57 
What is the new error?
Pte Jack 21. feb. 2017 kl. 8:02 
Umm, that's the same error you originally posted.
Banan 21. feb. 2017 kl. 8:06 
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.
Sidst redigeret af Banan; 21. feb. 2017 kl. 8:13
Pte Jack 21. feb. 2017 kl. 8:11 
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.
Sidst redigeret af Pte Jack; 21. feb. 2017 kl. 8:12
Banan 21. feb. 2017 kl. 8:16 
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?
Sidst redigeret af Banan; 21. feb. 2017 kl. 8:21
Pte Jack 21. feb. 2017 kl. 8:23 
Give another couple of minute and I'll link you to a video
Pte Jack 21. feb. 2017 kl. 8:24 
Here you go, sorry, no audio, this is just a training aid for you.

https://youtu.be/gfAiIqVQ_ns
< >
Viser 1-15 af 23 kommentarer
Per side: 1530 50

Alle diskussioner > Bug Reports > Trådoplysninger