$animblocksize


$animblocksize
is a QC command available in all Source games. It changes how animation data is stored within the model.
Normally, all animation data is stored in the .mdl
file. If this is specified, all the animation data will instead be written to a .ani
file, and when sequences are needed, the data will be loaded on demand. This is helpful for streaming animation data of baked physics. The "size in K" is the block size the animations will be grouped into. Sizes between 4K and 64K are fine, though 16K or 32K has better memory fragmentation characteristics.
The nostall
option will embed the first block in the .mdl
file. This usually prevents a model from stalling when loaded mid-game, if it has particularly complex animations that otherwise might take some time to load.

Syntax
$animblocksize (size in K) ["nostall"]
Example
Found in , "general_dest_plaster_set.mdl":
$animblocksize 32 nostall highres