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 (clean up, added deadend tag)
m (Making use of the "this is a" template for the first line here.)
Line 1: Line 1:
{{Dead end|date=January 2024}}
{{LanguageBar}}
 
{{this is a|QC command|name=$sectionframes}} It causes all the animations that are longer than <code><min frame count></code> to be cut into <code><frame count></code> sections, stored in separate data blocks. This helps with cache access, especially when used with <code>[[ANI|.ani]]</code> files.
If this is specified, all the animations that are longer than (min frame count) long will be cut into (frame count) sections are 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.
This defaults to ''$sectionframes 30 120'' if unspecified in the QC file.
Line 8: Line 7:


  $sectionframes <frame count> <min frame count>
  $sectionframes <frame count> <min frame count>
== See also ==
* [[$animblocksize]]
* [[$bonesaveframe]]


__NOTOC__
__NOTOC__


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

Revision as of 16:36, 14 July 2024

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