Trigger Data/Development: Difference between revisions

m
no edit summary
m (Normalization)
mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 47:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x300x40 || [[Matrix33Matrix44Affine]]? || mTransform || Rotation?Transform ||
|-
| 0x300x40 || 0x10 || [[Vector3|vpu::Vector3]] || mDimensions || Position?Dimensions ||
|-
| 0x40 || 0x10 || [[Vector3|vpu::Vector3]] || || Size? ||
|}
 
Line 59 ⟶ 57:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x50 || [[#BrnTrigger::BoxRegion|BoxRegion]] || mBoxRegion || || Unknown for sure if this was a separate struct in this version.
|-
| 0x50 || 0x4 || [[CgsID]] || mId || ||
Line 67 ⟶ 65:
| 0x5C || 0x1 || uint8_t || meType || Region type || See [[#BrnTrigger::TriggerRegion::Type|type]]
|-
| 0x5D || 0x3 || uint8_t[3] || muPad || || (presumably)
|}
 
Line 75 ⟶ 73:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x60 || [[#BrnTrigger::TriggerRegion|TriggerRegion]] || super_TriggerRegion || Base class ||
|-
| 0x60 || 0x4 || [[../#BrnTrigger::StartingGrid|StartingGrid]]* || mpaStartingGrids || Starting grids ||
|-
| 0x64 || 0x4 || [[#Finish lineBrnTrigger::FinishLine|Finish lineFinishLine]]* || mpaFinishLines || Finish lines ||
|-
| 0x68 || 0x4 || uint32_tint32_t || miStartingGridCount || Starting grid count ||
|-
| 0x6C || 0x4 || uint32_tint32_t || muNumFinishLinesmiFinishLineCount || Finish line count ||
|-
| 0x70 || 0x1 || uint8_t || muDesignIndex || Landmark index ||
Line 89 ⟶ 87:
| 0x71 || 0x1 || uint8_t || muDistrict || District ID || See [[Paradise City/Districts|Districts]]
|-
| 0x72 || 0xE || || || Padding (presumably) ||
|}
 
=== Finish lineBrnTrigger::FinishLine ===
==== Version 15 ====
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x60 || [[#BrnTrigger::TriggerRegion|TriggerRegion]] || super_TriggerRegion || Base class ||
|}
 
Line 105 ⟶ 103:
! Offset !! Size !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x60 || [[#BrnTrigger::TriggerRegion|TriggerRegion]] || super_TriggerRegion || Base class ||
|-
| 0x60 || 0x40x8 || ?int64_t || ?miUser1 || || AlwaysUsed 0?if next field is 2
|-
| 0x640x68 || 0x4 || uint32_t?int32_t || ?miUser2 || Camera cut maybe? || Set if next field0 isor 2
|-
| 0x680x6C || 0x40x2 || uint32_t?int16_t || ?miUser3 || Camera type maybe? || Always 0 or 2?
|-
| 0x6C || 0x2 || ? || ? || || Always 0?
|-
| 0x6E || 0x1 || uint8_t || meType || Generic region type || See [[#BrnTrigger::GenericRegion::Type|type]]
|-
| 0x6F || 0x1 || int8_t || miPad || Padding? ||
|}
 
Line 125 ⟶ 121:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x60 || [[#BrnTrigger::TriggerRegion|TriggerRegion]] || super_TriggerRegion || Base class ||
|-
| 0x60 || 0x100x1 || ?uint8_t || ?muScoreType || || Could be theSee [[../#BrnTrigger::Blackspot::ScoreType|score type & amount as per version 42.]]
|-
| 0x6C0x61 || 0x20x3 || ? || ? || Padding || Always 0?
|-
| 0x64 || 0x4 || int32_t || miScoreAmount || ||
|-
| 0x68 || 0x8 || || || Padding ||
|}
 
Line 135 ⟶ 137:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x60 || [[#BrnTrigger::TriggerRegion|TriggerRegion]] || super_TriggerRegion || Base class ||
|}
 
Line 155 ⟶ 157:
|-
| E_TYPE_COUNT || 5 ||
|}
 
=== BrnTrigger::GenericRegion::StuntCameraType ===
==== Version 15 ====
{| class="wikitable"
! Name !! Value !! Comments
|-
| E_STUNTCAMERATYPE_NORMAL || 0 ||
|-
| E_STUNTCAMERATYPE_NOCUTS || 1 ||
|-
| E_STUNTCAMERATYPE_CUSTOM || 2 ||
|}
 
Line 164 ⟶ 178:
! Name !! Value !! Comments
|-
| ?E_TYPE_HIDDEN_ALLOY_WHEELS || 0 || HiddenAlloyWheels
|-
| ?E_TYPE_TRAIN_TRACK || 1 || TrainTrack
|-
| ?E_TYPE_CAR_WASH || 2 || CarWash
|-
| E_TYPE_BODY_SHOP || 3 || BodyShop
Line 178 ⟶ 192:
| E_TYPE_GAS_STATION || 6 || GasStation
|-
| ?E_TYPE_AUTO_PARTS || 7 || AutoParts
|-
| ?E_TYPE_SPEED_TRAP || 8 || SpeedTrap
|-
| ?E_TYPE_POLICE_PRECINT || 9 || PolicePrecint
|-
| E_TYPE_SIGNATURE_TAKEDOWN || 10 || SignatureTakedown
|-
| ?E_TYPE_SHORTCUT || 11 || Shortcut
|-
| E_TYPE_KILLZONE || 12 || KillzoneTrigger
|-
| ?E_TYPE_BREAKTHRU || 13 || Breakthru
|-
| ?E_TYPE_STUNT || 14 || Stunt
|-
| ?E_TYPE_STUNT_PROP || 15 || StuntProp
|-
| E_TYPE_ROAD_LIMIT || 16 || RoadLimit
117

edits