Roflers-ConfigEgocentrismEdit icon

ConfigEgocentrismEdit

Change how Egocentrism works through a config file. Original mod by Judgy53 (version 1.2.1) . Changed to disable the 'cap' on the interval at which orbs will spawn.

Last updated 2 weeks ago
Total downloads 141
Total rating 0 
Categories Items
Dependency string Roflers-ConfigEgocentrismEdit-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

RiskofThunder-R2API_Core-5.0.6 icon
RiskofThunder-R2API_Core

Core R2API module

Preferred version: 5.0.6
bbepis-BepInExPack-5.4.2105 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2105

README

Disclaimer

Almost the entire mod was copied from the mod "ConfigEgocentrism" by Judgy53 (version 1.2.1). Only some lines of code were added, to remove the regeneration hard-cap of 20 orbs per second, which was due to the tickrate of the game. Everything (including the documentation below and descriptions) besides this feature is a copy of said mod.

ConfigEgocentrism

Add configuration options for the item Egocentrism. Default config is vanilla behavior. Run the game with the mod installed at least once to generate the config file.

Configuration

Feature Toggle

Config Type Default Notes
Projectiles Enabled true/false true Enables the generation of projectiles.
Transform Enabled true/false true Enables the transformation of other items into itself.

Projectiles Interval

Sets the interval at which projectiles are generated.
Formula: Base / (Stack * StackMult)^StackExponent
Warning: If the divisor part of the formula computes to 0.0 or a negative number, it gets ignored and the formula becomes Base / 1.0.

Config Type Default Notes
Interval Base number 3.0 Value is in seconds.
Interval Stack Multiplier number 1.0 Only accepts positive values or 0.0. Default value used if input is negative.
Interval Stack Exponent number 1.0 Only accepts positive values or 0.0. Default value used if input is negative.

Projectiles Damage

Sets the damage multiplier of each generated projectile.
Formula: Base + (Stack * StackMult)^StackExponent

Config Type Default
Damage Base number 3.6
Damage Stack Multiplier number 0.0
Damage Stack Exponent number 1.0

Projectiles Max Amount

Sets the max amount of projectiles surrounding the player.
Formula: Base + (Stack * StackMult)^StackExponent

Config Type Default Notes
Max Amount Base number 2.0
Max Amount Stack Multiplier number 1.0
Max Amount Stack Exponent number 1.0
Max Amount Rounding Mode string AlwaysDown Sets the rounding mode when calculating projectiles max amount.
Valid Values: AlwaysDown, AlwaysUp, Closest

Projectiles Range

Sets the targeting range of projectiles.
Formula: Base + (Stack * StackMult)^StackExponent

Config Type Default
Range Base number 15.0
Range Stack Mutliplier number 0.0
Range Stack Exponent number 1.0

Transform Interval

Sets the interval between each item transform.
Formula: Base / (Stack * StackMult)^StackExponent
Warning: If the divisor part of the formula computes to 0.0 or a negative number, it gets ignored and the formula becomes Base / 1.0.

Config Type Default Notes
Interval Base number 60.0 Value is in seconds.
Interval Stack Multiplier number 0.0 Only accepts positive values or 0.0. Default value used if input is negative.
Interval Stack Exponent number 0.0 Only accepts positive values or 0.0. Default value used if input is negative.

Transform Item Amount

Sets the number of items transformed at each iteration.
Formula: Base + (Stack * StackMult)^StackExponent

Config Type Default Notes
Transform Amount Base number 1.0
Transform Amount Stack Multiplier number 0.0
Transform Amount Stack Exponent number 1.0
Transform Amount Rounding Mode string AlwaysDown Sets the rounding mode when calculating item transform amount.
Valid Values: AlwaysDown, AlwaysUp, Closest

Transform Item Filter

Filters Item Tiers to NOT transform. Avoid removing untiered from that list to not lose character passives, artifacts and other hidden stuff.

Config Type Default Notes
Filter string untiered Format : tier1,tier2,tier3
Valid Tiers: untiered, white, green, red, blue, yellow, voidwhite, voidgreen, voidred, voidyellow

zMiscellaneous

Internal settings to ensure updating version works properly. Do not edit manually.

Config Type Default Notes
Plugin Version string 0.0.0 Last Plugin Version loaded. Used for cleaning pre-rework config entries.

Changelog

  • 1.2.1

    • Update Dependencies.
    • Switch R2API to module system. Now only requires R2API_Core instead of the whole package.
  • 1.2.0

    • Complete rework to allow very fine tuning of Egocentrism.
    • Wipe of previous versions config. Was necessary to make the config file actually usable.
  • 1.1.0

    • Add Configurable item filter to Transform mechanism.
    • Add Configurable range to projectiles.
  • 1.0.0

    • Initial Release.