Jump to content
Sign in to follow this  
Glam Vrock

Characters crashing the game on spawn in Tutu/BGT.

Recommended Posts

Hey folks. I released a beta for a BGEE mod recently, and I'm now trying to make it compatible with Tutu/BGT. However, some NPCs are crashing the game when I try to spawn them. I assumed this was an issue with the expanded BGEE character colour palette not being backwards compatible, but I've since changed all the colours to fit the original game's palette, and I'm getting the same issue; it fixed a couple of the characters, but not all of them. I don't think it's the equipment either, as some characters are only wielding normal items from the game itself. What else would cause an NPC to crash the game the instant they're spawned?

Share this post


Link to post

The only thing I could think of besides colour, animation, and weapons is that there are also more flags for EE than original BGII.

I think the safest way of assuring compatibility is working with original BGII ressources...

Share this post


Link to post

It's typically equipped items. For example:

  • gv#sw1h is also using an EE-only color via opcode 7 and a 1pp-only appearance (s0) which crashes gv#pam.
  • gv#helm is also using an EE-only color via opcode 7 and a 1pp-only appearance (j9), crashing gv#moid.
  • gv#shld is using EE-only colors as well, crashing gv#moid.
  • gv#jeff crashes because the creature file is corrupt--there are unused bytes starting at 0x7a0.

Share this post


Link to post

Thanks, that's done the trick. Next time I'll be sure to start building in classic BG. Going back and fixing everything is a pain.

Share this post


Link to post
Guest
You are commenting as a guest. If you have an account, please sign in.
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.

Sign in to follow this  

×