Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Building destroyers could be changed a bit  (Read 331 times)

ShinyandKittens

  • Bay Watcher
  • Armok can’t really be much different from Arceus..
    • View Profile
Building destroyers could be changed a bit
« on: April 17, 2018, 11:37:28 am »

Building destroyers currently seek out whatever they can destroy and leave dwarves as a second target. I think it could be more like they attempt to path directly through what they can destroy and destroy anything that is blocking their paths.

For example a dragon could try to bash it's way through a locked door if it's in the way of fresh dwarves, trying to path directly to it's victims instead of to the doors.

Building destroyers should only seek out furniture if there is no nearby target or it is benign/has no targets anyway.

The speed at which they destroy buildings should depend on their size and strength.

They should path to cages and destroy them if it has a creature of it's kind in it
Logged
No amount of mods is too much

Starver

  • Bay Watcher
    • View Profile
Re: Building destroyers could be changed a bit
« Reply #1 on: April 17, 2018, 12:24:09 pm »

I don't know what the current state of pathing is. It might require a supplemental A*-tree generated that ignores/assumes-path-throughabilty for destroyable buildings, to then deal with the buildings much as non-locked doors are dealt with only when encountered in following their insecure-door-ignoring route.

(How) do climbing enemies their scaling of obstacles in advance?  (How) do flying hostiles account for their freedom to exploit open-air access to bypass bridges?

Demoting some 'bait' to merely a task along the way (perhaps stack the path leading to its destruction above the original target on the list, then reassess the primary target once the tick-consuming obstacle is removed, however so moved or further obscured by the time the original - or retarget entirely and go from scratch if the original choice is no longer possible or has become less important) would be the first change to look for.

Then start giving priorites to 'missions' they might want to path for. Freeing a fellow creature (if and only if they are sentient enough to want to, and especially aren't territorial, or is your plan break them out to fight them?) might be lower on the list than getting 'food' or some other need, one such higher need naturally being that of the caged creature being of the opposite sex.

General hostility to dwarfs and dwarfish things (or across the whole set of civilised races, barring particularly noted affiliations) would give the destroyer some need to cause destruction at the furniture level if they could not sense a better purpose. And sacrificial barriers might feature in that list of alternatives if there's nothing more definitively tempting at all...
Logged