-
Notifications
You must be signed in to change notification settings - Fork 5
PowerStar
Power Stars in the Galaxy Level Engine have some changes made to them. Namely, how colours work.
In order to use Power Star Colours, you'll need to add a field to your ScenarioData.bcsv file. The field's name is PowerStarColor, and is of type int32/0x00/LONG.
Note: The game will not crash if you do not add this field. The powerstars in the level will simply all be the default colour - Yellow
If you have not made your scenario file yet, you can download This File that already has the field added for you.
The value that goes into this additional field, is simply a number which indicates a frame in PowerStarColor.btp. In the normal SMG2, the values are:
Power Star Colours
- 0 = Yellow
- 1 = Reserved (Bronze Stars)
- 2 = Green
- 3 = Red
- 4 = Reserved (Empty Power Stars)
Grand Star Colours
- 0 = Yellow
- 1 = Reserved (Bronze Stars)
- 2 = Green (GLE-V3+)
- 3 = Red (GLE-V3+)
- 4 = Reserved
Note: Grand Stars only support multiple colours in GLE-V3+.
The colours above are the colours that the GLE has built into it.
If you would like to add an additional colour, you can do that. The steps below will tell you what you need to do, however, it is up to you to figure out how to do each step. (Such as finding a tool that can do what the steps says you need to do)
- Add the appropriate BTI files to the Power Star's BDL file (ObjectData/PowerStar.arc).
- Edit the
PowerStarColor.btpfile to include the new BTI files (ObjectData/PowerStar.arc). - Add the appropriate BRK/BPK frame data to the Grand Star's BDL file (ObjectData/GrandStar.arc).
- Edit the
PictureFont.brfntto include new icons for each additional star colour (and add an extra icon to take the place of star colour 4 as it will never be used). Please make sure the icons added come right after each other based on type. (PictureFont.brfnt is at LocalizeData/<Language>/LayoutData/Font.arc)
Here is an example of how you need to edit the image in the font. Note that the "Blank frame 4" requirement is not pictured for simplicity's sake.
Original
Correctly Modified
INCORRECTLY MODIFIED

Note: These example images may not be correctly aligned so I recommend you make your own version if you want to use purple power stars.
- Edit the GameSettings.bcsv to correct the icon indexing in the font. Set the following values
- Set the
Param00Intof StarColorStart to the value of the first character with an icon for a Power Star Colour. - Set the
Param00Intof CometColorStart to the value of the first character with an icon for a Comet Star Colour. - Set the
Param00Intof GrandColorStart to the value of the first character with an icon for a Grand Star Colour.
- Set the
Once you've done these steps, the new power star colour should be in the game.
Note: You don't have to keep the colours synced between Grand Stars and Normal Power Stars, it's just a good idea to do so in most circumstances.
Note: This custom sidebar is for content not yet finished. Please use the above "Pages" dropdown for now.
Usage Guides
Layouts
Objects
Scenes
- Stages
- Non-Stages
- Hubworlds
- Scenario
- Map
- UseResource
- ZoneInfo