onnoj / DeusExEchelonRenderer

Fixed-Function Pipeline renderer for Deus Ex (2000), for use with Nvidia's RTX Remix
MIT License
82 stars 2 forks source link

🕷️[BUG/CRASH/GLITCH] NPC weapons no longer render when firing #19

Open onnoj opened 1 month ago

onnoj commented 1 month ago

Describe the bug

What to attach image

To Reproduce Steps to reproduce the behavior:

  1. Download npc.zip and extract npc.dx in the maps folder.
  2. Start the game, press 't' and remove the 'say' command.
  3. Write: 'open npc' and press enter.
  4. Pick up the knife on the floor.
  5. Stab the NPC until they turn hostile.
  6. Pause the game with command 'playersonly' when the NPC is firing at the player and the weapon is missing.

Expected behavior When using the software renderer, the weapon is visible during all attack stages, except when running away.

onnoj commented 1 month ago

Looks like this was last working in v0.1.18

Likely caused by a change in https://github.com/onnoj/DeusExEchelonRenderer/compare/v0.1.18...v0.1.19, which makes sense as that CL introduces hacks for rendering the meshes with world/view/projection matrices.