Skip to content

GalaxyInfoArea

Super Hackio edited this page Oct 2, 2023 · 3 revisions

This area will display a galaxy's info banner. This layout used to be used for the worldmap, but is now delegated to an area.
Also has functionality for displaying a message when a galaxy is locked (based on the same conditions defined by the index. See below.)

Property Name Description
Obj_Arg0 Index The index into the GalaxyOrderList to reference. Required
The entry will determine if the banner shows up or if it needs to display a special locked galaxy message.
Obj_Arg1
GLE-V3+
Count Mode This arg will change how the star number is displayed in the text.
-1 = Fixed Mode: Always shows the total Power Star count that you need
0 = Countdown Mode: Actively counts how many stars you need to reach the needed amount

The default message is "You need X Power Stars" (Where X is replaced with the PowerStarNum). You can override this message by adding a MSBT label in LocalizeData/<Language>/MessageData/SystemMessage.arc/SystemMessage/GalaxyName.msbt.
The format of the label for locked galaxies is GalaxyName_UnknownGalaxy_<GalaxyName>.
For example, GalaxyName_UnknownGalaxy_IslandFleetGalaxy.
The default messages are: GalaxyName_1UnknownGalaxy (You need 1 Star) and GalaxyName_UnknownGalaxy (You need X Stars).

For more information, please read the Galaxy Banners page

Clone this wiki locally