STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
372
游戏中
2,310
在线
成立于
2013 年 11 月 8 日
所有讨论 > Help > 主题详情
Frautcres 2016 年 7 月 4 日 下午 8:37
Bug or Human Error? Triangles don't parent to Bones correctly in smd?
I'm trying to make a simple prop for a level and I end up having the same issue which traces back to an obvious setback, there aren't any bones.

Here is the bone structure
http://i.imgur.com/IdjMo4O.png
Here is the compiled model (with bones axes, note static_prop at (0,0,0) )
http://i.imgur.com/BVMtu5u.png
And here is proof of a skeleton and parents?
http://i.imgur.com/NiLudYK.png

The model I want to compile has 3 bones, 2 that rotate, in the model there is only 1 as a base and 2 that branch off as seen in the first photo, exept in the compiled version there is only one bone, the bone that branches off to the 2 other bones.

For information sake the version I used for blender and blender source tools are:
Blender version 2.74
Blender source tools version 2.6.2

This may or may not be due to having an outdated version
< >
正在显示第 1 - 4 条,共 4 条留言
Zappy 2016 年 7 月 5 日 上午 12:54 
From part of the Studiomdl Data page on the VALVe Developer Wiki:

<int|Parent bone> <float|PosX PosY PosZ> <normal|NormX NormY NormZ> <normal|U V> <int|links> <int|Bone ID> <normal|Weight> [...]
-
The final three values are optional: they override <Parent bone> to define a series of weightmap links.


As you can see, the first value doesn't (necessarily) correspond to the bone that affects the model.
Regardless, could you please point out what the error is in the "compiled model" screenshot?
最后由 Zappy 编辑于; 2016 年 7 月 5 日 上午 1:04
Frautcres 2016 年 7 月 5 日 上午 11:05 
Bones are highlited and the other bones (top_gear bot_gear) do not exist.
http://i.imgur.com/336m9Mz.png The bone is linked and there is a weight of 1, there is no collapse bone in the QC, and in the start of the SMD there is a skeleton http://i.imgur.com/9aU2ghN.png
Artfunkel 2016 年 7 月 5 日 上午 11:51 
The SMD is fine. The values at the start of the line are indeed ignored. The problem is probably that you have the $staticprop command in your QC file, which tells studiomdl to remove all bones and perform various other optimisations for a non-animated model.
Frautcres 2016 年 7 月 5 日 下午 6:00 
Thank you so much, although I thought static props could be animated, because reasons.
I'll keep that in mind.
Case closed.
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50

所有讨论 > Help > 主题详情
发帖日期: 2016 年 7 月 4 日 下午 8:37
回复数: 4