OpenXcom Forum
Modding => Help => Topic started by: robin on September 22, 2021, 01:01:21 am
-
I don't understand how to customize these icons.
Changed the UI but vanilla icons show up.
- type: ReserveTUs # ?
width: 59
height: 24
singleImage: true
files:
0: Resources/apoc/UI/reserve_TUs.png
- type: ReserveTUsPressed # ?
width: 59
height: 24
singleImage: true
files:
0: Resources/apoc/UI/reserve_TUs_pressed.png
Thanks
-
Wow. Looks fantastic Robin.
-
Where did you find the `ReserveTUs` and `ReserveTUsPressed` sprite names?
I am not aware of any such sprites' existence.
-
Where did you find the `ReserveTUs` and `ReserveTUsPressed` sprite names?
I am not aware of any such sprites' existence.
I made them up :P
I wanted to know the correct ones.
I found this on the 40K mod and it works:
- type: TFTDReserve
width: 59
height: 24
singleImage: true
files:
0: Resources/apoc/UI/reserve_TUs.png
But it only defines the not-pressed version.
The pressed state is simulated by changing the palette or something. See screen attached.
If this is my only option I guess I have to come up with a slightly different design for these icons.
-
If this is my only option I guess I have to come up with a slightly different design for these icons.
Currently it's the only option, but maybe we can make some new options... I've asked SupSuper how "easy" it would be.
-
Thank you very much.
-
Actually the sprite and ruleset for the reserve icons is also available in the vanilla resources/ruleset.
I'm sure I had checked the vanilla extraSprites.rul file... I don't know HOW I missed that...