STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
237
游戏中
1,616
在线
成立于
2013 年 11 月 8 日
所有讨论 > Help > 主题详情
Kamalek 2022 年 1 月 11 日 上午 9:30
[HELP] DMX export error
Blender version: 2.93
Source Tools Version: 3.1.1
blender session: https://drive.google.com/file/d/1Gmv4i5AVz4BbBAKGnZ5zqjan9jW6OcDJ/view?usp=sharing
Python: Traceback (most recent call last): File "C:\Users\vanka\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_scene_valvesource\export_smd.py", line 218, in execute else: self.exportId(context, collection) File "C:\Users\vanka\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_scene_valvesource\export_smd.py", line 549, in exportId self.files_exported += write_func(id, bake_results, self.sanitiseFilename(export_name), path) File "C:\Users\vanka\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_scene_valvesource\export_smd.py", line 1752, in writeDMX wrinkle_scale = _FindScale() File "C:\Users\vanka\AppData\Roaming\Blender Foundation\Blender\2.93\scripts\addons\io_scene_valvesource\export_smd.py", line 1749, in _FindScale return scales if scales else 0
IndexError: list index out of range

location: <unknown location>:-1
最后由 Kamalek 编辑于; 2022 年 1 月 11 日 上午 9:36
引用自 Pte Jack:
Yup, fixed that little faux-pas and the model exports and compiles properly.
< >
正在显示第 1 - 6 条,共 6 条留言
Pte Jack 2022 年 1 月 12 日 上午 8:51 
Something in the Winklescales in the advanced flex script is firing this error. I switch to simple shapekeys and the model exports.

Check your code for syntax of the advanced flex code and also look for missing {} or "s
Kamalek 2022 年 1 月 12 日 上午 9:05 
引用自 Pte Jack
Something in the Winklescales in the advanced flex script is firing this error. I switch to simple shapekeys and the model exports.

Check your code for syntax of the advanced flex code and also look for missing {} or "s
yeah, I've just generated new controllers, adjusted them and it exports fine, so the problem was probably in syntax
Pte Jack 2022 年 1 月 12 日 上午 9:28 
This might be your problem this flex is defined twice
(Line 293)
"DmeCombinationInputControl"
{
"id" "elementid" "ad6e1fd4-adfe-3694-988e-f5df67346b40"
"name" "string" "CheekV"
"rawControlNames" "string_array"
[
"CheekV"
]
"stereo" "bool" "1"
"eyelid" "bool" "0"
"flexMax" "float" "1.0"
"flexMin" "float" "0.0"
"wrinkleScales" "float_array"
[
"0.0"
]
},
(Line 310)
"DmeCombinationInputControl"
{
"id" "elementid" "22ae4fba-d94b-3d3c-bdcf-b5a7a8075c0e"
"name" "string" "CheekV"
"rawControlNames" "string_array"
[
"CheekV"
]
"stereo" "bool" "1"
"eyelid" "bool" "0"
"flexMax" "float" "1.0"
"flexMin" "float" "0.0"
"wrinkleScales" "float_array"
[
"0.0"
]
},

"LipsVUp" and "LipsVDn" are missing from the original script. I suspect that the 2nd instance of CheekV was supposed to be the LipsV.
最后由 Pte Jack 编辑于; 2022 年 1 月 12 日 上午 10:21
此论坛的一名版主已表示此帖子解答了原先的主题。
Pte Jack 2022 年 1 月 12 日 上午 11:02 
Yup, fixed that little faux-pas and the model exports and compiles properly.
Kamalek 2022 年 1 月 12 日 上午 11:25 
引用自 Pte Jack
Yup, fixed that little faux-pas and the model exports and compiles properly.
Thanks, i need to be more attentive next time:D
Pte Jack 2022 年 1 月 12 日 下午 2:08 
Easy to do when working the code, I've done this many times myself and cursed a lot trying to find where I pooched up!! :winter2019angrygingerbread:
< >
正在显示第 1 - 6 条,共 6 条留言
每页显示数: 1530 50

所有讨论 > Help > 主题详情