Duplicate weightlist pelvisonly

From Valve Developer Community
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.