Page 1 of 1

transparent combat screens

Posted: Fri Jul 09, 2010 3:41 pm
by gwgardner
It's a pain having to move the map to see which unit is being attacked, so I took out the frame/background for the combat popup.

If you want to do the same, just go through the [your resolution].csv file and delete 'frame' lines for combat.

I tried using the # to comment out the line, but got a crash afterwards.

Image

RE: transparent combat screens

Posted: Fri Jul 09, 2010 4:02 pm
by Rasputitsa
Nice idea, I am looking at the files, thanks. [:)]

RE: transparent combat screens

Posted: Fri Jul 09, 2010 6:26 pm
by Rasputitsa
Just want to confirm which lines to delete, is it just the frame lines 906,911 and 918, or does it include 'frame label' lines 910,912and 917. I assume you just delete the content of these lines. Thanks. [:)]

RE: transparent combat screens

Posted: Fri Jul 09, 2010 6:51 pm
by Rasputitsa
Worked it out by elimination, kept the slider controls visible, and it works really well. Now I can see what's going on, a great improvement. Using default white text at the moment, need to trial it, to see if I need to change. [:)]

RE: transparent combat screens

Posted: Fri Jul 09, 2010 7:20 pm
by Bleck
You can move the whole dialog and resize it using those CSV files. It's components can also be moved/resized, so you can rearrange it. You should not comment out lines or delete them, it is recommended to only change values (but not first one). To hide something you can move it (2nd and 3rd value) outside screen, or resize it (4th and 5th value) to (0;0).

RE: transparent combat screens

Posted: Sat Jul 10, 2010 12:36 am
by gwgardner
ORIGINAL: Rasputitsa

Worked it out by elimination, kept the slider controls visible, and it works really well. Now I can see what's going on, a great improvement. Using default white text at the moment, need to trial it, to see if I need to change. [:)]

Yeah, white is probably better for the normal map. I find myself switching between normal and Agent S often, depending on where I'm at - like in China.

RE: transparent combat screens

Posted: Sat Jul 10, 2010 5:41 am
by Rasputitsa
ORIGINAL: Bleck

You can move the whole dialog and resize it using those CSV files. It's components can also be moved/resized, so you can rearrange it. You should not comment out lines or delete them, it is recommended to only change values (but not first one). To hide something you can move it (2nd and 3rd value) outside screen, or resize it (4th and 5th value) to (0;0).

This is a very useful feature which is worth getting right, because I would use it as a regular set-up. Can you confirm what each line should read to achieve the transparent effect (that is, to keep it on the screen in original text layout, but see-through). Thanks [:)]

RE: transparent combat screens

Posted: Sat Jul 10, 2010 7:46 am
by Bleck
Line 906 (I prefer to use component ID, 1st value, so in this case component #900). Make it:
900;-200;-200;0;0;Combat Result Frame

RE: transparent combat screens

Posted: Sat Jul 10, 2010 12:12 pm
by Rasputitsa
ORIGINAL: Bleck

Line 906 (I prefer to use component ID, 1st value, so in this case component #900). Make it:
900;-200;-200;0;0;Combat Result Frame

Thanks very much, this is a very useful feature and I am grateful for your quick response. The support for these titles is exceptional. Once the combat results box is transparent, if the remaining text is in the way, you can right click and slide the map, so that you can see all the action. I can now understand what's going on during combat. [:)]

RE: transparent combat screens

Posted: Sat Jul 10, 2010 6:50 pm
by Frido1207
Probably stupid question:
I don´t want the combat result background being tranparent.
I would prefer just to brighten or change the color.
Is that possible too? And if so, how to do that?
thx in advance

RE: transparent combat screens

Posted: Sat Jul 10, 2010 6:50 pm
by RufusTFirefly
ORIGINAL: Rasputitsa

Once the combat results box is transparent, if the remaining text is in the way, you can right click and slide the map, so that you can see all the action. I can now understand what's going on during combat. [:)]

Changing value for distance from top (column c) in line 909, 913 and 916,920 you can set flags and dialog boxes higher so it does not overlap with unit image.

RE: transparent combat screens

Posted: Sat Jul 10, 2010 7:02 pm
by Bleck
ORIGINAL: th1207

Probably stupid question:
I don´t want the combat result background being tranparent.
I would prefer just to brighten or change the color.
Is that possible too? And if so, how to do that?
thx in advance

You need to edit data/gfx/GUI.png file in any graphic editing program that support PNG files (not standard MS Paint). To be more specific - graphics in bottom left corner, but it will affect all dialogs, not only combat result. If you have any other questions feel free to ask.

RE: transparent combat screens

Posted: Sat Jul 10, 2010 7:07 pm
by Frido1207
That´s what i guessed.
Thx for the clarification & fast reply.

RE: transparent combat screens

Posted: Sun Jul 11, 2010 12:58 pm
by Rasputitsa
For those who don't want to get into manipulating game files, could the transparent combat results box become a switchable option. [:)]

RE: transparent combat screens

Posted: Sun Jul 11, 2010 10:13 pm
by Magpius
given how it is structured currently, I would think it's unlikely.

RE: transparent combat screens

Posted: Mon Jul 12, 2010 11:58 am
by Rasputitsa
I'm going to make this transparent box my default setting, I expect to use it all the time. I would like to change the text colour, but need some advice how to achieve that. Will it change the text colour in all boxes, which means I think I need a colour, such as red, that will work in both the transparent and normal boxes, thanks [:)]

RE: transparent combat screens

Posted: Mon Jul 12, 2010 2:02 pm
by gwgardner
To change the font I dropped to the bottom of the csv file and modified the 'medium' font line.

I have no idea why 'medium.' It's the one that worked. I'm sure the devs will explain better.

For that line I changed the RGB values from the default 230;230;230 to 0;0;0, ie white to black.

A nice website for experimenting with the RGB values is
http://www.help4web.net/webmaster/Color/RGB-Values.html

#FontID (must be 10);Name;Height;Weight (100 - 900);R;G;B;Special R;Special G;Special B;Comment (irrelevant for game)
1;Arial;14;90;230;230;230;255;255;0;GUI Small
2;Arial;16;90;0;0;0;255;255;0;GUI Medium
3;Arial;21;90;230;230;230;255;255;0;GUI Big
4;Arial;56;100;230;230;230;255;255;0;GUI Large
5;Courier;14;60;230;230;230;255;255;0;GUI Console
6;Courier;6;60;230;230;230;0;0;0;Diplomacy and Fleet Icons
7;Arial;21;100;230;230;230;0;0;0;AP left

RE: transparent combat screens

Posted: Mon Jul 12, 2010 7:52 pm
by Rasputitsa
Thanks very much for the info and for the basic idea. [:)]