Jump to content

EE Engine Bug Questions for Bubb & EEEx


Sam.

Recommended Posts

@Bubb

It appears that there are some engine shenanigans going on with the large wyvern animation that prevents a shadow from being rendered, even if the BAMs are modified to add one.  Can you confirm/locate what might be causing this?  Tested on BGEE, BG2EE, and IWDEE.  You may have been asked this question before, but I'm interested in the answer.

Link to comment

For CGameAnimationTypeMonsterQuadrant (0x1000-0x11FF), the engine disables shadows if:

extend_direction == 0 && extend_direction_test != 8

It does this by setting the shadow rgb at palette index (1) to 0x0 (if false_color == 0) or 0xFF00 (if false_color != 0). Looks like the animation renders correctly if you set extend_direction_test=8, so maybe that's a way to enable the shadow?

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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...