Talk:$model (QC): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Nesciuse moved page Talk:Multipage Base Pages Temp Storage/$model (QC) to Talk:$model (QC) without leaving a redirect: Moving back to proper place)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== multiple $models==
<!-- topic moved to [[mdldecompiler#known_issues]] -->
Using [[MdlDecompiler]] to look at a DOD player model QC, I found this:
$modelname "player\german_support.mdl"
$model "body" "german_support_reference.smd"
$model "helmet" "german_helmet_reference.smd"
$model "helmet" "UnknownModelName.smd"
// ...
$attachment "2" "ValveBiped.Bip01_Head1" -0.00 0.00 0.00 rotate -0.00 0.00 0.00
$attachment "head" "ValveBiped.Bip01_Head1" -0.00 0.00 0.00 rotate -0.00 0.00 0.00
Looking through the SMDs, the "german_helmet_reference.smd" mesh is enveloped to the "ValveBiped.Bip01_Head1" bone and "UnknownModelName.smd" contains no triangles whatsoever. So, is this :
 
1. MdlDecompiler not translating the binaries into a valid QC (I haven't tested it) ?
 
2. An alternative method to [[$bodygroup]] for combining meshes; enveloping a second mesh to the main skeleton as opposed to using the head [[$attachment]] and a sub-model ?
 
3. Or something else entirely ? --[[User:Beeswax|Beeswax]] 17:56, 2 May 2008 (PDT)

Latest revision as of 15:54, 15 July 2024