Trigger Data: Difference between revisions

m
Remove base class names generated by Ghidra.
No edit summary
m (Remove base class names generated by Ghidra.)
 
(4 intermediate revisions by 2 users not shown)
Line 1:
{{ParadiseResourceTypeInfobox
| name = TriggerData
| othernames = Trigger
| example = [[File:Paradise TriggerData Example.png|frameless|320px]]<br />Triggers viewed from above in Blender.
| resourcenames = TriggerData
| id = 0x10003
| category = Game-specific<br />(Burnout Paradise)
| memdist = Main Memory only
| editor = Yes<br />View with [https://github.com/burninrubber0/TriggersToGLTF TriggersToGLTF]*<br /><sup><small>*Requires manual extraction</small></sup><br />Edit with [https://github.com/burninrubber0/Bundle-Manager/releases/latest Bundle Manager]
}}
 
{{subpage|Previous versions|text=Information on the Trigger resource versions used in prior retail versions of Burnout Paradise.}}
{{subpage|Development|text=Information on the Trigger resource versions used during development.}}
 
The Trigger resource contains all regional player-triggered events related to sound, roads, event finishes, drivethrus, picture paradise locations, and challenge landmarks.
Line 13 ⟶ 25:
| 0x4 || 0x4 || uint32_t || muSize || Resource size ||
|-
| 0x8 || 0x8 || || || paddingPadding ||
|-
| 0x10 || 0x10 || [[Vector3]] || mPlayerStartPosition || Dev start position ||
Line 57 ⟶ 69:
| 0x78 || 0x4 || int32_t || miRegionCount || Number of regions ||
|-
| 0x7C || 0x4 || || || paddingPadding ||
|}
 
