This article's documentation is for anything that uses the Source engine. Click here for more information.

$defaultweightlist

From Valve Developer Community
Jump to navigation Jump to search

$defaultweightlist is a QC command available in all Source Source games. It creates a weightlist that is automatically applied to any $sequence in the model that does not already have a weightlist.

Unlike $weightlist, it does not count towards the weightlist limit (128 by default). However, if more than one is specified, only the last one will be used.

Syntax

Identical to $weightlist, but it does not accept a name:

$defaultweightlist {
	<bone> <weight>
	<bone> <weight>
	[...]
}

See also