Versions
Structures
BrnTrigger::TriggerData
Version 15
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x4 |
int32_t |
miVersionNumber |
Resource version |
15
|
0x4 |
0x4 |
uint32_t |
muSize |
Resource size |
|
0x8 |
0x4 |
Landmark* |
mpLandmarks |
Landmarks |
|
0xC |
0x4 |
int32_t |
miLandmarkCount |
Number of landmarks |
|
0x10 |
0x4 |
SignatureStunt* |
mpSignatureStunts |
Signature stunts |
|
0x14 |
0x4 |
int32_t |
miSignatureStuntCount |
Number of signature stunts |
|
0x18 |
0x4 |
GenericRegion* |
mpGenericRegions |
Generic regions |
|
0x1C |
0x4 |
int32_t |
miGenericRegionCount |
Number of generic regions |
|
0x20 |
0x4 |
Killzone* |
mpKillzones |
Killzones |
|
0x24 |
0x4 |
int32_t |
miKillzoneCount |
Number of killzones |
|
0x28 |
0x4 |
Blackspot* |
mpBlackspots |
Blackspots |
|
0x2C |
0x4 |
int32_t |
miBlackspotCount |
Number of blackspots |
|
0x30 |
0x4 |
VFXBoxRegion* |
mpVFXBoxRegions |
VFX box regions |
|
0x34 |
0x4 |
int32_t |
miVFXBoxRegionCount |
Number of VFX box regions |
|
0x38 |
0x4 |
TriggerRegion** |
mppRegions |
Trigger regions |
|
0x3C |
0x4 |
int32_t |
miRegionCount |
Number of regions |
|
BrnTrigger::BoxRegion
Version 15
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x40 |
Matrix44Affine |
mTransform |
Transform |
|
0x40 |
0x10 |
vpu::Vector3 |
mDimensions |
Dimensions |
|
BrnTrigger::TriggerRegion
Version 15
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x50 |
BoxRegion |
mBoxRegion |
|
|
0x50 |
0x4 |
CgsID |
mId |
|
|
0x58 |
0x4 |
int32_t |
miRegionIndex |
Region index |
|
0x5C |
0x1 |
uint8_t |
meType |
Region type |
See type
|
0x5D |
0x3 |
uint8_t[3] |
muPad |
|
|
BrnTrigger::Landmark
Version 15
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x60 |
TriggerRegion |
|
Base class |
|
0x60 |
0x4 |
StartingGrid* |
mpaStartingGrids |
Starting grids |
|
0x64 |
0x4 |
FinishLine* |
mpaFinishLines |
Finish lines |
|
0x68 |
0x4 |
int32_t |
miStartingGridCount |
Starting grid count |
|
0x6C |
0x4 |
int32_t |
miFinishLineCount |
Finish line count |
|
0x70 |
0x1 |
uint8_t |
muDesignIndex |
Landmark index |
|
0x71 |
0x1 |
uint8_t |
muDistrict |
District ID |
See Districts
|
0x72 |
0xE |
|
|
Padding |
|
BrnTrigger::FinishLine
Version 15
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x60 |
TriggerRegion |
|
Base class |
|
BrnTrigger::GenericRegion
Version 15
Offset |
Size |
Type |
Name |
Description |
Comments
|
0x0 |
0x60 |
TriggerRegion |
|
Base class |
|
0x60 |
0x8 |
int64_t |
miUser1 |
|
Used if next field is 2
|
0x68 |
0x4 |
int32_t |
miUser2 |
|
0 or 2
|
0x6C |
0x2 |
int16_t |
miUser3 |
|
Always 0?
|
0x6E |
0x1 |
uint8_t |
meType |
Generic region type |
See type
|
0x6F |
0x1 |
int8_t |
miPad |
Padding |
|
BrnTrigger::Blackspot
Version 15
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x60 |
TriggerRegion |
|
Base class |
|
0x60 |
0x1 |
uint8_t |
muScoreType |
|
See score type
|
0x61 |
0x3 |
|
|
Padding |
|
0x64 |
0x4 |
int32_t |
miScoreAmount |
|
|
0x68 |
0x8 |
|
|
Padding |
|
BrnTrigger::VFXBoxRegion
Version 15
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x60 |
TriggerRegion |
|
Base class |
|
Enumerations
BrnTrigger::TriggerRegion::Type
Version 15
Name |
Value |
Comments
|
E_TYPE_LANDMARK |
0 |
|
E_TYPE_FINISH_LINE |
1 |
|
E_TYPE_BLACKSPOT |
2 |
|
E_TYPE_GENERIC_REGION |
3 |
|
E_TYPE_VFXBOX_REGION |
4 |
|
E_TYPE_COUNT |
5 |
|
BrnTrigger::GenericRegion::StuntCameraType
Version 15
Name |
Value |
Comments
|
E_STUNTCAMERATYPE_NORMAL |
0 |
|
E_STUNTCAMERATYPE_NOCUTS |
1 |
|
E_STUNTCAMERATYPE_CUSTOM |
2 |
|
BrnTrigger::GenericRegion::Type
Version 15
Drive thrus are types 2, 3, 4, 5, 6, 7, 8 and 11.
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
|
E_TYPE_PAINT_SHOP |
4 |
PaintShop
|
E_TYPE_JUNK_YARD |
5 |
Junkyard
|
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
|
E_TYPE_TUNNEL |
17 |
Tunnel
|
E_TYPE_OVERPASS |
18 |
Overpass
|
E_TYPE_BRIDGE |
19 |
Bridge
|
E_TYPE_WAREHOUSE |
20 |
Warehouse
|
E_TYPE_LARGE_OVERHEAD_OBJECT |
21 |
LargeOverheadobject
|
E_TYPE_NARROW_ALLEY |
22 |
NarrowAlley
|
E_TYPE_COUNT |
23 |
|