Vehicle List/Burnout Paradise/Development: Difference between revisions

From Burnout Wiki
Content added Content deleted
(Created page.)
 
(Updated with new information.)
Line 21: Line 21:
! Offset !! Length !! Type !! Name !! Description !! Comments
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
|-
| 0x0 || 0x4 || uint32_t || ? || || 10 on Classic Muscle
| 0x0 || 0x4 || uint32_t[3] || muCrashScore || Per-type crash scores || See [[#BrnResource::VehicleListEntryGamePlayData::ECrashScoreType|type]]
|-
|-
| 0x4 || 0x4 || uint32_t || ? || || 20 on Classic Muscle
| 0xC || 0x4 || uint32_t || mxFlags || Vehicle flags || See [[#BrnResource::VehicleListEntryGamePlayData::EFlags|flags]]
|}

= Structures =
=== BrnResource::VehicleListEntryGamePlayData::ECrashScoreType ===
==== 2007-02-22 ====
{| class="wikitable"
! Name !! Value !! Comments
|-
|-
| E_CRASHSCORE_CRASH || 0 ||
| 0x8 || 0x4 || uint32_t || ? || || 30 on Classic Muscle
|-
|-
| E_CRASHSCORE_FIRE || 1 ||
| 0xC || 0x4 || uint32_t || mxFlags || Vehicle flags || See [[#Vehicle flags|flags]]
|-
| E_CRASHSCORE_EXPLODE || 2 ||
|-
| E_CRASHSCORE_MAX || 3 ||
|-
| E_CRASHSCORE_FORCE_DWORD || 0xFFFFFFFF ||
|}
|}


=== BrnResource::VehicleListEntryGamePlayData::EFlags ===
= Structures =
=== Vehicle flags ===
==== 2007-02-22 ====
==== 2007-02-22 ====
{| class="wikitable"
{| class="wikitable"
! Name !! Value !! Comments
! Name !! Value !! Comments
|-
|-
| ? || 0x1 || Is race vehicle?
| E_FLAG_IS_RACE_VEHICLE || 0x1 ||
|-
| ? || 0x2 || Removed?
|-
| E_FLAG_CAN_CHECK_TRAFFIC || 0x4 ||
|-
|-
| ? || 0x2 ||
| E_FLAG_CAN_BE_CHECKED || 0x8 ||
|-
|-
| ? || 0x4 ||
| E_FLAG_IS_TRAILER || 0x10 ||
|-
|-
| E_FLAG_CAN_TOW_TRAILER || 0x20 ||
| ? || 0x8 || Traffic-related?
|-
|-
| ? || 0x10 || Trailer-related
| E_FLAG_MAX || 0x21 ||
|-
|-
| E_FLAG_FORCE_DWORD || 0xFFFFFFFF ||
| ? || 0x20 || Trailer-related
|}
|}

Revision as of 01:22, 15 March 2024

Structures

BrnResource::VehicleListEntry

2007-02-22

Offset Length Type Name Description Comments
0x0 0x8 CgsID mId Vehicle ID Decodes to car ID, e.g., XASBSCB1
0x8 0x20 char[32] mDefaultWheelName Wheel name
0x28 0x40 char[64] macVehicleName Vehicle name
0x68 0x10 VehicleListEntryGamePlayData mGamePlayData
0x78 0x8 AttribSysCollectionKey mAttribCollectionKey burnoutcarasset collection name (gamedb ID) lookup8 encoded in vehicle AttribSys

BrnResource::VehicleListEntryGamePlayData

2007-02-22

Offset Length Type Name Description Comments
0x0 0x4 uint32_t[3] muCrashScore Per-type crash scores See type
0xC 0x4 uint32_t mxFlags Vehicle flags See flags

Structures

BrnResource::VehicleListEntryGamePlayData::ECrashScoreType

2007-02-22

Name Value Comments
E_CRASHSCORE_CRASH 0
E_CRASHSCORE_FIRE 1
E_CRASHSCORE_EXPLODE 2
E_CRASHSCORE_MAX 3
E_CRASHSCORE_FORCE_DWORD 0xFFFFFFFF

BrnResource::VehicleListEntryGamePlayData::EFlags

2007-02-22

Name Value Comments
E_FLAG_IS_RACE_VEHICLE 0x1
? 0x2 Removed?
E_FLAG_CAN_CHECK_TRAFFIC 0x4
E_FLAG_CAN_BE_CHECKED 0x8
E_FLAG_IS_TRAILER 0x10
E_FLAG_CAN_TOW_TRAILER 0x20
E_FLAG_MAX 0x21
E_FLAG_FORCE_DWORD 0xFFFFFFFF