Page 2 of 3

Posted: Wed Apr 14, 2010 8:52 pm
by Bunnywabbit
i'l be setting something up soonish; i promised Orion i'd have it ready yesterday ...
:whistle:

As promised...

there you go.

as usual, unzip to your artwork directory.
vanilla versions of the overwritten artwork mdl's are in the backup directories.

use at your own discretion. do not use if you don't have at least an idea of what you'll be overwriting.

etcetera etcetera

Posted: Wed Apr 14, 2010 10:17 pm
by Orion
Thanks :)

Posted: Thu Apr 15, 2010 4:16 am
by TurkeyXIII
Does this mean other textures can be transparent as well? Like particle sprites, or even the textures on models?

Posted: Thu Apr 15, 2010 6:50 am
by Bunnywabbit
TurkeyXIII wrote:QUOTE (TurkeyXIII @ Apr 15 2010, 06:16 AM) Does this mean other textures can be transparent as well? Like particle sprites, or even the textures on models?
no idea. try :)

Posted: Thu Apr 15, 2010 1:34 pm
by TurkeyXIII
<--Too noob to make things transparent :doh:

Posted: Mon Apr 19, 2010 5:00 am
by Adaven
TurkeyXIII wrote:QUOTE (TurkeyXIII @ Apr 14 2010, 11:16 PM) Does this mean other textures can be transparent as well? Like particle sprites, or even the textures on models?
Particle sprites already are and have always been translucent. Model textures, I don't think so: you can assign pure black to transparent, but you can't do gradients and such via the alpha channel like bunny is doing here.

Posted: Thu Apr 22, 2010 8:23 pm
by pkk
Submitted code change on CortUI for transparent command pane.



Link:
http://cortui.rtsquad.org/ticket/25

Posted: Thu Apr 22, 2010 10:05 pm
by madpeople
If I understand this correctly. You make changes in dialog.mdl which basically enables the .png 's alpha channel in any of the panes?

If so, could I suggest that someone take the default dialog.mdl, replace all the image loading things with the version that lets you use alpha, and also make corrisponding text bmp.mdl s to replace all the normal bmp.mdl s. The .png s should be available in the art SVN in the 32bitpng section.

Posted: Sat Apr 24, 2010 11:36 am
by Bunnywabbit
well, i guess that would be the desired next step, but KGJV says here that the whole alpha channel support is kind of a fortunate side effect. It is unclear how many functions don't really support it yet.

I'm not entirely sure, but i think GaugeImageRect() doesn't like alpha channels yet, for instance. I'll have to check.

by the way mad, you are cordially invited toshare your knowledge about UI modding on the wiki. :)

Posted: Sat Apr 24, 2010 7:51 pm
by pkk
I've completed the investment pane (defined by WinTrek/loadout.cpp):



Download (extract to textures directory):
http://dl.dropbox.com/u/2975104/Transparen...s_directory.zip