STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
272
IN-GAME
1,705
ONLINE
Founded
8 November, 2013
All Discussions > Bug Reports > Topic Details
Zappy 3 Mar, 2014 @ 3:48am
[FIXED] Certain Scene Exports semi-don't export vertex groups
Note: This MIGHT only affect DMX exports, I haven't tested SMD exports like this (since DMX is a much better format in my opinion).

I have a Blender session where I took the hard-ware morph Scout from sourcesdk_content/tf/modelsrc/scout/scout_morphs_high.dmx, and over-bodygrouped him.
Then I assigned all objects into groups (most objects came into several groups, to allow me to just "Scene Export" different toggles of bodygroups), and hit "Export" > "Scene Export".
A while later, "32 files exported in 6.5 seconds" (which matches the fact there are 32 groups of objects, so it exported the right amount).
Then I compiled the model (to the FilmMaker's "usermod" folder's models and so on), and checked it in the Model Viewer.
Most things/bodygroups are rotated down into the ground and pointing away to the left[sta.sh] of the model ("$upaxis y" was used for the model, and the objects were exported with Y as up axis).
Different toggles of the bodygroups are randomly either working or down in the ground.
I checked some sequences, producing the same result[sta.sh]. (Added in a fade tint of the bones there, to show the bones are "working".)
According to the bone list, there are bones for the in-Blender/in-DMX object names[sta.sh] for the meshes that rotate derpfully, and those bones are located at 0,0,0, even though I didn't make those bones in Blender.
So I went to check the actual .dmx exports in Blender. The bones are there, but... posing them in Pose Mode does nothing to the actual mesh, and according to the "Object" tab in Blender, the meshes that don't work have no vertex groups at all, even though they work just fine in the Blender session I exported from.
A work-around seems to be exporting all files one by one, but with 32 files, and most of them not working... After counting the derped bodygroups, it seems that 16 work, and 16 don't. 16, the special hexadecimal F number (as in 0-F, not buck). Can Blender only export 16 files correctly at a time?

Using version 2.0.1 of the Source Tools in Blender 2.69 on a 64-Bit Windows 7 laptop.
And before you ask, I will not upload the .blend session, since it contains some custom things I don't want to give out. Sorry.
Last edited by Zappy; 5 Mar, 2014 @ 5:39am
< >
Showing 1-9 of 9 comments
violently 3 Mar, 2014 @ 4:38am 
SMD is textual and human readable :)
Can't go wrong with that in my book.
Zappy 3 Mar, 2014 @ 4:44am 
And? If it doesn't export the weight-map anyway, I think the chance of SMD working is small.
Artfunkel 4 Mar, 2014 @ 3:57am 
I can't reproduce this problem. Please try to reproduce it in a new file, or cut parts out of the Scout file until you're happy to upload it somewhere. Sending the DMX files would be helpful too.
Zappy 4 Mar, 2014 @ 5:47am 
The DMX files aren't anything special, just binary stuff that are meshes with bones and such when re-imported, but without vertex groups at all (so I won't bother uploading them).
But try reproducing the problem again, make something with DMX where you have more than 16 groups to export, then use scene export. If you can't get it to work, I can try cutting out the special stuff, and sending you the .blend session.
Artfunkel 4 Mar, 2014 @ 6:18am 
My test has 17 meshes attached to various bones on the scout, compiled as bodygroups, and works just fine. I'm not going to go any further in guessing what's wrong: I need a repro case.

You can't say that there's nothing interesting in the DMX files just because the importer and studiomdl don't pick anything up from them. I'd like to pass a human eye over their contents.
Last edited by Artfunkel; 4 Mar, 2014 @ 6:18am
Zappy 4 Mar, 2014 @ 7:27am 
Alright, sure, I'll go delete the stuff, and send you the .blend, .qc (and .vrd), and .dmx files. Then I'll post another comment.
Zappy 4 Mar, 2014 @ 7:44am 
http://sta.sh/0mzk6h0nxtb
An uncompressed .zip file (no, really, it is actually uncompressed) filling about 7 MegaBytes, (hopefully) containing all files related to the model (except textures and actual compile) that I am comfortable with giving out. If something is missing, let me know.
(Head.dmx is probably only compatible with the FilmMaker's StudioMDL, unless imported and exported to a different "Engine".)
Last edited by Zappy; 4 Mar, 2014 @ 7:44am
Artfunkel 5 Mar, 2014 @ 3:49am 
This happens when a group includes only objects that appeared earlier in the export. I've fixed it and will release the changes in a larger 2.1 update that should be arriving in the next few days.
Zappy 5 Mar, 2014 @ 5:38am 
Well, that's good to know, I suppose. Thank you.
< >
Showing 1-9 of 9 comments
Per page: 1530 50

All Discussions > Bug Reports > Topic Details