Difference between revisions of "AVP"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Jondor
m (Added Category Link)
sc4e>Jondor
(Added information about rotations)
Line 1: Line 1:
 
=Overview=
 
=Overview=
AVP (Animation View Position) files are used to create small animated props.  They are referenced by [[ATC]] files and specify the location and size of animation frames within a source [[FSH]].
+
AVP (Animation View Position) files are used to create small animated props.  They are referenced by [[ATC]] files and specify the location and size of animation frames within a source [[FSH]].  They can specify a variable number of rotations, but only 4 (for props) and 8 (for sprites ie: pedestrian animations) are useful.
  
 
=Important Points=
 
=Important Points=

Revision as of 08:35, 5 June 2011

Overview

AVP (Animation View Position) files are used to create small animated props. They are referenced by ATC files and specify the location and size of animation frames within a source FSH. They can specify a variable number of rotations, but only 4 (for props) and 8 (for sprites ie: pedestrian animations) are useful.

Important Points

AVP files and their companion ATC files have some specific requirements and caveats:

  • Each ATC file must have a unique set of AVP files or the prop will appear in game as a brown box.
  • Multiple ATC files can reference the same source FSH. (Although this will cause incorrect animations in the Reader, they will appear correctly in game.)
  • ATC prop rotations are specified in a different order than S3D prop rotations. (This is not a problem for most standalone props, but traffic lights and RR crossings interact with stop points and static props and must be created correctly.)

File:S3d vs atc rotations.png

Format

See: AVP/format