I'm trying to do the simplest thing in the world - make some dialog images 50% transparent. I've spent the last half hour making different layer masks and nothing seems to work. So what's the right way to do this?
(When I'm asking about format I don't mean file format, I mean how is the alpha mask image supposed to encode the opacity)
Clarification: I would like to do this using the Set Dialog Item Alpha Mask trigger option
I would like to use the alpha mask feature. Exporting, editing, and re-importing 60+ images is not my idea of a fun way to spend an afternoon.
Edit: I realize my OP was slightly vague for those not super familiar with all the dialog triggers, so to clarify, there is a trigger called "Set Dialog Item Alpha Mask" - this is the method I would like to use.
Hmm, I tried this and the alpha value is having no effect on the image shown, even when I set it to zero. (The color value is definitely having an impact, so I know I'm applying the action to the right set of dialog items.)
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm trying to do the simplest thing in the world - make some dialog images 50% transparent. I've spent the last half hour making different layer masks and nothing seems to work. So what's the right way to do this?
(When I'm asking about format I don't mean file format, I mean how is the alpha mask image supposed to encode the opacity)
Clarification: I would like to do this using the Set Dialog Item Alpha Mask trigger option
Can't you just make a new dialog with the image and nothing else, hide its background and set its transparency?
Check out my kitbashes! Custom Campaign Initiative: Lots of great Custom Campaigns!! Check out and Support!!
@Cacho56: Go
Sure, but that would be more work and make my code much uglier. Since there is an alpha mask function it would be nice to actually use it...
Then you will have to edit the image, set its alpha channel, and then reimport it. Can you attach it?
Check out my kitbashes! Custom Campaign Initiative: Lots of great Custom Campaigns!! Check out and Support!!
@Cacho56: Go
I would like to use the alpha mask feature. Exporting, editing, and re-importing 60+ images is not my idea of a fun way to spend an afternoon.
Edit: I realize my OP was slightly vague for those not super familiar with all the dialog triggers, so to clarify, there is a trigger called "Set Dialog Item Alpha Mask" - this is the method I would like to use.
@Apollys: Go
I was playing around with this earlier, and noticed it masked into a single blocky color - ugly. Clearly I was doing something wrong.
Workaround -> "Set dialog item color" go into custom color, set transparency.
Would replace 1 code for another so your coding wouldn't be any longer.
@Stexen: Go
Hmm, I tried this and the alpha value is having no effect on the image shown, even when I set it to zero. (The color value is definitely having an impact, so I know I'm applying the action to the right set of dialog items.)