ryuka_labs-Weapon_XP_Multiplier icon

Weapon XP Multiplier

Adds a configurable 0-100x weapon XP multiplier for SULFUR.

Last updated 3 days ago
Total downloads 28
Total rating 0 
Categories Mods
Dependency string ryuka_labs-Weapon_XP_Multiplier-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305

README

Weapon XP Multiplier

A BepInEx mod for SULFUR that lets you configure weapon level-up XP from 0x to 100x.

What This Mod Does

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

What It Affects

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.

What It Does NOT Affect

This mod does not change:

Player XP
Money
Loot
Enemy stats
Weapon damage
Weapon fire rate
Weapon durability
Melee weapon XP
Throwable weapon XP

Configuration

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

EnableMod = true

Set to false to disable the mod without uninstalling it.

XpMultiplier

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

LogXpChanges = false

Set this to true only for testing.

For normal gameplay, keep it set to false.

Installation

Thunderstore / r2modman

Install the mod through Thunderstore Mod Manager or r2modman.

Make sure the required BepInExPack dependency is installed.

Manual Installation

  1. Install BepInExPack for SULFUR.
  2. Start the game once so BepInEx creates its folders.
  3. Place WeaponXpMultiplier.dll into:
BepInEx/plugins/
  1. Start the game.
  2. Edit the generated config file if you want a different multiplier.

Compatibility

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.

Uninstallation

Remove:

BepInEx/plugins/WeaponXpMultiplier.dll

Optionally remove:

BepInEx/config/kumo.sulfur.weapon_xp_multiplier.cfg

Changelog

1.0.0

  • Initial release.
  • Added configurable weapon XP multiplier.
  • Supports 0x to 100x.
  • Supports decimal multipliers.