Loop Model: Difference between revisions
Formatted for wiki display and corrected info.
(Created page with "=== LoopModelData === {| class="wikitable" ! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments |- | 0x0 || 0x4 || uint32_t || muVersion || Version number || || |- | 0x4 || 0x4 || uint32_t || muSignature || Signature || "YDNA" || |- | 0x8 || 0x4 || Partial * || mpaPartials || || Partial format || |- | 0xC || 0x4 || uint32_t || muNumOfPartials || || || |- | 0x10 || 0x4 || uint32_t || muSizeInBytes || Data size || || |} === Partial ===...") |
(Formatted for wiki display and corrected info.) |
||
Line 1:
Loop models match engine RPM to sounds via a graph.
=== LoopModelData === ▼
= Structures =
'''Note: PC (Remastered) loop models are 64-bit, unlike with other resource types.'''
▲=== BrnSound::Vehicles::Engines::LoopModelData ===
{| class="wikitable"
! Offset !!
|-
| 0x0 || 0x4 || uint32_t || muVersion || Version number || 7
|-
| 0x4 || 0x4 || uint32_t || muSignature ||
|-
| 0x8 || 0x4 || [[#BrnSound::Vehicles::Engines::Partial | Partial]]* || mpaPartials ||
|-
| 0xC || 0x4 || uint32_t || muNumOfPartials
|-
| 0x10 || 0x4 || uint32_t || muSizeInBytes ||
|}
{| class="wikitable"
! Offset !!
|-
| 0x0 || 0x4 ||
|-
| 0x4 || 0x4 ||
|-
| 0x8 ||
|-
|
|-▼
|}
▲=== Graph ===
=== BrnSound::Vehicles::Engines::Partial ===
'''Note: Field order changes between 32 and 64 bit, unlike with other resource types.'''
{| class="wikitable"
! Offset !!
|-
| 0x0 || 0x4 ||
|-
| 0x4 ||
|-
|
|-
|
▲|-
|}
▲=== Point ===
{| class="wikitable"
! Offset !!
|-
| 0x0 ||
|-
|
|}▼
|-
|
|-
|
▲| 0x14 || 0x4 || uint32_t || muSizeInBytes || Data size || ||
|}
=== BrnSound::Vehicles::Engines::Graph ===
{| class="wikitable"
! Offset !!
| 0x0 || 0x4 || [[#BrnSound::Vehicles::Engines::Point | Point]]* || mpaPoints || Points on graph ||
|-
|-
|
|-
|
|-
|
|}
▲=== Graph ===
{| class="wikitable"
! Offset !!
|-
| 0x0 || 0x8 || [[#BrnSound::Vehicles::Engines::Point | Point]]* || mpaPoints ||
|-
| 0x8 || 0x1 || uint8_t || mu8NumOfPoints
|-
| 0x9 || 0x1 || int8_t || mi8XAxis
|-
| 0xA || 0x1 || int8_t || mi8YAxis
|-
| 0xB || 0x1 || int8_t || mPad
|-
| 0xC || 0x4 || || || padding
|}
▲=== Point ===
=== BrnSound::Vehicles::Engines::Point ===
{| class="wikitable"
! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments
|