Jump to content

Photo

[2.55] [Compatibilty] npc WeaponSprite not set by npc Weapon


  • Please log in to reply
No replies to this topic

#1 HeroOfFire

HeroOfFire

    Doyen(ne)

  • Members

Posted 25 October 2019 - 04:02 PM

In 2.53, setting npc->Weapon to a different weapon type causes the enemy to fire a different weapon than default. This works fine.

 

In 2.55, the new npc->WeaponSprite handles the tiles for the weapons. When npc->Weapon gets changed, WeaponSprite remains the same. This results in things like Arrows that move a short distance and disappear (Fire Weapon), Swords fired at seemingly random angles (Fireball), and so on.

 

Now, for 2.55 versions of quests, it's a simple fix to add the npc->WeaponSprite code. But 2.53 versions of quests will use these incorrect weapon tiles by default.

 

This issue exists in build 38, and probably several more before it.

 

I suggest a compatibility quest rule to fix this.

 

Thanks.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users