$animblocksize: Difference between revisions
Jump to navigation
Jump to search

m (Added Cinematic Physics as a link) |
mNo edit summary |
||
Line 1: | Line 1: | ||
If this is specified, all the animation data will 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 [[Cinematic 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. | {{lang|$animblocksize|$title=$animblocksize}} | ||
'''<code style="color:white">$animblocksize</code>''' is the [[:Category:QC_Commands|QC command]]. If this is specified, all the animation data will be written to a '''[[ANI|.ani]]''' file, and when sequences are needed, the data will be loaded on demand. This is helpful for streaming animation data of [[Cinematic 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 <code>nostall</code> option will make the first [[$sectionframes|section]] not demand load but by included in the .mdl file. | The <code>nostall</code> option will make the first [[$sectionframes|section]] not demand load but by included in the [[MDL|.mdl]] file. | ||
== Syntax == | ==Syntax== | ||
'''$animblocksize (size in K) ["nostall"]''' | |||
==Example== | |||
For example in {{L4d2}} modelsrc [[QC|qc]], "general_dest_plaster_set.mdl" | |||
For example | $animblocksize 32 nostall highres | ||
$animblocksize 32 nostall highres | |||
==See also== | |||
*[[$bonesaveframe]] | *[[$bonesaveframe]] | ||
*[[$sectionframes]] | *[[$sectionframes]] | ||
[[Category:QC Commands| | |||
[[Category:Modeling]] | |||
[[Category:QC Commands|A]] | |||
[[Category:Glossary]]__NOTOC__ |
Revision as of 23:10, 18 June 2021


$animblocksize
is the QC command. If this is specified, all the animation data will 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 Cinematic 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 make the first section not demand load but by included in the .mdl file.
Syntax
$animblocksize (size in K) ["nostall"]
Example
For example in modelsrc qc, "general_dest_plaster_set.mdl"
$animblocksize 32 nostall highres