You are viewing a potentially older version of this package. View all versions.
ActusDev-Custom_Jump-1.0.3 icon

Custom Jump

A mod that allows configurable jumps in Lethal Company.

Date uploaded 9 months ago
Version 1.0.3
Download link ActusDev-Custom_Jump-1.0.3.zip
Downloads 462
Dependency string ActusDev-Custom_Jump-1.0.3

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2100

README

CustomJumpMod for Lethal Company

A simple mod that allows configurable jumps (double jump, triple jump, etc.) in Lethal Company.

Features

  • Configurable Jumps: Set the number of air jumps (e.g., 1 for double jump, 2 for triple jump, etc.) through the mod's configuration file.

Configuration

The mod can be configured by editing the com.actus.lethalcompany.customjump config stored in BepInEx/config. Note: Only the host's configuration will be applied in the lobby!

maxNumberOfAirJumps

  • Controls the number of air jumps.
  • Example: maxNumberOfAirJumps = 2 will enable a triple jump (1 ground jump + 2 air jumps).
  • Default value: 1 (double jump).

fallValue

  • Determines how far the player can fall while still being able to air jump.
  • A higher value (e.g., -10f) means you can fall less before air jumping.
  • A lower value (e.g., -20f) allows you to fall more before air jumping.
  • Note: If your fall value drops below -35f, you will take fall damage upon landing.
  • Default value: -15f.

alwaysAllowJumpsWhenFalling

  • If set to true, the fallValue setting is ignored, allowing jumps at any fall distance.
  • If set to false, the ability to air jump is restricted based on fallValue.
  • Default value: false.

jumpPercentage

  • Sets the percentage chance that an air jump is executed.
  • Valid values range from 0 to 100 and must be whole numbers (decimals like 1.5 are not allowed):
    • 0 means no air jump will ever be executed.
    • 100 means the air jump will always be executed.
    • Values between 1 and 99 determine the probability of an air jump happening (e.g., 50 means there's a 50% chance).
  • Default value: 100.

jumpCooldown

  • Controls the delay between consecutive air jumps.
  • Default Value: 2.5
  • Note: To allow spamming jumps, set the cooldown to 0.

Credits

  • Author: ActusDev
  • Special Thanks to Leopard_V for designing the thumbnail.

Links


Enjoy jumping to new heights in Lethal Company!

CHANGELOG

1.0.3

  • Fixed an issue with lobby transitions, ensuring proper functionality during network object spawning and preventing null reference errors.
  • Jump behavior is now only handled by the player's owner, preventing unintended jump logic execution on non-owned clients.
  • Increased the default jumpPercentage from 50 to 100.

1.0.2

  • The configuration now syncs across all clients, ensuring the host's settings are enforced.
  • Prevents clients from using their own custom configurations, making air jumps fair for everyone.

1.0.1

  • Added fallValue (-15f) to control how far the player can fall before air jumping.
  • Added alwaysAllowJumpsWhenFalling (false) to let players jump at any fall distance if enabled.
  • Added jumpPercentage (50) to set the probability of executing an air jump.
  • Added jumpCooldown (2.5f) to control the delay between consecutive air jumps.

1.0.0

  • Initial release of Custom Jump!
  • Added configuration option for maxNumberOfAirJumps, allowing users to customize the number of air jumps.