Fallout 3
0 of 0

File information

Last updated

Original upload

Created by

Kabron

Uploaded by

naaah

Virus scan

Safe to use

Tags for this mod

About this mod

Workaround for the VATS perks, broken since the patch 1.1.0.35. Requires FOSE to work. Now has expandability for mods in v2.0!

Permissions and credits
VATS PERK WORKAROUND

Original mod by: Kabron

Improvements by: MadCat221 (MadCat221at gmail)

REQUIRES FALLOUT SCRIPT EXTENDER (FOSE) VERSION 1 OR HIGHER

FOSE Official Site: fose.silverlock.org

===============================
CURRENT GLOBAL VARIABLE HOLDERS (as of March 16, 2009)
===============================
VATSMult01: Commando (Vanilla perk)
VATSMult02: Gunslinger (Vanilla perk)
VATSMult03: Wired Reflexes (Vanilla perk)
VATSMult04: VACANT
VATSMult05: VACANT
VATSMult06: VACANT
VATSMult07: VACANT
VATSMult08: VACANT
VATSMult09: VACANT
VATSMult10: VACANT
VATSMult11: VACANT
VATSMult12: VACANT
VATSMultTest01: RESERVED FOR MODDER TESTING
VATSMultTest02: RESERVED FOR MODDER TESTING




==========================
OVERVIEW
==========================

With the v1.1.035 patch, a bug in VATS has appeared. Pauses now plague the system when activating VATS, and certain perks that affect the to-hit chance no longer work.
This mod can't do anything about the pausing, but it can restore functionality to most of the vanilla to-hit perks: Gunslinger, Commando, and Wired Reflexes.
This mod also offers expandability to include such effects from mods.


==========================
DETAILS
==========================

The mod works by using a command in the Fallout Script Extender repertoire, "SetNumericGameSetting". It runs two scripts: one that determines the presence of the vanilla perks
in question, and then alters new Global Variables with values reflecting the multiplier the perks originally had. The second script runs these numbers through a multiplication formula
to arrive at a final multiplier, and then replaces the game setting value "VATSHitChanceMultiplier".

However, problems arise if any other mods attempt to use this method: namely, multiple mods attempting to alter this one value. The second script contains more variables, spaces available for modders
who reserve them, to alter the VATS to-hit chances as they see fit.

Alas, I can't think of any way to fix the vanilla perk "Sniper" with this system, so no fix is available for it. If you devise a way, email me your script.

==========================
FOR MOD PLAYERS
==========================

Just drop this in your Data folder, activate, and let fly. Enjoy having restored functionality for Commando, Gunslinger, and Wired Reflexes perks. As modders become aware of this fix, some mods may require it.
You may need to check in for updates should all the initial batch of slots get filled.

==========================
FOR MODDERS
==========================

If you wish to make use of this mod, you must first contact me, MadCat221, for a reserved space in the mod.
You can contact me on the BethSoft forum, but preferably through email (MadCat221 at gmail) as I have much more space than the 100 private-message limit on the BethSoft forum.

Due to the nature of how I set it up, the global variables that this mod uses are finite in number (though easily expandable if needed). Once you have an approved reservation, you may use the one assigned to you as you see fit.
Simply make this ESM a master of your mod, and list this mod's requirement for yours.

Do NOT use a multiplier global in this mod without permission! You can potentially interfere with whomever was rightfully given that variable. I have provided two "test" variables if you want to test your script before asking for a variable.
I am more than willing to grant you one if you ask first. Adding more if the first batch gets filled is a trivial matter for me, so there is a potential abundance of spaces.
Some say that it is easier to ask forgiveness than to ask permission, but not in this case. If you release a mod using someone else's variable without permission, then you will be denied should you ask afterwards.

Holders of the globals will be listed on the mod page, as will the spaces reserved for the three Vanilla perks, as well as any currently vacant spots. If more space is needed, a new plugin will be uploaded.
If the variable you've been assigned is among the number beyond the initial set, you must state that this updated version of this mod must be acquired.

Here is a sample of the script portion for Gunslinger. This must be in a GameMode block in a Quest Script, though you are certainly allowed to make use of your assigned variable as you wish.


;Gunslinger
if player.hasperk Gunslinger == 1 && (player.GetWeapjavascript-event-stripped= 4)
set VatsMult02 to 1.25
else
set VatsMult02 to 1
endif


Remember to always have a catch-all condition to return the variable to 1. NEVER let the variable equal zero without some way to undo it, as a zero will make any VATS hit have a 0% chance (anything multiplied by zero is zero).
If you don't yet have a variable reservation, then make use of the two test variables I have provided. However, do not release a mod using them. They are there for you to test your scripts if you wish to before asking for a reservation.


==========================
LEGAL JUNK AND USAGE RULES:
==========================

Fallout 3, VATS, and all associated trademarkable stuff is property of Bethesda Softworks.

You MUST ask permission to use this mod in yours! Proper function of this mod requires administration of who gets what spot. You need but to ask for a space and you'll be granted one. Unless...
If you release a mod using a variable already granted to another modder without permission then you will be denied permission, and you will possibly not be on good terms with the modder to whom you trespassed against.
If you release a mod using one of the test variables, you will be strongly recommended to properly reserve a spot.

==========================
CREDITS
==========================

Thanks To:
Kabron for making the original
Behippo and the FOSE crew
BethSoft for making Fallout 3

No Thanks To:
BethSoft for not fixing the VATS bugs in the v1.4 patch. In the words of Oscar Rogers, FIX IT!

==========================
CLOSING NOTE
==========================

If, by chance, BethSoft gets off their collective rears and fix the VATS bugs they caused with the v1.1 patch, then this mod will effectively become obsolete and will be discontinued.