Line 68 ⟶ 80:
| 0x4 || 0x4 || uint32_t || muSize || Resource size ||
|-
| 0x8 || 0x8 || || || paddingPadding ||
|-
| 0x10 || 0x10 || [[Vector3]] || mPlayerStartPosition || Dev start position ||
Line 84 ⟶ 96:
| 0x48 || 0x4 || int32_t || miSignatureStuntCount || Number of signature stunts ||
|-
| 0x4C || 0x4 || || || paddingPadding ||
|-
| 0x50 || 0x8 || [[#BrnTrigger::GenericRegion|GenericRegion]]* || mpGenericRegions || Generic regions ||
Line 90 ⟶ 102:
| 0x58 || 0x4 || int32_t || miGenericRegionCount || Number of generic regions ||
|-
| 0x5C || 0x4 || || || paddingPadding ||
|-
| 0x60 || 0x8 || [[#BrnTrigger::Killzone|Killzone]]* || mpKillzones || Killzones ||
Line 96 ⟶ 108:
| 0x68 || 0x4 || int32_t || miKillzoneCount || Number of killzones ||
|-
| 0x6C || 0x4 || || || paddingPadding ||
|-
| 0x70 || 0x8 || [[#BrnTrigger::Blackspot|Blackspot]]* || mpBlackspots || Blackspots ||
Line 102 ⟶ 114:
| 0x78 || 0x4 || int32_t || miBlackspotCount || Number of blackspots ||
|-
| 0x7C || 0x4 || || || paddingPadding ||
|-
| 0x80 || 0x8 || [[#BrnTrigger::VFXBoxRegion|VFXBoxRegion]]* || mpVFXBoxRegions || VFX box regions ||
Line 108 ⟶ 120:
| 0x88 || 0x4 || int32_t || miVFXBoxRegionCount || Number of VFX box regions ||
|-
| 0x8C || 0x4 || || || paddingPadding ||
|-
| 0x90 || 0x8 || [[#BrnTrigger::RoamingLocation|RoamingLocation]]* || mpRoamingLocations || Roaming locations ||
Line 114 ⟶ 126:
| 0x98 || 0x4 || int32_t || miRoamingLocationCount || Number of roaming locations ||
|-
| 0x9C || 0x4 || || || paddingPadding ||
|-
| 0xA0 || 0x8 || [[#BrnTrigger::SpawnLocation|SpawnLocation]]* || mpSpawnLocations || Spawn locations ||
Line 120 ⟶ 132:
| 0xA8 || 0x4 || int32_t || miSpawnLocationCount || Number of spawn locations ||
|-
| 0xAC || 0x4 || || || paddingPadding ||
|-
| 0xB0 || 0x8 || [[#BrnTrigger::TriggerRegion|TriggerRegion]]** || mppRegions || Trigger regions || Generic regions used in Killzones, landmarks for debug only
Line 126 ⟶ 138:
| 0xB8 || 0x4 || int32_t || miRegionCount || Number of regions ||
|-
| 0xBC || 0x4 || || || paddingPadding ||
|}
 
Line 134 ⟶ 146:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x2C || [[#BrnTrigger::TriggerRegion|TriggerRegion]] || super_TriggerRegion || Base class ||
|-
| 0x2C || 0x4 || [[#BrnTrigger::StartingGrid|StartingGrid]]* || mpaStartingGrids || StartingGrid ||
Line 151 ⟶ 163:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x2C || [[#BrnTrigger::TriggerRegion|TriggerRegion]] || super_TriggerRegion || Base class ||
|-
| 0x2C || 0x4 || || || paddingPadding ||
|-
| 0x30 || 0x8 || [[#BrnTrigger::StartingGrid|StartingGrid]]* || mpaStartingGrids || StartingGrid ||
Line 165 ⟶ 177:
| 0x3B || 0x1 || uint8_t || mu8Flags || Flags || See [[#Landmark flags|flags]]
|-
| 0x3C || 0x4 || || || paddingPadding ||
|}
 
Line 180 ⟶ 192:
| 0x2A || 0x1 || uint8_t || meType || Region type || See [[#BrnTrigger::TriggerRegion::Type|type]]
|-
| 0x2B || 0x1 || uint8_t[1] || muPad || Padding ||
|}
 
Line 241 ⟶ 253:
| 0x18 || 0x4 || int32_t || miStuntElementCount || ||
|-
| 0x1C || 0x4 || || || paddingPadding ||
|}
 
Line 248 ⟶ 260:
! Offset !! Size !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x2C || [[#BrnTrigger::TriggerRegion|TriggerRegion]] || super_TriggerRegion || Base class ||
|-
| 0x2C || 0x4 || int32_t || miGroupID || GameDB ID ||
Line 287 ⟶ 299:
| 0x8 || 0x4 || int32_t || miTriggerCount || Number of generic regions ||
|-
| 0xC || 0x4 || || || paddingPadding ||
|-
| 0x10 || 0x8 || [[CgsID]]* || mpRegionIds || Regions GameDB IDs ||
Line 293 ⟶ 305:
| 0x18 || 0x4 || int32_t || miRegionIdCount || Number of region IDs ||
|-
| 0x1C || 0x4 || || || paddingPadding ||
|}
 
Line 300 ⟶ 312:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x2C || [[#BrnTrigger::TriggerRegion|TriggerRegion]] || super_TriggerRegion || Base class ||
|-
| 0x2C || 0x1 || uint8_t || muScoreType || || See [[#BrnTrigger::Blackspot::ScoreType|score type]]
|-
| 0x2D || 0x3 || || || paddingPadding ||
|-
| 0x30 || 0x4 || int32_t || miScoreAmount || ||
Line 313 ⟶ 325:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x2C || [[#BrnTrigger::TriggerRegion|TriggerRegion]] || super_TriggerRegion || Base class ||
|}
 
Line 324 ⟶ 336:
| 0x10 || 0x1 || uint8_t || muDistrictIndex || || See [[Paradise City/Districts|Districts]]
|-
| 0x11 || 0xF || || || paddingPadding ||
|}
 
Line 339 ⟶ 351:
| 0x28 || 0x1 || uint8_t || muType || Type || See [[#BrnTrigger::SpawnLocation::Type|type]]
|-
| 0x29 || 0x7 || || || paddingPadding ||
|}