Skip to content

Owen3H/MovementCompany-Enhanced

 
 

Repository files navigation

MovementCompany-Enhanced

A configurable fork of 2018's Movement-Company.

Note:
I'm on a temporary break from this project.
Join my discord to stay updated.

Installation

It is recommended to use a mod manager such as r2modman to handle installing the mod and its dependencies.

  1. Install BepInEx v5 into your game.
  2. Install the LC API into your game.
  3. Install the CSync library into your game.
  4. Download MovementCompanyEnhanced.dll and drop it into Lethal Company\BepInEx\plugins.

Goals

  • Option for bhopping to drain stamina.
  • Air crouching
  • Sliding?

Changelog

  • Hardcoded values were replaced with a config file. (Synchronized with host)

    Automatically generated at BepInEx/config when the game launches.

  • Current coords + velocity now displayed. To turn it off, set bDisplayDebugInfo to false.
  • Removed jump delay.
  • Improved maintainability.
    • Harmony initialization now wrapped in a try-catch.
    • Re-organized project and made use of abstraction with aptly named methods.
    • Made it easier to PR (post-build event, gitignore)
  • Code optimizations.
    • MovementAdder removed. Movement script is now given on player spawn instead of each frame.
  • Misc
    • Fixed player spawning mid-air which caused them to fly around the ship.
    • Base player speed slightly increased. 4f -> 4.2f