dhewm3 icon indicating copy to clipboard operation
dhewm3 copied to clipboard

Torch bug

Open Dredd893 opened this issue 3 years ago • 8 comments

Sometimes the torch stops working. It doesn't apply lightning to the surfaces it is being cast on. A rapid search on google shows that I'm not the only person experiencing the bug.

An example video is here: https://www.youtube.com/watch?v=eRCAXqAPLhg

Dredd893 avatar Jun 06 '22 14:06 Dredd893

Do you have a savegame to easily reproduce the issue?

DanielGibson avatar Jun 06 '22 21:06 DanielGibson

See also https://github.com/dhewm/dhewm3/issues/159

DanielGibson avatar Jun 06 '22 21:06 DanielGibson

A savegame here: https://easyupload.io/wk2nyt

I'm using Bravo mod (you can find it here: https://www.moddb.com/mods/doom-3-bravo-v3). Even the torches attached to the weapons stopped working.

Note that if you go in the area downstairs (and attach yourself to the wall) you can experience the flashlight not blinking and simply not doing its job.

Edit: Seems to be replicable: all I have to do is just quicksave into the area right after entering it, and then reloading. Then the torch will still be messed up.

Dredd893 avatar Jun 10 '22 13:06 Dredd893

Did you ever change the cvars mentioned in #159 (r_useturboshadows and r_useoptimizedshadows)?

I'll test the Bravo mod

DanielGibson avatar Jun 11 '22 14:06 DanielGibson

I can't reproduce the bug, neither when trying to play the level myself, nor with loading the quicksave from the rar you provided (I only tried "Quicksave.save", not the other ones).

Also, I kinda dislike mods that are installed into base/ - mods should have their own directories and be started as mods, even if they use the base game's game-DLL.

DanielGibson avatar Jun 11 '22 23:06 DanielGibson

I didn't touch cvars.

It seems I have posted the wrong archive. I don't even know why the archive has so much of these savegames; I thought I had only put two inside. Try this one, for the last time: https://easyupload.io/p1eg4c

To reproduce the bug, once you're inside the compound, just quicksave and quickload. This makes it happen reliably.

Dredd893 avatar Jun 12 '22 07:06 Dredd893

I can reproduce the issue with the new savegames. I guess it's most probably a bug in the Bravo mod, and somehow the state of "light from flashlight" and "light from weapon-light" collide and cancel each other out or something (maybe it also exists in other mods that add the flashlight to all weapons, duct-tape-like)..

As a workaround, I could switch to the fists (with 1), and press the flashlight-button once or twice. Afterwards it worked again, also when switching to the shotgun.

If you want to investigate this bug further, you could try:

  1. if it also happens with original Doom3 + Bravo Mod (in that case the Bravo mod developers should fix it)
  2. if you can make it happen in dhewm3 with just the base game, without any mods (in that case I'll investigate it further)

DanielGibson avatar Jun 12 '22 23:06 DanielGibson