STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
233
IN-GAME
1,610
ONLINE
Founded
8 November, 2013
All Discussions > Help > Topic Details
Dr.ParadoX 1 Jun, 2023 @ 8:43am
Can't import source .mdl files in blender using the tool
I installed the blender source tool, tried to open .mdl file using crowbar. Failed. Got this message:

Python: Traceback (most recent call last):
File "C:\Users\monde\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\SourceIO-master\source1_operators.py", line 54, in execute
model_container = import_model(mdl_path.open('rb'), vvd_file.open('rb'), vtx_file.open('rb'), self.scale,
File "C:\Users\monde\AppData\Roaming\Blender Foundation\Blender\3.5\scripts\addons\SourceIO-master\source1\mdl\import_mdl.py", line 180, in import_model
mesh_data.polygons.foreach_set("use_smooth", np.ones(len(mesh_data.polygons)))
TypeError: couldn't access the py sequence

How to fix?
All Discussions > Help > Topic Details