134 lines
3.1 KiB
Plaintext
134 lines
3.1 KiB
Plaintext
; Conversion rules description file: A3D.cvt
|
|
:EXTENSIONS a3d
|
|
;----------------------------------------------
|
|
; VERSION V6 only
|
|
|
|
:SECTION A3dHEADER
|
|
FileType S T=0
|
|
VersionNumber W T=1
|
|
:VALUE C=-1
|
|
|
|
|
|
:SECTION A3dAnimationGENERAL
|
|
Actor N T=0
|
|
NumberOfChannels C T=1
|
|
NumberOfFrames W T=2
|
|
NumberOfEvents C T=3
|
|
CurrentFrame N T=4
|
|
; AnimationTranslationOffset FFF P T=5 ;------------- V5 version, not used
|
|
AnimationTranslationOffset L P T=5 ;------------- V6 version, IN USE
|
|
AnimationTranslationOffset FFF P T=5
|
|
AnimationRotationOffset NNN NNN NNN T=6
|
|
AnimReferenceChannel N T=7
|
|
AnimationSpeed C T=8
|
|
Compressed C T=9
|
|
:VALUE C=-1
|
|
|
|
:SECTION A3dAnimationSpeedList
|
|
;SUBSECTIONS
|
|
|
|
:SECTION SpeedMatrix
|
|
StartFrame W T=0
|
|
RotationSpeed FFF FFF FFF T=1
|
|
TranslationSpeed FFF T=2
|
|
:VALUE C=-1
|
|
|
|
:SECTION A3dAnimationFRAME
|
|
;SUBSECTIONS
|
|
|
|
:SECTION A3dAnimationCHANNEL S
|
|
Orientation FFF FFF FFF T=0
|
|
Scale FFF FFF FFF T=1
|
|
Position FFF T=2
|
|
Bank NS T=3
|
|
Object NS T=4
|
|
Animation S T=5
|
|
NumberInTable C T=6
|
|
ActiveStatus T=7
|
|
Status [Object Animation EmptyObject WarningInvalidObject] T=8
|
|
ObjectType [ GenericEvent MechanicEvent SoundEvent GenerateEvent Light] T=9
|
|
LightColorNearFar LFF T=10
|
|
SpotLightLittleBigAlpha FF T=11
|
|
SphereBox NNNN T=12
|
|
PivotPosition NNN T=13
|
|
PivotOrientation NNN NNN NNN T=14
|
|
KeyAttribute N T=15 ; this is ignored by callback
|
|
:VALUE C=-1
|
|
|
|
:SECTION A3dHIERARCHY
|
|
ChannelAndFather WW Q
|
|
; DEFAULT WW Q
|
|
|
|
:ENTRY NumberOfEvents C T=99 ; this is treated in the callback of the .a3d file
|
|
|
|
:SECTION A3dAnimationEVENT [Mechanic Sound Generic Generate]
|
|
Reference L T=0
|
|
LoadSoundEvent RL P T=1
|
|
Type [TurnUp TurnDown TurnLeft TurnRight JumpAbsolute JumpWithoutAddingSpeed TurnAbsolute Jump Accelerate Pulse Brake GoRelative GoAbsolute ] T=2
|
|
Definition WCCC T=3
|
|
Data S T=4
|
|
AnimReferenceChannel NS T=5
|
|
:VALUE C=-1
|
|
|
|
:SECTION A3dStringsTable
|
|
Add NS Q
|
|
|
|
:SECTION A3dVertexesTable
|
|
Add NFFF Q
|
|
|
|
:SECTION A3dQuaternionsTable
|
|
Add NFFFF Q
|
|
|
|
:SECTION Channel L
|
|
TrajectorySettings NNN NNN N T=0; this is ignored by callback
|
|
ActiveStatus N T=1; this is ignored by callback
|
|
:VALUE C=-1
|
|
;SUBSECTIONS
|
|
|
|
:SECTION A3dCompressionsTable ; no callback for this !!
|
|
Add N NNN NNN Q
|
|
|
|
:SECTION A3dAnimationINTERPOLATIONKEY ; no callback for this !!
|
|
Attribute N T=0
|
|
FrameChannel NN T=1
|
|
Mask NNNNNNNNN T=2
|
|
Type N T=3
|
|
:VALUE C=-1
|
|
|
|
:SECTION Key ; no callback for this !!
|
|
Attribute N T=0
|
|
Mask NNN T=1
|
|
Type N T=2
|
|
:VALUE C=-1
|
|
|
|
:SECTION Frame
|
|
Orientation L T=0
|
|
Scale LL T=1
|
|
Position L T=2
|
|
Bank L T=3
|
|
Object L T=4
|
|
NumberInTable C T=5
|
|
ActiveStatus C T=6
|
|
ObjectType [GenericEvent MechanicEvent SoundEvent GenerateEvent Light 3dObject Morphed CameraEvent Empty] T=7
|
|
LightColor L T=8
|
|
LightNearFar L T=9
|
|
SpotLightLittleBigAlpha L T=10
|
|
Morphing CC T=11
|
|
IncludingBox NN T=12 ; this is not treated
|
|
PivotPosition N T=13 ; this is not treated
|
|
PivotOrientation N T=14 ; this is not treated
|
|
:VALUE C=-1
|
|
;SUBSECTIONS
|
|
|
|
:SECTION SpeedsList
|
|
;SUBSECTIONS
|
|
|
|
:SECTION Speed
|
|
RotationSpeed L T=0
|
|
TranslationSpeed L T=1
|
|
:VALUE C=-1
|
|
|
|
:SECTION HierarchiesList
|
|
;SUBSECTIONS
|
|
|