2 Quick mod questions re portraits and custom race

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
User avatar
Lord_Foul
Posts: 49
Joined: Wed Dec 09, 2015 6:05 am

2 Quick mod questions re portraits and custom race

Post by Lord_Foul »

I am very close to posting version 1.01 of The Crack of Doom
but have a few last things to do.
First off huge thx to minmay for a variety of posts on cleaning up mods
ie script for finding invalid connectors etc.

1. how do you get custom portraits to show in the regular(non-custom) portrait window
when creating a new party?

---i have the tga files in a "portraits" directory in my mod but they do not show up. I must be missing script elements to define these.
---i have located several similar threads on this forum but they are concerned with changing the default party composition.

so if anyone can point me to a thread that covers my issue thx in advance.

2. When i create a party (in my mod)containing my new race and then import this party into my mod for a new game LOG2 crashes. Its a little weird since the new race is defined and usable
in my mod.


any work around or fix for this?

again, thx in advance.
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: 2 Quick mod questions re portraits and custom race

Post by minmay »

1. The game supports custom portraits with the filenames you'd expect (mod_assets/portraits/[race]_[gender]_01.tga). However, files ending in .tga are never exported by the Dungeon Editor, so custom portraits are not possible unless you write your own exporter.

2. The new race isn't defined in the other mod, so the game crashes. You cannot change this.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
User avatar
Lord_Foul
Posts: 49
Joined: Wed Dec 09, 2015 6:05 am

Re: 2 Quick mod questions re portraits and custom race

Post by Lord_Foul »

thank you

just to clarify

i create a new party in my mod with a dark elf character (this is my new race)

when i import a party containing this dark elf back into my mod (which obviously has the
scripts for it) for a new game LOG2 crashes.

and there is no fix/workaround for this.
minmay
Posts: 2790
Joined: Mon Sep 23, 2013 2:24 am

Re: 2 Quick mod questions re portraits and custom race

Post by minmay »

Hm, yes, it seems that is true as well. That's a bug in the game and you cannot fix it.
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
User avatar
Lord_Foul
Posts: 49
Joined: Wed Dec 09, 2015 6:05 am

Re: 2 Quick mod questions re portraits and custom race

Post by Lord_Foul »

thx again.
Post Reply