Home Technical Talk

TF2 Jigglebones Help - Only one's working

Alright, so I'm making an item as a TF2 contribution which uses jigglebones. I already finished modelling, texturing and adding bones to the model (in 3ds max), and it's compiled perfectly and works perfectly... Except for one problem - only one of the jigglebones seems to work (It has about 5 or so).

The model is already fully skinned to the bones, and responds perfectly in 3ds max when I manually move the bones. However, only "Jiggle1" moves in both TF2-Item Test and HLMV. Even then, it spazzes around half the time (When it does kinda work), and doesn't move in nice smooth motions. This is my rigging tree.

JyPTm.png

And my QS (I know the lack of a phymodel and LOD's, I'm going to fix the jigglebones before I make those)
$modelname "custom/binoculars/binoculars00.mdl"
$cdmaterials "custom/weapons/binoculars"
$surfaceprop "wood"
$illumposition -0.336 0.682 17.385
$body "body" "LOD0.smd"

$sequence idle "LOD0.smd" fps 30.00

$collisionmodel "LOD0.smd" {
	$concave
	$mass 2.0
	$inertia 1.00
	$damping 0.00
	$rotdamping 0.00
}

$texturegroup "Team Colors" {
    { mainskin_red }
    { mainskin_blu }
}

//$lod 20	{
//	replacemodel "LOD0.smd" "LOD0.smd"
//}

$jigglebone "Jiggle1" {
//Strap 1
	is_flexible {
		yaw_stiffness 40
		yaw_damping 3
		pitch_stiffness 40
		pitch_damping 3
		length 15
		tip_mass 10
		yaw_constraint -75 75
		pitch_constraint 0 30
	}
}
$jigglebone "Jiggle2" {
//Strap 2
	is_flexible {
		yaw_stiffness 40
		yaw_damping 3
		pitch_stiffness 40
		length 15
		tip_mass 10
		yaw_constraint -75 75
		pitch_constraint 0 30
	}
}
$jigglebone "Jiggle3" {
//Binoculars
	is_flexible {
		yaw_stiffness 40
		yaw_damping 3
		pitch_stiffness 40
		pitch_damping 3
		length 15
		tip_mass 10
		angle_constraint 30
	}
}

$jigglebone "Jiggle4" {
//Feather
	is_flexible {
		yaw_stiffness 40
		yaw_damping 3
		yaw_constraint -45 45
		pitch_constraint 0 0
		length 15
		tip_mass 0
	}
}

$jigglebone "Jiggle5" {
//Cap
	is_flexible {
		yaw_stiffness 40
		yaw_damping 3
		pitch_stiffness 40
		pitch_damping 3
		length 15
		tip_mass 0
		angle_constraint 30
	}
}

I've been trying endlessly to fix this, with no help. Now I'm turning to you with the hopes that someone can spot my error.
Sign In or Register to comment.