STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
377
IN-GAME
2,029
ONLINE
Founded
8 November, 2013
All Discussions > Bug Reports > Topic Details
Zappy 15 Dec, 2013 @ 3:05am
[FIXED] Stationary(?) DMX flexes with wrinkle maps(?) don't export
Alright, so here I am, trying to make a more-bodygrouped (Hard-Ware Morph-flex) Spy, and I decide to make the cigarette bodygroupable. So I duplicate (shift+D) the head, name the object "cig", go to edit mode, and delete everything except the cigarette (as well as delete the cigarette of the normal head object). I set export type to DMX, set flex type to advanced, direct the flex controller block thing to spy_morphs_high.dmx from the Source SDK (the one I imported). I supress the spy_morphs_high group, export the head, and then I try to export the cigarette, but... http://sta.sh/022y4q99cbtb

Using Version 1.10.4 of the Blender Source Tools, in Blender 2.69, on a 64-bit Windows 7.

~Zwip-Zwap Zapony
Last edited by Artfunkel; 31 Jan, 2014 @ 8:23am
< >
Showing 1-6 of 6 comments
Artfunkel 15 Dec, 2013 @ 7:15am 
This will be fixed in the next release. For now you should delete all shape keys which don't move any verts. If you're comfortable editing code you could also replace the block of code mentioned in the error with this (indentation matters!):

if max_delta: wrinkle_mod = wrinkle_scale / max_delta if (wrinkle_mod != 1): for i in range(len(wrinkle)): wrinkle *= wrinkle_mod[/code]
Zappy 15 Dec, 2013 @ 7:26am 
...I don't even know where to put that code, so I think it's best if I don't tinker with it. I'll try just deleting the flexes. (In the next release, will it then be possible to make a stationary flex of some kind, that could basically make the whole mesh use $compress/$stretch (in the material) as texture?)
Artfunkel 15 Dec, 2013 @ 8:30am 
Wrinkle values are determined by vertex movement distance, so no. You could export as KeyValues2 and hand-edit the DMX file if you wanted, though...
Zappy 15 Dec, 2013 @ 8:40am 
I have seen a model (by VALVe) where one slider would change the whole mesh' texture. And as far as I'm aware, there is a wrinkle value, and the vertice which moves the most would go all the way to the defined value, then the other vertices would be "blended" to the value, based on how far they move compared to the longest-moving vertice. So if all vertices are stationary, and a flex has a wrinkle value of 1 (or -1), I think the whole mesh would turn to $compress/$stretch. Just a thought I had.
Artfunkel 15 Dec, 2013 @ 8:52am 
What you could try is scaling/translating the whole mesh by some imperceptible amount.
Zappy 15 Dec, 2013 @ 8:58am 
I guess so, too.
< >
Showing 1-6 of 6 comments
Per page: 1530 50

All Discussions > Bug Reports > Topic Details