Skyfront117

Modifying opacity for UI elements

Recommended Posts

Hello everyone,

I'm trying to modify the opacity of some UI elements, mainly the item boxes where you can select and use powers, items, etc... during normal gameplay, since I am using Reshade and I would like them to be always at 100% opacity for my intended visual look. I have already edited both the normal and highlighted textures for the item boxes so that they have no transparent bits, but, when there's nothing in the box (no powers unlocked yet, no items available, no forms...) something seems to be lowering the opacity of the corresponding box through another mechanism, not a separate texture or (as far as I am able to tell) a parameter in the mipc_p.gui file. Am I missing something here? I guess it must be a script controlling this somehow, but I have no idea where I should start looking, there doesn't seem to be any dedicated UI scripts. Does anyone know? Any help would be appreciated!

Share this post


Link to post
Share on other sites

There's probably an alpha layer that causes transparency. Can you give a filename as an example?

Share this post


Link to post
Share on other sites
25 minutes ago, Effix said:

There's probably an alpha layer that causes transparency. Can you give a filename as an example?

The .gui file is mipc28x6_p.gui. My UI is from this mod: 

UI Redesign - Mods - Deadly Stream

And I have made my own modifications to it, but as far as I can tell the opacity thing is from vanilla:image.png.c5114db16010c61c463e79586cf297fe.png

As this image from the mod's page shows, both in vanilla and modded, the first and sixth slots in the item UI both have lower opacity because they are empty; I'm looking for the cause as to why this would happen. The file names for the normal and highlighted item boxes in vanilla are lbl_mibox00.tpc and lbl_mibox00a.tpc respectively. In the mod, they are called item_box.tga and item_boxa.tga. I have already edited these last 2 to have 100% opacity, and it works when they are not empty. 

670800065_swkotor22026-02-1920-29-00_628.png.ffeb3a67e8c59c46624cebcde6e1b997.png

This is the way it looks in my game, and I'd essentially would like it to have no transparency so it blends well with the black bars from my Reshade preset (I'm using a UI mask so it doesn't render the black bars above the UI buttons).

Edited by Skyfront117

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.