Duplicate weightlist pelvisonly

From Valve Developer Community
Jump to: navigation, search
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.