Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Improved flight  (Read 1878 times)

nanomage

  • Bay Watcher
    • View Profile
Improved flight
« on: March 14, 2013, 01:55:05 am »

Hello!

I'd like to make a proposal to incorporate fliying creatures into the existing projectile/minecart framework.

Right now, fliers are just kind of detached from the world with its physics and mechanics: they are free to go in any of 26 possible directions and have no inertia nor momentum. This was good as a rough approximation, but now that there are actual flying (falling) objects and creatures in the world, it's looking weird. I suggest a generalization of minecart and projectile framework to include fliers.

Instead of just modelling the birds and alike with a single [FLIER] tag (sometimes attached to a bodypart), I suggest tags like [LIFT:N], [FLAP:N], [FLOAT:N] attached to certain bodyparts or even wielded objects.
[LIFT:N] tag would mean that the affected bodypart is capable of a force proportional or somehow correlated with movement speed.
[FLAP:N] tag would mean that tha same force may be generated at will at the expense of fatique points.
[FLOAT:N] would mean that the lifting force of value up to N may be generated (or even just plain "is generated") regardless of anything, and exist to model levitating wizards, cave floaters, or methane-bladdered dragons, if they get into the game.
Apart from these tags, flying creatures I believe should be treated exactly like projectiles or derailed minecarts.
These changed would make birds much faster, their movements much more erratic and unpredictable, and their attacks potentially more deadly, if the game learns to take the speed of the attacking creature itself into account when calculating attacks. Most of all though, I believe it would make flying cratures much more feasible and realistic.

The largest obstacle as I see it would be programming a new pathfinding and generally flying AI to respect these rules of movement and utilise them for its advantage. However, as we seem to not have any flier AI right now, I suppose something is planned to appear at some point, and I believe that this suggestion is both more fun and more consistent that the old-fashioned tile-by-tile flight.

sorry if already suggested, it's just that the search by "flight lift" only yielded me methane-bladdered dragons. awesome idea.

Logged

Revanchist

  • Bay Watcher
  • Thank you for helping us help you help us all.
    • View Profile
Re: Improved flight
« Reply #1 on: March 14, 2013, 08:39:52 pm »

I think it sounds interesting, especially the proposed tags.
Logged
Definition: 'Love' is making a shot to the knees of a target 120 kilometers away using an Aratech sniper rifle with a tri-light scope... Love is knowing your target, putting them in your targeting reticule, and together, achieving a singular purpose against statistically long odds."

People love a happy ending. So every episode, I will explain once again that I don't like people. And then Mal will shoot someone. Someone we like. And their puppy.

SuicideJunkie

  • Bay Watcher
    • View Profile
Re: Improved flight
« Reply #2 on: March 15, 2013, 06:06:17 pm »

I would hope that it would make birds less erratic and unpredictable.
Fliers should have some momentum and a minimum turn radius at high speed.

Rather than moving in any direction, they'd have to go in straight lines and graceful curves like charging mounts are supposed to.
Logged

Dunamisdeos

  • Bay Watcher
  • Duggin was the hero we needed.
    • View Profile
Re: Improved flight
« Reply #3 on: March 15, 2013, 07:08:07 pm »

As I understand it, the main obstacle with flight as it stand right now is the pathing issue.

I think those tags are a really cool idea, though. with the [FLAP:N] tag, is [N] the amount of fatigue-per-flap? Maybe a [FLAP:N:X], where X is also the lift generated?
Logged
FACT I: Post note art is best art.
FACT II: Dunamisdeos is a forum-certified wordsmith.
FACT III: "All life begins with Post-it notes and ends with Post-it notes. This is the truth! This is my belief!...At least for now."
FACT IV: SPEECHO THE TRUSTWORM IS YOUR FRIEND or BEHOLD: THE FRUIT ENGINE 3.0

nanomage

  • Bay Watcher
    • View Profile
Re: Improved flight
« Reply #4 on: March 18, 2013, 04:54:59 am »

As I understand it, the main obstacle with flight as it stand right now is the pathing issue.

I think those tags are a really cool idea, though. with the [FLAP:N] tag, is [N] the amount of fatigue-per-flap? Maybe a [FLAP:N:X], where X is also the lift generated?
I meant the flap tag to include the generated force first of all, because I don't know how fatique is expended in general. If it's is as easy as spending a certain number of points per action than it would be great to be able to specify that number in the raws.
Logged

Mesa

  • Bay Watcher
  • Call me River.
    • View Profile
Re: Improved flight
« Reply #5 on: March 18, 2013, 06:32:13 pm »

inb4 too much force per flap and Kea Space Programs are to follow.
Logged

Gaybarowner

  • Bay Watcher
  • [SLOW_LEARNER] [VERMIN_HATEABLE]
    • View Profile
Re: Improved flight
« Reply #6 on: March 19, 2013, 07:23:15 am »

