Mods / Alternative Glider Implementation

Tags: #Tweak
Author: Rangelost
Side: Both
Created: Jun 6th 2023 at 8:34 PM
Last modified: Aug 16th 2023 at 12:04 AM
Downloads: 2497
Follow Unfollow 29

Latest release (for Vintage Story 1.18.8, outdated):
altgliderimplementation.zip  1-click install


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.

Mod Version For Game version Downloads Released Changelog Download 1-click mod install*
1.1.3 1205 Aug 16th 2023 at 12:04 AM altgliderimplementation.zip 1-click install
  • Fixed a minor compatibility issue;
  • Included source code.
1.1.2 523 Jun 16th 2023 at 2:28 AM altgliderimplementation.zip 1-click install
  • Fixed a possible client crash.
1.1.1 275 Jun 11th 2023 at 7:33 AM altgliderimplementation.zip 1-click install
  • Added glide_while_climbing option.
  • Fixed an issue that could cause errors on dedicated servers.
1.1.0 268 Jun 8th 2023 at 11:52 PM altgliderimplementation.zip 1-click install
  • Changed player pitch to match movement.
    • Fixed base game bug where player pitch is not properly reset after gliding or swimming.
  • Added sneak_to_dive and jump_to_brake options.
1.0.0 226 Jun 6th 2023 at 8:34 PM Empty altgliderimplementation.zip 1-click install

6 Comments (oldest first | newest first)

💬 TheInsanityGod, May 14th at 9:20 PM

In case anyone still looking here, I've made a remake (for newer version): Alternative Glider Implementation Reforged

💬 Narg, Mar 6th at 6:42 PM

hey so, I still get the glide power bar, but all my controlls are tied to mouse. I get this error on world load:

[Error] [altgliderimplementation] An exception was thrown when trying to start the mod:
[Error] [altgliderimplementation] Exception: Could not load type 'Vintagestory.GameContent.EntityInAir' from assembly 'VSEssentials, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, RuntimeType type, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs)
at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder`1& attributes, RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder`1 derivedAttributes)
at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit)
at HarmonyLib.HarmonyMethodExtensions.GetFromType(Type type)
at HarmonyLib.PatchClassProcessor..ctor(Harmony instance, Type type)
at HarmonyLib.Harmony.CreateClassProcessor(Type type)
at HarmonyLib.Harmony.<PatchAll>b__10_0(Type type)
at HarmonyLib.CollectionExtensions.Do[T](IEnumerable`1 sequence, Action`1 action)
at HarmonyLib.Harmony.PatchAll(Assembly assembly)
at AltGliderImplementation.AltGliderSystem.Start(ICoreAPI api)
at Vintagestory.Common.ModLoader.TryRunModPhase(Mod mod, ModSystem system, ICoreAPI api, ModRunPhase phase) in VintagestoryLib\Common\API\ModLoader.cs:line 629
[Error] Failed to run mod phase Start for mod AltGliderImplementation.AltGliderSystem

💬 ilm, Sep 3rd 2023 at 10:54 AM

altgliderimplementation.json file not created. OS: Win10.

💬 ilm, Sep 3rd 2023 at 10:53 AM
💬 Jaarl, Jun 11th 2023 at 4:08 PM

This mod makes gliders so much more useful. Thanks!

 (edit comment delete)
Основной веб-сайт | Почтовый сервер | FTP сервер | Административная панель | API интерфейс | Content Delivery Network | Статические файлы | Ресурсы сайта | Изображения | Файловое хранилище | Блог | Интернет-магазин | Техническая поддержка | Справочная система | Документация | Форум | Новости | Загрузки | Демонстрация | Тестовая среда | Приложение | Медиа контент | Разработка | Промежуточная среда | Бета версия | Безопасная зона | Вход в систему | Панель управления | Портал | Система управления контентом