STEAM 组
Blender Source Tools BleST
STEAM 组
Blender Source Tools BleST
247
游戏中
1,687
在线
成立于
2013 年 11 月 8 日
所有讨论 > Bug Reports > 主题详情
glub♥Linux 2015 年 7 月 20 日 下午 9:32
[FIXED] Importing Crowbar genetared QC file doesn't import animation SMD files
Problem: importing a QC file should automatically import the animation .smd along the reference .smd.

When I decompile a model with Cannonfodder's MDLdecompiler[www.chaosincarnate.net], the QC file generated is structured like this:
$sequence idle01 "idle01" loop ACT_VM_IDLE 1 fps 30.00 node 0 $sequence idle01empty "idle01empty" loop ACT_VM_IDLE_EMPTY 1 fps 30.00 node 0 $sequence fire "fire" ACT_VM_PRIMARYATTACK 1 fps 30.00 node 2 ...

However, when I decompile a model with Crowbar, the QC file generated is structured like this:
$Sequence "idle01" { "idle01.smd" activity "ACT_VM_IDLE" 1 fadein 0.2 fadeout 0.2 node "0" fps 30 loop } $Sequence "idle01empty" { "idle01empty.smd" activity "ACT_VM_IDLE_EMPTY" 1 fadein 0.2 fadeout 0.2 node "0" fps 30 loop } $Sequence "fire" { "v_jinrai_mpn_s_anim_fire.smd" activity "ACT_VM_PRIMARYATTACK" 1 fadein 0.2 fadeout 0.2 node "2" snap fps 30 } ...

However, if I change the QC file to be like the following instead, Blender Tools do actually import the animations correctly:
$Sequence "idle01" {"idle01.smd" activity "ACT_VM_IDLE" 1 fadein 0.2 fadeout 0.2 node "0" fps 30 loop } $Sequence "idle01empty" {"idle01empty.smd" activity "ACT_VM_IDLE_EMPTY" 1 fadein 0.2 fadeout 0.2 node "0" fps 30 loop } ...

Basically simply removing the "end of line" character and placing the referenced ".smd" on the same line as $Sequence.
Also note that there has to be NO SPACE between the { bracket and the ".smd" !! Otherwise it doesn't import it either.

I assume this could be considered a bug, since I have to work around it to make it import properly.

Any thoughts on this? A chance to have this looked at maybe? :)
Thanks for the great great great great tools!
最后由 Artfunkel 编辑于; 2015 年 10 月 5 日 上午 9:51
< >
正在显示第 1 - 2 条,共 2 条留言
ZeqMacaw 2015 年 9 月 19 日 上午 6:46 
This is a bug with Blender Source Tools because it is valid syntax for the studiomdl.exe compiler. I made Crowbar list all options inside the braces for $sequence to make it look better. It seems though that many people are used to the old way of listing $sequence options, so I'll probably include the old way into Crowbar's "Format for stricter importers" option. :S
Artfunkel 2015 年 9 月 21 日 下午 3:08 
This will be fixed in the next release.
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50

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