Trigger Data/Development: Difference between revisions
m
no edit summary
(Version 15) |
mNo edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1:
* Version 7: Used in [[Burnout 5 (2006-11-13 build)]].▼
* Version 15: Used in [[Burnout 5 (2007-02-22 build)]].▼
=== Version 7 ===▼
▲Used in [[Burnout 5 (2006-11-13 build)]].
▲Used in [[Burnout 5 (2007-02-22 build)]].
== Structures ==▼
=== BrnTrigger::TriggerData ===
==== Version 15 ====
Line 54 ⟶ 47:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 ||
|-
|
|-▼
|}
Line 66 ⟶ 57:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x50 || [[#BrnTrigger::BoxRegion|BoxRegion]] || mBoxRegion || ||
|-
| 0x50 || 0x4 || [[CgsID]] || mId || ||
|-
| 0x58 || 0x4 || int32_t || miRegionIndex || Region index ||
Line 74 ⟶ 65:
| 0x5C || 0x1 || uint8_t || meType || Region type || See [[#BrnTrigger::TriggerRegion::Type|type]]
|-
| 0x5D || 0x3 || uint8_t[3] || muPad || ||
|}
Line 82 ⟶ 73:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x60 || [[#BrnTrigger::TriggerRegion|TriggerRegion]] ||
|-
| 0x60 || 0x4 || [[../#BrnTrigger::StartingGrid|StartingGrid]]* || mpaStartingGrids || Starting grids ||
|-
| 0x64 || 0x4 || [[#
|-
| 0x68 || 0x4 ||
|-
| 0x6C || 0x4 ||
|-
| 0x70 || 0x1 || uint8_t || muDesignIndex || Landmark index ||
Line 96 ⟶ 87:
| 0x71 || 0x1 || uint8_t || muDistrict || District ID || See [[Paradise City/Districts|Districts]]
|-
| 0x72 || 0xE || || || Padding
|}
===
==== Version 15 ====
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x60 || [[#BrnTrigger::TriggerRegion|TriggerRegion]] ||
|}
Line 112 ⟶ 103:
! Offset !! Size !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x60 || [[#BrnTrigger::TriggerRegion|TriggerRegion]] ||
|-
| 0x60 ||
|-
|
|-
|
|-▼
| 0x6C || 0x2 || ? || ? || || Always 0?▼
|-
| 0x6E || 0x1 || uint8_t || meType || Generic region type || See [[#BrnTrigger::GenericRegion::Type|type]]
|-
| 0x6F || 0x1 || int8_t || miPad || Padding
|}
Line 132 ⟶ 121:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x60 || [[#BrnTrigger::TriggerRegion|TriggerRegion]] ||
|-
| 0x60 ||
▲|-
▲|-
| 0x64 || 0x4 || int32_t || miScoreAmount || ||
|-
| 0x68 || 0x8 || || || Padding ||
|}
Line 142 ⟶ 137:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x60 || [[#BrnTrigger::TriggerRegion|TriggerRegion]] ||
|}
=== BrnTrigger::TriggerRegion::Type ===
==== Version 15 ====
Line 163 ⟶ 157:
|-
| E_TYPE_COUNT || 5 ||
|}
=== BrnTrigger::GenericRegion::StuntCameraType ===
{| class="wikitable"
! Name !! Value !! Comments
|-
| E_STUNTCAMERATYPE_NORMAL || 0 ||
|-
| E_STUNTCAMERATYPE_NOCUTS || 1 ||
|-
| E_STUNTCAMERATYPE_CUSTOM || 2 ||
|}
Line 172 ⟶ 178:
! Name !! Value !! Comments
|-
|
|-
|
|-
|
|-
| E_TYPE_BODY_SHOP || 3 || BodyShop
Line 186 ⟶ 192:
| E_TYPE_GAS_STATION || 6 || GasStation
|-
|
|-
|
|-
|
|-
| E_TYPE_SIGNATURE_TAKEDOWN || 10 || SignatureTakedown
|-
|
|-
| E_TYPE_KILLZONE || 12 || KillzoneTrigger
|-
|
|-
|
|-
|
|-
| E_TYPE_ROAD_LIMIT || 16 || RoadLimit
|