Duplicate weightlist pelvisonly: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
Line 8: Line 8:


#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]]

Revision as of 18:10, 28 January 2013

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.