Win 7 x64 - SPBK01I0.IMG does NOT have a transparency

Post here if you need help getting started with Daggerfall Unity or just want to clarify a potential bug. Questions about playing or modding classic Daggerfall should be posted to Community.
Post Reply
User avatar
King of Worms
Posts: 4753
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Win 7 x64 - SPBK01I0.IMG does NOT have a transparency

Post by King of Worms »

This tab does not have a transparency ingame, while it is present in the texture and set up properly in Inspector.
spelbook.jpg
spelbook.jpg (453.21 KiB) Viewed 1308 times

User avatar
Interkarma
Posts: 7247
Joined: Sun Mar 22, 2015 1:51 am

Re: Win 7 x64 - SPBK01I0.IMG does NOT have a transparency

Post by Interkarma »

Those parts of the image are transparent, which is why you can see the black background panel below them. :)

Classic Daggerfall uses a clear background when using spellbook UI in "cast" mode:

fall_032.png
fall_032.png (25.05 KiB) Viewed 1295 times

And a black background when using spellbook UI in "buy" mode:

fall_033.png
fall_033.png (23.38 KiB) Viewed 1295 times

DFU just follows these conventions. Your transparency is definitely working OK though. :)

User avatar
King of Worms
Posts: 4753
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Win 7 x64 - SPBK01I0.IMG does NOT have a transparency

Post by King of Worms »

Thanks for a reply and explanation.

What a strange decission on the Beth side I must say.
I consider this discrepancy between the casting and buy versions of the same tab... puzzling. The black background doesnt add anything nice.IMHO. :)

But if it will stay this way... I might as well disable the transparency and make the background from stone.. will still be better than flat black..

User avatar
Interkarma
Posts: 7247
Joined: Sun Mar 22, 2015 1:51 am

Re: Win 7 x64 - SPBK01I0.IMG does NOT have a transparency

Post by Interkarma »

I'm happy to remove that black background. :) I doubt anyone would die on a hill over something so minor, I was just reproducing classic UI. Agree it's inconsistent.

User avatar
King of Worms
Posts: 4753
Joined: Mon Oct 17, 2016 11:18 pm
Location: Scourg Barrow (CZ)
Contact:

Re: Win 7 x64 - SPBK01I0.IMG does NOT have a transparency

Post by King of Worms »

Please do so mate :) There are valid reasons to do it, for the sake of

- appearance
- consistency

Black background doesnt make sense in this case. Why create a transparency to fill it with a black not transparent color, right?

Thank you for considering it!

User avatar
Hazelnut
Posts: 3016
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Win 7 x64 - SPBK01I0.IMG does NOT have a transparency

Post by Hazelnut »

I went to do this today and it seems IK was pretty lightning fast doing this change as it's already done. :)
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

User avatar
Interkarma
Posts: 7247
Joined: Sun Mar 22, 2015 1:51 am

Re: Win 7 x64 - SPBK01I0.IMG does NOT have a transparency

Post by Interkarma »

Yep, all done. :)

Post Reply