Page 1 of 1

how to make deploy window transparent?

Posted: Wed Jan 11, 2012 6:49 pm
by gwgardner
How can I get rid of the green background here, and just leave the text? In other words, how to make it transparent?



Image

RE: how to make deploy window transparent?

Posted: Wed Jan 11, 2012 7:09 pm
by doomtrader
You are much better in making things transparent, than I am.
Did you tried to do it in the same way as you made the battle resolution window transparent?

RE: how to make deploy window transparent?

Posted: Wed Jan 11, 2012 7:34 pm
by gwgardner
indeed I did, to no effect

RE: how to make deploy window transparent?

Posted: Wed Jan 11, 2012 7:35 pm
by Rasputitsa
You can remove the outer border of the unit listings, which leaves a simple box :

GUI OOOOXOOO ......Line 486 480;-200;-200;0;0;Units Frame

I guess the rest is in Line 489, but I have not gone that far, as I like the simple box.[:)]

RE: how to make deploy window transparent?

Posted: Wed Jan 11, 2012 8:02 pm
by Rasputitsa
ORIGINAL: gwgardner
How can I get rid of the green background here, and just leave the text? In other words, how to make it transparent?

If you take away the whole box there will be small symbols, in 'on map' mode, in the right hand columns which will be very difficult to see, against a map background. I have been working with the unit box reduced with the border removed and with more of the map visible, you can right click and drag the map from under the box, to see the selected unit.

I don't think you can blank the deploy section alone, it would be the unit box with 'on map' as well as 'deploy', it would all have to go. That's a lot of information to see overprinted on the map.[:)]

RE: how to make deploy window transparent?

Posted: Wed Jan 11, 2012 9:11 pm
by gwgardner
ORIGINAL: Rasputitsa


I don't think you can blank the deploy section alone, it would be the unit box with 'on map' as well as 'deploy', it would all have to go. That's a lot of information to see overprinted on the map.[:)]

But if it can be done, how? I'd like to try. With my bigger font, perhaps I wouldn't have trouble reading it.

I can remove the border, as you described, but can't figure out how to just remove the green opaque background.

RE: how to make deploy window transparent?

Posted: Wed Jan 11, 2012 9:29 pm
by Magpius
I think the solution lies in the gui.png file, rather than just tweaking the .csv files.
(Erase the background box)
I'll post up a modified .png if you like.

RE: how to make deploy window transparent?

Posted: Wed Jan 11, 2012 9:34 pm
by gwgardner
That would be great.

I had just emailed th1207 concerning that, as he had fiddled with the gui.png in SoP to make the blue background translucent.

His gui.png worked in ToF, but still left some windows, such as the units and deploy windows, opaque.

I'd like to see beneath all the various windows, to the map below.

Thanks.

RE: how to make deploy window transparent?

Posted: Wed Jan 11, 2012 9:36 pm
by Magpius
in the bottom left corner of the gui.png file you can see all the referenced dialog boxes.
Erasing the octagon, should render all dialog backgrounds transparent, as the csv files will still be referencing the same empty corner, and 'stretching it' into the game space.



Image

RE: how to make deploy window transparent?

Posted: Wed Jan 11, 2012 9:39 pm
by gwgardner
Aha! But how to do that? I, alas, have installed gimp, but have been an utter failure in getting it to do what I want. I will try.

RE: how to make deploy window transparent?

Posted: Wed Jan 11, 2012 10:12 pm
by Magpius
The secret is to maintain transparency.
There are some very basic things to remember.
1. .png files can maintain layers. and
2. Layers can all be transparent.
In gimp, a layer can be transparent check to see if the "add alpha channel" has indeed been added.
Another 'giveaway' is the grey checkerboard background pattern. If you don't have it as a background, the resulting image file will not be transparent.
When saving the file, select export layers merge. This will maintain the transparency of the resulting .png file.
-hope that makes things a little more.... transparent!

RE: how to make deploy window transparent?

Posted: Wed Jan 11, 2012 10:29 pm
by Magpius
here is a gui.png, that has had the backgrounds removed, but retains the frames.
Just remember to save the original file elsewhere. It's a pandora's box when you start tweaking the game too much. I find I mod more than play sometimes.

RE: how to make deploy window transparent?

Posted: Wed Jan 11, 2012 10:31 pm
by Magpius
here is the example of above

Image

RE: how to make deploy window transparent?

Posted: Wed Jan 11, 2012 11:15 pm
by gwgardner
That worked for some of the windows. I'm guessing the areas marked also need that transparency. There is a rectangular one that is in the center of the deploy window. Could be the other rectangular one below the one I marked?

Image

RE: how to make deploy window transparent?

Posted: Wed Jan 11, 2012 11:43 pm
by gwgardner
I actually got it translucent, but not enough. Haven't figured out how to change the amount of the alpha, I guess.

Image

RE: how to make deploy window transparent?

Posted: Wed Jan 11, 2012 11:58 pm
by gwgardner
got it transparent. Now maybe I need to back off on that, and make it translucent. With a different color font.

Image

RE: how to make deploy window transparent?

Posted: Thu Jan 12, 2012 6:36 am
by Rasputitsa
Very good, anything is possible, but there is a lot of text there and the balance is going to be critical.[:)]

RE: how to make deploy window transparent?

Posted: Thu Jan 12, 2012 7:41 am
by Magpius
Using Gimp you could cut out the element you want to make translucent, paste it into the exact same spot, as a new layer.
Once on a separate layer there is a slider that lets you set the % of transparency on the layer dialog box.
have fun.
modding games is a nice way to learn gimp.

RE: how to make deploy window transparent?

Posted: Thu Jan 12, 2012 1:25 pm
by gwgardner
ORIGINAL: Agent S

Using Gimp you could cut out the element you want to make translucent, paste it into the exact same spot, as a new layer.
Once on a separate layer there is a slider that lets you set the % of transparency on the layer dialog box.
have fun.
modding games is a nice way to learn gimp.

That's what I pretty much ended up doing, except I modified the layer already there (I think). Should have used another layer, I guess. At any rate, I like it, but will fiddle with the font color.
ORIGINAL: Rasputitsa

Very good, anything is possible, but there is a lot of text there and the balance is going to be critical.[:)]

Indeed. I'm using yellow text now, but may try something darker.