Results 1 to 4 of 4

Thread: Unit Card is White

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Unit Card is White

    Hey all im just wondering why my unit card it white. I made a 66 x 88 image in GIMP and saved it as a tga file. Then i put it in the data\ui\units\icons folder. Then i added the image to my_mod.pack. I boot up Empire and my units icon is a white square. I think it has sumthing to do with alpha and stuff. Any help?

  2. #2
    Modestus's Avatar Protector Domesticus
    Join Date
    Jun 2005
    Location
    On a ship in the middle of the Mediterranean.
    Posts
    4,037

    Default Re: Unit Card is White

    Quote Originally Posted by apieceoftofu View Post
    Hey all im just wondering why my unit card it white. I made a 66 x 88 image in GIMP and saved it as a tga file. Then i put it in the data\ui\units\icons folder. Then i added the image to my_mod.pack. I boot up Empire and my units icon is a white square. I think it has sumthing to do with alpha and stuff. Any help?
    Well my unit card is also white but only on the custom battle screen set-up, it actually shows on the UI so check that first.

    And your icon should be on a transparent background, no alpha channel.

    In fact I think you can have any background colour you want but the vanilla are transparent

  3. #3

    Default Re: Unit Card is White

    ok i actually fixed it in the custom battle setup. I have my 66 x 88 image with no alpha channels or anything and then i also have a 66 x 88 image with a totally black alpha channel. Before i didnt have the second image with the black alpha channel. I would love to check if in my unit card shows up in the actual battles but as of right now my unit causes a CTD everytime i try to play so i cant see if it works in a battle.

  4. #4

    Default Re: Unit Card is White

    solved: i hadnt added a seperate mask file

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •