Page 1 of 1

Character portrait backgrounds

Posted: Thu Oct 18, 2018 8:16 pm
by alphaTECH
For the longest time I assumed my save file was bugged because my Argonian's character portrait background showed a dungeon regardless of where I was. I just assumed that the game would swap out the backgrounds depending on where the player is.

Any chance of seeing this make an appearance in DFUnity? Would add some extra flavour to the game :)

Re: Character portrait backgrounds

Posted: Thu Oct 18, 2018 9:03 pm
by Hazelnut
It's based on the race of the player character, but this could be changed by a setting or even made extendable for mods to change.

I'd happily take a shot at this if someone else goes through all of the SCBG images and comes up with a table of conditions they should be displayed. (oh, and it must make logical sense) Unfortunately it looks thin on the ground when it comes to civilisation.

Re: Character portrait backgrounds

Posted: Thu Oct 18, 2018 9:11 pm
by alphaTECH
Have a look at how the game changes it when you become a vampire, you might find some clues there :)

Considering that there's only 9 background images that don't reflect current weather, I think that it'd be best to keep it simple: each region should be assigned one background, and that should be overridden when in a dungeon, town, and graveyard block. I'll work on figuring out a background for each region and get back to you soon.

EDIT: I've decided on these labels for categorizing regions. Any objections?

Image

Re: Character portrait backgrounds

Posted: Thu Oct 18, 2018 9:20 pm
by Hazelnut
Helegad wrote: Thu Oct 18, 2018 9:11 pm Have a look at how the game changes it when you become a vampire, you might find some clues there :)
You cannot become a vampire in DFU yet. I only played classic to level 2 so I have no idea what you're on about. :)

Re: Character portrait backgrounds

Posted: Thu Oct 18, 2018 9:50 pm
by alphaTECH
Image

This is my suggestion on what should be displayed where.

Re: Character portrait backgrounds

Posted: Fri Oct 19, 2018 1:39 pm
by Hazelnut
Okay, didn't take long to implement this. :D (you may have noticed that suggestions that I personally like tend to get implemented quite swiftly)

Thanks for the labelled map, took some effort to translate into region indexes but happy to do this once you provided the groundwork.

It's using a new UI setting 'EnableGeographicBackgrounds' to switch this behaviour. Didn't feel it warranted being it's own mod unless someone were going to draw up a few dozen (or more) new background textures.

It's on a feature branch in my repo at the moment - I'll submit as a PR once the queue has gone down. (trying not to break our wonderful Interkarma)

Re: Character portrait backgrounds

Posted: Fri Oct 19, 2018 6:57 pm
by Interkarma
This looks like a fun option to play with and not too many changes should be required. It should be just a lookup with a texture swap out the other end. Looking forward to giving it a go. :)

Re: Character portrait backgrounds

Posted: Fri Oct 19, 2018 9:01 pm
by alphaTECH
Fantastic! :D Thank you for your efforts, I had no idea this would come to fruition so quickly!