Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Pathfinding and flyers  (Read 1061 times)

Goblin Dragoon 085

  • Bay Watcher
    • View Profile
Pathfinding and flyers
« on: May 05, 2008, 05:27:00 am »

A question for the modders with insight:

Do flyers need less CPU cycles for their pathfinding?
And if so, how do I teach my dwarves to fly?

Logged

Kagus

  • Bay Watcher
  • Olive oil. Don't you?
    • View Profile
Re: Pathfinding and flyers
« Reply #1 on: May 05, 2008, 05:30:00 am »

Dwarves suffer panic attacks while off the ground.  They freeze up and will starve to death in mid-air.

As far as pathfinding is concerned, I don't know.  Might take more, might take less.

[FLIER]

Wiles

  • Bay Watcher
    • View Profile
Re: Pathfinding and flyers
« Reply #2 on: May 05, 2008, 06:26:00 am »

Fliers aren't very bright either. Occasionally you'll get one that is stuck in mid air.
Logged

Deon

  • Bay Watcher
  • 💀 💀 💀 💀 💀
    • View Profile
Re: Pathfinding and flyers
« Reply #3 on: May 05, 2008, 07:59:00 am »

They don't use less CPU (and I think more instead). The main problem is that they use ground pathfinding to determine is the tile accessable and the shortest route to it.
Logged
▬(ஜ۩۞۩ஜ)▬
✫ DF Wanderer ✫ - the adventure mode crafting and tweaks
✫ Cartographer's Lounge ✫ - a custom worldgen repository

Greiger

  • Bay Watcher
  • Reptilian Illuminati member. Keep it secret.
    • View Profile
Re: Pathfinding and flyers
« Reply #4 on: May 05, 2008, 10:06:00 am »

Yea, a fortress race with flier causes the game to be neigh unplayable due to them flying upward during idle random movement behavior and getting stuck there when they can't figure out how to path back down.

In adventure mode however it seems to work alright.  They don't seem to get stuck as easily and if you are playing the race you can fly up and down cliffs easily.  As for the cpu load I haven't noticed a significant difference, but logically it should take up more.

Logged
Disclaimer: Not responsible for dwarven deaths from the use or misuse of this post.
Quote
I don't need friends!! I've got knives!!!

Keiseth

  • Bay Watcher
    • View Profile
Re: Pathfinding and flyers
« Reply #5 on: May 05, 2008, 04:36:00 pm »

I can also confirm that flier races work just fine in Adventurer; one particularly awesome town of fliers had a temple at the bottom of a 10+ z-level cliff, and a house with one support that reached to the bottom. You could watch people ascend and descend as they went on with their daily lives. It was cool.

Out of curiosity, how do flying pets work in Dwarf mode?

Logged

Kashyyk

  • Bay Watcher
  • One letter short of a wookie
    • View Profile
Re: Pathfinding and flyers
« Reply #6 on: May 07, 2008, 11:52:00 am »

flying pets are ok, as I modded falcons in for my dwarves to go hunting with them.
Logged