Results 1 to 3 of 3

Thread: Building UI card problem

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    kekesvar.bingos's Avatar Miles
    Join Date
    Sep 2007
    Location
    The Only and Ultimate Walachian Kingdoms (err yes, there are more of them...)
    Posts
    347

    Default Building UI card problem

    Hi there,

    I know, this is no place for modding issues, but in the modding issues thread nobody seems to response and i have no great amount of time so, please...

    i have a bit of problem with modding new buildings into my campaign of Roma Surrectum. I managed to get different building trees working with desired effects even for different cultures ( ), but now, when i am adding building icons i have problem with the BACKGROUND of the actual picture (i mean the small picture in building overview).
    I tried to fill the background of my own new icon with the SAME colour, as the vanillas icons backgrounds have, but still, in the game, the icon would appera NOT without background, but with it. Then i tried to "cut" the figure from the background and leave it without it (dont know the exact terms in english as im not native speaker and have not great experience with graphic editors). Again, no desired effect would appear, as the icons still would have background in the games building overview (but now completely white one).

    I realized, that the icons you have used for your new buildings (like the grain import facility) have no visible background in the game, even though when i open it with ACDSee it have visible background so... I dont know where the problem is.


    Please could you help me? I tried to search the forums, i found only something about unit ui cards, where the guy was writing about some alpha channels in transparency menu of his graphic editor...

    P.S.: I am using Corel Paint Shop Pro 12, but willing to use any supposed graphic editor.

    Thanks a lot, modders!
    Last edited by kekesvar.bingos; March 10, 2010 at 06:11 AM.

  2. #2
    dvk901's Avatar Consummatum est
    Patrician

    Join Date
    Mar 2006
    Location
    Michigan
    Posts
    20,984

    Default Re: Building UI card problem

    You need to create what's called an 'alpha channel' for your cards that 'masks out' the part of the picture you DON'T want to be displayed.
    Note the 'alpha1' channel in this shot from my Adobe Photoshop:



    The black area around the image you want to see blocks the part of the texture you don't want to see.

    Creator of: "Ecce, Roma Surrectum....Behold, Rome Arises!"
    R.I.P. My Beloved Father

  3. #3
    Visarion's Avatar Alexandros
    Artifex

    Join Date
    Dec 2009
    Location
    Europe
    Posts
    8,055

    Default Re: Building UI card problem

    dvk is cool!

Posting Permissions

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