ANI: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Nesciuse moved page ANI/en to ANI without leaving a redirect: Move en subpage to basepage)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{langsp}}
{{LanguageBar}}
 
{{stub}}
{{stub}}
{{distinguish|AIN}}
{{distinguish|AIN}}
'''ANI''' is a non-vital file format that stores animation data for models. It is only created through {{ent|$animblocksize}}. To clarify, you do not need it for compiling a model.
'''ANI''' is an optional file format that stores animation data for models. It is only created during compilation if {{ent|$animblocksize}} is set.
 
Internally, it begins with a normal [[MDL_(Source)|MDL]] 408-byte header, but zeroed out only having its '''length''' field set, and the '''id''' is '''IDAG''' instead of '''IDST'''. The header is then immediately followed by the animation block data.
 
The block data is indexed into from the associated .mdl file. (mstudioanimblock_t, numanimblocks, animblockindex)


==See also==
==See also==
*[[Model Creation Overview]]
*[[Model Creation Overview]]
*[[Baked physics]]
*[[Baked physics]]
[[Category:Modeling]]
[[Category:File formats]]

Latest revision as of 03:55, 12 July 2024

English (en)Translate (Translate)

Stub

This article or section is a stub. You can help by expanding it.

Not to be confused with AIN.

ANI is an optional file format that stores animation data for models. It is only created during compilation if $animblocksize is set.

Internally, it begins with a normal MDL 408-byte header, but zeroed out only having its length field set, and the id is IDAG instead of IDST. The header is then immediately followed by the animation block data.

The block data is indexed into from the associated .mdl file. (mstudioanimblock_t, numanimblocks, animblockindex)

See also