Duplicate weightlist pelvisonly: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
m (→‎top: clean up, added deadend tag)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Dead end|date=January 2024}}
When compiling <code>male_06_sdk.qc</code>, studiomdl will fail with:
When compiling <code>male_06_sdk.qc</code>, studiomdl will fail with:


Line 8: Line 10:


#Make a copy of <code>Male_Animations_sdk/WeaponsAnims_Shared_sdk.qci</code>.
#Make a copy of <code>Male_Animations_sdk/WeaponsAnims_Shared_sdk.qci</code>.
#Find and comment the line starting <code>$weightlist pelvisonly</code> within it.
#Find and comment (or delete) the line starting <code>$weightlist pelvisonly</code> within it.
#Change <code>male_06_sdk.qc</code>'s $include to the name of your edited file.
#Change <code>male_06_sdk.qc</code>'s $include to the name of your edited file.


[[Category:Errors]]
[[Category:Errors]]

Latest revision as of 10:02, 21 January 2024

Dead End - Icon.png
This article has no Wikipedia icon links to other VDC articles. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024

When compiling male_06_sdk.qc, studiomdl will fail with:

ERROR: <path>/WeaponAnims_shared_sdk.qci(100): - Duplicate weightlist 'pelvisonly'

Solution

The QC file contains a definition of $weightlist pelvisonly identical to a line in the included file male_shared_XSI_sdk.qci. Studiomdl doesn't know what to do with the duplicate. So:

  1. Make a copy of Male_Animations_sdk/WeaponsAnims_Shared_sdk.qci.
  2. Find and comment (or delete) the line starting $weightlist pelvisonly within it.
  3. Change male_06_sdk.qc's $include to the name of your edited file.