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:
[img]http://dl.dropbox.com/u/16051712/ScreenShot002.png[/img]
Here's my QC:
[code]
$cd "D:\Program Files\Steam\steamapps\***\sourcesdk_content\gmod\modelsrc\bf2\weapons\type85"
$modelname "BF2\weapons\type85.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\type85"
$hboxset "default"
$surfaceprop "weapon"
$keyvalues { prop_data { "base" "Metal.Small" } }
$illumposition -12.830 -0.833 3.230
$sequence idle "ragdoll" fps 30.00
[/code]
Any help?
You are doing it wrong.
[code]$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"
}[/code]
http://developer.valvesoftware.com/wiki/$bodygroup
Ok, but is it supposed to look like this?
[code]
$cd "D:\Program Files\Steam\steamapps\***\sourcesdk_content\gmod\modelsrc\bf2\weapons\type85"
$modelname "BF2\weapons\type85.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\type85"
$hboxset "default"
$surfaceprop "weapon"
$keyvalues { prop_data { "base" "Metal.Small" } }
$illumposition -12.830 -0.833 3.230
$sequence idle "ragdoll" fps 30.00[/code]
Because only "magazine" bodygroup works.
[QUOTE=Trek;28303591]Ok, but is it supposed to look like this?
[code]
$cd "D:\Program Files\Steam\steamapps\***\sourcesdk_content\gmod\modelsrc\bf2\weapons\type85"
$modelname "BF2\weapons\type85.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\type85"
$hboxset "default"
$surfaceprop "weapon"
$keyvalues { prop_data { "base" "Metal.Small" } }
$illumposition -12.830 -0.833 3.230
$sequence idle "ragdoll" fps 30.00[/code]
Because only "magazine" bodygroup works.[/QUOTE]
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?
Sorry, you need to Log In to post a reply to this thread.