Vehicle List/Burnout Paradise/Previous versions: Difference between revisions
Vehicle List/Burnout Paradise/Previous versions (view source)
Revision as of 04:41, 15 March 2024
, 2 months agoUpdate flags again
(Created page with "== v1.0 == === VehicleListResource === {| class="wikitable" ! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments |- | 0x0 || 0x4 || uint32_t || muNumVehicles || No. vehicles || || |- | 0x4 || 0x4 || VehicleListEntry * || mpEntries || Vehicles offset || VehicleListEntry format || |- | 0x8 || 0x8 || uint64_t || mu16BytePad || padding || || |} === VehicleListEntry === {| class="wikitable" ! Offset !! Size !! Type !! Name !! Description !!...") |
m (Update flags again) |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 1:
= Junkyard stats =
In v1.6, the stat system was changed to have lower minimum bounds. This was done in line with many vehicles' top speeds being lowered. Prior to this, the following system was used.
=== Speed ===
==== v1.0-v1.5 ====
{| class="wikitable"
! Stat !! Top speed
|-
| 1 || <139 mph<br/>(<224 km/h)
|-
| 2 || 139-143 mph<br/>(224-230 km/h)
|-
| 3 || 144-148 mph<br/>(232-238 km/h)
|-
| 4 || 149-153 mph<br/>(240-246 km/h)
|-
| 5 || 154-158 mph<br/>(248-254 km/h)
|-
| 6 || 159-163 mph<br/>(256-262 km/h)
|-
| 7 || 164-168 mph<br/>(264-270 km/h)
|-
| 8 || 169-172 mph<br/>(272-277 km/h)
|-
| 9 || 173-177 mph<br/>(278-285 km/h)
|-
| 10 || >177 mph<br/>(>285 km/h)
|}
===
==== v1.0-v1.5 ====
{| class="wikitable"
! Stat !! Top speed
|-
| 1 || <161 mph<br/>(<259 km/h)
|-
| 2 || 161-165 mph<br/>(259-266 km/h)
|-
| 3 || 166-170 mph<br/>(267-274 km/h)
|-
| 4 || 171-175 mph<br/>(275-282 km/h)
|-
| 5 || 176-179 mph<br/>(283-288 km/h)
|-
| 6 || 180-184 mph<br/>(290-296 km/h)
|-
| 7 || 185-188 mph<br/>(298-303 km/h)
|-
| 8 || 189-192 mph<br/>(304-309 km/h)
|-
| 9 || 193-197 mph<br/>(311-317 km/h)
|-
| 10 || >197 mph<br/>(>317 km/h)
|}
= Structures =
=== BrnResource::VehicleListEntry ===
==== v1.0-v1.3 ====
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x8 || [[CgsID]] || mId || Vehicle ID ||
|-
| 0x8 || 0x8 || [[CgsID]] || mParentId || Parent vehicle ID ||
|-
| 0x10 || 0x20 || char[32] || mDefaultWheelName || Wheel name ||
|-
| 0x30 || 0x40 || char[64] || macVehicleName || Vehicle
|-
| 0x70 || 0x20 || char[32] || macManufacturerName || Manufacturer name ||
|-
| 0x90 || 0xC || [[Vehicle List/Burnout Paradise#BrnResource::VehicleListEntryGamePlayData|VehicleListEntryGamePlayData]] || mGamePlayData || ||
|-
| 0x9C || 0x4 || || || Padding ||
|-
| 0xA0 || 0x8 || [[Vehicle List/Burnout Paradise#CgsAttribSys::AttribSysCollectionKey|AttribSysCollectionKey]] || mAttribCollectionKey || burnoutcarasset collection name (gamedb ID) || lookup8 encoded in vehicle AttribSys
|-
| 0xA8 || 0x40 || [[Vehicle List/Burnout Paradise#BrnResource::VehicleListEntryAudioData|VehicleListEntryAudioData]] || mAudioData || ||
|-
|
|-
|
|-
|
|-
| 0xEB || 0x1 || uint8_t || muTopSpeedBoost || MaxBoostSpeed
|-
|
|-
| 0xED || 0x1 || uint8_t || muTopSpeedBoostGUIStat || Junkyard
|-
| 0xEE || 0x1 || uint8_t || muColourIndex || Default
|-
| 0xEF || 0x1 || uint8_t || muPaletteIndex || Default
|}
====
{| class="wikitable"
! Offset !!
|-
| 0x0 ||
|-
|
|-
| 0x10 || 0x20 || char[32] || mDefaultWheelName ||
|-
| 0x30 || 0x40 || char[64] || macVehicleName ||
|-
| 0x70 || 0x20 || char[32] || macManufacturerName ||
|-
| 0x90 || 0xC || [[Vehicle List/Burnout Paradise#BrnResource::VehicleListEntryGamePlayData|VehicleListEntryGamePlayData]] || mGamePlayData || ||
|-
| 0x9C || 0x4 || || ||
|-
| 0xA0 || 0x8 || [[Vehicle List/Burnout Paradise#CgsAttribSys::AttribSysCollectionKey|AttribSysCollectionKey]] || mAttribCollectionKey || burnoutcarasset collection name (gamedb ID) || lookup8 encoded in vehicle AttribSys
|-
| 0xA8 || 0x40 || [[Vehicle List/Burnout Paradise#BrnResource::VehicleListEntryAudioData|VehicleListEntryAudioData]] || mAudioData || ||
|-
| 0xE8 || 0x10 || ? || ? || Plane-related? ||
|-
| 0xF8 || 0x1 || uint8_t || muCarType || Vehicle and boost type || High nibble is vehicle type, low nibble is boost type. See [[Vehicle List/Burnout Paradise#Vehicle type|vehicle type]] and [[#BrnResource::ECarType|ECarType]]
|-
| 0xF9 || 0x1 || uint8_t || muLiveryType || Finish Type || See [[#BrnResource::VehicleListEntry::ELiveryType|ELiveryType]]
|-
|
|-
| 0xFB || 0x1 || uint8_t || muTopSpeedBoost || MaxBoostSpeed
|-
| 0xFC || 0x1 || uint8_t || muTopSpeedNormalGUIStat || Junkyard
|-
| 0xFD || 0x1 || uint8_t || muTopSpeedBoostGUIStat || Junkyard
|-
| 0xFE || 0x1 || uint8_t || muColourIndex || Default
|-
| 0xFF || 0x1 || uint8_t || muPaletteIndex || Default
|}
= Enumerations =
=== Category ===
==== v1.6 ====
{| class="wikitable"
! Name !! Value !! Comments
|-
| ? || 0x1 || Paradise Cars
|-
| ? || 0x2 || Paradise Bikes
|-
| ? || 0x4 || Online Cars
|}
====
{| class="wikitable"
|-
| ? || 0x1 || Paradise Cars
|-
| ? || 0x2 || Paradise Bikes
|-
| ? || 0x4 || Online Cars
|-
| ? || 0x8 || Toy Vehicles
|-
| ? || 0x10 || Legendary Cars
|-
| ? || 0x20 || Boost Special Cars
|}
==== v1.8 ====
{| class="wikitable"
! Name !! Value !! Comments
|-
| ? || 0x1 || Paradise Cars
|-
| ? || 0x2 || Paradise Bikes
|-
| ? || 0x4 || Online Cars
|-
| ? || 0x8 || Toy
|-
|
|-
| ? || 0x20 || Boost Special Cars
|-
| ? || 0x40 || Cop Cars
|}
=== BrnResource::ECarType ===
==== v1.0 ====
{| class="wikitable"
! Name !! Value !! Comments
|-
| E_CARTYPE_DANGER || 0 || Speed
|-
| E_CARTYPE_AGGRESSION || 1 || Aggression
|-
| E_CARTYPE_STUNTS || 2 || Stunt
|-
| E_CARTYPE_INVALID || 3 ||
|-
| E_CARTYPE_COUNT || 3 ||
|}
==== v1.3 ====
{| class="wikitable"
! Name !! Value !! Comments
|-
| E_CARTYPE_DANGER || 0 || Speed
|-
| E_CARTYPE_AGGRESSION || 1 || Aggression
|-
| E_CARTYPE_STUNTS || 2 || Stunt
|-
| ? || 3 || None
|-
|
|-
| E_CARTYPE_COUNT || 4 ||
|}
=== BrnResource::VehicleListEntry::ELiveryType ===
==== v1.0 ====
{| class="wikitable"
! Name !! Value !! Comments
|-
| E_LIVERY_DEFAULT || 0 || Primary finish (primary vehicle)
|-
| E_LIVERY_COLOUR || 1 || Secondary finish
|-
| E_LIVERY_PATTERN || 2 || Primary finish (Burning Route vehicle)
|-
| E_LIVERY_SILVER || 3 || Platinum finish
|-
| E_LIVERY_GOLD || 4 || Gold finish
|}
=== BrnResource::VehicleListEntryGamePlayData::EFlags ===
==== v1.0 ====
{| class="wikitable"
|-
| E_FLAG_IS_RACE_VEHICLE || 0x1 || Used to differentiate between player and traffic cars.<br>Allows selecting this vehicle in the junkyard
|-
| ? || 0x2 || Removed? Always 0
|-
| E_FLAG_CAN_CHECK_TRAFFIC || 0x4 || Can check traffic.<br>Always 0
|-
| E_FLAG_CAN_BE_CHECKED || 0x8 || Can be checked like traffic.<br>Always 0
|-
| E_FLAG_IS_TRAILER || 0x10 || Is a trailer.<br>Trailers have this set
|-
| E_FLAG_CAN_TOW_TRAILER || 0x20 || Is an articulated cab that can tow a trailer.<br>ArticCabs have this set
|-
| E_FLAG_CAN_BE_PAINTED? || 0x40 || Allows the vehicle to be painted
|}
====
{| class="wikitable"
|-
| E_FLAG_IS_RACE_VEHICLE || 0x1 || Used to differentiate between player and traffic cars.<br>Allows selecting this vehicle in the junkyard
|-
| ? || 0x2 || Removed? Always 0
|-
| E_FLAG_CAN_CHECK_TRAFFIC || 0x4 || Can check traffic.<br>Always 0
|-
| E_FLAG_CAN_BE_CHECKED || 0x8 || Can be checked like traffic.<br>Always 0
|-
| E_FLAG_IS_TRAILER || 0x10 || Is a trailer.<br>Trailers have this set
|-
| E_FLAG_CAN_TOW_TRAILER || 0x20 || Is an articulated cab that can tow a trailer.<br>ArticCabs have this set
|-
| E_FLAG_CAN_BE_PAINTED? || 0x40 || Allows the vehicle to be painted
|-
| ? || 0x80 || Unknown. Always 0
|-
| ? || 0x100 || Unknown. Always 0
|-
| ? || 0x200 || Unknown. Always 0
|-
| ? || 0x400 || Versioning.
|-
| ? || 0x800 || Is
|-
| ? || 0x1000 || Is
|-
| ? || 0x2000 || Is from 1.3. Used on Online Cars/Community Cars
|}
==== v1.4 ====
{| class="wikitable"
! Name !! Value !! Comments
|-
| E_FLAG_IS_RACE_VEHICLE || 0x1 || Used to differentiate between player and traffic cars.<br>Allows selecting this vehicle in the junkyard
|-
| ? || 0x2 || Removed? Always 0
|-
| E_FLAG_CAN_CHECK_TRAFFIC || 0x4 || Can check traffic.<br>Always 0
|-
| E_FLAG_CAN_BE_CHECKED || 0x8 || Can be checked like traffic.<br>Always 0
|-
| E_FLAG_IS_TRAILER || 0x10 || Is a trailer.<br>Trailers have this set
|-
| E_FLAG_CAN_TOW_TRAILER || 0x20 || Is an articulated cab that can tow a trailer.<br>ArticCabs have this set
|-
| E_FLAG_CAN_BE_PAINTED? || 0x40 || Allows the vehicle to be painted
|-
| ? || 0x80 || Unknown. Always 0
|-
| ? || 0x100 || Unknown. Always 0
|-
| ? || 0x200 || Unknown. Always 0
|-
| ? || 0x400 || Versioning. Always 0
|-
| ? || 0x800 || Is WIP/dev
|-
| ? || 0x1000 || Is
|-
| ? || 0x2000 || Is
|-
| ? || 0x4000 || Is
|}
====
{| class="wikitable"
|-
| E_FLAG_IS_RACE_VEHICLE || 0x1 || Used to differentiate between player and traffic cars.<br>Allows selecting this vehicle in the junkyard
|-
| ? || 0x2 || Removed? Always 0
|-
| E_FLAG_CAN_CHECK_TRAFFIC || 0x4 || Can check traffic.<br>Always 0
|-
| E_FLAG_CAN_BE_CHECKED || 0x8 || Can be checked like traffic.<br>Always 0
|-
| E_FLAG_IS_TRAILER || 0x10 || Is a trailer.<br>Trailers have this set
|-
| E_FLAG_CAN_TOW_TRAILER || 0x20 || Is an articulated cab that can tow a trailer.<br>ArticCabs have this set
|-
| E_FLAG_CAN_BE_PAINTED? || 0x40 || Allows the vehicle to be painted
|-
| ? || 0x80 || Unknown. Always 0
|-
| ? || 0x100 ||
|-
| ? || 0x200 ||
|-
| ? || 0x400 ||
|-
| ? || 0x800 || Is WIP/dev
|-
| ? || 0x1000 || Is
|-
| ? || 0x2000 ||
|-
| ? || 0x4000 ||
|-
| ? || 0x8000 || Is from 1.5
|-
| E_FLAG_MAX || 0x10000 ||
|-
| E_FLAG_FORCE_DWORD || 0xFFFFFFFF ||
|}
==== v1.6 ====
{| class="wikitable"
! Name !! Value !! Comments
|-
| E_FLAG_IS_RACE_VEHICLE || 0x1 || Used to differentiate between player and traffic cars.<br>Allows selecting this vehicle in the junkyard
|-
| ? || 0x2 || Removed? Always 0
|-
| E_FLAG_CAN_CHECK_TRAFFIC || 0x4 || Can check traffic.<br>Always 0
|-
| E_FLAG_CAN_BE_CHECKED || 0x8 || Can be checked like traffic.<br>Always 0
|-
| E_FLAG_IS_TRAILER || 0x10 || Is a trailer.<br>Trailers have this set
|-
| E_FLAG_CAN_TOW_TRAILER || 0x20 || Is an articulated cab that can tow a trailer.<br>ArticCabs have this set
|-
| E_FLAG_CAN_BE_PAINTED? || 0x40 || Allows the vehicle to be painted
|-
| ? || 0x80 || Unknown. Always 1
|-
| ? || 0x100 || First
|-
|
|-
| ? || 0x400 || Versioning. Always 0
|-
| ? || 0x800 || Is WIP/dev
|-
| ? || 0x1000 || Is from 1.0. Used on Paradise Cars
|-
| ? || 0x2000 || Is from 1.3. Used on Online Cars/Community Cars
|-
| ? || 0x4000 || Is from 1.4. Used on Paradise Bikes
|-
| ? || 0x8000 || Is from 1.5
|-
| ? || 0x10000 || Is from 1.6
|}
====
{| class="wikitable"
|-
| E_FLAG_IS_RACE_VEHICLE || 0x1 || Used to differentiate between player and traffic cars.<br>Allows selecting this vehicle in the junkyard
|-
| E_FLAG_CAN_CHECK_TRAFFIC || 0x2 || Can check traffic.<br>Always 0
|-
| E_FLAG_CAN_BE_CHECKED || 0x4 || Can be checked like traffic.<br>Always 0
|-
| E_FLAG_IS_TRAILER || 0x8 || Is a trailer.<br>Trailers have this set
|-
| E_FLAG_CAN_TOW_TRAILER || 0x10 || Is an articulated cab that can tow a trailer.<br>ArticCabs have this set
|-
| E_FLAG_CAN_BE_PAINTED? || 0x20 || Allows the vehicle to be painted
|-
| ? || 0x40 || Unknown. Always 1
|-
| ? || 0x80 || Is
|-
| ? || 0x100 || Has switchable boost
|-
| ? || 0x200 || Unknown. Always 0
|-
|
|-
| ? || 0x800 || Is WIP/dev
|-
| ? || 0x1000 || Is from 1.0. Used on Paradise Cars
|-
| ? || 0x2000 || Is from 1.3. Used on Online Cars/Community Cars
|-
| ? || 0x4000 || Is
|-
| ? || 0x8000 || Is from 1.5
|-
| ? || 0x10000 || Is from 1.6
|-
| ? || 0x20000 || Is from 1.7. Used on Toys/Legendary Cars/Boost Specials
|}
==== v1.8 ====
{| class="wikitable"
! Name !! Value !! Comments
|-
| E_FLAG_IS_RACE_VEHICLE || 0x1 || Used to differentiate between player and traffic cars.<br>Allows selecting this vehicle in the junkyard
|-
| E_FLAG_CAN_CHECK_TRAFFIC || 0x2 || Can check traffic.<br>Always 0
|-
| E_FLAG_CAN_BE_CHECKED || 0x4 || Can be checked like traffic.<br>Always 0
|-
| E_FLAG_IS_TRAILER || 0x8 || Is a trailer.<br>Trailers have this set
|-
| E_FLAG_CAN_TOW_TRAILER || 0x10 || Is an articulated cab that can tow a trailer.<br>ArticCabs have this set
|-
| E_FLAG_CAN_BE_PAINTED? || 0x20 || Allows the vehicle to be painted
|-
| ? || 0x40 || Unknown. Always 1
|-
| ? || 0x80 || Is the first car within a certain speed range
|-
| ? || 0x100 || Has switchable boost
|-
| ? || 0x200 || Unknown. Always 0
|-
| ? || 0x400 || Versioning. Always 0
|-
| ? || 0x800 || Is WIP/dev
|-
| ? || 0x1000 || Is from 1.0. Used on Paradise Cars
|-
| ? || 0x2000 || Is from 1.3. Used on Online Cars/Community Cars
|-
| ? || 0x4000 || Is from 1.4. Used on Paradise Bikes
|-
| ? || 0x8000 || Is from 1.5
|-
| ? || 0x10000 || Is from 1.6
|-
| ? || 0x20000 || Is from 1.7. Used on Toys/Legendary Cars/Boost Specials
|-
| ? || 0x40000 || Is from 1.8. Used on Cop Cars
|}
===
==== v1.0-v1.3 ====
{| class="wikitable"
! Name !! Value !! Comments
|-
| AIROD_EX || 1 ||
|-
| AI_CIVIC_EX || 2 ||
|-
| AI_GT_ENG || 3 ||
|-
| AI_MUST_EX || 4 ||
|-
| AI_F1_EX || 5 ||
|}
|