STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
278
游戏中
1,822
在线
成立于
2013 年 11 月 8 日
所有讨论 > Help > 主题详情
Boo-bert666 2022 年 1 月 18 日 下午 9:02
Trouble Importing
I'm trying to import SFM models I downloaded off the Steam Workshop. Whenever I select a file it throws the following error:

------------------------------------------------

Python: Traceback (most recent call last):
File "C:\Users\minec\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\io_scene_valvesource\import_smd.py", line 69, in execute
self.num_files_imported = self.readQC(filepath, False, self.properties.doAnim, self.properties.makeCamera, self.properties.rotMode, outer_qc=True)
File "C:\Users\minec\AppData\Roaming\Blender Foundation\Blender\3.0\scripts\addons\io_scene_valvesource\import_smd.py", line 1107, in readQC
shape = qc.ref_mesh.data.shape_keys.key_blocks.get(line[i+1])
AttributeError: 'NoneType' object has no attribute 'data'

location: <unknown location>:-1

---------------------------------------------------

Can anyone help me understand what's wrong and how to fix it?
引用自 Artfunkel:
There are no reference mesh files in that folder. All you have is the compiled model, a QC file, and some placeholder animation and flex data.

That would explain the error. It will be fixed in the next release, but the import will leave you with an empty scene!
< >
正在显示第 1 - 8 条,共 8 条留言
xdshot 2022 年 1 月 18 日 下午 10:35 
Import .smd
Artfunkel 2022 年 1 月 29 日 上午 10:14 
Please upload the QC and models that you are trying to import.
Boo-bert666 2022 年 1 月 29 日 下午 5:29 
Here's a link to the model I'm trying to import:

https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=331652234&searchtext=armstrong

Not sure how or where I could upload the actual files I'm trying to use.
Artfunkel 2022 年 1 月 30 日 上午 1:31 
I need the QC and DMX/SMD files you are trying to import. You can use any popular cloud file storage service, e.g. Google Drive or Microsoft OneDrive.
Boo-bert666 2022 年 1 月 30 日 上午 3:45 
Here's everything I pulled from the SFM model using Crowbar and VTFEdit:

https://drive.google.com/drive/folders/1_0Sd8hVLe-yLdWmD6scKCO5PzV_Hup1F?usp=sharing
此论坛的一名版主已表示此帖子解答了原先的主题。
Artfunkel 2022 年 1 月 30 日 上午 9:39 
There are no reference mesh files in that folder. All you have is the compiled model, a QC file, and some placeholder animation and flex data.

That would explain the error. It will be fixed in the next release, but the import will leave you with an empty scene!
最后由 Artfunkel 编辑于; 2022 年 1 月 30 日 上午 9:39
Boo-bert666 2022 年 1 月 30 日 下午 3:33 
Ok, do I need to pull reference meshes from the sfm model? or is there any other way I can fix this?
Artfunkel 2022 年 2 月 1 日 上午 12:04 
The decompiler should have generated them for you.
< >
正在显示第 1 - 8 条,共 8 条留言
每页显示数: 1530 50

所有讨论 > Help > 主题详情