Starbound
749 oy
Universal Winged Flight Tech
4
3
3
2
   
Ödül
Favorilere Ekle
Favorilere Eklendi
Favorilerden Çıkar
Dosya Boyutu
Gönderilme
Güncellenme
396.823 KB
23 Mar 2021 @ 18:14
25 Tem 2021 @ 3:16
4 Değişiklik Notu ( görüntüle )

İndirmek için abone ol
Universal Winged Flight Tech

Açıklama
This is an actual physics-based flight tech. It allows you to fly around, completely unchained from the limitations you might've seen in other flight techs.
NOTE: The mod doesn't add any wings, you'll get those from vanilla or other mods.

It's also "Universal" for 2 reasons:
  • It works completely independently from any other mod, meaning any character can use it (Even ones without wings)
  • It uses only the "fall" and "fly" player states to animate flying and wing flaps. This means that any species or item with decent animations for those states will look nice with this mod. An exception is wings that "flutter" by just turning into a blur, those don't look good.

Since some people asked, the mod is indeed compatible with Frackin Universe and I don't see any reason it would be incopatible with other mods either.

How do I use it?
The controls are simple: Jump into the air, tap up to engage flight mode, point your cursor in the direction you wanna go, and press space when you need a speed boost to flap your wings.

Of course, actually flying skillfully is a different matter entirely. There are many things to get used to, such as stalling and wind speed.

Something to keep a close eye on is the particle trail behind you. It'll give you a reference point for your airspeed and also turns red when you're about to stall.

I highly recommend first flying a bit with debug mode enabled. To do this, first use /admin, then /debug, and finally press G (Special2) while flying to toggle drawing debug lines. Doing so will hopefully help you make sense of the forces acting on you while you fly. In this image[i.imgur.com] you can find info on what all the lines and graph mean.

How do I get it?
I've added two simple quests to the outpost tech NPC that give one tech variation each.

The first needs you to get 1 prism shard and gives you access to the Winged Glide tech. This is a lesser version of the flying tech that is just missing the boost functionality. You can still glide long distances with it, especially if you jump off a tall mountain.

The second needs you to get 10 solarium stars and gives you the fully functional flight tech with boost.

Note that these quests are only lightly tested. If there are any issues, please do let me know.

Of course, you can also just cheat them in, I know it's what I'd do >.>

Here are the commands you'll need (/admin first of course)
Just make available, still gotta pay tech cards: /maketechavailable wingedFlight /maketechavailable wingedGlide And to unlock them outright: /enabletech wingedFlight /enabletech wingedGlide

How do the physics work?
Here are some technical details on how it works for those interested.

The physics are as close to real-life calculations as I could make them. This includes a moddable lift coefficient graph, which essentially describes how much lift a wing produces at any given angle of attack. That, along with a drag coefficient graph, describes the overall flight characteristics of the wing. At least that's my simplified understanding of it.

Because everything relies on these 2 graphs, I spent a lot of time figuring out the right equations to approximate a graph that resembles its real-life counterparts and is configurable in a simple way. Eventually, I managed to create this graph[www.desmos.com], which I used as a blueprint for the coefficient calculations in-game.

After that, the physics were actually mostly complete. All that needs to be done then is to check the current angle of attack against this graph and multiply lift and drag with the values it returns.

If that didn't make any sense, just know that, in my opinion, flying simply makes sense with these physics. Everything behaves as you might expect, even if it's configured to be less like a plane and more like one that's made of paper.

Can I customize this?
YES! And I'd be very happy if you did.

Pretty much all the variables that decide how flying behaves can be changed via a mod patch or new tech variation.

To help with this, I've prepared a small template mod[drive.google.com] that will hopefully get you started. Once you're happy with the modifications, feel free to release it as a separate flight profile mod.

If there are still any questions, I'd be happy to answer them as best I can.

Any planned changes?
I've done pretty much all I can right now so, all I have planned for sure are small incremental adjustments to the physics variables based on feedback.

One thing I'd like to do, but don't have the skills for, is turning this mod into a kind of API that any item or species can call with their own flight parameters. Sadly I don't even know where to start with such a thing. If any expert modders want to take on such a task, I'd be happy to help by explaining any bits of unclear code and such.

There are also a couple of small and low-priority known issues that you can find in the discussion threads. I might get around to solving those at some point as well, but for now I don't think they bother anyone much.

Credits
I'd like to thank the helpful folks over in the Starbound Discord[discord.gg] for answering some questions I had trouble with on my own.

The species seen in the mod thumbnail are the following:
I can definitely say that the first 3 work really great with this mod. Kitsune would work well too, if not for the vanilla wings, which actually don't look all that great in motion.

This is also a good place to mention that I'd be more than happy to see anyone make their own mods based on this one. Just leave this mod in the credits somewhere if you feel it deserves a mention.
Popüler Tartışmalar Tümünü Görüntüle (3)
20
29 Nis 2022 @ 13:08
SABİT: Bugs, Feedback, Ideas & Questions
Olaroll
1
26 Eki 2021 @ 20:18
Draconis race: The wings are gone
SENPAI!!
0
24 Mar 2021 @ 19:11
SABİT: Flight Profile Feedback
Olaroll
104 Yorum
Jabberwotchi 18 Mar 2024 @ 0:52 
A middle tech for a slower flight maybe with a glide fall that can deactivate with a push down might be nice. I feel like Im zoomin too quick
GeekyRaptorStudios 18 Şub 2024 @ 13:06 
could you maybe make a levitation like flight tech?
Azuli-Bluespots 17 Ara 2023 @ 15:25 
Also, the SPEED this gets. People complaining about how it works can't fly a paper plane to saver their lives XD
Azuli-Bluespots 17 Ara 2023 @ 15:25 
I just tried this today. It's beautiful. Works perfectly for my Draconis character.
mycelium 8 Eyl 2023 @ 19:57 
even a pulse jump is more effective than this.
Breloomish 7 Eyl 2023 @ 19:50 
I'm gonna be honest, I feel as if the physics in place are complete overkill. Flying feels extremely restrictive and about as smooth as crunchy peanut butter. With the lack of vertical take off, it's quicker to use a rope than to fly if I fall down a hole.
Hatate12.5 17 Nis 2023 @ 20:32 
Is this server-side/client-side/vanilla friendly?
COVID-19 16 Şub 2023 @ 7:56 
It did fix it quite well actually, so if you have the same issue, get this...
https://steamoss.com/sharedfiles/filedetails/?id=2894145647&searchtext=flight
COVID-19 16 Şub 2023 @ 7:53 
This does not appear to work well in conjunction with (what I assume to be) Universe Generation Overhaul Reborn, as it adds dynamic gravity which I'm assuming interferes with this mod functioning properly.

Either that or I spent 30 minutes and couldn't get consistent flight at all.
Unfortunate...

Hopefully the alt flight profile I found makes this usable.
GeekyRaptorStudios 11 Oca 2023 @ 12:03 
does this mod disable wings in species mods?