STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
414
游戏中
2,369
在线
成立于
2013 年 11 月 8 日
所有讨论 > Bug Reports > 主题详情
xdshot 2020 年 9 月 24 日 上午 5:03
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
最后由 xdshot 编辑于; 2020 年 9 月 24 日 上午 9:56
< >
正在显示第 1 - 10 条,共 10 条留言
Pte Jack 2020 年 9 月 24 日 上午 9:37 
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 2020 年 9 月 24 日 上午 9:44 
>it has no armature modifier or vertex groups.
Don't need of them, meshes are parented to bones instead.
Pte Jack 2020 年 9 月 24 日 上午 9:51 
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 2020 年 9 月 24 日 上午 9:54 
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 2020 年 9 月 24 日 上午 10:59 
@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://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2237843501

This is using the model from the link that XDShot provided.
最后由 Pte Jack 编辑于; 2020 年 9 月 24 日 上午 11:05
Artfunkel 2020 年 9 月 25 日 上午 10:59 
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 2020 年 9 月 25 日 上午 11:06 
Thanks Artfunkel, really appreciated.
Artfunkel 2020 年 9 月 25 日 上午 11:11 
The fix is now available from GitHub.
Pte Jack 2020 年 9 月 25 日 下午 12:32 
Thanks again Artfunkel.. Grabbing it now.
< >
正在显示第 1 - 10 条,共 10 条留言
每页显示数: 1530 50

所有讨论 > Bug Reports > 主题详情