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

$sectionframes: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Making use of the "this is a" template for the first line here.)
No edit summary
 
Line 14: Line 14:


__NOTOC__
__NOTOC__
[[Category:QC Commands|sectionframes]]

Latest revision as of 17:49, 3 August 2025

English (en)Translate (Translate)

$sectionframes is a QC command available in all Source Source games. It causes all the animations that are longer than <min frame count> to be cut into <frame count> sections, stored in separate data blocks. This helps with cache access, especially when used with .ani files.

This defaults to $sectionframes 30 120 if unspecified in the QC file.

Syntax

$sectionframes <frame count> <min frame count>

See also