STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
315
游戏中
1,985
在线
成立于
2013 年 11 月 8 日
所有讨论 > Help > 主题详情
ficool2 2018 年 6 月 15 日 下午 1:59
Change order of bones in SMD?
Title. I need the order of bones changed, because of how the merging of bones works in TF2 for festives (both models need to have the same matching bone order) Manually changing it cannot be done, because then the vertex groups get messed up. Any idea on how I can do this?
引用自 Zappy:
引用自 ficool2
- (both models need to have the same matching bone order) -
This would be a first for the Source engine as far as I'm aware. Are you completely certain that that's true? I don't have a Festive Team Fortress 2 weapon, so I can't really test it myself.

Either way... Depending on how the model is supposed to work and how various QC commands actually work, it might be a valid option to use $DefineBone to define all bones before any SMD/DMX references in the QC file, and/or to have a "special" bone-only SMD/DMX (like an idle sequence/animation file) which is loaded before any other SMDs/DMXes, with the wanted bone order, like this:
$Body "BoneOrderThing" "BonesInOrder.dmx" $Body "FestiveLights" "Model.dmx"
< >
正在显示第 1 - 2 条,共 2 条留言
此论坛的一名版主已表示此帖子解答了原先的主题。
Zappy 2018 年 6 月 15 日 下午 2:51 
引用自 ficool2
- (both models need to have the same matching bone order) -
This would be a first for the Source engine as far as I'm aware. Are you completely certain that that's true? I don't have a Festive Team Fortress 2 weapon, so I can't really test it myself.

Either way... Depending on how the model is supposed to work and how various QC commands actually work, it might be a valid option to use $DefineBone to define all bones before any SMD/DMX references in the QC file, and/or to have a "special" bone-only SMD/DMX (like an idle sequence/animation file) which is loaded before any other SMDs/DMXes, with the wanted bone order, like this:
$Body "BoneOrderThing" "BonesInOrder.dmx" $Body "FestiveLights" "Model.dmx"
ficool2 2018 年 6 月 15 日 下午 2:58 
引用自 Zappy
引用自 ficool2
- (both models need to have the same matching bone order) -
This would be a first for the Source engine as far as I'm aware. Are you completely certain that that's true? I don't have a Festive Team Fortress 2 weapon, so I can't really test it myself.

Either way... Depending on how the model is supposed to work and how various QC commands actually work, it might be a valid option to use $DefineBone to define all bones before any SMD/DMX references in the QC file, and/or to have a "special" bone-only SMD/DMX (like an idle sequence/animation file) which is loaded before any other SMDs/DMXes, with the wanted bone order, like this:
$Body "BoneOrderThing" "BonesInOrder.dmx" $Body "FestiveLights" "Model.dmx"

Yes I am completely sure, since unmatching bone orders result in the bones being bonemerged to the wrong bone (they are bonemerged by IDs it seems, and not names).

The $definebone trick worked, thanks a lot. That's exactly what I needed to get the festive v_model/w_model to work together with the Scattergun v_model/w_model.
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50

所有讨论 > Help > 主题详情
发帖日期: 2018 年 6 月 15 日 下午 1:59
回复数: 2