STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
278
IN-GAME
1,617
ONLINE
Founded
8 November, 2013
All Discussions > Bug Reports > Topic Details
xdshot 24 Sep, 2020 @ 5:03am
Unsupported samples
DMX IMPORTER: now working on v_silenced_smg_reload.dmx - Loading DMX... Traceback (most recent call last): File "/home/xdshot/.config/blender/2.90/scripts/addons/io_scene_valvesource/import_smd.py", line 76, in execute self.num_files_imported = self.readDMX(filepath, self.properties.upAxis, self.properties.rotMode) File "/home/xdshot/.config/blender/2.90/scripts/addons/io_scene_valvesource/import_smd.py", line 1389, in readDMX parseSkeleton(DmeModel["children"], None) File "/home/xdshot/.config/blender/2.90/scripts/addons/io_scene_valvesource/import_smd.py", line 1387, in parseSkeleton parseSkeleton(elem["children"], bone) File "/home/xdshot/.config/blender/2.90/scripts/addons/io_scene_valvesource/import_smd.py", line 1387, in parseSkeleton parseSkeleton(elem["children"], bone) File "/home/xdshot/.config/blender/2.90/scripts/addons/io_scene_valvesource/import_smd.py", line 1387, in parseSkeleton parseSkeleton(elem["children"], bone) File "/home/xdshot/.config/blender/2.90/scripts/addons/io_scene_valvesource/import_smd.py", line 1369, in parseSkeleton smd.g.objects.link(atch) AttributeError: 'NoneType' object has no attribute 'objects'

Samples - https://drive.google.com/file/d/1JY94IyxJHOKuzd8_udV1CoFotWJhFTdu/view?usp=sharing
Last edited by xdshot; 24 Sep, 2020 @ 9:56am
< >
Showing 1-10 of 10 comments
Pte Jack 24 Sep, 2020 @ 9:37am 
Not sure what your real problem is, this imports fine for me. The weapon animation (reload) loads fine as well.

HOWEVER, the weapon itself is not finished. it has no armature modifier or vertex groups.

These pictures are the V-wpn imports into the current Steam version of Blender (2.90.1) of the link you provided.

https://i.imgur.com/HNrbEnC.png

https://i.imgur.com/JerqERw.png


Make sure you have the proper version of BleST (Blender Source Tools) install in Blender.
xdshot 24 Sep, 2020 @ 9:44am 
>it has no armature modifier or vertex groups.
Don't need of them, meshes are parented to bones instead.
Pte Jack 24 Sep, 2020 @ 9:51am 
I don't know about that, any model I've worked with has. Especially if I'm taking it back to a different Valve game.
xdshot 24 Sep, 2020 @ 9:54am 
Getting same error on Steam version.
To reproduce, import only animation file as new object. Appending the animations onto mesh makes it still un-animated.
Pte Jack 24 Sep, 2020 @ 10:59am 
@Artfunkle, this may be a valid bug find. Animation files are not loading properly in 2.90.1 using the most current version of BleST. They open fine in 2.79b.

(From Blender using the update tool.
Source Tools update...
Info: The latest Source Tools (3.1) are already installed.)

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2237843501

This is using the model from the link that XDShot provided.
Last edited by Pte Jack; 24 Sep, 2020 @ 11:05am
Artfunkel 25 Sep, 2020 @ 10:59am 
The problem is that the animation defines attachments, which doesn't make any sense outside a reference mesh.

I'll make a change to ignore attachments while importing an animation.
Pte Jack 25 Sep, 2020 @ 11:06am 
Thanks Artfunkel, really appreciated.
Artfunkel 25 Sep, 2020 @ 11:11am 
The fix is now available from GitHub.
Pte Jack 25 Sep, 2020 @ 12:32pm 
Thanks again Artfunkel.. Grabbing it now.
< >
Showing 1-10 of 10 comments
Per page: 1530 50

All Discussions > Bug Reports > Topic Details