STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
320
IN-GAME
1,898
ONLINE
Founded
8 November, 2013
All Discussions > Help > Topic Details
Bobert66 18 Jan, 2022 @ 9:02pm
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?
Originally posted by 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!
< >
Showing 1-8 of 8 comments
xdshot 18 Jan, 2022 @ 10:35pm 
Import .smd
Artfunkel 29 Jan, 2022 @ 10:14am 
Please upload the QC and models that you are trying to import.
Bobert66 29 Jan, 2022 @ 5:29pm 
Here's a link to the model I'm trying to import:

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=331652234&searchtext=armstrong

Not sure how or where I could upload the actual files I'm trying to use.
Artfunkel 30 Jan, 2022 @ 1:31am 
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.
Bobert66 30 Jan, 2022 @ 3:45am 
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
A moderator of this forum has indicated that this post answers the original topic.
Artfunkel 30 Jan, 2022 @ 9:39am 
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!
Last edited by Artfunkel; 30 Jan, 2022 @ 9:39am
Bobert66 30 Jan, 2022 @ 3:33pm 
Ok, do I need to pull reference meshes from the sfm model? or is there any other way I can fix this?
Artfunkel 1 Feb, 2022 @ 12:04am 
The decompiler should have generated them for you.
< >
Showing 1-8 of 8 comments
Per page: 1530 50

All Discussions > Help > Topic Details