Duplicate weightlist pelvisonly

From Valve Developer Community
Revision as of 17:10, 28 January 2013 by MaxOfS2D (talk | contribs) (Solution)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

When compiling male_06_sdk.qc, studiomdl will fail with:

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


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.