HUD Message: Difference between revisions
Update availability enum
(Update for wiki display.) |
(Update availability enum) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1:
{{ParadiseResourceTypeInfobox
| name = HudMessage
| othernames = GuiHudMessage
| example = [[File:Paradise HudMessage Example 1.png|frameless|270px]]<br />[[File:Paradise HudMessage Example 2.png|frameless|200px]]<br />Various HUD messages.
| resourcenames = HUDMESSAGES.HM
| id = 0x2C
| category = Generic
| memdist = Main Memory only
}}
HUD messages appear when triggered by in-game actions, such as getting taken down or smashing a billboard. Their style varies depending on whether the action that triggered the message was positive or negative. They can also be displayed above the boost bar if in an event.
The only HUD message resource is found in HUDMESSAGES.HM.
= Structures =
=== CgsGui::
==== 32-bit ====
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x4 || [[#CgsGui::GuiHudMessageData
|-
| 0x4 || 0x4 || int32_t || miSizeOfHudMessageResource ||
|-
| 0x8 || 0x4 || int32_t || miHudMessageCount ||
|}
Line 18 ⟶ 30:
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x8 || [[#CgsGui::GuiHudMessageData
|-
| 0x8 || 0x4 || int32_t || miSizeOfHudMessageResource ||
|-
| 0xC || 0x4 || int32_t || miHudMessageCount ||
|}
Line 37 ⟶ 49:
| 0x100 || 0xD || char[13] || macMessageId || ||
|-
| 0x10D || 0x3 || || ||
|-
| 0x110 || 0x8 || [[
|-
| 0x118 || 0x4 || uint32_t || muAvailabilityBitSet || || See [[#
|-
| 0x11C || 0x4 || float32_t || mfDuration || Time the message displays || In seconds
Line 51 ⟶ 63:
| 0x128 || 0x4 || int32_t || miForceRemoveThreshold || Priority-related? (0-100) ||
|-
| 0x12C || 0x4 || [[#CgsGui::HudMessageGroup
|-
| 0x130 || 0xC || int32_t[3] || maiParamCount || Num params used ||
|-
| 0x13C || 0x30 || [[#CgsGui::HudMessageParamTypes
|-
| 0x16C || 0x4 || || ||
|}
= Enumerations =
=== CgsGui::HudMessageAvailableFields ===
{| class="wikitable"
! Name !! Value !! Comments
|-
| E_HUDMESSAGEAVAILABLEFIELDS_RACE || 0x1 || Available in Race events
|-
| E_HUDMESSAGEAVAILABLEFIELDS_ROADRAGE || 0x2 || Available in Road Rage events
|-
|
|-
|
|-
|
|-
|
|}
=== CgsGui::HudMessageGroup ===
{| class="wikitable"
! Name !! Value !! Comments
|-
Line 97 ⟶ 107:
=== CgsGui::HudMessageParamTypes ===
{| class="wikitable"
! Name !! Value !! Comments
|-
|