Set your own XP gain modifier, overriding the new XP modifiers from the ingame Gameplay Options menu.
“Math… math never changes.”
“FV = (1+TXP)/(1+CXP)… hold my Terrabrew!”
XP Unchained allows you to override the new XP modifiers from the ingame Gameplay Options menu by changing a single number in this mod.
First Step: Determine Base Value
In the first step you determine the base value that reverses the Current XP modifier from the ingame gameplay options menu. This is done by this formula:
Base Value = 1/(1 + Current XP Modifier)
Example 1: You have a current ingame XP modifier of -10% XP. This leads to a Base Value of 1/(1-0.1) = 1.1111.
Example 2: You have a current ingame XP modifier of +75% XP. This leads to a Base Value of 1/(1+0.75) = 0.5714.
Second Step: Determine Final Value
For the second step you need to know what Target XP Modifier you want to achieve.
If you want to achieve a Target XP modifier of 0 (that is no change to the XP gain rate), you are done. You can use the Base Value directly as Final Value, it will reverse all XP effects from the ingame gameplay options menu.
If you want to achieve a different Target XP Modifier you can use the following formula to determine the Final Value required to achieve it:
Final Value = Base Value * ( 1 + Target XP Modifier)
Example 1: You want to achieve a Target XP Modifier of +50% XP gain. Your base value from the first step was 1.1111. Then your Final Value is 1.1111 * (1+0.5) = 1.6667.
Example 2: You want to achieve a Target XP Modifier of -25% XP gain. Your base value from the first step was 0.5714. Then your Final Value is 0.5714 * (1-0.25) = 0.4286.
Third Step: Enter the Final Value as Input into the mod
In the last step you simply need to enter the Final Value determined in the second step into the mod. XP Unchained comes in two alternative versions: (1) a .toml file for usage with Console Command Runner Updated mod or (2) an .esm file (made with sf1edit). Depending on which version you prefer to use, the process of entering your Final Value is a bit different:
a. TOML file for Console Command Runner Updated
In this case you can use a simple text editor to open the .toml file. It looks like this:
[[Event]]
EventType = “GameLoaded”
Commands = [‘SetGs fXPModBase 1’]
Simply replace the “1” with your Final Value, like so:
[[Event]]
EventType = “GameLoaded”
Commands = [‘SetGs fXPModBase 1.6667’]
b. ESM file
Open the .esm file with sf1edit and set fXPModBase to your Final Value.
05/21/2024: As requested I have also added a version for the Real Time Form Patcher Mod (RTFP), under Optional Files in Files section here.
c. TXT file (for RTFP)
In this case you can use a simple text editor to open the .txt file. It looks like this:
[GameSettings]
fXPModBase|1
Simply replace the “1” with your Final Value, like so:
[GameSettings]
fXPModBase|1.6667
Note: As pointed out by ermakysion you can also directly do math operations in RTFP, so something like this is also possible:
[GameSettings]
fXPModBase|/1.75
This would negate a 75% bonus from the ingame Gamplay Options menu.
How it was done
XP Unchained is realized in three alternative ways: via the Console Command Runner Updated mod, which runs the respective included .toml file, via an .esm file, made with sf1edit, or via a .txt file to use with teh Real Time Form Patcher (RTFP). Choose whichever version you prefer.
Installation
Either: Console Command Runner Updated way (.toml file)
Please install Console Command Runner Updated (which requires SFSE and the SFSE Address Library Plugin)
Download XP Unchained, unzip it and place the .toml file into the folder “…/Data/SFSE/plugins/ConsoleCommandRunner”
Or: ESM way (.esm file)
Make sure to enable Archive Invalidation
Then please install Plugins Enabler (which requires SFSE)
Download XP Unchained and place the .esm file into your game’s data folder
In your plugins.txt file please add the correct line: *XP Unchained.esm (preferably at the end, so the changes are not accidentally overwritten by other mods
Or: Real Time Form Patcher (RTFP) way (.txt file)
Download and install Real Time Form Patcher (SFSE)
Download XP Unchained RTFP, unzip it and place the .txt file into the folder “…/Data/SFSE/plugins/RealTimeFormPatcher”
Credits:
youngneil1