Terrestrial Mech Flight

If you liked this item, please rate it up on Steam Workshop page.

Author: SirBucketKicker

Last revision: 10 Jul, 2023 at 20:09 UTC

File size: 8.19 KB

On Steam Workshop

Description:

double-tap space to initiate flight, increases energy drain by 25% when flying as a balance measure. may increase/decrease in the future.

mimics Mech Overhaul’s mech flight mechanics but without any of that mod’s mechanics (fuel and etc). reminder that Mech Overhaul has been integrated into Fracking Universe, so mechanics of this mod in turn mimic FU’s mech flight mechanics. please note that all of my code here is my own (barring copied vanilla code) and is NOT copied in any way, shape or form, from Mech Overhaul/FU. I only copied the ideas of on-planet flight, so full credit goes to them.

mech’s chassis, weapons are from Galaxy in Conflict .

READ ME PLEASE:
this mod is incompatible with any mod that changes /vehicles/modularmech/modularmech.lua – including Fracking Universe and Mech Overhaul. I have no idea why you want to download this mod if you have either of those mods installed, but just clarifying that here.
I also (probably) won’t fix any incompatibilities, just let me know about any and I’ll write it down.

Confirmed Compatibilities:
XS Mechs Modular (automatic flight toggle when touching ground won’t work because of the raised legs, but otherwise functions perfectly)

Confirmed Incompatibilities:
– Infinite Mech Energy (any variant)

Technical Notes):
– there *might* be some instances where this mod is compatible with any mod that changes /vehicles/modularmech/modularmech.lua as long as they don’t require modifications to the setFlightMode() function because I am technically using a separate lua file and patching the mech vehicle file to redirect to my custom lua file; you also *really* shouldn’t do this because of how vehicles only accept one file path, meaning that multiple patches/hooks of this sort won’t work, only one will. I only did this because it compressed the size of the modified lua as I didn’t have to copy very much from the original modularmech.lua file.