Jump to content

Creature animations with incorrect health bar positions


Recommended Posts

Posted (edited)

Originally posted here:

Health bar positions are automatically calculated based on the dimension of the creature animation BAM, unless they are explicitly defined in their associated INI files by the "height_offset" attribute.

There are several creature animations with incorrect health bar positions, either because they don't contain the "height_offset" attribute or use an incorrect height.

The most obvious cases are 6405.INI and 6406.INI which both define an invisible creature animation for various creatures and helper creatures. But there are more cases, especially in BG2EE and IWDEE, which don't define explicit height positions for any creature animations. BGEE/SoD looks (mostly) fine.

In many cases it looks like health bar positions are calculated differently every time a creature is spawned. This could be bug in the game engine when no explicit height value is defined. It seems to use the dimension of the first available animation frame to calculate health bar position. This is especially apparent with creatures that have very dynamic animations, like the Ravager.

I have attached a small test mod that spawns creature instances for every available creature animation in a dedicated area for closer inspection.

Creature animations to fix:

  • 6405.INI (DOOM_GUARD): [BGEE, BG2EE, IWDEE] Set height_offset=65
  • 6406.INI (DOOM_GUARD_LARGER): [BGEE, BG2EE, IWDEE] Set height_offset=65
  • 1300.INI (DEMOGORGON): [BG2EE, IWDEE] Set height_offset=140
  • 1200.INI (DRAGON_RED ) [BG2EE, IWDEE] Set height_offset=260
  • 1201.INI (DRAGON_BLACK): [BGEE, BG2EE, IWDEE] Set height_offset=260
  • 1202.INI (DRAGON_SILVER): [BGEE, BG2EE, IWDEE] Set height_offset=260
  • 1203.INI (DRAGON_GREEN): [BGEE, BG2EE, IWDEE] Set height_offset=260
  • 1204.INI (DRAGON_AQUA): [BGEE, BG2EE, IWDEE] Set height_offset=260
  • 1205.INI (DRAGON_BLUE): [BGEE, BG2EE, IWDEE] Set height_offset=260
  • 1206.INI (DRAGON_BROWN): [BGEE, BG2EE, IWDEE] Set height_offset=260
  • 1207.INI (DRAGON_MULTICOLOR): [BGEE, BG2EE, IWDEE] Set height_offset=260
  • 1208.INI (DRAGON_PURPLE): [BGEE, BG2EE, IWDEE] Set height_offset=260

 

A7-AnimTest-v1.zip

Edited by argent77
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...