Back to NxLabs

NxLabs / Vintage Story

Alternative Glider Implementation

RBy Rangelost

Alters glider controls and physics.

Alternative Glider Implementation

Description

This is a simple mod with the objective of applying retro game design to the glider.

Note: The author is on indefinite break. If you would like to continue this mod, feel free to use the included source code.

This mod changes the following:

  • Disables pitch affecting glide direction;
  • Displays a new Glide Power bar when the glider is active, which can be hidden in the config file;
  • While gliding:
    • Glide Power increases forward speed and decreases downward speed;
    • Holding the Walk forward key causes the player to dive;
      • While diving, the player's downward speed increases;
      • Downward speed is converted to Glide Power, up to a set conversion threshold;
    • Holding the Walk backward key causes the player to brake;
      • While braking, Glide Power, forward speed and downward speed all rapidly decrease;
      • Breaking with a large amount of forward speed causes lift.

 

Upon running the mod, an altgliderimplementation.json config file will be created or updated in the game's ModConfig directory. The available options are:

  • show_bar: true to show the Glide Power bar, otherwise false;
  • sneak_to_dive: true to use Sneak (instead of Walk forward) to dive, otherwise false;
  • jump_to_brake: true to use Jump (instead of Walk backward) to brake, otherwise false;
  • glide_while_climbing: true to allow gliding while climbing, otherwise false.

 

Note: Due to client-side dependencies, this mod may cause minor jittering in multiplayer when another player is climbing or gliding.

Ratings & reviews

No ratings yet

Sign in to leave a rating or comment.