Changes
Jump to navigation
Jump to search
→Camera data
|0
|ushort
|AnimPointer*2
|-
|AnimPointer
CAMERA:
-Camera Settings
-Camera Animation Collection(even three collections in a0stg006.x)
|
|
|
|
- Camera animation Example: a0stg006.x: 0x5d8 -> 02 00 08 00 20 00 1. Get EOF-> *(usually 0x5d8 + 8)-> 32 2. Jump to EOF -> 0x5d8 + 32 = 0x5F8 (This is now Camera Animation Collection) 3. Get pointer to correct anim collection. In this case we will use AnimCollectionID == 0, so: *(0x5F8 + 0*2 + 2) -> 0x0c 4. Jump to Anim collection data: 0x5F8 + 0x0c = 0x604 (This is now Camera Animation Set) 5. Jump to Camera animation by cameraAnimSetID, let's take for example cameraAnimSetID == 7, so: *(0x604 + 7*2) -> 0x25E. Now carefully, jump by multiplying it by 2! 5a. 0x604 + (0x25E * 2) = 0xAC0 Therefore: a0stg006.x Camera animation 7 in camera collection 0 is at 0xAC0
== Geometry ==