Hm this idea I like perhaps a weight limit to said [FLIER] body parts to show if it is holding pass the weight limit it causes flight to be impossible until said weight limit is dropped such as playing as a adventurer carrying 10 tons of boulders
Logged

Telgin

  • Bay Watcher
  • Professional Programmer
    • View Profile
Re: Improved flight
« Reply #7 on: March 19, 2013, 07:36:13 am »

I would hope that it would make birds less erratic and unpredictable.
Fliers should have some momentum and a minimum turn radius at high speed.

Rather than moving in any direction, they'd have to go in straight lines and graceful curves like charging mounts are supposed to.

Didn't Toady implement something like this for ground based movement in the upcoming version?  It's possible it will apply to fliers as well, which should have interesting results.

Anyway, as a whole I approve of this suggestion.
Logged
Through pain, I find wisdom.

Revanchist

  • Bay Watcher
  • Thank you for helping us help you help us all.
    • View Profile
Re: Improved flight
« Reply #8 on: March 19, 2013, 07:56:51 pm »

I believe he stated that feature will be most evident during sprints. When you have a lot of momentum, it's supposed to be harder to stop quickly.
Logged
Definition: 'Love' is making a shot to the knees of a target 120 kilometers away using an Aratech sniper rifle with a tri-light scope... Love is knowing your target, putting them in your targeting reticule, and together, achieving a singular purpose against statistically long odds."

People love a happy ending. So every episode, I will explain once again that I don't like people. And then Mal will shoot someone. Someone we like. And their puppy.

zkenyon

  • Bay Watcher
  • <SQL injection removed>
    • View Profile
Re: Improved flight
« Reply #9 on: March 20, 2013, 12:07:04 am »

without very largescale AI modification, I bet that birds would constantly be flying into mountains.

although that would yield some interesting messages in game.

Serves them right for stealing that artifact wooden bracelet.
Logged

nanomage

  • Bay Watcher
    • View Profile
Re: Improved flight
« Reply #10 on: March 20, 2013, 02:14:52 am »

I believe he stated that feature will be most evident during sprints. When you have a lot of momentum, it's supposed to be harder to stop quickly.

Toady said that sprining critters would be still able to stop instantly. The downside is that they'd have to build up sprinting speed again in any other direction. Turning in curves is only required to change the direction without losing all the speed. That looks okay for land movement for me, but in the air it should be different because the stopping force you can gain from air drag is just much less than that of the solid ground friction.
Logged

Ozyton

  • Bay Watcher
    • View Profile
Re: Improved flight
« Reply #11 on: March 20, 2013, 05:47:39 pm »

Stopping instantly could result in climbing a few Z-levels then, but maybe that would still be too quick?

YelDohan

  • Escaped Lunatic
    • View Profile
Re: Improved flight
« Reply #12 on: March 20, 2013, 06:09:30 pm »

I want to build a wooden glider with [LIFT:N] and send Nobles troops into a battlefield.
Logged

Revanchist

  • Bay Watcher
  • Thank you for helping us help you help us all.
    • View Profile
Re: Improved flight
« Reply #13 on: March 20, 2013, 06:35:46 pm »

I believe he stated that feature will be most evident during sprints. When you have a lot of momentum, it's supposed to be harder to stop quickly.

Toady said that sprining critters would be still able to stop instantly. The downside is that they'd have to build up sprinting speed again in any other direction. Turning in curves is only required to change the direction without losing all the speed. That looks okay for land movement for me, but in the air it should be different because the stopping force you can gain from air drag is just much less than that of the solid ground friction.
Yes. Thank you. I had forgotten the specifics...
Logged
Definition: 'Love' is making a shot to the knees of a target 120 kilometers away using an Aratech sniper rifle with a tri-light scope... Love is knowing your target, putting them in your targeting reticule, and together, achieving a singular purpose against statistically long odds."

People love a happy ending. So every episode, I will explain once again that I don't like people. And then Mal will shoot someone. Someone we like. And their puppy.

Dunamisdeos

  • Bay Watcher
  • Duggin was the hero we needed.
    • View Profile
Re: Improved flight
« Reply #14 on: March 20, 2013, 07:23:30 pm »

Quote
I want to build a wooden glider with [LIFT:N] and send Nobles troops into a battlefield.
Spoiler (click to show/hide)

At any rate, my final opinion on this is that it is a cool idea. Frankly, I'm down for anything that allows more detail in our critters / behaviors.
Logged
FACT I: Post note art is best art.
FACT II: Dunamisdeos is a forum-certified wordsmith.
FACT III: "All life begins with Post-it notes and ends with Post-it notes. This is the truth! This is my belief!...At least for now."
FACT IV: SPEECHO THE TRUSTWORM IS YOUR FRIEND or BEHOLD: THE FRUIT ENGINE 3.0
Pages: [1] 2