Fallout New Vegas
0 of 0

File information

Last updated

Original upload

Created by

Anteyeclimbaxe

Uploaded by

anteyeclimbaxe

Virus scan

Safe to use

Tags for this mod

About this mod

This mod bypasses a bug in the FNV engine where weapons with zero spread - like Elijah's Jury-Rigged Tesla Cannon and the Alien Blaster - will give 0% chance to hit in VATS while using the chem Steady.

Requirements
Permissions and credits
Changelogs
The code that calculates chance to hit in VATS has a known bug where a total weapon spread value of zero will result in 0% chance to hit in VATS.

Normally weapons with zero spread would still be subject to spread from other factors in FNV, but that additional spread disappears while using Steady and allows this bug to manifest. It is known to occur with Elijah's Jury-Rigged Tesla Cannon from OWB as well as the Alien Blaster available with the Wild Wasteland perk - both weapons with a "min spread" value of 0. With Tale of Two Wastelands, it is possible to use Steady in conjuction with Fallout 3 weapons like Lincoln's Repeater and the Mothership Zeta Alien Blaster that also have a min spread value of 0.

Rather than try to override or modify the VATS calculation, I've tweaked the minimum spread value for these guns to be the smallest non-zero value the engine will allow. In vanilla gameplay, the next lowest spread weapons have a min spread value of 0.01. In this case these 0 spread weapons have been set to a value 100x smaller than that - 0.0001. While not a perfect fix, it gives us 99% of the benefit with 1% of the work.

I have created one file that addresses the FNV weapons (alien blaster and Tesla cannon) and another for use with TTW that includes all the FO3 weapons that normally have a "min spread" value of 0. That includes some alien weapons, some sniper rifles, the Broken Steel Tesla cannon, some laser rifles, the dart gun - anything that didn't have that min spread value changed by being replaced with their FNV counterpart. I don't know for sure if they were all impacted the same way, but figured it was a small enough change and I may as well apply it to all of them.

Someone with more experience could potentially script this fix, such that it would only occur while using Steady and then revert to the normal zero spread values any other time, but that's beyond my abilities at this point. It was also noted by RoyBatty on the TTW Discord server that an upcoming release of StewieAI's Tweaks may have a fix for the underlying bug that causes this behavior. Regardless, the FNV file will be useful for non-TTW users going forward.