About this mod
Item prices scale dynamically based on settings, player count, and progression. Adjustments apply to upgrades, health packs, power crystals, and more, with optional cost randomization.
- Requirements
- Permissions and credits
- Changelogs
This mod allows you to customize the pricing of various in-game items, including Upgrades, Health Packs, Power Crystals, and more. It supports multiplayer scaling, cost multipliers, and optional price randomization.
Features
- Dynamic price scaling based on player count in multiplayer.
- Customizable multipliers for different item types.
- Option to disable price randomization, setting all costs to an average value.
How It Works
- The item price is initially calculated using a random range and a global multiplier.
- If randomization is disabled, the price is set to the average of min/max values.
- Additional cost increases are applied based on:
- Item type
- Upgrade purchase history
- Completed levels
- Player count (if enabled in multiplayer)
Configuration
Modify settings in [GameDirection]/BepInEx/config/HopeEradicated.REPO.AdjustableGameEconomy.cfg.
For example, a value of 1.0 represents the default price (normal price). A value of 1.5 represents 150% of the normal price, increasing the cost by 50%. You can adjust PlayerScaleArray size if you have more than 6 players. Simply expand the array by adding new values, e.g., "1,2,2.5,3,4,4.5,5,5.5,6".
Available Settings
Toggles:
- MultiplayerUpgradeCostScale: false – Scale upgrade costs based on the number of players.
- MultiplayerHealthPackCostScale: false – Scale health pack costs based on the number of players.
- DisableCostRandomization: false – Disable price randomness and set values to average.-
Multipliers:
- UpgradePriceMultiplier: 1.0 – Adjusts upgrade costs.
- DronePriceMultiplier: 1.0 – Adjusts drone costs.
- CartPriceMultiplier: 1.0 – Adjusts cart costs.
- PowerCrystalPriceMultiplier: 1.0 – Adjusts power crystal costs.
- ExplosivePriceMultiplier: 1.0 – Adjusts grenade/mine costs.
- MeleePriceMultiplier: 1.0 – Adjusts melee weapon costs.
- HealthPackPriceMultiplier: 1.0 – Adjusts health pack costs.
- GunPriceMultiplier: 1.0 – Adjusts gun costs.
- UtilPriceMultiplier: 1.0 – Adjusts utility item costs (e.g., trackers, orbs).
Scale Arrays:
- PlayerScaleArray: "1,2,2.5,3,4,4.5" – Sets cost multipliers based on the number of players.
Item Type Mappings
- Upgrades: UpgradePriceMultiplier
- Drones: DronePriceMultiplier
- Carts: CartPriceMultiplier
- Power Crystals: PowerCrystalPriceMultiplier
- Explosives (Grenades, Mines): ExplosivePriceMultiplier
- Melee Weapons: MeleePriceMultiplier
- Health Packs: HealthPackPriceMultiplier
- Guns: GunPriceMultiplier
- Utilities (Orbs, Trackers): UtilPriceMultiplier
Installation
- Install BepInEx if you haven’t already.
- Place the mod’s .dll file in [GameDirection]/BepInEx/plugins.
- Launch the game and configure settings in [GameDirection]/BepInEx/config/HopeEradicated.REPO.AdjustableGameEconomy.cfg.