$unlockdefinebones
Jump to navigation
Jump to search
Normally, the $definebone definitions are always used for the default positions and rotations of the skeleton. Setting $unlockdefinebones will instead use the bone positions of the first frame in the last defined smd/dmx file of the qc for the definebone values.
$Unlockdefinebones will not shuffle the order of the $definebone lines, unlike the studiomdl command -definebones would.

This would be very useful for viewmodels that have arms and weapon separated, where a different definebone order causes issues. Such as in


Syntax
$unlockdefinebones