ERROR: calcblend failed in idle

Hello, I’m making a test model for Garry’s Mod and I keep getting this stupid message, “ERROR: calcblend failed in idle”
Is there anyway to fix this

“cunt-piler2.qc”


$modelname	"modeltest\woodshit.mdl"
$body mybody	"Cube.dmx" 
$body mybody	"Cube.001.dmx"
$body mybody	"Cube.002.dmx"
$staticprop
$surfaceprop	wood
$cdmaterials	"models\modeltest\wood.vtf" 
$cdmaterials	"models\modeltest\wood_writing.vtf"

$sequence idle	"Cube.dmx" "Cube.001.dmx" "Cube.002.dmx"

$collisionmodel	"Cube.dmx" 		{ $concave }
$collisionmodel "Cube.001.dmx" 	{ $concave }
$collisionmodel	"Cube.002.dmx" 	{ $concave }

“LOG”



Created command line: "C:\Program Files (x86)\Steam\SteamApps\common\Counter-Strike Source\bin\studiomdl.exe" -game "C:\Program Files (x86)\Steam\SteamApps\common\Counter-Strike Source\cstrike" -nop4 -nox360 "C:\Users\Tommy\Documents\gmod models\cunt-piler2.qc"

qdir:    "c:\users	ommy\documents\gmod models\"
gamedir: "C:\Program Files (x86)\Steam\SteamApps\common\Counter-Strike Source\cstrike\"
g_path:  "C:\Users\Tommy\Documents\gmod models\cunt-piler2.qc"
Building binary model files...
Working on "cunt-piler2.qc"
DMX Model c:\users	ommy\documents\gmod models\Cube.dmx
DMX Model c:\users	ommy\documents\gmod models\Cube.001.dmx
DMX Model c:\users	ommy\documents\gmod models\Cube.002.dmx
ERROR: calcblend failed in idle
ERROR: Aborted Processing on 'modeltest\woodshit.mdl'

You’re defining three models for one animation, it’s failing on its attempt to calculate the blend of the three(mostly because you haven’t defined them as animations and also because you’re not using the correct syntax if you were).

Use this instead:


$sequence idle "Cube.dmx" fps 1.00

Also you should just use one collision mesh. You can have concave/complex structures by combining primitives that all are set to a single smoothing group per primitive and exported as one dmx/smd, and using $concave. In this case though, just go with the simple commands to give it rudiemntary physics or take it out completely if you’re doing SFM /don’t need physics.


$collisionmodel "Cube.dmx"{

//    $concave
    $mass 10 //(in kg)
    $inertia 1.00
    $damping 0.00
    $rotdamping 0.00
}