Character portrait backgrounds

Talk about the mods you'd like to see in Daggerfall Unity. Give mod creators some ideas!
Post Reply
User avatar
alphaTECH
Posts: 142
Joined: Sun Oct 07, 2018 6:24 am

Character portrait backgrounds

Post 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 :)

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

Re: Character portrait backgrounds

Post 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.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

User avatar
alphaTECH
Posts: 142
Joined: Sun Oct 07, 2018 6:24 am

Re: Character portrait backgrounds

Post 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
Last edited by alphaTECH on Thu Oct 18, 2018 9:58 pm, edited 2 times in total.

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

Re: Character portrait backgrounds

Post 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. :)
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

User avatar
alphaTECH
Posts: 142
Joined: Sun Oct 07, 2018 6:24 am

Re: Character portrait backgrounds

Post by alphaTECH »

Image

This is my suggestion on what should be displayed where.

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

Re: Character portrait backgrounds

Post 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)
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: Character portrait backgrounds

Post 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. :)

User avatar
alphaTECH
Posts: 142
Joined: Sun Oct 07, 2018 6:24 am

Re: Character portrait backgrounds

Post by alphaTECH »

Fantastic! :D Thank you for your efforts, I had no idea this would come to fruition so quickly!

Post Reply