Having problems with new button graphics

Formulapower

Warlord
Joined
Nov 5, 2007
Messages
148
For a personal mod I have added an 'Idle" button to the city screen that can be selected to allow production to be split between Wealth Culture and Research. I have the button working properly so functionality is fine....However I want my button backgound to match that of the city production screen...(the background that is a kind of blue-ish color) I want a similar result as the wealth/culture/research buttons which all have the matching background that I am looking for.

I hope I made my problem clear....please let me know if you have any advice
 
Those using transparency - everything but the actual icon is transparent so you dont need to match it to the background color - it is the background.
Transparence i controlled via alpha channel on the dds files. Depending on the tools you have at hand you might need to download a plugin or the DXTbmp tool to work on alpha channels.
 
I am new to this graphics stuff. I tried making a button with the background transparent...but it ends up being black when it goes into the game. are there any tutoriols about this specifically?
 
Gimp needs a plugin to save .dds - since you got your files in the game i assume you have one :)

There are different types of dds that you could save - DXT3 and DXT5 should work best.

Here's a Gimp button tutorial. I did not read all of it, but it might help your problem.
http://forums.civfanatics.com/showthread.php?t=265746
 
Back
Top Bottom