STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
202
游戏中
1,427
在线
成立于
2013 年 11 月 8 日
正在显示第 201 - 210 项,共 589 项条目
在论坛“Blender Source Tools Help”中
33
Part of model becomes messed up.
引用自 Lol3#IC
thanks it worked, but now how do I setup flexpairs with DMX?
In Blender, in the "Scene" tab to the right, beneath the "Source Engine Export" list (where you click a button to export SMD/VTA/DMX files) is a list called "Source Engine Exportables". In that group, click on/select the object that has flexes. Now there should be a "Flex Properties" box at the bottom of the "Source Engine Exportables" list thing. Click on "Advanced" in it, then click "Generate Controllers" (the button that has a notepad-like icon to the left of it).
Now, far to the left in the window, where you normally switch from the "3D View" to the "UV/Image Editor" or the other way around, switch to the "Text Editor". Then, beside where you switched to the "Text Editor", much like with the "UV/Image Editor", will be a few drop-up lists of actions as well as a drop-up list of text things you can edit. Choose the "flex_[Stuff]" text thing.
Now you will see a lot of weird stuff... but all you should have to care about are the various "DmeCombinationInputControl"s. There will be a "name" attribute, telling you which flex controller it is, and a "rawControlNames" attribute, telling you which shape key names are used for that flex controller. You don't have to edit those, I'm just letting you know about them so you can find out which "DmeCombinationInputControl" is for which flex.
Now change the "stereo" variable to "1" to make it automatically have independant left and right flex controllers. Example, with the line to change being bolded out and with an underline under what to change:
"DmeCombinationInputControl" { "id" "elementid" "147d5a0b-dc1d-302a-bda9-7ff206d9641a" "name" "string" "MonoFlex" "rawControlNames" "string_array" ["MonoFlex"] "stereo" "bool" "0" "eyelid" "bool" "0" "flexMax" "float" "1.0" "flexMin" "float" "0.0" "wrinkleScales" "float_array" ["0.0"] }, "DmeCombinationInputControl" { "id" "elementid" "dc8ace42-8f35-32d6-a17d-cd4d33430447" "name" "string" "StereoFlex" "rawControlNames" "string_array" ["StereoFlex"] "stereo" "bool" "1" "eyelid" "bool" "0" "flexMax" "float" "1.0" "flexMin" "float" "0.0" "wrinkleScales" "float_array" ["0.0"] }
After you've changed the flexes you want to be stereo flexes, feel free to go back to the "3D View" or the "UV/Image Editor" again.
Now back in the "Source Engine Exportables" thing, below the "Generate Controllers" button, there should be a "Stereo Flex Balance" option. You can change that if the stereo split is too wide or too thin, but try leaving it at the default 90% for now and just see how it looks.

Note: DMX considers a flex/shape key called "Smile_Wide" to be used when both "Smile" and "Wide" are in effect, so if you have any non-"corrective" shapes that contain underscores, you have to get rid of the underscores first. Make sure to do that before generating the flex controllers text thing. If it's too late, just generate a new one, and set the flexes you want to be stereo again.

Disclaimer: I may not necessarily be good at explaining things.
正在显示第 201 - 210 项,共 589 项条目