HUD Message: Difference between revisions
Update availability enum
(Added infobox and normalized some content.) |
(Update availability enum) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 3:
| 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
Line 9 ⟶ 10:
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"
Line 50 ⟶ 53:
| 0x110 || 0x8 || [[CgsID]] || mMessageIdHash || ||
|-
| 0x118 || 0x4 || uint32_t || muAvailabilityBitSet || || See [[#
|-
| 0x11C || 0x4 || float32_t || mfDuration || Time the message displays || In seconds
Line 70 ⟶ 73:
= 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
|-
|
|-
|
|-
|
|-
|
|}
|