Author Topic: [Solved] Ufopaedia buttons are invisible on custom armor.  (Read 2769 times)

Offline Tobunar

  • Squaddie
  • *
  • Posts: 4
    • View Profile
[Solved] Ufopaedia buttons are invisible on custom armor.
« on: May 07, 2020, 01:39:20 pm »
For some reason the UI buttons disappear on the armor description in the Paedia. Changing entry type to TFTD makes the armor invisible instead.

Examples in Attachments with Powersuit for comparison.
« Last Edit: February 12, 2023, 09:28:48 am by Meridian »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9094
    • View Profile
Re: [Bug] (?) Ufopaedia buttons are invisible on custom armor.
« Reply #1 on: May 07, 2020, 02:34:43 pm »
attach the mod?

Offline Tobunar

  • Squaddie
  • *
  • Posts: 4
    • View Profile
Re: [Bug] (?) Ufopaedia buttons are invisible on custom armor.
« Reply #2 on: May 07, 2020, 02:43:41 pm »
attach the mod?

Here. Sorry if it's a bit of a mess.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9094
    • View Profile
Re: [Bug] (?) Ufopaedia buttons are invisible on custom armor.
« Reply #3 on: May 07, 2020, 02:48:24 pm »
You're using color 15 (black) for the background... you should be using color 0 (openxcom transparent) instead.

Offline Tobunar

  • Squaddie
  • *
  • Posts: 4
    • View Profile
Re: [Bug] (?) Ufopaedia buttons are invisible on custom armor.
« Reply #4 on: May 07, 2020, 02:52:14 pm »
Oh, i guess i haven't noticed that the background was added after doing a palletteswap. Will try now.

Offline Tobunar

  • Squaddie
  • *
  • Posts: 4
    • View Profile
Re: [Bug] (?) Ufopaedia buttons are invisible on custom armor.
« Reply #5 on: May 07, 2020, 03:04:50 pm »
Yup, it works now. Thanks!

Why were the buttons affected but the stats and the description weren't though?

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9094
    • View Profile
Re: [Bug] (?) Ufopaedia buttons are invisible on custom armor.
« Reply #6 on: May 07, 2020, 04:05:23 pm »
Draw order.