STEAM-GRUPPE
Blender Source Tools BleST
STEAM-GRUPPE
Blender Source Tools BleST
286
I SPIL
1,868
ONLINE
Grundlagt:
8. november 2013
Alle diskussioner > Help > Trådoplysninger
Bobert66 18. jan. 2022 kl. 21: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?
Oprindeligt skrevet af 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!
< >
Viser 1-8 af 8 kommentarer
xdshot 18. jan. 2022 kl. 22:35 
Import .smd
Artfunkel 29. jan. 2022 kl. 10:14 
Please upload the QC and models that you are trying to import.
Bobert66 29. jan. 2022 kl. 17: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 30. jan. 2022 kl. 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.
Bobert66 30. jan. 2022 kl. 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
En moderator af dette forum har angivet, at dette indlæg besvarer det oprindelige emne.
Artfunkel 30. jan. 2022 kl. 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!
Sidst redigeret af Artfunkel; 30. jan. 2022 kl. 9:39
Bobert66 30. jan. 2022 kl. 15:33 
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 kl. 0:04 
The decompiler should have generated them for you.
< >
Viser 1-8 af 8 kommentarer
Per side: 1530 50

Alle diskussioner > Help > Trådoplysninger