Vehicle List/Burnout Paradise: Difference between revisions

Added infobox and normalized some content.
m (Fix text)
(Added infobox and normalized some content.)
Line 1:
{{ParadiseResourceTypeInfobox
| name = VehicleList
| example = [[File:Paradise VehicleList Example.png|frameless|300px]]<br />A VehicleList shown in Bundle Manager.
| resourcenames = B5VehicleList
| id = 0x10005
| category = Game-specific<br />(Burnout Paradise)
| memdist = Main Memory only
| editor = Yes<br />Use [https://github.com/burninrubber0/Bundle-Manager/releases/latest Bundle Manager]
}}
 
{{subpage|Previous versions|text=Description of the Vehicle List changes since the first version of the game.}}
{{subpage|Development|text=Description of the Vehicle List changes during development of the game.}}
 
The Vehicle List resource contains most high-level information on vehicles in ''[[Burnout Paradise]]'', such as their ID, junkyard stats, sound IDs and more. It is stored in VEHICLES/'''VEHICLELIST.BUNDLE'''.
 
= Junkyard stats =
All junkyard stats are controlled via the Vehicle List's GUI stat fields.
 
=== Speed/boost ===
Speed stats are based on vehicles' top speeds when not boosting; similarly, boost stats are based on the top speeds while using boost. Both use the same system for calculating stats. While the numbers are liable to vary, they are generally accurate to Paradise Cars.
 
Line 34 ⟶ 44:
|}
 
=== Strength ===
Unlike the Speed and Boost stats, the Strength stat is not based on any vehicle attribute(s). Instead, it is used as the determining value for how many times a vehicle has to wreck to lose a Marked Man or Road Rage event. It has no bearing on the actual strength of the vehicle in crashes or takedowns and appears to have been chosen arbitrarily by Criterion.
 
Line 61 ⟶ 71:
|}
 
= Structures =
=== BrnResource::VehicleListResource ===
==== 32-bit ====
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
Line 71 ⟶ 81:
| 0x4 || 0x4 || [[#BrnResource::VehicleListEntry|VehicleListEntry]]* || mpEntries || Vehicles ||
|-
| 0x8 || 0x8 || uint64_t || mu16BytePad || paddingPadding ||
|}
 
==== 64-bit ====
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
Line 82 ⟶ 92:
| 0x8 || 0x4 || uint32_t || muNumVehicles || Number of vehicles ||
|-
| 0xC || 0x4 || uint32_t || mu16BytePad || paddingPadding ||
|}
 
=== BrnResource::VehicleListEntry ===
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
Line 101 ⟶ 111:
| 0x90 || 0xC || [[#BrnResource::VehicleListEntryGamePlayData|VehicleListEntryGamePlayData]] || mGamePlayData || ||
|-
| 0x9C || 0x4 || || || paddingPadding ||
|-
| 0xA0 || 0x8 || [[#CgsAttribSys::AttribSysCollectionKey|AttribSysCollectionKey]] || mAttribCollectionKey || burnoutcarasset collection name (gamedb ID) || lookup8 encoded in vehicle AttribSys
Line 127 ⟶ 137:
| 0x103 || 0x1 || uint8_t || muPaletteIndex || Default color type index ||
|-
| 0x104 || 0x4 || || || paddingPadding ||
|}
 
=== BrnResource::VehicleListEntryGamePlayData ===
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
Line 147 ⟶ 157:
|}
 
=== BrnResource::VehicleListEntryAudioData ===
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
Line 161 ⟶ 171:
| 0x20 || 0x4 || Name || mRivalUnlockName || Class unlock stream || See [[#Class unlock stream|class unlock stream]]
|-
| 0x24 || 0x4 || || || paddingPadding ||
|-
| 0x28 || 0x8 || [[#CgsAttribSys::AttribSysCollectionKey|AttribSysCollectionKey]] || mWonCarVoiceOverKey || Car shutdown streams || languagestreamconfiguration collection name in BURNOUTGLOBALDATA. Contains 8 CgsSoundPlaybackHashes to identify CAR_SHUTDOWN streams
Line 175 ⟶ 185:
| 0x3E || 0x1 || uint8_t || muiAIExhaustIndex3rdPick || AI Engine Stream 3 || See [[#AI engine stream|AI engine stream]]
|-
| 0x3F || 0x1 || || || paddingPadding ||
|}
 
=== CgsAttribSys::AttribSysCollectionKey ===
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
Line 185 ⟶ 195:
|}
 
= Enumerations =
=== Category ===
{| class="wikitable"
! Name !! Value !! Comments
Line 207 ⟶ 217:
|}
 
=== Vehicle type ===
{| class="wikitable"
! Name !! Value !! Comments
Line 218 ⟶ 228:
|}
 
=== BrnResource::ECarType ===
{| class="wikitable"
! Name !! Value !! Comments
Line 237 ⟶ 247:
|}
 
=== BrnResource::VehicleListEntry::ELiveryType ===
{| class="wikitable"
! Name !! Value !! Comments
Line 254 ⟶ 264:
|}
 
=== Vehicle flags ===
{| class="wikitable"
! Name !! Value !! Comments
Line 299 ⟶ 309:
|}
 
=== Rank ===
{| class="wikitable"
! Name !! Value !! Comments
Line 316 ⟶ 326:
|}
 
=== AI engine stream ===
From <code>BrnSound::Vehicles::KAPC_DEBUG_AI_EXHAUST_NAME</code>.
{| class="wikitable"
Line 334 ⟶ 344:
|}
 
= Streams =
=== Class unlock stream ===
{| class="wikitable"
! Name !! Hash !! Comments
Line 352 ⟶ 362:
|}
 
=== AI music stream ===
{| class="wikitable"
! Name !! Hash !! Comments