EvilEngine/CAM: Difference between revisions

Content added Content deleted
Battlepedia>Igorseabra4
mNo edit summary
Battlepedia>Seil
Line 11: Line 11:


{| class="wikitable"
{| class="wikitable"
! Offset !! Type !! Description
! Offset !! Type !! Variable !! Description
|-
|-
| 0x8 || [[Vector3]] || '''Position'''
| 0x8 || [[Vector3]] || '''pos''' || Position
|-
|-
| 0x14 || [[Vector3]] || '''Normalized forward vector'''
| 0x14 || [[Vector3]] || '''at''' || Normalized forward vector
|-
|-
| 0x20 || [[Vector3]] || '''Normalized up vector'''
| 0x20 || [[Vector3]] || '''up''' || Normalized up vector
|-
|-
| 0x2C || [[Vector3]] || '''Normalized left vector'''
| 0x2C || [[Vector3]] || '''right''' || Normalized left vector
|-
|-
| 0x38 || ?[3] || Unknown (null)
| 0x38 || [[Vector3]] || '''view_offset''' ||
|-
|-
| 0x44 || short || Unknown, usually 30
| 0x44 || short || '''offset_start_frames''' || usually 30
|-
|-
| 0x46 || short || Unknown, usually 45
| 0x46 || short || '''offset_end_frames''' || usually 45
|-
|-
| 0x48 || float || '''Field of View''' (degrees)
| 0x48 || float || '''fov''' || (degrees)
|-
|-
| 0x4C || float || '''Switch Time''' (seconds). Time it takes to move the camera to this position.
| 0x4C || float || '''trans_time''' || (seconds) Time it takes to move the camera to this position.
|-
|-
| 0x50 || int || Unknown, usually 0, 1, 2, 5, or 6
| 0x50 || int (enum?) || '''trans_type''' || usually 0, 1, 2, 5, or 6
|-
|-
| 0x54 || ?[3] || Unknown (null)
| 0x54 || int || '''flags''' || usually null
|-
|-
| 0x60 || float[4] || Unknown
| 0x58 || float? || '''fade_up''' || usually 0
|-
|-
| 0x70 || ?[2] || Unknown (null)
| 0x5C || float? || '''fade_down''' || usually 0
|-
|-
| 0x60 || float[6] || '''cam_follow'''<br>'''cam_shoulder'''<br>'''cam_static'''<br>'''cam_path'''<br>'''cam_staticFollow''' || ???
| 0x78 || byte || Flag 1, usually 0
|-
|-
| 0x79 || byte || Flag 2, usually 1
| 0x78 || int || '''valid_flags''' ||
* byte 1 usually 0
* byte 2 usually 1
* byte 3 usually 1
* byte 4 usually 0x8F (143) or 0xC0 (192)
|-
|-
| 0x7A || byte || Flag 3, usually 1
| 0x7C || [[AssetID]] ([[MRKR|Marker]]) ? || '''markerid''' || usually null
|-
|-
| 0x7B || byte || Flag 4, usually 0x8F (143) or 0xC0 (192)
| 0x80 || ? || unknown || padding? usually null
|-
|-
| 0x84 || byte || '''cam_type''' || usually 0, 2, or 3
| 0x7C || ?[2] || Unknown (null)
|-
|-
| 0x84 || byte || Flag 5, usually 0, 2, or 3
| 0x85 || byte[3] || '''pad''' || padding
|-
| 0x85 || byte || Flag 6, usually 0
|-
| 0x86 || byte || Flag 7, usually 0
|-
| 0x87 || byte || Flag 8, usually 0
|-
|-
! colspan="3" | Events
! colspan="3" | Events