STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
272
IN-GAME
1,704
ONLINE
Founded
8 November, 2013
All Discussions > Help > Topic Details
Problem with exporting cloth animation to GMOD
Hi everyone, I've been trying to export a cloth simulation to gmod with vertex animation. I made the simulation, baked it. Then I exported Collection.smd(reference/body) vcaanim_VertexAnim.smd(which animates the driver bone) and VertexAnim.vta with blender source tools. I set up my export path, target up axis to Z, added a vertex animation. After compiling it with crowbar(I'm using gmod's version of studio.mdl in my paths) the animation is being played exactly how it should in HLMV(I highlighted the driver bone and it is animated correctly), but when I try to place a prop_dynamic and set the driver animation as default animation nothing happens. I tried playing it manually with logic auto but to no avail. The animation isn't even playing when I'm in the model browser. It just stops at the first frame.

Here's my qc:
$modelname "flagtest.mdl"
$model "merge_me" Collection.smd {
vcafile VertexAnim.vta
}

$surfaceprop "Metal"

$upaxis Y

$boneflexdriver "vcabone_VertexAnim" tx "VertexAnim" 0 1
$boneflexdriver "vcabone_VertexAnim" ty "multi_VertexAnim" 0 1

$sequence "idle" "idle.smd" loop fps 1
$sequence "VertexAnim" "vcaanim_VertexAnim.smd" loop fps 24.0
Last edited by inc; 1 Jan @ 8:56am
< >
Showing 1-1 of 1 comments
If it works in HLMV then the export was correct. Perhaps the game simply doesn't support this feature.
< >
Showing 1-1 of 1 comments
Per page: 1530 50

All Discussions > Help > Topic Details