1 Hang Glider Mod for Minetest
2 ----------------------------
3 This is a fork of the minetest-hangglider mod by Piezo_ (orderofthefourthwall@gmail.com)
6 <https://notabug.org/Piezo_/minetest-hangglider>
8 **This version is an experimental version that is not intended for general use.**
10 It includes the following changes by David G (kestral246@gmail.com):
12 - Give visual indication that hangglider is equiped.
13 - Display simple overlay with blurred struts when equiped.
14 - Issue: don't know how to disable overlay when using third person view.
16 - Also unequip hangglider when landing on water.
18 - Attempt to linearize parabolic flight path.
19 - Start gravity stronger, but gradually reduce it as descent velocity increases.
20 - Don't use airstopper when equipped from the ground (descent velocity is low).
21 - Slightly increase flight speed to 1.25.
23 - Unequip/equip cycling mid-flight should not fly farther than continuous flight.
24 - When equipping mid-air (descent velocity higher), use airstopper but increase descent slope afterwards.
25 - Create airbreak flag so all equips mid-flight use faster descent.
26 - Reset airbreak flag only when land (canExist goes false).
27 - Issue: it wouldn't reset if land in water, use fly, and launch from air, before I added test for water,
28 - Not sure if there are other such cases.
30 - Did another round of parameter tuning.
31 - Commented out hud debug display code with prefix "--debug:".
33 - For Minetest 5.x the glider's set_attach point needs to be offset by 1 node.
34 - Provided alternate commented out version of this line that has the correct offset.
36 - Discovered that sprint mod interferes with this mod's speed settings.
37 - It's likely that other mods that affect player_physics will have this same problem.
38 - May need to consider adding player_monoid support to this mod.