Handheld laser beams drain all energy crystals (Legacy) #45
Labels
config
Related to loading game configuration files.
game logic
Relates to how things work and happen in game.
original bug
This was an issue in the original game already.
Describe the issue
This is a legacy bug from the original version of Rock Raiders that could possibly be fixed in OpenLRR. I opened an issue about it after Baraklava mentioned it on discord.
The laser drain bug happens on more recent versions of Windows, since Vista or Windows 7 at least. A Rock Raider firing a laser beam causes all stored energy crystals to instantly become drained. The bug can sometimes also be triggered by firing any vehicle laser, or by slimy slugs emerging, though this does not cause it on all computers.
The way it has been fixed in the past is by decompiling the WADs, going to the Lazer { section in the CFG and adding a DischargeRate of 0.0. Removing the DischargeRate entry for other lasers also causes them to instantly drain all energy crystals. This does not happen when running the game on older computers or in compatibility mode, so it must be something that's changed in how computers interpret no entry for the discharge rate.
Steps to reproduce
Additional information
The text was updated successfully, but these errors were encountered: