Jump to content

Recommended Posts

Hello all! While I've been reading these forums for a while now, this is my first post on them.

 

I'm working on a custom character's mod with a friend and we don't know how to make their face appear in the morgue screen. From what we've figured out, it uses the same texture as the one in the saveslot_portraits' folder but, while the icon is shown in the saved games it doesn't appear in the morgue. Any idea why this is happening?

Looks like it's a game bug.

In the new game screen it does this:

 

	local atlas = (table.contains(MODCHARACTERLIST, self.character) and "images/saveslot_portraits/"..self.character..".xml") or "images/saveslot_portraits.xml"	self.portrait:SetTexture(atlas, self.character..".tex")
But in the morgue screen it does this:

            DECEASED.portrait:SetTexture("images/saveslot_portraits.xml", character..".tex")
They just forgot to add mod support for the morgue portraits. I'll submit a bug report.

EDIT: Submitted

Edited by squeek

Thank you for the answer and for submitting it, squeek. So it looks like it's not something we can fix and that it'll have to stay like this for now. I didn't find any topic about it so I was thinking that I was doing something wrong.

Well, we managed to add the portrait to the morgue by following the code you proposed in the bug tracker forum, so thank you very much!

 

(Sorry for double posting, I've failed to find an edit button on my previous post).

Reported....

Just kidding. Thanks Squeek! Now I won't keel over when I load the morgue and see Coraline's face! :3

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...