Totally Accurate Battle Simulator
You are viewing a potentially older version of this package. View Latest Version
Install

Details

Date Uploaded
2 days ago
Downloads
178
Size
9.2KB
Dependency string
wnunnuns-VelosityGivesPower-1.0.0

VelosityGivesPower

Damage scales with relative speed between the attacker and the hit target.

Formula

ratio = relativeSpeed / baselineSpeed
Type Multiplier Baseline
Melee √ratio Configurable (default 10 m/s)
Projectiles ratio² Launch speed of the projectile

When relative speed equals baseline, multiplier = 1.

Relative speed = |velocity_attacker − velocity_hit_part|.

Install

  1. Install BepInExPack_TABS
  2. Install this mod with a mod manager, or drop the dll into BepInEx/plugins/
  3. Launch the game

Config

After first launch: BepInEx/config/local.velocitydamage.cfg

Key Default Description
Enabled true Enable the mod
AffectMelee true Scale melee hits
AffectProjectiles true Scale projectile hits
MeleeBaselineSpeed 10 Relative speed (m/s) where melee mult = 1
ProjectileFallbackBaseline 40 Used if launch speed was not recorded
MinMultiplier 0.15 Floor clamp
MaxMultiplier 3 Ceiling clamp
DebugLog false Log each calculation

Notes

  • Projectile baseline is captured when MoveTransform.InitializeVelocity runs (launch speed).
  • Multipliers are applied only for the hit frame; base weapon/projectile damage is restored afterward.
  • Works alongside other damage mods (e.g. GaussianProcess / UnitRng) when both are installed.

Changelog

1.0.0

  • Initial release
  • Melee: sqrt curve
  • Projectiles: squared curve
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.