Author Topic: Question about GIF and PNG  (Read 4328 times)

Offline Egeni

  • Squaddie
  • *
  • Posts: 4
    • View Profile
Question about GIF and PNG
« on: May 05, 2015, 03:59:23 pm »
Hello everyone,

I created a new research and drawed screen for it (first pic). But in game this picture have absolutly another colors (second pic). I saved texture in gif and in png but without any results.

And another similar question. When I create a new weapon's picture (third pic), I save it like gif with green background, right? But when I started XCom this picture haven't a transparent (fourth pic).

Does anyone have any idea where my mistake?

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: Question about GIF and PNG
« Reply #1 on: May 05, 2015, 05:22:50 pm »
Did you use the strict xcom pallettes?

Offline Hobbes

  • Commander
  • *****
  • Posts: 2102
  • Infiltration subroutine in progress
    • View Profile
Re: Question about GIF and PNG
« Reply #2 on: May 05, 2015, 06:04:51 pm »
With the 1st and 2nd images the issue is that you're not using the correct palette for the UFOPedia.

With the 3rd and 4th images the issue is that the transparency is incorrect. Easy way to solve this is to open an existing floorob image, delete the contents and copy/paste the item you're designing.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 11721
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Question about GIF and PNG
« Reply #3 on: May 05, 2015, 09:05:20 pm »
With the 3rd and 4th images the issue is that the transparency is incorrect. Easy way to solve this is to open an existing floorob image, delete the contents and copy/paste the item you're designing.

Also, remember to use software that saves the entire palette as it is. (For example, Photoshop can do it.)