


A BepInEx mod for SULFUR that lets you configure weapon level-up XP from 0x to 100x.
This mod adds a configurable multiplier for weapon XP.
Default value:
2.0x
Examples:
XpMultiplier = 0 -> no weapon XP
XpMultiplier = 0.01 -> 1% weapon XP
XpMultiplier = 0.2 -> 20% weapon XP
XpMultiplier = 1 -> vanilla weapon XP
XpMultiplier = 2 -> double weapon XP
XpMultiplier = 10.2 -> 10.2x weapon XP
XpMultiplier = 100 -> 100x weapon XP
This mod patches weapon XP gain through:
PerfectRandom.Sulfur.Core.Weapons.Weapon.AddExperience(float)
It affects non-melee, non-throwable weapons that normally gain weapon XP.
This mod does not change:
Player XP
Money
Loot
Enemy stats
Weapon damage
Weapon fire rate
Weapon durability
Melee weapon XP
Throwable weapon XP
After launching the game once with the mod installed, a config file will be generated at:
BepInEx/config/kumo.sulfur.weapon_xp_multiplier.cfg
Default config:
[General]
EnableMod = true
XpMultiplier = 2
[Debug]
LogXpChanges = false
EnableMod = true
Set to false to disable the mod without uninstalling it.
XpMultiplier = 2
Weapon XP multiplier.
Allowed range:
0 to 100
Decimal values are supported.
Use a period for decimals:
XpMultiplier = 0.2
XpMultiplier = 10.2
Do not use a comma:
XpMultiplier = 0,2
LogXpChanges = false
Set this to true only for testing.
For normal gameplay, keep it set to false.
Install the mod through Thunderstore Mod Manager or r2modman.
Make sure the required BepInExPack dependency is installed.
WeaponXpMultiplier.dll into:BepInEx/plugins/
This mod should be compatible with most mods.
If another mod also changes weapon XP through Weapon.AddExperience, the final XP amount may depend on patch order.
Do not install this together with a fixed Weapon Double XP mod unless you intentionally want the multipliers to stack.
Remove:
BepInEx/plugins/WeaponXpMultiplier.dll
Optionally remove:
BepInEx/config/kumo.sulfur.weapon_xp_multiplier.cfg