Vehicle List/Burnout Paradise/Previous versions: Difference between revisions

m
Update flags again
m (Fix link.)
m (Update flags again)
 
(7 intermediate revisions by 2 users not shown)
Line 60:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x8 || [[Common Data Types (Burnout_Paradise)#CgsID | CgsID]] || mId || Vehicle ID || Decodes to car ID, e.g., XASBSCB1
|-
| 0x8 || 0x8 || [[Common Data Types (Burnout_Paradise)#CgsID | CgsID]] || mParentId || Parent vehicle ID || Decodes to car ID, e.g., PASBSC01
|-
| 0x10 || 0x20 || char[32] || mDefaultWheelName || Wheel name ||
Line 70:
| 0x70 || 0x20 || char[32] || macManufacturerName || Manufacturer name ||
|-
| 0x90 || 0xC || [[Vehicle List (/Burnout Paradise)#BrnResource::VehicleListEntryGamePlayData | VehicleListEntryGamePlayData]] || mGamePlayData || ||
|-
| 0x9C || 0x4 || || || paddingPadding ||
|-
| 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 || 0x1 || uint8_t || muCarType || Boost type || See [[#BrnResource::ECarType | ECarType]]
|-
| 0xE9 || 0x1 || uint8_t || muLiveryType || Finish Type || See [[#BrnResource::VehicleListEntry::ELiveryType | ELiveryType]]
|-
| 0xEA || 0x1 || uint8_t || muTopSpeedNormal || MaxSpeed from AttribSys ||
Line 99:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x8 || [[Common Data Types (Burnout_Paradise)#CgsID | CgsID]] || mId || Vehicle ID || Decodes to car ID, e.g., XASBSCB1
|-
| 0x8 || 0x8 || [[Common Data Types (Burnout_Paradise)#CgsID | CgsID]] || mParentId || Parent vehicle ID || Decodes to car ID, e.g., PASBSC01
|-
| 0x10 || 0x20 || char[32] || mDefaultWheelName || Wheel name ||
Line 109:
| 0x70 || 0x20 || char[32] || macManufacturerName || Manufacturer name ||
|-
| 0x90 || 0xC || [[Vehicle List (/Burnout Paradise)#BrnResource::VehicleListEntryGamePlayData | VehicleListEntryGamePlayData]] || mGamePlayData || ||
|-
| 0x9C || 0x4 || || || paddingPadding ||
|-
| 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? || Always null
|-
| 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]]
|-
| 0xFA || 0x1 || uint8_t || muTopSpeedNormal || MaxSpeed from AttribSys ||
Line 140:
==== v1.6 ====
{| class="wikitable"
|-
! Name !! Value !! Comments
|-
Line 152 ⟶ 151:
==== v1.7 ====
{| class="wikitable"
|-
! Name !! Value !! Comments
|-
Line 170 ⟶ 168:
==== v1.8 ====
{| class="wikitable"
|-
! Name !! Value !! Comments
|-
Line 191 ⟶ 188:
==== v1.0 ====
{| class="wikitable"
|-
! Name !! Value !! Comments
|-
Line 207 ⟶ 203:
==== v1.3 ====
{| class="wikitable"
|-
! Name !! Value !! Comments
|-
Line 226 ⟶ 221:
==== v1.0 ====
{| class="wikitable"
|-
! Name !! Value !! Comments
|-
Line 240 ⟶ 234:
|}
 
=== BrnResource::VehicleListEntryGamePlayData::EFlags ===
=== Vehicle flags ===
==== v1.0 ====
{| class="wikitable"
|-
! Name !! Value !! Comments
|-
| IsRaceVehicleE_FLAG_IS_RACE_VEHICLE || 0x1 || AllowsUsed ato vehicledifferentiate tobetween beplayer selectedand traffic cars.<br>Allows selecting this vehicle in the junkyard
|-
| IsTrafficVehicle? || 0x2 || Removed? Always 0
|-
| CanCheckTraffic?E_FLAG_CAN_CHECK_TRAFFIC || 0x4 || PossiblyCan CanBeChecked.check traffic.<br>Always 0
|-
| CanBeChecked?E_FLAG_CAN_BE_CHECKED || 0x8 || PossiblyCan CanCheckTraffic.be checked like traffic.<br>Always 0
|-
| IsTrailerE_FLAG_IS_TRAILER || 0x10 || Is a trailer.<br>Trailers have this set
|-
| CanTowTrailerE_FLAG_CAN_TOW_TRAILER || 0x20 || Is an articulated cab that can tow a trailer.<br>ArticCabs have this set
|-
| CanBePaintedE_FLAG_CAN_BE_PAINTED? || 0x40 || Allows the vehicle to be painted
|}
 
==== v1.3 ====
{| class="wikitable"
|-
! Name !! Value !! Comments
|-
| IsRaceVehicleE_FLAG_IS_RACE_VEHICLE || 0x1 || AllowsUsed ato vehicledifferentiate tobetween beplayer selectedand traffic cars.<br>Allows selecting this vehicle in the junkyard
|-
| IsTrafficVehicle? || 0x2 || Removed? Always 0
|-
| CanCheckTraffic?E_FLAG_CAN_CHECK_TRAFFIC || 0x4 || PossiblyCan CanBeChecked.check traffic.<br>Always 0
|-
| CanBeChecked?E_FLAG_CAN_BE_CHECKED || 0x8 || PossiblyCan CanCheckTraffic.be checked like traffic.<br>Always 0
|-
| IsTrailerE_FLAG_IS_TRAILER || 0x10 || Is a trailer.<br>Trailers have this set
|-
| CanTowTrailerE_FLAG_CAN_TOW_TRAILER || 0x20 || Is an articulated cab that can tow a trailer.<br>ArticCabs have this set
|-
| CanBePaintedE_FLAG_CAN_BE_PAINTED? || 0x40 || Allows the vehicle to be painted
|-
| ? || 0x80 || Unknown. Always 0
Line 297 ⟶ 289:
==== v1.4 ====
{| class="wikitable"
|-
! Name !! Value !! Comments
|-
| IsRaceVehicleE_FLAG_IS_RACE_VEHICLE || 0x1 || AllowsUsed ato vehicledifferentiate tobetween beplayer selectedand traffic cars.<br>Allows selecting this vehicle in the junkyard
|-
| IsTrafficVehicle? || 0x2 || Removed? Always 0
|-
| CanCheckTraffic?E_FLAG_CAN_CHECK_TRAFFIC || 0x4 || PossiblyCan CanBeChecked.check traffic.<br>Always 0
|-
| CanBeChecked?E_FLAG_CAN_BE_CHECKED || 0x8 || PossiblyCan CanCheckTraffic.be checked like traffic.<br>Always 0
|-
| IsTrailerE_FLAG_IS_TRAILER || 0x10 || Is a trailer.<br>Trailers have this set
|-
| CanTowTrailerE_FLAG_CAN_TOW_TRAILER || 0x20 || Is an articulated cab that can tow a trailer.<br>ArticCabs have this set
|-
| CanBePaintedE_FLAG_CAN_BE_PAINTED? || 0x40 || Allows the vehicle to be painted
|-
| ? || 0x80 || Unknown. Always 0
Line 333 ⟶ 324:
==== v1.5 ====
{| class="wikitable"
|-
! Name !! Value !! Comments
|-
| IsRaceVehicleE_FLAG_IS_RACE_VEHICLE || 0x1 || AllowsUsed ato vehicledifferentiate tobetween beplayer selectedand traffic cars.<br>Allows selecting this vehicle in the junkyard
|-
| IsTrafficVehicle? || 0x2 || Removed? Always 0
|-
| CanCheckTraffic?E_FLAG_CAN_CHECK_TRAFFIC || 0x4 || PossiblyCan CanBeChecked.check traffic.<br>Always 0
|-
| CanBeChecked?E_FLAG_CAN_BE_CHECKED || 0x8 || PossiblyCan CanCheckTraffic.be checked like traffic.<br>Always 0
|-
| IsTrailerE_FLAG_IS_TRAILER || 0x10 || Is a trailer.<br>Trailers have this set
|-
| CanTowTrailerE_FLAG_CAN_TOW_TRAILER || 0x20 || Is an articulated cab that can tow a trailer.<br>ArticCabs have this set
|-
| CanBePaintedE_FLAG_CAN_BE_PAINTED? || 0x40 || Allows the vehicle to be painted
|-
| ? || 0x80 || Unknown. Always 0
Line 367 ⟶ 357:
|-
| ? || 0x8000 || Is from 1.5
|-
| E_FLAG_MAX || 0x10000 ||
|-
| E_FLAG_FORCE_DWORD || 0xFFFFFFFF ||
|}
 
==== v1.6 ====
{| class="wikitable"
|-
! Name !! Value !! Comments
|-
| IsRaceVehicleE_FLAG_IS_RACE_VEHICLE || 0x1 || AllowsUsed ato vehicledifferentiate tobetween beplayer selectedand traffic cars.<br>Allows selecting this vehicle in the junkyard
|-
| IsTrafficVehicle? || 0x2 || Removed? Always 0
|-
| CanCheckTraffic?E_FLAG_CAN_CHECK_TRAFFIC || 0x4 || PossiblyCan CanBeChecked.check traffic.<br>Always 0
|-
| CanBeChecked?E_FLAG_CAN_BE_CHECKED || 0x8 || PossiblyCan CanCheckTraffic.be checked like traffic.<br>Always 0
|-
| IsTrailerE_FLAG_IS_TRAILER || 0x10 || Is a trailer.<br>Trailers have this set
|-
| CanTowTrailerE_FLAG_CAN_TOW_TRAILER || 0x20 || Is an articulated cab that can tow a trailer.<br>ArticCabs have this set
|-
| CanBePaintedE_FLAG_CAN_BE_PAINTED? || 0x40 || Allows the vehicle to be painted
|-
| ? || 0x80 || Unknown. Always 1
Line 411 ⟶ 404:
==== v1.7 ====
{| class="wikitable"
|-
! Name !! Value !! Comments
|-
| IsRaceVehicleE_FLAG_IS_RACE_VEHICLE || 0x1 || AllowsUsed ato vehicledifferentiate tobetween beplayer selectedand traffic cars.<br>Allows selecting this vehicle in the junkyard
|-
| CanCheckTraffic?E_FLAG_CAN_CHECK_TRAFFIC || 0x2 || PossiblyCan CanBeChecked.check traffic.<br>Always 0
|-
| CanBeChecked?E_FLAG_CAN_BE_CHECKED || 0x4 || PossiblyCan CanCheckTraffic.be checked like traffic.<br>Always 0
|-
| IsTrailerE_FLAG_IS_TRAILER || 0x8 || Is a trailer.<br>Trailers have this set
|-
| CanTowTrailerE_FLAG_CAN_TOW_TRAILER || 0x10 || Is an articulated cab that can tow a trailer.<br>ArticCabs have this set
|-
| CanBePaintedE_FLAG_CAN_BE_PAINTED? || 0x20 || Allows the vehicle to be painted
|-
| ? || 0x40 || Unknown. Always 1
Line 453 ⟶ 445:
==== v1.8 ====
{| class="wikitable"
|-
! Name !! Value !! Comments
|-
| IsRaceVehicleE_FLAG_IS_RACE_VEHICLE || 0x1 || AllowsUsed ato vehicledifferentiate tobetween beplayer selectedand traffic cars.<br>Allows selecting this vehicle in the junkyard
|-
| CanCheckTraffic?E_FLAG_CAN_CHECK_TRAFFIC || 0x2 || PossiblyCan CanBeChecked.check traffic.<br>Always 0
|-
| CanBeChecked?E_FLAG_CAN_BE_CHECKED || 0x4 || PossiblyCan CanCheckTraffic.be checked like traffic.<br>Always 0
|-
| IsTrailerE_FLAG_IS_TRAILER || 0x8 || Is a trailer.<br>Trailers have this set
|-
| CanTowTrailerE_FLAG_CAN_TOW_TRAILER || 0x10 || Is an articulated cab that can tow a trailer.<br>ArticCabs have this set
|-
| CanBePaintedE_FLAG_CAN_BE_PAINTED? || 0x20 || Allows the vehicle to be painted
|-
| ? || 0x40 || Unknown. Always 1
Line 493 ⟶ 484:
|-
| ? || 0x40000 || Is from 1.8. Used on Cop Cars
|-}
 
=== AI engine stream ===
==== 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 ||
|}