Take Flight 1.2

.Net Lua


Description


Take Flight

This mod allows the player to leap forward using the 'B' key (rebindable). The key can be held down after leaping to prevent getting up (except when ragdolled). A configurable boost can be applied to cover larger distances.

Requirements

Script Hook V

Community Script Hook V .NET

Configurable Options

LeapKey (Leap button)

Power (Power of boost applied when leaping)

VerticalPower (Vertical boost when leaping)

Ragdoll (Enables ragdoll on collision (walls, props, uneven terrain) when leaping)

NoRagdollAfterLanding (If 'Ragdoll' option is true - Prevents ragdolling on collision after fully landing and sliding)

ControllerSupport (Toggle controller support - Will trigger on keyboard as well)

ControllerButtonOne (Controller button)

ControllerTwoButtons (Use two buttons to trigger leap)

ControllerButtonTwo (Controller second button)

Installation

Copy Leap.dll and Leap.ini to scripts folder

Open Leap.ini in a text editor to configure preferences

Possible future features

  • Holding the leap key prevents getting up from ragdoll
  • Slow motion
  • In-game preferences menu
  • Additional leap animations
  • Holding down to 'charge' the jump
  • Cinematic camera

Notes

  • May conflict with mods that modify ragdolling on collision, unless 'ragdoll' preference is set to false.
  • Falling for an extended period during the leap animation forces the player into ragdoll

Change Log

  • v1.2: Added controller support and vertical boost preference, reduced likelihood of conflicts. - INI replacement required
  • v1.1.2: Fixed an issue where the player became stuck in water after leaping, leaping is now prevented while swimming and added new preference 'NoRagdollAfterLanding' which prevents ragdolling from collisions after coming to a complete stop. - INI replacement required
  • v1.1.1: Fixed an issue where the player stood up when releasing a key other than the leap key.
  • v1.1.0: ScriptHookVDotNet Compatibility.

First Upload: November 12, 2024 Last Updated: November 12, 2024


0 Comments