Shit, problem with bodygroups.

Hello.
I’ve tried to make a bodygrouped gun.
I separated the gun parts and saved it as a models.
But I have that problem:

http://dl.dropbox.com/u/16051712/ScreenShot002.png

Here’s my QC:



$cd "D:\Program Files\Steam\steamapps\***\sourcesdk_content\gmod\modelsrc\bf2\weapons	ype85"
$modelname "BF2\weapons	ype85.mdl"
$model "studio" "body.smd"

$model "Magazine" "magazine.smd"

$model "Magazine" "UnknownModelName.smd"

$model "Bolt" "bolt1.smd"

$model "Bolt" "bolt2.smd"

$model "Stock" "stock1.smd"

$model "Stock" "stock2.smd"

$model "Stock" "UnknownModelName.smd"

$model "Trigger" "trigger1.smd"

$model "Trigger" "trigger2.smd"

$cdmaterials "models\BF2\weapons	ype85"
$hboxset "default"
$surfaceprop "weapon"
$keyvalues  { prop_data { "base" "Metal.Small"  } } 
$illumposition -12.830 -0.833 3.230
$sequence idle "ragdoll" fps 30.00


Any help?

You are doing it wrong.


$bodygroup chest
{
	studio "chest_with_no_armor.smd"
	studio "chest_with_light_armor.smd"
	studio "chest_with_heavy_armor.smd"
	studio "chest_with_super_armor.smd"
}

Ok, but is it supposed to look like this?



$cd "D:\Program Files\Steam\steamapps\***\sourcesdk_content\gmod\modelsrc\bf2\weapons	ype85"
$modelname "BF2\weapons	ype85.mdl"
$model "studio" "body.smd"
$bodygroup Magazine
{
	studio "magazine.smd"
	studio "UnknownModelName.smd"
}
$bodygroup Bolt
{
	studio "bolt1.smd"
	studio "bolt2.smd"
}
$bodygroup Stock
{
	studio "stock1.smd"
	studio "stock2.smd"
}
$bodygroup Trigger
{
	studio "trigger1.smd"
	studio "trigger2.smd"
}
$cdmaterials "models\BF2\weapons	ype85"
$hboxset "default"
$surfaceprop "weapon"
$keyvalues  { prop_data { "base" "Metal.Small"  } } 
$illumposition -12.830 -0.833 3.230
$sequence idle "ragdoll" fps 30.00

Because only “magazine” bodygroup works.

If I were you, I’d stick with what Haxxer said.

instead off
studio “UnknownModelName.smd”
just have blank on the line.

Also at first glance - are those bodygroups actually rigged? They don’t seem like it, which is why they’re all over the place.

you should rig them all.

All right, problem is technically solved.

I used SKIN modifier and rigged the model of bodygroup to its skeleton :V

hanks for help.

Did you get the tutorial I sent you yesterday?