Jump to content

Recommended Posts

Posted

Hi there,

 

I'm working on a scenario which have three custom creatures Pretty simple creatures, I mean. I've just dowloaded some custom graphics and gave them a few interesting skills. My forth creature is even simplier: a priest (creature #11) with a diferent graphic sheet.

The problem is that when that alternative priest dies, the game crashes with the "unhandled exception" error. Is there any way to fix that?

 

By the way, the graphics for that priest come from Avernum 1. Is it okay to use these graphics, since they're from Spiderweb?

Posted

When the game crashes when a creature dies, it's usually because the graphic sheet you're using is smaller than the one the game expects. If the game thinks you're using an extended sheet (the one with sitting poses and attack ready poses) but you're actually using a condensed sheet, it winds up looking for an out of range graphic when the creature dies, and the game crashes.

 

TLDR: cr_small_or_large_template = 0;

Posted

Are you importing from the default priest (in other words, do you have a line that looks like "import = 11;")? I believe the default priest uses a large template, so it has "cr_small_or_large_template = 1;" in its code.

If you import a creature that uses a large template normally and you want to use a smaller template instead you need to include the line "cr_small_or_large_tempate = 0;" in the new creature's code so it overrides the old creature's code (I hope that made sense).

Posted
Quote:
Anyway, I'll use cr_small_or_large_tempate = 0 from now on.
The thing to do is not to always set this property to zero, but to select its value depending on which size graphic sheet you're using for the creature in question. (Maybe you already understood this, but I thought I'd speak up so as to be certain that you wouldn't run into an unpleasant recurrence of this problem again later.) However, for your specific case a value of 0 is definitely what you want, for the reason B.J.Earles noted above.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...