Prop Instance Data: Difference between revisions

From Burnout Wiki
Content added Content deleted
m (Updated common data type link.)
(Prop type)
Line 82: Line 82:
| 0x0 || 0x40 || [[Matrix44Affine]] || mWorldTransform || ||
| 0x0 || 0x40 || [[Matrix44Affine]] || mWorldTransform || ||
|-
|-
| 0x40 || 0x4 || uint32_t || muTypeIdAndFlags || || Type ID in PropPhysics?<br>Flag 0x4000000 sets entity instance flags to 1. Rest do nothing?
| 0x40 || 0x4 || uint32_t || muTypeIdAndFlags || || Type data index in [[Prop Physics]]<br>Flag 0x4000000 sets entity instance flags to 1. Rest do nothing?
|-
|-
| 0x44 || 0x4 || uint32_t || muInstanceID || ||
| 0x44 || 0x4 || uint32_t || muInstanceID || ||

Revision as of 06:09, 22 January 2023

Structures

BrnPhysics::Props::PropZoneData

32-bit

Offset Length Type Name Description Comments
0x0 0x4 PropCellData* maCells
0x4 0x1 uint8_t muNumCells
0x5 0x3 padding
0x8 0x4 PropInstanceData* maInstances
0xC 0x4 uint32_t muSizeInBytes
0x10 0x4 uint32_t muNumberOfInstances
0x14 0x4 uint32_t muNumberOfProps
0x18 0x2 uint16_t muZoneId
0x1A 0x2 padding

64-bit

Offset Length Type Name Description Comments
0x0 0x8 PropCellData* maCells
0x8 0x1 uint8_t muNumCells
0x9 0x7 padding
0x10 0x8 PropInstanceData* maInstances
0x18 0x4 uint32_t muSizeInBytes
0x1C 0x4 uint32_t muNumberOfInstances
0x20 0x4 uint32_t muNumberOfProps
0x24 0x2 uint16_t muZoneId
0x26 0x2 padding

BrnPhysics::Props::PropCellData

Offset Length Type Name Description Comments
0x0 0x4 PropCellId mId
0x4 0x2 uint16_t muStartIndex
0x6 0x2 uint16_t muCount
0x8 0x2 uint16_t muNumberOfRespawnDifferent
0xA 0x2 uint16_t muNumberOfDontRespawn

BrnPhysics::Props::PropCellId

Offset Length Type Name Description Comments
0x0 0x2 uint16_t muX
0x2 0x2 uint16_t muZ

BrnPhysics::Props::PropInstanceData

Offset Length Type Name Description Comments
0x0 0x40 Matrix44Affine mWorldTransform
0x40 0x4 uint32_t muTypeIdAndFlags Type data index in Prop Physics
Flag 0x4000000 sets entity instance flags to 1. Rest do nothing?
0x44 0x4 uint32_t muInstanceID
0x48 0x2 uint16_t muAlternativeType
0x4A 0x1 int8_t mn8RotSpeed
0x4B 0x1 uint8_t mn8MaxAngle
0x4C 0x1 uint8_t mn8MinAngle
0x4D 0x3 uint8_t[3] mau8Padding