dhewm / dhewm3

dhewm 3 main repository
https://dhewm3.org/
GNU General Public License v3.0
1.79k stars 345 forks source link

Torch bug #462

Open Dredd893 opened 2 years ago

Dredd893 commented 2 years ago

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

DanielGibson commented 2 years ago

Do you have a savegame to easily reproduce the issue?

DanielGibson commented 2 years ago

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

Dredd893 commented 2 years ago

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.

DanielGibson commented 2 years ago

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

I'll test the Bravo mod

DanielGibson commented 2 years ago

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.

Dredd893 commented 2 years ago

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.

DanielGibson commented 2 years ago

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 commented 2 weeks ago

Was this just another case of #495 ? If so, it should be fixed in dhewm3 1.5.3 and newer