I'm trying to make a trigger where 3-D portraits are displayed, but dialog boxes always overlap the portrait and make it look pretty bad. I'm wondering if there's a way to attach portraits to the dialog, or send the dialog to the back, behind the portrait, or anything else that might solve this problem. Here's a picture showing what I mean, the picture on the left is a static zealot portrait which works just fine, and on the right is the portrait.
Use "Set Portrait Render Type" on that portrait and set it to LDR. It's going to make the portrait look a little bit different (no HDR effects), but it's the only way to make portraits render on top of UI elements.
Or design the dialog around the portrait, whithout actually overlapping it (hide background images and use image dialog items do "surround" the portrait)
Use "Set Portrait Render Type" on that portrait and set it to LDR. It's going to make the portrait look a little bit different (no HDR effects), but it's the only way to make portraits render on top of UI elements.
Alright, I did this, and what I got was somewhat better, but it still looks kind of wierd. Did I do it right, and that's as good as it will get, or is there something I'm leaving out? Portrait is the far left picture in the screenshot. Also attached is the map so anyone who feels like it can look through the trigger to see if they can fix it.
You're creating that portrait in the Map Initialization trigger and attaching it to the "Select Your Leader" dialog, but that dialog isn't created yet.
Create the portrait in the same place where you create those static portraits and it will work.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm trying to make a trigger where 3-D portraits are displayed, but dialog boxes always overlap the portrait and make it look pretty bad. I'm wondering if there's a way to attach portraits to the dialog, or send the dialog to the back, behind the portrait, or anything else that might solve this problem. Here's a picture showing what I mean, the picture on the left is a static zealot portrait which works just fine, and on the right is the portrait.
Use "Set Portrait Render Type" on that portrait and set it to LDR. It's going to make the portrait look a little bit different (no HDR effects), but it's the only way to make portraits render on top of UI elements.
Or design the dialog around the portrait, whithout actually overlapping it (hide background images and use image dialog items do "surround" the portrait)
Alright, I did this, and what I got was somewhat better, but it still looks kind of wierd. Did I do it right, and that's as good as it will get, or is there something I'm leaving out? Portrait is the far left picture in the screenshot. Also attached is the map so anyone who feels like it can look through the trigger to see if they can fix it.
@Doomsaloto: Go
You're creating that portrait in the Map Initialization trigger and attaching it to the "Select Your Leader" dialog, but that dialog isn't created yet. Create the portrait in the same place where you create those static portraits and it will work.